/external/libchrome/base/ |
H A D | pickle_unittest.cc | 5 #include "base/pickle.h" 43 void VerifyResult(const Pickle& pickle) { argument 44 PickleIterator iter(pickle); 113 Pickle pickle; local 115 EXPECT_TRUE(pickle.WriteBool(testbool1)); 116 EXPECT_TRUE(pickle.WriteBool(testbool2)); 117 EXPECT_TRUE(pickle.WriteInt(testint)); 118 EXPECT_TRUE(pickle.WriteLong(testlong)); 119 EXPECT_TRUE(pickle.WriteUInt16(testuint16)); 120 EXPECT_TRUE(pickle 146 Pickle pickle; local 199 Pickle pickle; local 209 Pickle pickle; local 219 Pickle pickle; local 228 Pickle pickle; local 319 Pickle pickle; local 374 Pickle pickle; local 402 Pickle pickle; local 487 Pickle pickle; local 500 Pickle pickle; local 516 Pickle pickle; local 542 TestingPickle pickle; local 553 TestingPickle pickle; local 576 TestingPickle pickle; local 583 TestingPickle pickle; local 590 TestingPickle pickle; local 597 TestingPickle pickle; local 604 TestingPickle pickle; local 611 TestingPickle pickle; local 618 TestingPickle pickle; local 625 TestingPickle pickle; local 632 TestingPickle pickle; local 639 TestingPickle pickle; local 646 TestingPickle pickle; local 653 TestingPickle pickle; local 660 TestingPickle pickle; local [all...] |
/external/python/cpython2/Lib/test/ |
H A D | test_pickle.py | 1 import pickle namespace 19 return pickle.dumps(arg, proto) 23 return pickle.loads(buf) 25 module = pickle 28 bad_mark_errors = (IndexError, pickle.UnpicklingError, 30 truncated_errors = (pickle.UnpicklingError, EOFError, 39 bad_mark_errors = (IndexError, pickle.UnpicklingError, 41 truncated_errors = (pickle.UnpicklingError, EOFError, 48 u = pickle.Unpickler(f) 55 p = pickle [all...] |
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/Lib/test/ |
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...] |
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_list.py | 3 import pickle namespace 77 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 80 d = pickle.dumps((itorig, orig), proto) 81 it, a = pickle.loads(d) 88 d = pickle.dumps((itorig, orig), proto) 89 it, a = pickle.loads(d) 97 d = pickle.dumps((itorig, orig), proto) 98 it, a = pickle.loads(d) 105 d = pickle.dumps((itorig, orig), proto) 106 it, a = pickle [all...] |
H A D | test_pickle.py | 4 import pickle namespace 35 unpickler = pickle._Unpickler 37 truncated_errors = (pickle.UnpicklingError, EOFError, 49 pickler = pickle._Pickler 50 unpickler = pickle._Unpickler 68 pickler = pickle._Pickler 69 unpickler = pickle._Unpickler 70 bad_stack_errors = (pickle.UnpicklingError, IndexError) 71 truncated_errors = (pickle.UnpicklingError, EOFError, 76 return pickle [all...] |
/external/toolchain-utils/automation/clients/ |
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 | nightly.py | 6 import pickle namespace 47 server.ExecuteJobGroup(pickle.dumps(group))
|
/external/scapy/doc/scapy/ |
H A D | BuildDoc.bat | 18 mkdir html doctrees pickle >nul 2>&1
20 sphinx-build -b pickle -d _build/doctrees . _build/pickle
|
H A D | Makefile | 14 .PHONY: help clean html web pickle htmlhelp latex changes linkcheck 19 @echo " pickle to make pickle files (usable by e.g. sphinx-web)" 34 pickle: 35 mkdir -p _build/pickle _build/doctrees 36 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) _build/pickle 38 @echo "Build finished; now you can process the pickle files or run" 39 @echo " sphinx-web _build/pickle" 42 web: pickle [all...] |
/external/v8/tools/clang/plugins/tests/ |
H A D | ipc.cpp | 64 void WriteParam(base::Pickle* pickle, const T& value) { argument 65 ParamTraits<T>::Write(pickle, value); 80 static void Write(base::Pickle* pickle, const Data& p) { argument 82 WriteParam(pickle, p.value); // OK 83 WriteParam(pickle, p.size); // ERROR 94 static void Write(base::Pickle* pickle, const Container<T>& container) { argument 96 IPC::WriteParam(pickle, container.value); // NOT CHECKED 97 WriteParam(pickle, container.value); // NOT CHECKED 100 IPC::WriteParam<T>(pickle, container.value); // NOT CHECKED 101 WriteParam<T>(pickle, containe 118 Write(base::Pickle* pickle, const MultiContainer<T, Ts...>& container) argument 130 Write(base::Pickle* pickle) argument 140 WriteEx(base::Pickle* pickle) argument 151 SomeWriteFunction(base::Pickle* pickle) argument [all...] |
/external/python/cpython2/Lib/bsddb/test/ |
H A D | test_pickle.py | 3 import pickle namespace 34 def _base_test_pickle_DBError(self, pickle): 44 pickledEgg = pickle.dumps(egg) 46 rottenEgg = pickle.loads(pickledEgg) 56 self._base_test_pickle_DBError(pickle=pickle) 60 self._base_test_pickle_DBError(pickle=cPickle)
|
/external/python/cpython3/Lib/test/test_email/ |
H A D | test_pickleable.py | 4 import pickle namespace 33 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 34 p = pickle.dumps(header, proto) 35 h = pickle.loads(p) 69 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 70 p = pickle.dumps(msg, proto) 71 msg2 = pickle.loads(p)
|
/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...] |
H A D | 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); 99 std::string(static_cast<const char*>(pickle.data()), pickle [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/mesa3d/src/gallium/docs/ |
H A D | Makefile | 15 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest 21 @echo " pickle to make pickle files" 43 pickle: 44 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle 46 @echo "Build finished; now you can process the pickle files."
|
/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/futures/docs/ |
H A D | Makefile | 14 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest 20 @echo " pickle to make pickle files" 42 pickle: 43 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) _build/pickle 45 @echo "Build finished; now you can process the pickle files."
|
/external/toolchain-utils/automation/server/ |
H A D | server.py | 7 import pickle namespace 40 job_group = pickle.loads(job_group) 50 return pickle.dumps(self.job_group_manager.GetAllJobGroups()) 54 self.job_group_manager.KillJobGroup(pickle.loads(job_group_id)) 59 return pickle.dumps(self.job_group_manager.GetJobGroup(job_group_id)) 64 return pickle.dumps(self.job_manager.GetJob(job_id)) 69 return pickle.dumps(self.job_manager.machine_manager.GetMachineList())
|
/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/cpython2/Lib/ctypes/test/ |
H A D | test_pickling.py | 2 import pickle namespace 19 return pickle.dumps(item, self.proto) 22 return pickle.loads(item) 74 for proto in range(pickle.HIGHEST_PROTOCOL + 1):
|