Home
last modified time | relevance | path

Searched refs:pickle (Results 1 – 25 of 124) sorted by relevance

12345

/external/libchrome/base/
Dpickle_unittest.cc43 void VerifyResult(const Pickle& pickle) { in VerifyResult() argument
44 PickleIterator iter(pickle); in VerifyResult()
117 Pickle pickle; in TEST() local
119 EXPECT_TRUE(pickle.WriteBool(testbool1)); in TEST()
120 EXPECT_TRUE(pickle.WriteBool(testbool2)); in TEST()
121 EXPECT_TRUE(pickle.WriteInt(testint)); in TEST()
123 pickle.WriteLongUsingDangerousNonPortableLessPersistableForm(testlong)); in TEST()
124 EXPECT_TRUE(pickle.WriteUInt16(testuint16)); in TEST()
125 EXPECT_TRUE(pickle.WriteUInt32(testuint32)); in TEST()
126 EXPECT_TRUE(pickle.WriteInt64(testint64)); in TEST()
[all …]
/external/libchrome/base/metrics/
Dhistogram_base_unittest.cc42 Pickle pickle; in TEST_F() local
43 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); in TEST_F()
45 PickleIterator iter(pickle); in TEST_F()
51 PickleIterator iter2(pickle); in TEST_F()
67 Pickle pickle; in TEST_F() local
68 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); in TEST_F()
70 PickleIterator iter(pickle); in TEST_F()
76 PickleIterator iter2(pickle); in TEST_F()
89 Pickle pickle; in TEST_F() local
90 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); in TEST_F()
[all …]
Dhistogram_samples.cc131 bool HistogramSamples::Serialize(Pickle* pickle) const { in Serialize()
132 if (!pickle->WriteInt64(meta_->sum)) in Serialize()
134 if (!pickle->WriteInt(subtle::NoBarrier_Load(&meta_->redundant_count))) in Serialize()
144 if (!pickle->WriteInt(min) || in Serialize()
145 !pickle->WriteInt(max) || in Serialize()
146 !pickle->WriteInt(count)) in Serialize()
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_django_orm.py28 import pickle
57 self.pickle = base64.b64encode(pickle.dumps(self.credentials))
63 self.assertTrue(isinstance(self.field.to_python(self.pickle), Credentials))
68 self.assertEqual(prep_value, self.pickle)
75 self.pickle = base64.b64encode(pickle.dumps(self.flow))
81 self.assertTrue(isinstance(self.field.to_python(self.pickle), Flow))
85 self.assertEqual(prep_value, self.pickle)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/mturk/
Dhit_persistence.py2 import pickle
14 new_result = pickle.loads(pickle.dumps(result))
23 new_result = pickle.loads(pickle.dumps(result))
24 pickle.dumps(new_result)
/external/libchrome/crypto/
Dsecure_hash_default.cc40 bool Serialize(base::Pickle* pickle) override;
47 bool SecureHashSHA256NSS::Serialize(base::Pickle* pickle) { in Serialize() argument
48 if (!pickle) in Serialize()
51 if (!pickle->WriteInt(kSecureHashVersion) || in Serialize()
52 !pickle->WriteString(kSHA256Descriptor) || in Serialize()
53 !pickle->WriteBytes(&ctx_, sizeof(ctx_))) { in Serialize()
Dsecure_hash_openssl.cc43 bool Serialize(base::Pickle* pickle) override;
50 bool SecureHashSHA256OpenSSL::Serialize(base::Pickle* pickle) { in Serialize() argument
51 if (!pickle) in Serialize()
54 if (!pickle->WriteInt(kSecureHashVersion) || in Serialize()
55 !pickle->WriteString(kSHA256Descriptor) || in Serialize()
56 !pickle->WriteBytes(&ctx_, sizeof(ctx_))) { in Serialize()
/external/chromium-trace/catapult/telemetry/third_party/altgraph/doc/
DMakefile15 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
43 pickle: target
44 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/doc/
DMakefile15 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
43 pickle: target
44 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
/external/mesa3d/src/gallium/docs/
DMakefile15 .PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
43 pickle: target
44 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
Dmake.bat19 echo. pickle to make pickle files
50 if "%1" == "pickle" (
51 %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
53 echo.Build finished; now you can process the pickle files.
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Ddjango_orm.py25 import pickle
47 return pickle.loads(base64.b64decode(value))
52 return base64.b64encode(pickle.dumps(value))
72 return pickle.loads(base64.b64decode(value))
77 return base64.b64encode(pickle.dumps(value))
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/docs/source/
DMakefile15 .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp epub latex changes linkcheck…
52 pickle: target
53 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
/external/chromium-trace/catapult/third_party/beautifulsoup4/doc/
DMakefile15 .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf …
54 pickle: target
55 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
/external/chromium-trace/catapult/third_party/six/documentation/
DMakefile15 .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf …
54 pickle: target
55 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
/external/chromium-trace/catapult/third_party/webapp2/docs/
DMakefile15 .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf …
54 pickle: target
55 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
/external/chromium-trace/catapult/third_party/gsutil/third_party/six/documentation/
DMakefile15 .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf …
54 pickle: target
55 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/doc/
DMakefile15 .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf …
56 pickle: target
57 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
/external/llvm/docs/
DMakefile.sphinx17 .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf …
61 pickle:
62 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
/external/clang/docs/analyzer/
DMakefile17 .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf …
61 pickle: target
62 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
/external/autotest/client/bin/
Dprespawner.py10 import cPickle as pickle, os, sys namespace
29 env, sys.argv = pickle.load(sys.stdin)
69 pickle.dump((new_env, args), process.stdin, protocol=2)
110 pickle.dump((None, None), process.stdin, protocol=2)
/external/chromium-trace/catapult/third_party/typ/typ/
Dpool.py17 import pickle
44 _ = pickle.dumps(context)
49 _ = pickle.dumps(pre_fn)
50 except pickle.PickleError:
53 _ = pickle.dumps(post_fn)
54 except pickle.PickleError:
/external/clang/docs/
DMakefile.sphinx17 .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf …
69 pickle:
70 $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/bench/
Dmain.py194 import pickle as _pickle
208 count, pickle = 10, None
220 pickle = str(value)
223 if pickle:
224 fp = open(pickle, 'wb')
/external/autotest/server/
Dtest.py84 self.pickle = None
146 self.pickle = path
152 if self.pickle:
153 host.send_file(self.pickle,
155 os.remove(self.pickle)
156 self.pickle = None

12345