/external/autotest/client/site_tests/firmware_TouchMTB/tools/ |
H A D | print_log.py | 13 import pickle namespace 17 # Need to have this line because pickle needs firmware_log module to load logs. 26 fw, date, glogs = pickle.load(open(filename))
|
/external/python/cpython3/Lib/test/ |
H A D | test_sndhdr.py | 2 import pickle namespace 31 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 32 dump = pickle.dumps(what, proto) 33 self.assertEqual(pickle.loads(dump), what)
|
H A D | test_pickletools.py | 1 import pickle namespace 11 return pickletools.optimize(pickle.dumps(arg, proto)) 14 return pickle.loads(buf, **kwds) 22 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 23 pickled = pickle.dumps(data, proto) 24 unpickled = pickle.loads(pickled) 29 unpickled2 = pickle.loads(pickled2) 32 self.assertNotIn(pickle.LONG_BINGET, pickled2) 33 self.assertNotIn(pickle.LONG_BINPUT, pickled2) 50 self.assertIn(pickle [all...] |
/external/toolchain-utils/automation/clients/ |
H A D | nightly.py | 6 import pickle namespace 47 server.ExecuteJobGroup(pickle.dumps(group))
|
H A D | pwd_test.py | 5 import pickle namespace 23 server.ExecuteJobGroup(pickle.dumps(group))
|
H A D | output_test.py | 6 import pickle namespace 25 server.ExecuteJobGroup(pickle.dumps(group))
|
H A D | android.py | 17 import pickle namespace 39 server.ExecuteJobGroup(pickle.dumps(self.CreateJobGroup()))
|
H A D | crosstool.py | 9 import pickle namespace 35 server.ExecuteJobGroup(pickle.dumps(self.CreateJobGroup()))
|
/external/python/cpython2/Tools/scripts/ |
H A D | db2pickle.py | 6 Convert the database file given on the command line to a pickle 16 The default is hash. If a pickle file is named it is opened for write 17 access (deleting any existing data). If no pickle file is named, the pickle 41 import cPickle as pickle namespace 43 import pickle namespace 127 pickle.dump((k, db[k]), pfile, 1==1)
|
H A D | pickle2db.py | 17 The default is hash. If a pickle file is named it is opened for read 18 access. If no pickle file is named, the pickle input is read from standard 46 import cPickle as pickle namespace 48 import pickle namespace 136 (key, val) = pickle.load(pfile)
|
/external/python/cpython3/Tools/scripts/ |
H A D | db2pickle.py | 6 Convert the database file given on the command line to a pickle 16 The default is hash. If a pickle file is named it is opened for write 17 access (deleting any existing data). If no pickle file is named, the pickle 41 import pickle as pickle namespace 43 import pickle namespace 127 pickle.dump((k, db[k]), pfile, 1==1)
|
H A D | pickle2db.py | 17 The default is hash. If a pickle file is named it is opened for read 18 access. If no pickle file is named, the pickle input is read from standard 46 import pickle as pickle namespace 48 import pickle namespace 136 (key, val) = pickle.load(pfile)
|
/external/autotest/client/bin/ |
H A D | parallel.py | 5 import sys, logging, os, pickle, traceback, gc, time namespace 38 pickle.dump(detail, open(ename, "w")) 60 e = pickle.load(file(ename, 'r'))
|
H A D | setup_job.py | 5 import logging, os, pickle, re, sys namespace 148 pickle.dump(client_test.version, open(versionfile, 'w'))
|
/external/chromium-trace/catapult/devil/devil/android/ |
H A D | device_errors_test.py | 6 import pickle namespace 16 pickled = pickle.dumps(original) 17 reconstructed = pickle.loads(pickled)
|
/external/libchrome/base/metrics/ |
H A D | 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); 86 PickleIterator iter2(pickle); 99 Pickle pickle; local 126 Pickle pickle; local 148 Pickle pickle; local [all...] |
/external/libmojo/mojo/public/cpp/bindings/lib/ |
H A D | 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());
|
H A D | 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); 60 header->num_elements = static_cast<uint32_t>(pickle.payload_size()); 62 pickle.payload(), pickle.payload_size());
|
/external/python/cpython2/Lib/lib2to3/pgen2/ |
H A D | grammar.py | 17 import pickle namespace 32 The load() method reads the tables from a pickle file, which is 33 much faster than the other ways offered by subclasses. The pickle 89 """Dump the grammar tables to a pickle file. 103 pickle.dump(d, f, 2) 106 """Load the grammar tables from a pickle file.""" 108 d = pickle.load(f)
|
/external/python/cpython2/Lib/test/ |
H A D | test_buffer.py | 8 import pickle namespace 48 ## for proto in range(pickle.HIGHEST_PROTOCOL + 1): 50 ## pickle.dumps(buf, proto)
|
H A D | test_pickletools.py | 1 import pickle namespace 10 return pickletools.optimize(pickle.dumps(arg, proto)) 13 return pickle.loads(buf) 15 module = pickle
|
/external/python/cpython3/Doc/includes/ |
H A D | dbpickle.py | 1 # Simple example presenting how persistent ID can be used to pickle 4 import pickle namespace 11 class DBPickler(pickle.Pickler): 26 class DBUnpickler(pickle.Unpickler): 46 raise pickle.UnpicklingError("unsupported persistent object") 78 # Load the records from the pickle data stream.
|
/external/python/cpython3/Lib/lib2to3/pgen2/ |
H A D | grammar.py | 17 import pickle namespace 32 The load() method reads the tables from a pickle file, which is 33 much faster than the other ways offered by subclasses. The pickle 89 """Dump the grammar tables to a pickle file. 103 pickle.dump(d, f, 2) 106 """Load the grammar tables from a pickle file.""" 108 d = pickle.load(f)
|
/external/toolchain-utils/ |
H A D | get_common_image_version.py | 18 import pickle namespace 57 pickle.dump(all_betas, f)
|
/external/autotest/client/cros/cellular/ |
H A D | labconfig.py | 7 import pickle namespace 160 return pickle.dumps(self)
|