HomeSort by relevance Sort by last modified time
    Searched refs:Pickle (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/chromium/webkit/glue/
npruntime_util.h 10 class Pickle;
15 bool SerializeNPIdentifier(NPIdentifier identifier, Pickle* pickle);
16 bool DeserializeNPIdentifier(const Pickle& pickle, void** pickle_iter,
webcursor.h 31 class Pickle;
57 bool Deserialize(const Pickle* pickle, void** iter);
58 bool Serialize(Pickle* pickle) const;
118 bool SerializePlatformData(Pickle* pickle) const;
119 bool DeserializePlatformData(const Pickle* pickle, void** iter);
webcursor_unittest.cc 5 #include "base/pickle.h"
16 Pickle ok_custom_pickle;
33 Pickle short_custom_pickle;
50 Pickle large_custom_pickle;
69 Pickle neg_custom_pickle;
86 Pickle win32_custom_pickle;
100 Pickle ok_custom_pickle;
npruntime_util.cc 7 #include "base/pickle.h"
14 bool SerializeNPIdentifier(NPIdentifier identifier, Pickle* pickle) {
20 if (!pickle->WriteBool(is_string))
24 return pickle->WriteData(string, strlen(string) + 1);
26 return pickle->WriteInt(number);
29 bool DeserializeNPIdentifier(const Pickle& pickle, void** pickle_iter,
32 if (!pickle.ReadBool(pickle_iter, &is_string))
38 if (!pickle.ReadData(pickle_iter, &data, &data_len)
    [all...]
  /external/chromium/chrome/browser/sessions/
session_command.cc 9 #include "base/pickle.h"
16 SessionCommand::SessionCommand(id_type id, const Pickle& pickle)
18 contents_(pickle.size(), 0) {
19 DCHECK(pickle.size() < std::numeric_limits<size_type>::max());
20 memcpy(contents(), pickle.data(), pickle.size());
30 Pickle* SessionCommand::PayloadAsPickle() const {
31 return new Pickle(contents(), static_cast<int>(size()));
session_command.h 13 class Pickle;
24 // . From a pickle, this is useful for commands whose length varies.
38 // id whose contents is populated from the contents of pickle.
39 SessionCommand(id_type id, const Pickle& pickle);
55 // Returns the contents as a pickle. It is up to the caller to delete the
56 // returned Pickle. The returned Pickle references the underlying data of
58 // pickle.
59 Pickle* PayloadAsPickle() const
    [all...]
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/chromium/net/http/
http_response_info.h 15 class Pickle;
33 // Initializes from the representation stored in the given pickle.
34 bool InitFromPickle(const Pickle& pickle, bool* response_truncated);
37 void Persist(Pickle* pickle,
http_vary_data.h 11 class Pickle;
47 // Initialize from a pickle that contains data generated by a call to the
54 bool InitFromPickle(const Pickle& pickle, void** pickle_iter);
58 void Persist(Pickle* pickle) const;
http_vary_data.cc 9 #include "base/pickle.h"
67 bool HttpVaryData::InitFromPickle(const Pickle& pickle, void** iter) {
70 if (pickle.ReadBytes(iter, &data, sizeof(request_digest_))) {
77 void HttpVaryData::Persist(Pickle* pickle) const {
79 pickle->WriteBytes(&request_digest_, sizeof(request_digest_));
http_response_headers.h 18 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, void** pickle_iter);
59 // Appends a representation of this object to the given pickle.
61 void Persist(Pickle* pickle, PersistOptions options);
  /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...]
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)
61 Pickle::Pickle(const Pickle& other
    [all...]
pickle.h 19 // The Pickle class supports appending primitive values (ints, strings, etc.)
20 // to a pickle instance. The Pickle instance grows its internal memory buffer
22 // buffer is exposed as the "data" of the Pickle. This "data" can be passed
23 // to a Pickle object to initialize it for reading.
25 // When reading from a Pickle object, it is important for the consumer to know
26 // what value types to read and in what order to read them as the Pickle does
29 // The Pickle's data has a header which contains the size of the Pickle's
31 // space is controlled by the header_size parameter passed to the Pickle
    [all...]
file_path.h 123 class Pickle;
312 // Static helper method to write a StringType to a pickle.
313 static void WriteStringTypeToPickle(Pickle* pickle,
315 static bool ReadStringTypeFromPickle(Pickle* pickle, void** iter,
318 void WriteToPickle(Pickle* pickle);
319 bool ReadFromPickle(Pickle* pickle, void** iter)
    [all...]
  /external/chromium/chrome/browser/bookmarks/
bookmark_node_data.h 20 class Pickle;
67 void WriteToPickle(Pickle* pickle) const;
68 bool ReadFromPickle(Pickle* pickle, void** iterator);
117 // Writes the data for a drag to |pickle|.
118 void WriteToPickle(Profile* profile, Pickle* pickle) const;
120 // Reads the data for a drag from a |pickle|.
121 bool ReadFromPickle(Pickle* pickle)
    [all...]
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/ui/views/extensions/
browser_action_drag_data.h 20 class Pickle;
45 void WriteToPickle(Profile* profile, Pickle* pickle) const;
46 bool ReadFromPickle(Pickle* pickle);
browser_action_drag_data.cc 8 #include "base/pickle.h"
32 Pickle data_pickle;
41 Pickle drag_data_pickle;
67 Profile* profile, Pickle* pickle) const {
69 pickle->WriteBytes(&profile_id, sizeof(profile_id));
70 pickle->WriteString(id_);
71 pickle->WriteSize(index_);
74 bool BrowserActionDragData::ReadFromPickle(Pickle* pickle) {
    [all...]
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/password_manager/
native_backend_kwallet_x.h 19 class Pickle;
93 static void SerializeValue(const PasswordFormList& forms, Pickle* pickle);
101 const Pickle& pickle,
104 // Convenience function to read a GURL from a Pickle. Assumes the URL has
106 static bool ReadGURL(const Pickle& pickle, void** iter, GURL* url);
108 // In case the fields in the pickle ever change, version them so we can try to
  /external/chromium/chrome/common/extensions/
user_script.h 17 class Pickle;
81 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
    [all...]
user_script.cc 7 #include "base/pickle.h"
93 void UserScript::File::Pickle(::Pickle* pickle) const {
94 pickle->WriteString(url_.spec());
99 void UserScript::File::Unpickle(const ::Pickle& pickle, void** iter) {
102 CHECK(pickle.ReadString(iter, &url));
106 void UserScript::Pickle(::Pickle* pickle) const
    [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.h 38 class Pickle;
118 // When reading a certificate from a Pickle, the Pickle only contains a
122 // When reading a certificate from a Pickle, the Pickle contains the
160 // 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
    [all...]

Completed in 689 milliseconds

1 2 3