HomeSort by relevance Sort by last modified time
    Searched refs:pickle (Results 201 - 225 of 319) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/chromium_org/net/http/
http_response_headers.h 19 class Pickle;
54 // Initializes from the representation stored in the given pickle. The data
56 // be passed to the pickle's various Read* methods.
57 HttpResponseHeaders(const Pickle& pickle, PickleIterator* pickle_iter);
59 // Appends a representation of this object to the given pickle.
61 void Persist(Pickle* pickle, PersistOptions options);
mock_http_cache.cc 534 Pickle pickle; local
536 &pickle, skip_transient_headers, response_truncated);
540 reinterpret_cast<const char*>(pickle.data())));
541 int len = static_cast<int>(pickle.size());
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
shelve.py 5 be essentially arbitrary Python objects -- anything that the "pickle"
64 from pickle import Pickler, Unpickler
234 version of the pickle protocol (0, 1, or 2).
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
shelve.py 5 be essentially arbitrary Python objects -- anything that the "pickle"
64 from pickle import Pickler, Unpickler
234 version of the pickle protocol (0, 1, or 2).
  /external/chromium_org/chrome/browser/password_manager/
login_database.cc 13 #include "base/pickle.h"
260 Pickle usernames_pickle = SerializeVector(form.other_possible_usernames);
265 Pickle form_data_pickle;
298 Pickle pickle = SerializeVector(form.other_possible_usernames); local
299 s.BindBlob(4, pickle.data(), pickle.size());
381 Pickle pickle(
384 form->other_possible_usernames = DeserializeVector(pickle);
    [all...]
  /external/chromium_org/net/cert/
x509_certificate.cc 19 #include "base/pickle.h"
305 X509Certificate* X509Certificate::CreateFromPickle(const Pickle& pickle,
341 // might really be a 64-bit field since we used to use Pickle::WriteSize(),
349 // save a copy of the pickle iterator to restore in case we don't get 32
357 // reading an old 32-bit pickle, and there's nothing else after this in
358 // the pickle, we should report success. Note that it is technically
362 // which comes from the pickle version number in http_response_info.cc.
467 void X509Certificate::Persist(Pickle* pickle) {
    [all...]
  /external/chromium_org/webkit/browser/appcache/
appcache_response_unittest.cc 13 #include "base/pickle.h"
253 Pickle pickle; local
254 return PickleHttpResonseInfo(&pickle, info);
259 Pickle pickle1;
260 Pickle pickle2;
267 int PickleHttpResonseInfo(Pickle* pickle, const net::HttpResponseInfo* info) {
270 info->Persist(pickle, kSkipTransientHeaders, kTruncated);
271 return pickle->size()
    [all...]
appcache_url_request_job_unittest.cc 12 #include "base/pickle.h"
338 Pickle pickle; local
339 return PickleHttpResonseInfo(&pickle, info);
344 Pickle pickle1;
345 Pickle pickle2;
352 int PickleHttpResonseInfo(Pickle* pickle, const net::HttpResponseInfo* info) {
355 info->Persist(pickle, kSkipTransientHeaders, kTruncated);
356 return pickle->size()
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_memoryio.py 14 import pickle namespace
373 # Pickle expects the class to be on the module level. Here we use a
383 # We only support pickle protocol 2 and onward since we use extended
385 for proto in range(2, pickle.HIGHEST_PROTOCOL):
387 obj2 = pickle.loads(pickle.dumps(obj, protocol=proto))
393 self.assertRaises(ValueError, pickle.dumps, obj, proto)
593 """Test if pickle restores properly the internal state of StringIO.
601 return pickle.loads(pickle.dumps(pyio.StringIO(*args, **kwargs))
    [all...]
test_signal.py 5 import pickle namespace
167 pickle.dump(traceback.format_exc(), done_w)
169 pickle.dump(None, done_w)
171 print 'Uh oh, raised from pickle.'
180 tb = pickle.load(done_r)
test_deque.py 7 import cPickle as pickle namespace
460 for i in range(pickle.HIGHEST_PROTOCOL + 1):
461 s = pickle.dumps(d, i)
462 e = pickle.loads(s)
469 ## for i in range(pickle.HIGHEST_PROTOCOL + 1):
470 ## e = pickle.loads(pickle.dumps(d, i))
603 s = pickle.dumps(d)
604 e = pickle.loads(s)
619 s = pickle.dumps(d
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_memoryio.py 14 import pickle namespace
373 # Pickle expects the class to be on the module level. Here we use a
383 # We only support pickle protocol 2 and onward since we use extended
385 for proto in range(2, pickle.HIGHEST_PROTOCOL):
387 obj2 = pickle.loads(pickle.dumps(obj, protocol=proto))
393 self.assertRaises(ValueError, pickle.dumps, obj, proto)
593 """Test if pickle restores properly the internal state of StringIO.
601 return pickle.loads(pickle.dumps(pyio.StringIO(*args, **kwargs))
    [all...]
test_signal.py 5 import pickle namespace
167 pickle.dump(traceback.format_exc(), done_w)
169 pickle.dump(None, done_w)
171 print 'Uh oh, raised from pickle.'
180 tb = pickle.load(done_r)
test_deque.py 7 import cPickle as pickle namespace
460 for i in range(pickle.HIGHEST_PROTOCOL + 1):
461 s = pickle.dumps(d, i)
462 e = pickle.loads(s)
469 ## for i in range(pickle.HIGHEST_PROTOCOL + 1):
470 ## e = pickle.loads(pickle.dumps(d, i))
603 s = pickle.dumps(d)
604 e = pickle.loads(s)
619 s = pickle.dumps(d
    [all...]
  /external/chromium_org/components/sessions/
serialized_navigation_entry_unittest.cc 12 #include "base/pickle.h"
171 // Create a SerializedNavigationEntry, pickle it, then create another one by
174 TEST(SerializedNavigationEntryTest, Pickle) {
179 Pickle pickle; local
180 old_navigation.WriteToPickle(30000, &pickle);
183 PickleIterator pickle_iterator(pickle);
  /external/chromium_org/media/tools/layout_tests/
layouttest_analyzer_helpers.py 12 import pickle namespace
273 """Load the object from |file_path| using pickle library.
282 analyzer_result_map = pickle.load(file_object)
287 """Save the object to |file_path| using pickle library.
293 pickle.dump(self, file_object)
  /external/chromium_org/v8/tools/
presubmit.py 41 import pickle namespace
146 self.sums = pickle.load(sums_file)
157 pickle.dump(self.sums, sums_file)
  /external/chromium/chrome/browser/safe_browsing/
malware_details_unittest.cc 7 #include "base/pickle.h"
61 Pickle pickle; local
62 responseinfo.Persist(&pickle, false, false);
65 reinterpret_cast<const char*>(pickle.data())));
66 int len = static_cast<int>(pickle.size());
  /external/chromium/net/base/
x509_certificate_openssl.cc 17 #include "base/pickle.h"
525 X509Certificate::ReadCertHandleFromPickle(const Pickle& pickle,
529 if (!pickle.ReadData(pickle_iter, &data, &length))
537 Pickle* pickle) {
542 return pickle->WriteData(
  /external/chromium_org/base/files/
file_path.h 125 class Pickle;
363 void WriteToPickle(Pickle* pickle) const;
  /external/chromium_org/net/disk_cache/simple/
simple_index.cc 19 #include "base/pickle.h"
120 void EntryMetadata::Serialize(Pickle* pickle) const {
121 DCHECK(pickle);
123 pickle->WriteInt64(internal_last_used_time);
124 pickle->WriteUInt64(entry_size_);
simple_index.h 31 class Pickle;
51 // Serialize the data into the provided pickle.
52 void Serialize(Pickle* pickle) const;
  /external/chromium_org/webkit/common/cursors/
webcursor_gtk.cc 198 bool WebCursor::SerializePlatformData(Pickle* pickle) const {
  /external/chromium/net/http/
http_response_headers.cc 16 #include "base/pickle.h"
142 // constructor, which rebuilds an histogram from a pickle, since
145 // new object from that pickle.
154 HttpResponseHeaders::HttpResponseHeaders(const Pickle& pickle, void** iter)
157 if (pickle.ReadString(iter, &raw_input))
161 void HttpResponseHeaders::Persist(Pickle* pickle, PersistOptions options) {
163 pickle->WriteString(raw_headers_);
214 pickle->WriteString(blob)
    [all...]
  /external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
message_test.py 49 import pickle namespace
119 pickled_message = pickle.dumps(golden_message)
121 unpickled_message = pickle.loads(pickled_message)
126 pickled_message = pickle.dumps(golden_message)
128 unpickled_message = pickle.loads(pickled_message)

Completed in 1237 milliseconds

1 2 3 4 5 6 7 891011>>