/external/chromium_org/chrome/browser/ui/views/extensions/ |
browser_action_drag_data.cc | 8 #include "base/pickle.h" 33 Pickle data_pickle; 42 Pickle drag_data_pickle; 65 Profile* profile, Pickle* pickle) const { 66 pickle->WriteBytes(&profile, sizeof(profile)); 67 pickle->WriteString(id_); 68 pickle->WriteUInt64(index_); 71 bool BrowserActionDragData::ReadFromPickle(Pickle* pickle) { [all...] |
/external/chromium_org/content/common/ |
child_process_sandbox_support_impl_shm_linux.cc | 7 #include "base/pickle.h" 14 Pickle request;
|
ssl_status_serialization.cc | 8 #include "base/pickle.h" 16 Pickle pickle; local 17 pickle.WriteInt(cert_id); 18 pickle.WriteUInt32(cert_status); 19 pickle.WriteInt(security_bits); 20 pickle.WriteInt(ssl_connection_status); 21 return std::string(static_cast<const char*>(pickle.data()), pickle.size()); 40 Pickle pickle(state.data(), static_cast<int>(state.size())) [all...] |
font_config_ipc_linux.cc | 17 #include "base/pickle.h" 58 Pickle request; 70 Pickle reply(reinterpret_cast<char*>(reply_buf), r); 99 Pickle request; 112 Pickle reply(reinterpret_cast<char*>(reply_buf), r);
|
/external/chromium_org/skia/ext/ |
skia_utils_base.cc | 9 bool ReadSkString(const Pickle& pickle, PickleIterator* iter, SkString* str) { 13 if (!pickle.ReadData(iter, &reply_text, &reply_length)) 21 bool ReadSkFontIdentity(const Pickle& pickle, PickleIterator* iter, 28 if (!pickle.ReadUInt32(iter, &reply_id) || 29 !pickle.ReadUInt32(iter, &reply_ttcIndex) || 30 !pickle.ReadData(iter, &reply_text, &reply_length)) 41 bool WriteSkString(Pickle* pickle, const SkString& str) [all...] |
/external/chromium_org/webkit/common/cursors/ |
webcursor_null.cc | 18 bool WebCursor::SerializePlatformData(Pickle* pickle) const {
|
webcursor_unittest.cc | 5 #include "base/pickle.h" 15 Pickle ok_custom_pickle; 44 Pickle short_custom_pickle; 61 Pickle large_custom_pickle; 80 Pickle neg_custom_pickle; 99 Pickle scale_zero_custom_pickle; 118 Pickle scale_tiny_custom_pickle; 140 Pickle win32_custom_pickle; 154 Pickle ok_custom_pickle; 189 Pickle broken_cursor_pickle [all...] |
/external/chromium/webkit/glue/ |
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/base/ |
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...] |
/external/chromium_org/extensions/common/ |
user_script.cc | 8 #include "base/pickle.h" 111 void UserScript::File::Pickle(::Pickle* pickle) const { 112 pickle->WriteString(url_.spec()); 117 void UserScript::File::Unpickle(const ::Pickle& pickle, PickleIterator* iter) { 118 // Read the url from the pickle. 120 CHECK(pickle.ReadString(iter, &url)); 124 void UserScript::Pickle(::Pickle* pickle) const [all...] |
user_script.h | 17 class Pickle; 83 void Pickle(::Pickle* pickle) const; 84 void Unpickle(const ::Pickle& pickle, PickleIterator* iter); 182 // Serialize the UserScript into a pickle. The content of the scripts and 184 void Pickle(::Pickle* pickle) const [all...] |
/external/chromium_org/ui/base/clipboard/ |
custom_data_helper.h | 7 // each key-value pair into the pickle as a pair of string objects, and then 8 // write the binary data in the pickle to the native data transfer object. 19 class Pickle; 49 Pickle* pickle);
|
scoped_clipboard_writer.h | 20 class Pickle; 65 void WritePickledData(const Pickle& pickle,
|
custom_data_helper_unittest.cc | 9 #include "base/pickle.h" 17 void PrepareEmptyTestData(Pickle* pickle) { 19 WriteCustomDataToPickle(data, pickle); 22 void PrepareTestData(Pickle* pickle) { 27 WriteCustomDataToPickle(data, pickle); 31 Pickle pickle; local 32 PrepareEmptyTestData(&pickle); 40 Pickle pickle; local 52 Pickle pickle; local 61 Pickle pickle; local 75 Pickle pickle; local 99 Pickle pickle; local [all...] |
/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_org/net/http/ |
http_response_info.h | 17 class Pickle; 53 // Initializes from the representation stored in the given pickle. 54 bool InitFromPickle(const Pickle& pickle, bool* response_truncated); 57 void Persist(Pickle* pickle,
|
/external/chromium_org/sandbox/linux/services/ |
broker_process.h | 12 #include "base/pickle.h" 67 const Pickle& read_pickle, PickleIterator iter) const; 70 int mode, Pickle* write_pickle) const; 72 int flags, Pickle* write_pickle,
|
/external/chromium_org/ipc/ |
ipc_message.cc | 43 : Pickle(sizeof(Header)) { 54 : Pickle(sizeof(Header)) { 66 Message::Message(const char* data, int data_len) : Pickle(data, data_len) { 70 Message::Message(const Message& other) : Pickle(other) { 86 *static_cast<Pickle*>(this) = other;
|
/external/chromium_org/base/ |
pickle.h | 17 class Pickle; 19 // PickleIterator reads data from a Pickle. The Pickle object must remain valid 24 explicit PickleIterator(const Pickle& pickle); 26 // Methods for reading the payload of the Pickle. To read from the start of 27 // the Pickle, create a PickleIterator from a Pickle. If successful, these 62 // Read Type from Pickle. 79 // Pointers to the Pickle data [all...] |
/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...] |
/external/chromium_org/base/metrics/ |
histogram_base.h | 15 class Pickle; 45 // Create or find existing histogram and add the samples from pickle. 46 // Silently returns when seeing any data problem in the pickle. 112 // Serialize the histogram info into |pickle|. 115 bool SerializeInfo(Pickle* pickle) const; 136 virtual bool SerializeInfoImpl(Pickle* pickle) const = 0;
|
/external/chromium_org/chrome/browser/nacl_host/ |
nacl_validation_cache.cc | 7 #include "base/pickle.h" 57 void NaClValidationCache::Serialize(Pickle* pickle) const { 59 pickle->WriteString(kValidationCacheBeginMagic); 60 pickle->WriteString(validation_cache_key_); 61 pickle->WriteInt(validation_cache_.size()); 69 pickle->WriteString(iter->first); 73 pickle->WriteString(kValidationCacheEndMagic); 81 bool NaClValidationCache::Deserialize(const Pickle* pickle) { [all...] |
/external/chromium_org/ui/base/dragdrop/ |
os_exchange_data_provider_aura.h | 11 #include "base/pickle.h" 36 const Pickle& data) OVERRIDE; 43 Pickle* data) const OVERRIDE; 60 typedef std::map<OSExchangeData::CustomFormat, Pickle> PickleData;
|