/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
copy_reg.py | 1 """Helper to provide extensibility for pickle/cPickle.
3 This is only useful to add pickle support for extension types defined in
9 __all__ = ["pickle", "constructor",
14 def pickle(ob_type, pickle_function, constructor_ob=None):
function 42 pickle(complex, pickle_complex, complex)
70 raise TypeError, "can't pickle %s objects" % base.__name__
146 # universal, so that the meaning of a pickle does not depend on
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
copy_reg.py | 1 """Helper to provide extensibility for pickle/cPickle.
3 This is only useful to add pickle support for extension types defined in
9 __all__ = ["pickle", "constructor",
14 def pickle(ob_type, pickle_function, constructor_ob=None):
function 42 pickle(complex, pickle_complex, complex)
70 raise TypeError, "can't pickle %s objects" % base.__name__
146 # universal, so that the meaning of a pickle does not depend on
|
trace.py | 63 pickle = cPickle
variable 65 import pickle
242 pickle.load(open(self.infile, 'rb'))
352 pickle.dump((self.counts, self.calledfuncs, self.callers),
|
/external/libchrome/base/metrics/ |
histogram_base_unittest.cc | 11 #include "base/pickle.h" 52 Pickle pickle; local 53 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 55 PickleIterator iter(pickle); 61 PickleIterator iter2(pickle); 77 Pickle pickle; local 78 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 80 PickleIterator iter(pickle); 99 Pickle pickle; local 126 Pickle pickle; local 148 Pickle pickle; local [all...] |
histogram_delta_serialization.cc | 12 #include "base/pickle.h" 19 // Create or find existing histogram and add the samples from pickle. 20 // Silently returns when seeing any data problem in the pickle. 83 Pickle pickle(it->data(), checked_cast<int>(it->size())); 84 PickleIterator iter(pickle); 95 Pickle pickle; local 96 histogram.SerializeInfo(&pickle); 97 snapshot.Serialize(&pickle); [all...] |
sparse_histogram_unittest.cc | 17 #include "base/pickle.h" 200 Pickle pickle; local 201 histogram->SerializeInfo(&pickle); 203 PickleIterator iter(pickle); 217 // No more data in the pickle.
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
native_enum_serialization.h | 14 #include "base/pickle.h" 33 base::Pickle pickle; local 34 Traits::Write(&pickle, input); 36 CHECK_GE(sizeof(int32_t), pickle.payload_size()); 38 memcpy(reinterpret_cast<char*>(output), pickle.payload(), 39 pickle.payload_size()); 50 base::Pickle pickle_view(reinterpret_cast<const char*>(&data),
|
native_struct_serialization.h | 14 #include "base/pickle.h" 44 base::Pickle pickle; local 45 Traits::Write(&pickle, value); 50 DCHECK_EQ(sizer.payload_size(), pickle.payload_size()); 53 size_t total_size = pickle.payload_size() + sizeof(ArrayHeader); 56 // Allocate a uint8 array, initialize its header, and copy the Pickle in. 60 header->num_elements = static_cast<uint32_t>(pickle.payload_size()); 62 pickle.payload(), pickle.payload_size()) [all...] |
/external/python/cpython2/Lib/ |
copy_reg.py | 1 """Helper to provide extensibility for pickle/cPickle. 3 This is only useful to add pickle support for extension types defined in 9 __all__ = ["pickle", "constructor", 14 def pickle(ob_type, pickle_function, constructor_ob=None): function 42 pickle(complex, pickle_complex, complex) 70 raise TypeError, "can't pickle %s objects" % base.__name__ 146 # universal, so that the meaning of a pickle does not depend on
|
trace.py | 63 pickle = cPickle variable 65 import pickle 242 pickle.load(open(self.infile, 'rb')) 352 pickle.dump((self.counts, self.calledfuncs, self.callers),
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
copy_reg.py | 1 """Helper to provide extensibility for pickle/cPickle. 3 This is only useful to add pickle support for extension types defined in 9 __all__ = ["pickle", "constructor", 14 def pickle(ob_type, pickle_function, constructor_ob=None): function 42 pickle(complex, pickle_complex, complex) 70 raise TypeError, "can't pickle %s objects" % base.__name__ 146 # universal, so that the meaning of a pickle does not depend on
|
trace.py | 63 pickle = cPickle variable 65 import pickle 242 pickle.load(open(self.infile, 'rb')) 352 pickle.dump((self.counts, self.calledfuncs, self.callers),
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
copy_reg.py | 1 """Helper to provide extensibility for pickle/cPickle. 3 This is only useful to add pickle support for extension types defined in 9 __all__ = ["pickle", "constructor", 14 def pickle(ob_type, pickle_function, constructor_ob=None): function 42 pickle(complex, pickle_complex, complex) 70 raise TypeError, "can't pickle %s objects" % base.__name__ 146 # universal, so that the meaning of a pickle does not depend on
|
trace.py | 63 pickle = cPickle variable 65 import pickle 242 pickle.load(open(self.infile, 'rb')) 352 pickle.dump((self.counts, self.calledfuncs, self.callers),
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
copy_reg.py | 1 """Helper to provide extensibility for pickle/cPickle. 3 This is only useful to add pickle support for extension types defined in 9 __all__ = ["pickle", "constructor", 14 def pickle(ob_type, pickle_function, constructor_ob=None): function 42 pickle(complex, pickle_complex, complex) 70 raise TypeError, "can't pickle %s objects" % base.__name__ 146 # universal, so that the meaning of a pickle does not depend on
|
trace.py | 63 pickle = cPickle variable 65 import pickle 242 pickle.load(open(self.infile, 'rb')) 352 pickle.dump((self.counts, self.calledfuncs, self.callers),
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
copy_reg.py | 1 """Helper to provide extensibility for pickle/cPickle. 3 This is only useful to add pickle support for extension types defined in 9 __all__ = ["pickle", "constructor", 14 def pickle(ob_type, pickle_function, constructor_ob=None): function 42 pickle(complex, pickle_complex, complex) 70 raise TypeError, "can't pickle %s objects" % base.__name__ 146 # universal, so that the meaning of a pickle does not depend on
|
trace.py | 63 pickle = cPickle variable 65 import pickle 242 pickle.load(open(self.infile, 'rb')) 352 pickle.dump((self.counts, self.calledfuncs, self.callers),
|
/external/python/cpython2/Lib/bsddb/test/ |
test_dbtables.py | 26 pickle = cPickle variable 28 import pickle 30 import pickle 69 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 1)}) 71 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 82 colval = pickle.loads(values[0][colname]) 84 colval = pickle.loads(bytes(values[0][colname], "iso8859-1")) 98 {col0: pickle.dumps(8, 1), col1: 'no', col2: 'Penguin'}, 99 {col0: pickle.dumps(-1, 1), col1: 'no', col2: 'Turkey'}, 100 {col0: pickle.dumps(9, 1), col1: 'yes', col2: 'SR-71A Blackbird' [all...] |
/external/python/cpython3/Lib/ |
copyreg.py | 1 """Helper to provide extensibility for pickle. 3 This is only useful to add pickle support for extension types defined in 7 __all__ = ["pickle", "constructor", 12 def pickle(ob_type, pickle_function, constructor_ob=None): function 37 pickle(complex, pickle_complex, complex) 65 raise TypeError("can't pickle %s objects" % base.__name__) 91 """Used by pickle protocol 4, instead of __newobj__ to allow classes with 147 # universal, so that the meaning of a pickle does not depend on
|
/prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/test/ |
test_dbtables.py | 28 pickle = cPickle variable 30 import pickle 32 import pickle 71 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 1)}) 73 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 84 colval = pickle.loads(values[0][colname]) 86 colval = pickle.loads(bytes(values[0][colname], "iso8859-1")) 100 {col0: pickle.dumps(8, 1), col1: 'no', col2: 'Penguin'}, 101 {col0: pickle.dumps(-1, 1), col1: 'no', col2: 'Turkey'}, 102 {col0: pickle.dumps(9, 1), col1: 'yes', col2: 'SR-71A Blackbird' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/bsddb/test/ |
test_dbtables.py | 28 pickle = cPickle variable 30 import pickle 32 import pickle 71 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 1)}) 73 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 84 colval = pickle.loads(values[0][colname]) 86 colval = pickle.loads(bytes(values[0][colname], "iso8859-1")) 100 {col0: pickle.dumps(8, 1), col1: 'no', col2: 'Penguin'}, 101 {col0: pickle.dumps(-1, 1), col1: 'no', col2: 'Turkey'}, 102 {col0: pickle.dumps(9, 1), col1: 'yes', col2: 'SR-71A Blackbird' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_dbtables.py | 28 pickle = cPickle variable 30 import pickle 32 import pickle 71 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 1)}) 73 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 84 colval = pickle.loads(values[0][colname]) 86 colval = pickle.loads(bytes(values[0][colname], "iso8859-1")) 100 {col0: pickle.dumps(8, 1), col1: 'no', col2: 'Penguin'}, 101 {col0: pickle.dumps(-1, 1), col1: 'no', col2: 'Turkey'}, 102 {col0: pickle.dumps(9, 1), col1: 'yes', col2: 'SR-71A Blackbird' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_dbtables.py | 28 pickle = cPickle variable 30 import pickle 32 import pickle 71 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 1)}) 73 self.tdb.Insert(tabname, {colname: pickle.dumps(3.14159, 84 colval = pickle.loads(values[0][colname]) 86 colval = pickle.loads(bytes(values[0][colname], "iso8859-1")) 100 {col0: pickle.dumps(8, 1), col1: 'no', col2: 'Penguin'}, 101 {col0: pickle.dumps(-1, 1), col1: 'no', col2: 'Turkey'}, 102 {col0: pickle.dumps(9, 1), col1: 'yes', col2: 'SR-71A Blackbird' [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
pybench.py | 42 pickle = cPickle
variable 44 import pickle
239 # We want these to be in the instance dict, so that pickle
444 # Benchmark pickle
882 bench = pickle.load(f)
895 bench = pickle.load(f)
950 pickle.dump(bench,f)
[all...] |