/prebuilts/gdb/linux-x86/lib/python2.7/bsddb/ |
dbshelve.py | 10 # forces the use of cPickle, and DB. 41 import cPickle # Will be converted to "pickle" by "2to3" 44 import cPickle 61 message='the cPickle module has been removed in Python 3.0', 63 import cPickle 68 HIGHEST_PROTOCOL = cPickle.HIGHEST_PROTOCOL 70 return cPickle.dumps(object, protocol=protocol) 152 return cPickle.loads(data) 207 newitems.append( (k, cPickle.loads(v)) ) 216 return map(cPickle.loads, values [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/ |
dbshelve.py | 10 # forces the use of cPickle, and DB. 41 import cPickle # Will be converted to "pickle" by "2to3" 44 import cPickle 61 message='the cPickle module has been removed in Python 3.0', 63 import cPickle 68 HIGHEST_PROTOCOL = cPickle.HIGHEST_PROTOCOL 70 return cPickle.dumps(object, protocol=protocol) 152 return cPickle.loads(data) 207 newitems.append( (k, cPickle.loads(v)) ) 216 return map(cPickle.loads, values [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
dbshelve.py | 10 # forces the use of cPickle, and DB. 41 import cPickle # Will be converted to "pickle" by "2to3" 44 import cPickle 61 message='the cPickle module has been removed in Python 3.0', 63 import cPickle 68 HIGHEST_PROTOCOL = cPickle.HIGHEST_PROTOCOL 70 return cPickle.dumps(object, protocol=protocol) 152 return cPickle.loads(data) 207 newitems.append( (k, cPickle.loads(v)) ) 216 return map(cPickle.loads, values [all...] |
/external/autotest/scheduler/ |
drone_task_queue_unittest.py | 9 import cPickle 76 stdout=cPickle.dumps(self.mock_return)) 79 stdin=cPickle.dumps(drone.get_calls()), stdout_tee=None, 91 mock_result = utils.CmdResult(stdout=cPickle.dumps(self.mock_return)) 94 stdin=cPickle.dumps(drone1.get_calls()), stdout_tee=None,
|
thread_lib_unittest.py | 9 import cPickle 64 mock_result = utils.CmdResult(stdout=cPickle.dumps(self.mock_return)) 67 stdin=cPickle.dumps(drone.get_calls()), stdout_tee=None, 200 stdout=cPickle.dumps(self.mock_return)) 203 stdin=cPickle.dumps(drone.get_calls()), stdout_tee=None, 218 mock_result = utils.CmdResult(stdout=cPickle.dumps(self.mock_return)) 221 stdin=cPickle.dumps(drone1.get_calls()), stdout_tee=None,
|
drones.py | 3 import cPickle 93 stdin=cPickle.dumps(calls), stdout_tee=None, 96 return cPickle.loads(result.stdout) 97 except Exception: # cPickle.loads can throw all kinds of exceptions
|
/external/python/cpython2/Lib/test/ |
test_bool.py | 313 import cPickle 314 for proto in range(cPickle.HIGHEST_PROTOCOL + 1): 315 self.assertIs(cPickle.loads(cPickle.dumps(True, proto)), True) 316 self.assertIs(cPickle.loads(cPickle.dumps(False, proto)), False) 319 import pickle, cPickle 321 self.assertIs(pickle.loads(cPickle.dumps(True, proto)), True) 322 self.assertIs(pickle.loads(cPickle.dumps(False, proto)), False) 323 self.assertIs(cPickle.loads(pickle.dumps(True, proto)), True [all...] |
test_collections.py | 7 import cPickle 208 for module in pickle, cPickle: [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
find_recursionlimit.py | 75 import cPickle
77 print "cannot import cPickle, skipped!"
87 cPickle.dumps(l, protocol=-1)
|
db2pickle.py | 41 import cPickle as pickle
|
pickle2db.py | 46 import cPickle as pickle
|
/external/python/cpython2/Tools/scripts/ |
find_recursionlimit.py | 75 import cPickle 77 print "cannot import cPickle, skipped!" 87 cPickle.dumps(l, protocol=-1)
|
db2pickle.py | 41 import cPickle as pickle
|
pickle2db.py | 46 import cPickle as pickle
|
/external/autotest/server/ |
subcommand.py | 3 import sys, os, signal, time, cPickle, logging 44 results.append(cPickle.load(task.result_pickle)) 180 os.write(w, cPickle.dumps(result, cPickle.HIGHEST_PROTOCOL)) 185 os.write(w, cPickle.dumps(e, cPickle.HIGHEST_PROTOCOL))
|
subcommand_unittest.py | 100 self.god.stub_function(subcommand.cPickle, 'dumps') 120 subcommand.cPickle.dumps.expect_call(True, 121 subcommand.cPickle.HIGHEST_PROTOCOL).and_return('True') 144 subcommand.cPickle.dumps.expect_call(error, 145 subcommand.cPickle.HIGHEST_PROTOCOL).and_return('error') 251 self.god.stub_function(subcommand.cPickle, 'load') 283 (subcommand.cPickle.load.expect_call(task.result_pickle) 296 (subcommand.cPickle.load.expect_call(task.result_pickle) 316 (subcommand.cPickle.load.expect_call(task.result_pickle) 329 (subcommand.cPickle.load.expect_call(tasklist[0].result_pickle [all...] |
/external/autotest/client/common_lib/hosts/ |
base_classes.py | 18 import cPickle, logging, os, re, time 558 SCRIPT = ("python -c 'import cPickle, glob, sys;" 559 "cPickle.dump(glob.glob(sys.argv[1]), sys.stdout, 0)'") 562 return cPickle.loads(output) 574 SCRIPT = ("python -c 'import cPickle, os, sys\n" 575 "paths = cPickle.load(sys.stdin)\n" 588 "cPickle.dump(closure.keys(), sys.stdout, 0)'") 589 input_data = cPickle.dumps(dict((path, None) for path in paths), 0) 592 return cPickle.loads(output)
|
/external/webrtc/third_party/gtest-parallel/ |
gtest-parallel | 15 import cPickle 201 times = cPickle.load(f) 202 except (EOFError, IOError, cPickle.UnpicklingError, zlib.error): 233 cPickle.dump(self.__times, gzf, cPickle.HIGHEST_PROTOCOL)
|
/external/autotest/client/bin/ |
prespawner.py | 10 import cPickle as pickle, os, sys
|
/external/libmojo/third_party/jinja2/ |
_compat.py | 59 import cPickle as pickle
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_ast.py | 196 import cPickle
197 mods.append(cPickle)
|
test_collections.py | 7 import pickle, cPickle, copy
165 for module in pickle, cPickle:
678 cPickle.loads(cPickle.dumps(words, 0)),
679 cPickle.loads(cPickle.dumps(words, 1)),
680 cPickle.loads(cPickle.dumps(words, 2)),
681 cPickle.loads(cPickle.dumps(words, -1)), [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_collections.py | 7 import pickle, cPickle, copy 165 for module in pickle, cPickle: 678 cPickle.loads(cPickle.dumps(words, 0)), 679 cPickle.loads(cPickle.dumps(words, 1)), 680 cPickle.loads(cPickle.dumps(words, 2)), 681 cPickle.loads(cPickle.dumps(words, -1)) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_collections.py | 7 import pickle, cPickle, copy 165 for module in pickle, cPickle: 678 cPickle.loads(cPickle.dumps(words, 0)), 679 cPickle.loads(cPickle.dumps(words, 1)), 680 cPickle.loads(cPickle.dumps(words, 2)), 681 cPickle.loads(cPickle.dumps(words, -1)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_collections.py | 7 import pickle, cPickle, copy 165 for module in pickle, cPickle: 678 cPickle.loads(cPickle.dumps(words, 0)), 679 cPickle.loads(cPickle.dumps(words, 1)), 680 cPickle.loads(cPickle.dumps(words, 2)), 681 cPickle.loads(cPickle.dumps(words, -1)) [all...] |