HomeSort by relevance Sort by last modified time
    Searched full:pickle (Results 1 - 25 of 33) sorted by null

1 2

  /external/chromium/base/
pickle_unittest.cc 8 #include "base/pickle.h"
24 void VerifyResult(const Pickle& pickle) {
28 EXPECT_TRUE(pickle.ReadInt(&iter, &outint));
32 EXPECT_TRUE(pickle.ReadString(&iter, &outstr));
36 EXPECT_TRUE(pickle.ReadWString(&iter, &outwstr));
40 EXPECT_TRUE(pickle.ReadBool(&iter, &outbool));
42 EXPECT_TRUE(pickle.ReadBool(&iter, &outbool));
47 EXPECT_TRUE(pickle.ReadData(&iter, &outdata, &outdatalen));
51 EXPECT_TRUE(pickle.ReadData(&iter, &outdata, &outdatalen))
62 Pickle pickle; local
91 Pickle pickle; local
101 Pickle pickle; local
111 Pickle pickle; local
120 Pickle pickle; local
129 Pickle pickle; local
142 Pickle pickle; local
166 Pickle pickle; local
251 Pickle pickle; local
    [all...]
pickle.cc 5 #include "base/pickle.h"
15 const int Pickle::kPayloadUnit = 64;
17 // We mark a read only pickle with a special capacity_.
22 Pickle::Pickle()
31 Pickle::Pickle(int header_size)
42 Pickle::Pickle(const char* data, int data_len)
51 Pickle::Pickle(const Pickle& other
    [all...]
pickle.h 17 // The Pickle class supports appending primitive values (ints, strings, etc.)
18 // to a pickle instance. The Pickle instance grows its internal memory buffer
20 // buffer is exposed as the "data" of the Pickle. This "data" can be passed
21 // to a Pickle object to initialize it for reading.
23 // When reading from a Pickle object, it is important for the consumer to know
24 // what value types to read and in what order to read them as the Pickle does
27 // The Pickle's data has a header which contains the size of the Pickle's
29 // space is controlled by the header_size parameter passed to the Pickle
    [all...]
histogram.cc 16 #include "base/pickle.h"
389 Pickle pickle; local
390 pickle.WriteString(histogram.histogram_name());
391 pickle.WriteInt(histogram.declared_min());
392 pickle.WriteInt(histogram.declared_max());
393 pickle.WriteSize(histogram.bucket_count());
394 pickle.WriteInt(histogram.histogram_type());
395 pickle.WriteInt(histogram.flags());
397 snapshot.Serialize(&pickle);
    [all...]
unix_domain_socket_posix.h 12 class Pickle;
38 const Pickle& request);
unix_domain_socket_posix.cc 14 #include "base/pickle.h"
100 const Pickle& request) {
file_path.h 119 class Pickle;
287 // Static helper method to write a StringType to a pickle.
288 static void WriteStringTypeToPickle(Pickle* pickle,
290 static bool ReadStringTypeFromPickle(Pickle* pickle, void** iter,
293 void WriteToPickle(Pickle* pickle);
294 bool ReadFromPickle(Pickle* pickle, void** iter)
    [all...]
file_path.cc 12 #include "base/pickle.h"
    [all...]
histogram.h 192 class Pickle;
267 bool Serialize(Pickle* pickle) const;
268 bool Deserialize(void** iter, const Pickle& pickle);
324 // Pickle class to flatten the object.
  /external/chromium/net/http/
http_response_info.cc 8 #include "base/pickle.h"
56 bool HttpResponseInfo::InitFromPickle(const Pickle& pickle,
62 if (!pickle.ReadInt(&iter, &flags))
72 if (!pickle.ReadInt64(&iter, &time_val))
78 if (!pickle.ReadInt64(&iter, &time_val))
83 headers = new HttpResponseHeaders(pickle, &iter);
89 X509Certificate::CreateFromPickle(pickle, &iter);
93 if (!pickle.ReadInt(&iter, &cert_status))
99 if (!pickle.ReadInt(&iter, &security_bits)
    [all...]
http_response_info.h 15 class Pickle;
64 // Initializes from the representation stored in the given pickle.
65 bool InitFromPickle(const Pickle& pickle, bool* response_truncated);
68 void Persist(Pickle* pickle,
http_vary_data.h 10 class Pickle;
46 // Initialize from a pickle that contains data generated by a call to the
53 bool InitFromPickle(const Pickle& pickle, void** pickle_iter);
57 void Persist(Pickle* pickle) const;
http_vary_data.cc 9 #include "base/pickle.h"
66 bool HttpVaryData::InitFromPickle(const Pickle& pickle, void** iter) {
69 if (pickle.ReadBytes(iter, &data, sizeof(request_digest_))) {
76 void HttpVaryData::Persist(Pickle* pickle) const {
78 pickle->WriteBytes(&request_digest_, sizeof(request_digest_));
http_response_headers.h 16 class Pickle;
42 // Initializes from the representation stored in the given pickle. The data
44 // be passed to the pickle's various Read* methods.
45 HttpResponseHeaders(const Pickle& pickle, void** pickle_iter);
57 // Appends a representation of this object to the given pickle.
59 void Persist(Pickle* pickle, PersistOptions options);
http_cache.cc 17 #include "base/pickle.h"
244 Pickle pickle(data, len);
245 return response_info->InitFromPickle(pickle, response_truncated);
270 Pickle pickle; local
272 &pickle, skip_transient_headers, response_truncated);
275 reinterpret_cast<const char*>(pickle.data()));
276 int len = static_cast<int>(pickle.size());
http_response_headers.cc 15 #include "base/pickle.h"
96 HttpResponseHeaders::HttpResponseHeaders(const Pickle& pickle, void** iter)
99 if (pickle.ReadString(iter, &raw_input))
103 void HttpResponseHeaders::Persist(Pickle* pickle, PersistOptions options) {
105 pickle->WriteString(raw_headers_);
156 pickle->WriteString(blob);
    [all...]
  /external/chromium/net/base/
io_buffer.h 10 #include "base/pickle.h"
135 // This versions allows a pickle to be used as the storage for a write-style
141 Pickle* pickle() { return &pickle_; } function in class:net::PickledIOBuffer
152 Pickle pickle_;
x509_certificate.h 30 class Pickle;
167 // pickle. The data for this object is found relative to the given
168 // pickle_iter, which should be passed to the pickle's various Read* methods.
172 static X509Certificate* CreateFromPickle(const Pickle& pickle,
180 // Appends a representation of this object to the given pickle.
181 void Persist(Pickle* pickle);
x509_certificate_nss.cc 17 #include "base/pickle.h"
481 X509Certificate* X509Certificate::CreateFromPickle(const Pickle& pickle,
485 if (!pickle.ReadData(pickle_iter, &data, &length))
491 void X509Certificate::Persist(Pickle* pickle) {
492 pickle->WriteData(reinterpret_cast<const char*>(cert_handle_->derCert.data),
x509_certificate_unittest.cc 5 #include "base/pickle.h"
349 TEST(X509CertificateTest, Pickle) {
353 Pickle pickle; local
354 cert1->Persist(&pickle);
358 X509Certificate::CreateFromPickle(pickle, &iter);
x509_certificate_win.cc 8 #include "base/pickle.h"
469 X509Certificate* X509Certificate::CreateFromPickle(const Pickle& pickle,
473 if (!pickle.ReadData(pickle_iter, &data, &length))
487 void X509Certificate::Persist(Pickle* pickle) {
495 BYTE* data = reinterpret_cast<BYTE*>(pickle->BeginWriteData(length));
501 pickle->TrimWriteData(length);
x509_certificate_mac.cc 12 #include "base/pickle.h"
384 X509Certificate* X509Certificate::CreateFromPickle(const Pickle& pickle,
388 if (!pickle.ReadData(pickle_iter, &data, &length))
394 void X509Certificate::Persist(Pickle* pickle) {
402 pickle->WriteData(reinterpret_cast<char*>(cert_data.Data), cert_data.Length);
  /development/scripts/app_engine_server/gae_shell/
shell.py 42 import pickle namespace
95 added by unpicklable statements. When we pickle and store the globals after
115 blob = db.Blob(pickle.dumps(value))
140 return dict((name, pickle.loads(val))
237 # globals, run the statement, and re-pickle the session globals, all
288 # this statement didn't add any unpicklables. pickle and store the
  /external/v8/tools/
presubmit.py 35 import pickle namespace
109 self.sums = pickle.load(sums_file)
120 pickle.dump(self.sums, sums_file)
  /external/webkit/WebKit/qt/tests/qwebhistory/
tst_qwebhistory.cpp 195 * Check history state after serialization (pickle, persistent..) method
224 * Check history state after serialization (pickle, persistent..) method
254 * Check history state after serialization (pickle, persistent..) method

Completed in 953 milliseconds

1 2