/external/chromium_org/ui/base/clipboard/ |
custom_data_helper.cc | 13 #include "base/pickle.h" 19 class SkippablePickle : public Pickle { 26 : Pickle(reinterpret_cast<const char*>(data), data_len) { 43 SkippablePickle pickle(data, data_length); 44 PickleIterator iter(pickle); 47 if (!pickle.ReadUInt64(&iter, &size)) 57 if (!pickle.ReadString16(&iter, &types->back()) || 58 !pickle.SkipString16(&iter)) { 69 SkippablePickle pickle(data, data_length); 70 PickleIterator iter(pickle); [all...] |
/external/chromium_org/webkit/common/cursors/ |
webcursor_aurawin.cc | 36 bool WebCursor::SerializePlatformData(Pickle* pickle) const {
|
webcursor.h | 32 class Pickle; 81 bool Serialize(Pickle* pickle) const; 140 bool SerializePlatformData(Pickle* pickle) const;
|
/external/chromium_org/chrome/browser/sessions/ |
base_session_service.cc | 9 #include "base/pickle.h" 29 // |pickle|, if and only if |str| fits within (|max_bytes| - |*bytes_written|). 31 void WriteStringToPickle(Pickle& pickle, int* bytes_written, int max_bytes, 36 pickle.WriteString(str); 38 pickle.WriteString(std::string()); 144 // Use pickle to handle marshalling. 145 Pickle pickle; local 146 pickle.WriteInt(tab_id) 160 Pickle pickle; local 179 Pickle pickle; local 200 Pickle pickle; local [all...] |
/external/chromium/chrome/common/extensions/ |
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_;
|
/external/chromium_org/base/metrics/ |
histogram_samples.h | 12 class Pickle; 38 virtual bool Serialize(Pickle* pickle) const;
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_node_data_views.cc | 8 #include "base/pickle.h" 37 Pickle data_pickle; 49 Pickle drag_data_pickle;
|
/external/chromium_org/chrome/browser/password_manager/ |
login_database.h | 12 #include "base/pickle.h" 111 Pickle SerializeVector(const std::vector<string16>& vec) const; 112 std::vector<string16> DeserializeVector(const Pickle& pickle) const;
|
native_backend_kwallet_x.h | 17 class Pickle; 66 const Pickle& pickle, 114 static void SerializeValue(const PasswordFormList& forms, Pickle* pickle); 117 // |size_32| controls reading the size field within the pickle as 32 bits. 118 // We used to use Pickle::WriteSize() to write the number of password forms, 127 // In case the fields in the pickle ever change, version them so we can try to
|
/external/chromium_org/crypto/ |
secure_hash_default.cc | 8 #include "base/pickle.h" 40 virtual bool Serialize(Pickle* pickle) OVERRIDE; 47 bool SecureHashSHA256NSS::Serialize(Pickle* pickle) { 48 if (!pickle) 51 if (!pickle->WriteInt(kSecureHashVersion) || 52 !pickle->WriteString(kSHA256Descriptor) || 53 !pickle->WriteBytes(&ctx_, sizeof(ctx_))) {
|
secure_hash_openssl.cc | 12 #include "base/pickle.h" 43 virtual bool Serialize(Pickle* pickle) OVERRIDE; 50 bool SecureHashSHA256OpenSSL::Serialize(Pickle* pickle) { 51 if (!pickle) 54 if (!pickle->WriteInt(kSecureHashVersion) || 55 !pickle->WriteString(kSHA256Descriptor) || 56 !pickle->WriteBytes(&ctx_, sizeof(ctx_))) {
|
/external/chromium_org/net/base/ |
io_buffer.h | 12 #include "base/pickle.h" 211 // This versions allows a pickle to be used as the storage for a write-style 217 Pickle* pickle() { return &pickle_; } function in class:net::PickledIOBuffer 219 // Signals that we are done writing to the pickle and we can use it for a 226 Pickle pickle_;
|
/external/chromium/base/ |
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_org/ui/base/dragdrop/ |
os_exchange_data.h | 27 class Pickle; 107 const Pickle& data) = 0; 115 Pickle* data) const = 0; 179 void SetPickledData(const CustomFormat& format, const Pickle& data); 191 bool GetPickledData(const CustomFormat& format, Pickle* data) const;
|
gtk_dnd_util_unittest.cc | 8 #include "base/pickle.h" 19 Pickle pickle; local 20 pickle.WriteString(kTitle); 21 pickle.WriteString(kUrl); 24 scoped_ptr<guchar[]> test_data(new guchar[pickle.size()]); 25 memcpy(test_data.get(), pickle.data(), pickle.size()); 27 data.length = pickle.size(); 39 Pickle pickle local 70 Pickle pickle; local [all...] |
os_exchange_data_provider_aurax11.h | 17 #include "base/pickle.h" 66 const Pickle& pickle) OVERRIDE; 73 Pickle* pickle) const OVERRIDE; 93 typedef std::map<OSExchangeData::CustomFormat, Pickle> PickleData;
|
/external/chromium_org/content/browser/renderer_host/ |
render_sandbox_host_linux.cc | 24 #include "base/pickle.h" 135 Pickle pickle(buf, len); 136 PickleIterator iter(pickle); 139 if (!pickle.ReadInt(&iter, &kind)) 143 HandleFontMatchRequest(fd, pickle, iter, fds); 145 HandleFontOpenRequest(fd, pickle, iter, fds); 147 HandleGetFontFamilyForChar(fd, pickle, iter, fds); 149 HandleLocaltime(fd, pickle, iter, fds); 151 HandleGetChildWithInode(fd, pickle, iter, fds) [all...] |
/external/chromium_org/net/disk_cache/simple/ |
simple_index_file.h | 17 #include "base/pickle.h" 41 // Simple Index File format is a pickle serialized data of IndexMetadata and 59 void Serialize(Pickle* pickle) const; 118 // Returns a scoped_ptr for a newly allocated Pickle containing the serialized 120 static scoped_ptr<Pickle> Serialize( 149 struct PickleHeader : public Pickle::Header {
|
/external/chromium_org/content/child/npapi/ |
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);
|
/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/net/http/ |
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_));
|
/external/chromium_org/base/posix/ |
unix_domain_socket_linux_unittest.cc | 12 #include "base/pickle.h" 32 Pickle request; 70 Pickle request;
|
/external/chromium_org/net/http/ |
http_vary_data.cc | 9 #include "base/pickle.h" 67 bool HttpVaryData::InitFromPickle(const Pickle& pickle, PickleIterator* 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_));
|
/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...] |