Searched refs:pickle (Results 26 - 50 of 52) sorted by relevance

123

/external/chromium/chrome/common/extensions/
H A Duser_script.h81 void Pickle(::Pickle* pickle) const;
82 void Unpickle(const ::Pickle& pickle, void** iter);
176 // Serialize the UserScript into a pickle. The content of the scripts and
178 void Pickle(::Pickle* pickle) const;
180 // Deserialize the script from a pickle. Note that this always succeeds
183 void Unpickle(const ::Pickle& pickle, void** iter);
H A Duser_script_unittest.cc6 #include "base/pickle.h"
143 Pickle pickle; local
144 script1.Pickle(&pickle);
148 script2.Unpickle(pickle, &iter);
/external/chromium/base/metrics/
H A Dhistogram.cc18 #include "base/pickle.h"
216 Pickle pickle; local
217 pickle.WriteString(histogram.histogram_name());
218 pickle.WriteInt(histogram.declared_min());
219 pickle.WriteInt(histogram.declared_max());
220 pickle.WriteSize(histogram.bucket_count());
221 pickle.WriteUInt32(histogram.range_checksum());
222 pickle.WriteInt(histogram.histogram_type());
223 pickle.WriteInt(histogram.flags());
225 snapshot.Serialize(&pickle);
737 Deserialize(void** iter, const Pickle& pickle) argument
[all...]
H A Dhistogram.h347 bool Serialize(Pickle* pickle) const;
348 bool Deserialize(void** iter, const Pickle& pickle);
/external/llvm/docs/
H A Dmake.bat24 echo. pickle to make pickle files
71 if "%1" == "pickle" (
72 %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
75 echo.Build finished; now you can process the pickle files.
/external/chromium/chrome/browser/extensions/
H A Duser_script_master.cc13 #include "base/pickle.h"
236 Pickle pickle; local
237 pickle.WriteSize(scripts.size());
243 script.Pickle(&pickle);
248 pickle.WriteData(contents.data(), contents.length());
252 pickle.WriteData(contents.data(), contents.length());
259 if (!shared_memory->CreateAndMapAnonymous(pickle.size()))
262 // Copy the pickle to shared memory.
263 memcpy(shared_memory->memory(), pickle.data(), pickle
[all...]
/external/chromium/net/base/
H A Dx509_certificate.h160 // pickle. The data for this object is found relative to the given
161 // pickle_iter, which should be passed to the pickle's various Read* methods.
165 static scoped_refptr<X509Certificate> CreateFromPickle(const Pickle& pickle,
200 // Appends a representation of this object to the given pickle.
201 void Persist(Pickle* pickle);
419 // Reads a single certificate from |pickle| and returns a platform-specific
420 // certificate handle. The format of the certificate stored in |pickle| is
424 static OSCertHandle ReadCertHandleFromPickle(const Pickle& pickle,
427 // Writes a single certificate to |pickle|. Returns false on failure.
428 static bool WriteCertHandleToPickle(OSCertHandle handle, Pickle* pickle);
[all...]
H A Dio_buffer.h13 #include "base/pickle.h"
123 // This versions allows a pickle to be used as the storage for a write-style
129 Pickle* pickle() { return &pickle_; } function in class:net::PickledIOBuffer
H A Dx509_certificate_openssl.cc17 #include "base/pickle.h"
525 X509Certificate::ReadCertHandleFromPickle(const Pickle& pickle, argument
529 if (!pickle.ReadData(pickle_iter, &data, &length))
537 Pickle* pickle) {
542 return pickle->WriteData(
536 WriteCertHandleToPickle(OSCertHandle cert_handle, Pickle* pickle) argument
H A Dx509_certificate_nss.cc21 #include "base/pickle.h"
1000 X509Certificate::ReadCertHandleFromPickle(const Pickle& pickle, argument
1004 if (!pickle.ReadData(pickle_iter, &data, &length))
1012 Pickle* pickle) {
1013 return pickle->WriteData(
1011 WriteCertHandleToPickle(OSCertHandle cert_handle, Pickle* pickle) argument
H A Dx509_certificate_win.cc9 #include "base/pickle.h"
1015 X509Certificate::ReadCertHandleFromPickle(const Pickle& pickle, argument
1019 if (!pickle.ReadData(pickle_iter, &data, &length))
1036 Pickle* pickle) {
1050 return pickle->WriteData(reinterpret_cast<const char*>(&buffer[0]),
1035 WriteCertHandleToPickle(OSCertHandle cert_handle, Pickle* pickle) argument
H A Dx509_certificate.cc17 #include "base/pickle.h"
242 scoped_refptr<X509Certificate> X509Certificate::CreateFromPickle(const Pickle& pickle, argument
245 OSCertHandle cert_handle = ReadCertHandleFromPickle(pickle, pickle_iter);
250 // the data from |pickle| so that |pickle_iter| is kept in sync for any
254 if (!pickle.ReadSize(pickle_iter, &num_intermediates)) {
261 OSCertHandle intermediate = ReadCertHandleFromPickle(pickle,
364 void X509Certificate::Persist(Pickle* pickle) { argument
366 if (!WriteCertHandleToPickle(cert_handle_, pickle)) {
371 if (!pickle->WriteSize(intermediate_ca_certs_.size())) {
377 if (!WriteCertHandleToPickle(intermediate_ca_certs_[i], pickle)) {
[all...]
H A Dx509_certificate_mac.cc18 #include "base/pickle.h"
1328 X509Certificate::ReadCertHandleFromPickle(const Pickle& pickle, argument
1332 if (!pickle.ReadData(pickle_iter, &data, &length))
1340 Pickle* pickle) {
1346 return pickle->WriteData(reinterpret_cast<char*>(cert_data.Data),
1339 WriteCertHandleToPickle(OSCertHandle cert_handle, Pickle* pickle) argument
H A Dx509_certificate_unittest.cc8 #include "base/pickle.h"
694 Pickle pickle; local
695 cert->Persist(&pickle);
700 pickle, &iter, X509Certificate::PICKLETYPE_CERTIFICATE_CHAIN);
/external/chromium/webkit/glue/
H A Dwebcursor_win.cc6 #include "base/pickle.h"
212 bool WebCursor::SerializePlatformData(Pickle* pickle) const {
216 return pickle->WriteUInt32(reinterpret_cast<uint32>(external_cursor_));
219 bool WebCursor::DeserializePlatformData(const Pickle* pickle, void** iter) { argument
220 return pickle->ReadUInt32(iter, reinterpret_cast<uint32*>(&external_cursor_));
H A Dwebcursor_gtk.cc219 bool WebCursor::SerializePlatformData(Pickle* pickle) const {
223 bool WebCursor::DeserializePlatformData(const Pickle* pickle, void** iter) { argument
/external/chromium/chrome/browser/ui/gtk/bookmarks/
H A Dbookmark_utils_gtk.cc7 #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/v8/tools/
H A Dpresubmit.py41 import pickle namespace
143 self.sums = pickle.load(sums_file)
154 pickle.dump(self.sums, sums_file)
/external/chromium/net/http/
H A Dhttp_response_headers.h54 // 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, void** pickle_iter);
59 // Appends a representation of this object to the given pickle.
61 void Persist(Pickle* pickle, PersistOptions options);
H A Dhttp_response_headers.cc16 #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) argument
157 if (pickle.ReadString(iter, &raw_input))
161 void HttpResponseHeaders::Persist(Pickle* pickle, PersistOptions options) { argument
163 pickle->WriteString(raw_headers_);
214 pickle->WriteString(blob);
H A Dhttp_response_headers_unittest.cc8 #include "base/pickle.h"
450 Pickle pickle; local
451 parsed1->Persist(&pickle, tests[i].options);
455 new net::HttpResponseHeaders(pickle, &iter));
H A Dhttp_cache.cc19 #include "base/pickle.h"
433 Pickle pickle(data, len);
434 return response_info->InitFromPickle(pickle, response_truncated);
H A Dhttp_cache_unittest.cc593 Pickle pickle; local
595 &pickle, skip_transient_headers, response_truncated);
599 reinterpret_cast<const char*>(pickle.data())));
600 int len = static_cast<int>(pickle.size());
4120 Pickle pickle; local
4121 response1.Persist(&pickle, false, false);
4126 EXPECT_TRUE(response2.InitFromPickle(pickle, &response_truncated));
/external/chromium/chrome/browser/safe_browsing/
H A Dmalware_details_unittest.cc7 #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/base/
H A Dfile_path.cc12 #include "base/pickle.h"
555 void FilePath::WriteStringTypeToPickle(Pickle* pickle, argument
558 pickle->WriteWString(path);
560 pickle->WriteString(path);
567 bool FilePath::ReadStringTypeFromPickle(Pickle* pickle, void** iter, argument
570 if (!pickle->ReadWString(iter, path))
573 if (!pickle->ReadString(iter, path))
583 void FilePath::WriteToPickle(Pickle* pickle) { argument
584 WriteStringTypeToPickle(pickle, value());
587 bool FilePath::ReadFromPickle(Pickle* pickle, voi argument
[all...]

Completed in 636 milliseconds

123