HomeSort by relevance Sort by last modified time
    Searched defs:pickle (Results 1 - 18 of 18) sorted by null

  /external/chromium/chrome/common/extensions/
user_script_unittest.cc 6 #include "base/pickle.h"
117 TEST(ExtensionUserScriptTest, Pickle) {
143 Pickle pickle; local
144 script1.Pickle(&pickle);
148 script2.Unpickle(pickle, &iter);
extension_unpacker.cc 214 IPC::Message pickle; // We use a Message so we can use WriteParam. local
215 IPC::WriteParam(&pickle, decoded_images_);
219 if (!file_util::WriteFile(path, static_cast<const char*>(pickle.data()),
220 pickle.size())) {
229 IPC::Message pickle; local
230 IPC::WriteParam(&pickle, *parsed_catalogs_.get());
234 if (!file_util::WriteFile(path, static_cast<const char*>(pickle.data()),
235 pickle.size())) {
251 IPC::Message pickle(file_str.data(), file_str.size());
253 return IPC::ReadParam(&pickle, &iter, images)
    [all...]
  /external/chromium/chrome/browser/ui/views/extensions/
browser_action_drag_data_unittest.cc 5 #include "base/pickle.h"
42 Pickle pickle; local
43 pickle.WriteBytes(&profile_id, sizeof(profile_id));
44 pickle.WriteString(extension_id);
45 pickle.WriteInt(42);
49 pickle); local
  /external/chromium/chrome/browser/ssl/
ssl_manager.cc 63 Pickle pickle; local
64 pickle.WriteInt(cert_id);
65 pickle.WriteInt(cert_status);
66 pickle.WriteInt(security_bits);
67 pickle.WriteInt(ssl_connection_status);
68 return std::string(static_cast<const char*>(pickle.data()), pickle.size());
88 Pickle pickle(state.data(), static_cast<int>(state.size()))
    [all...]
  /external/chromium/net/base/
io_buffer.h 13 #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
138 Pickle pickle_;
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...]
  /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/chromium/base/
pickle_unittest.cc 9 #include "base/pickle.h"
25 void VerifyResult(const Pickle& pickle) {
29 EXPECT_TRUE(pickle.ReadInt(&iter, &outint));
33 EXPECT_TRUE(pickle.ReadString(&iter, &outstr));
37 EXPECT_TRUE(pickle.ReadWString(&iter, &outwstr));
41 EXPECT_TRUE(pickle.ReadBool(&iter, &outbool));
43 EXPECT_TRUE(pickle.ReadBool(&iter, &outbool));
47 EXPECT_TRUE(pickle.ReadUInt16(&iter, &outuint16));
52 EXPECT_TRUE(pickle.ReadData(&iter, &outdata, &outdatalen))
67 Pickle pickle; local
130 Pickle pickle; local
140 Pickle pickle; local
150 Pickle pickle; local
159 Pickle pickle; local
168 Pickle pickle; local
192 Pickle pickle; local
216 Pickle pickle; local
301 Pickle pickle; local
314 Pickle pickle; local
    [all...]
  /external/chromium/chrome/browser/extensions/
user_script_master.cc 13 #include "base/pickle.h"
234 // Pickle user scripts and return pointer to the shared memory.
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())
    [all...]
  /external/chromium/chrome/browser/sessions/
base_session_service.cc 7 #include "base/pickle.h"
28 // |pickle|, if and only if |str| fits within (|max_bytes| - |*bytes_written|).
30 void WriteStringToPickle(Pickle& pickle, int* bytes_written, int max_bytes,
35 pickle.WriteString(str);
37 pickle.WriteString(std::string());
42 void WriteString16ToPickle(Pickle& pickle, int* bytes_written, int max_bytes,
47 pickle.WriteString16(str);
49 pickle.WriteString16(string16())
143 Pickle pickle; local
188 Pickle pickle; local
    [all...]
  /external/v8/tools/
presubmit.py 41 import pickle namespace
115 self.sums = pickle.load(sums_file)
126 pickle.dump(self.sums, sums_file)
  /external/chromium/chrome/browser/bookmarks/
bookmark_node_data.cc 10 #include "base/pickle.h"
43 void BookmarkNodeData::Element::WriteToPickle(Pickle* pickle) const {
44 pickle->WriteBool(is_url);
45 pickle->WriteString(url.spec());
46 pickle->WriteString16(title);
47 pickle->WriteInt64(id_);
49 pickle->WriteSize(children.size());
52 i->WriteToPickle(pickle);
57 bool BookmarkNodeData::Element::ReadFromPickle(Pickle* pickle
162 Pickle pickle; local
    [all...]
  /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/http/
http_response_headers_unittest.cc 8 #include "base/pickle.h"
450 Pickle pickle; local
451 parsed1->Persist(&pickle, tests[i].options);
455 new net::HttpResponseHeaders(pickle, &iter));
    [all...]
http_cache_unittest.cc 593 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
    [all...]
  /external/chromium/webkit/glue/
glue_serialize.cc 9 #include "base/pickle.h"
35 SerializeObject(const char* data, int len) : pickle(data, len), iter(NULL) {}
38 return std::string(static_cast<const char*>(pickle.data()), pickle.size());
41 Pickle pickle; member in struct:webkit_glue::SerializeObject
62 // NOTE: If the version is -1, then the pickle contains only a URL string.
71 obj->pickle.WriteData(static_cast<const char*>(data), length);
77 obj->pickle.ReadData(&obj->iter, &tmp, length);
84 if (!obj->pickle.ReadBytes(&obj->iter, &tmp, length)
    [all...]
  /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/base/metrics/
histogram.cc 18 #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())
    [all...]

Completed in 679 milliseconds