HomeSort by relevance Sort by last modified time
    Searched defs:pickle (Results 101 - 125 of 159) sorted by null

1 2 3 45 6 7

  /external/chromium/chrome/browser/ui/gtk/bookmarks/
bookmark_utils_gtk.cc 7 #include "base/pickle.h"
326 Pickle pickle; local
327 data.WriteToPickle(profile, &pickle);
331 static_cast<const guchar*>(pickle.data()),
332 pickle.size());
395 Pickle pickle(reinterpret_cast<char*>(selection_data->data),
398 drag_data.ReadFromPickle(&pickle);
  /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...]
native_backend_kwallet_x_unittest.cc 11 #include "base/pickle.h"
453 Pickle pickle(reinterpret_cast<const char*>(value.data()), value.size());
455 NativeBackendKWalletStub::DeserializeValue(entries[i], pickle, &forms);
704 // (For example tests for storing >1 password per realm pickle.)
1053 Pickle pickle; local
    [all...]
  /external/chromium_org/chrome/browser/ui/gtk/bookmarks/
bookmark_utils_gtk.cc 7 #include "base/pickle.h"
342 Pickle pickle; local
343 data.WriteToPickle(profile, &pickle);
348 static_cast<const guchar*>(pickle.data()),
349 pickle.size());
427 Pickle pickle(reinterpret_cast<const char*>(
430 drag_data.ReadFromPickle(&pickle);
  /external/chromium_org/components/nacl/browser/
nacl_browser.cc 12 #include "base/pickle.h"
93 void WriteCache(const base::FilePath& filename, const Pickle* pickle) {
94 file_util::WriteFile(filename, static_cast<const char*>(pickle->data()),
95 pickle->size());
362 Pickle pickle(data->data(), data->size());
363 validation_cache_.Deserialize(&pickle);
533 Pickle* pickle = new Pickle() local
    [all...]
  /external/chromium_org/net/disk_cache/simple/
simple_index_file.cc 13 #include "base/pickle.h"
33 uint32 CalculatePickleCRC(const Pickle& pickle) {
35 reinterpret_cast<const Bytef*>(pickle.payload()),
36 pickle.payload_size());
68 bool WritePickleFile(Pickle* pickle, const base::FilePath& file_name) {
70 file_name, static_cast<const char*>(pickle->data()), pickle->size());
71 if (bytes_written != implicit_cast<int>(pickle->size()))
269 scoped_ptr<Pickle> pickle = Serialize(index_metadata, entry_set); local
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
rpc.py 36 import cPickle as pickle namespace
63 copy_reg.pickle(types.CodeType, pickle_code, unpickle_code)
64 # copy_reg.pickle(types.FunctionType, pickle_function, unpickle_function)
324 s = pickle.dumps(message)
325 except pickle.PicklingError:
326 print >>sys.__stderr__, "Cannot pickle:", repr(message)
380 message = pickle.loads(packet)
381 except pickle.UnpicklingError:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
pickletools.py 1 '''"Executable documentation" for the pickle module.
3 Extensive comments about the pickle protocols and pickle-machine opcodes
6 genops(pickle)
7 Generate all the opcodes in a pickle, as (opcode, arg, position) triples.
9 dis(pickle, out=None, memo=None, indentlevel=4)
10 Print a symbolic disassembly of a pickle.
17 # - A pickle verifier: read a pickle and check it exhaustively for
20 # - A protocol identifier: examine a pickle and return its protocol numbe
1764 import pickle, re namespace
    [all...]
subprocess.py 432 import pickle namespace
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_cfgparser.py 611 import pickle namespace
613 pickled = pickle.dumps(e1)
614 e2 = pickle.loads(pickled)
619 import pickle namespace
621 pickled = pickle.dumps(e1)
622 e2 = pickle.loads(pickled)
629 import pickle namespace
631 pickled = pickle.dumps(e1)
632 e2 = pickle.loads(pickled)
640 import pickle namespace
650 import pickle namespace
661 import pickle namespace
674 import pickle namespace
685 import pickle namespace
697 import pickle namespace
711 import pickle namespace
    [all...]
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...]
test_functools.py 6 import pickle namespace
151 f_copy = pickle.loads(pickle.dumps(f))
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...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
rpc.py 36 import cPickle as pickle namespace
63 copy_reg.pickle(types.CodeType, pickle_code, unpickle_code)
64 # copy_reg.pickle(types.FunctionType, pickle_function, unpickle_function)
324 s = pickle.dumps(message)
325 except pickle.PicklingError:
326 print >>sys.__stderr__, "Cannot pickle:", repr(message)
380 message = pickle.loads(packet)
381 except pickle.UnpicklingError:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
pickletools.py 1 '''"Executable documentation" for the pickle module.
3 Extensive comments about the pickle protocols and pickle-machine opcodes
6 genops(pickle)
7 Generate all the opcodes in a pickle, as (opcode, arg, position) triples.
9 dis(pickle, out=None, memo=None, indentlevel=4)
10 Print a symbolic disassembly of a pickle.
17 # - A pickle verifier: read a pickle and check it exhaustively for
20 # - A protocol identifier: examine a pickle and return its protocol numbe
1764 import pickle, re namespace
    [all...]
subprocess.py 432 import pickle namespace
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_cfgparser.py 611 import pickle namespace
613 pickled = pickle.dumps(e1)
614 e2 = pickle.loads(pickled)
619 import pickle namespace
621 pickled = pickle.dumps(e1)
622 e2 = pickle.loads(pickled)
629 import pickle namespace
631 pickled = pickle.dumps(e1)
632 e2 = pickle.loads(pickled)
640 import pickle namespace
650 import pickle namespace
661 import pickle namespace
674 import pickle namespace
685 import pickle namespace
697 import pickle namespace
711 import pickle namespace
    [all...]
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...]
test_functools.py 6 import pickle namespace
151 f_copy = pickle.loads(pickle.dumps(f))
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...]
  /external/chromium/net/base/
x509_certificate_unittest.cc 8 #include "base/pickle.h"
672 TEST(X509CertificateTest, Pickle) {
694 Pickle pickle; local
695 cert->Persist(&pickle);
700 pickle, &iter, X509Certificate::PICKLETYPE_CERTIFICATE_CHAIN);
    [all...]
  /external/chromium_org/content/common/
page_state_serialization.cc 10 #include "base/pickle.h"
167 : pickle(data, len),
170 iter = PickleIterator(pickle);
174 return std::string(static_cast<const char*>(pickle.data()), pickle.size());
177 Pickle pickle; member in struct:content::__anon8070::SerializeObject
192 // NOTE: If the version is -1, then the pickle contains only a URL string.
203 obj->pickle.WriteData(static_cast<const char*>(data), length);
208 if (obj->pickle.ReadData(&obj->iter, &tmp, length))
    [all...]
  /external/chromium_org/net/cert/
x509_certificate_unittest.cc 10 #include "base/pickle.h"
508 TEST(X509CertificateTest, Pickle) {
525 Pickle pickle; local
526 cert->Persist(&pickle);
528 PickleIterator iter(pickle);
531 pickle, &iter, X509Certificate::PICKLETYPE_CERTIFICATE_CHAIN_V3);
    [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...]

Completed in 1072 milliseconds

1 2 3 45 6 7