/external/chromium_org/chrome/renderer/extensions/ |
user_script_slave.cc | 13 #include "base/pickle.h" 156 if (!shared_memory_->Map(sizeof(Pickle::Header))) 158 Pickle::Header* pickle_header = 159 reinterpret_cast<Pickle::Header*>(shared_memory_->memory()); 162 int pickle_size = sizeof(Pickle::Header) + pickle_header->payload_size; 169 Pickle pickle(reinterpret_cast<char*>(shared_memory_->memory()), 171 PickleIterator iter(pickle); 172 CHECK(pickle.ReadUInt64(&iter, &num_scripts)); 178 script->Unpickle(pickle, &iter) [all...] |
/external/chromium_org/webkit/browser/appcache/ |
appcache_response.cc | 12 #include "base/pickle.h" 29 // An IOBuffer that wraps a pickle's data. Ownership of the 30 // pickle is transfered to the WrappedPickleIOBuffer object. 33 explicit WrappedPickleIOBuffer(const Pickle* pickle) : 34 net::WrappedIOBuffer(reinterpret_cast<const char*>(pickle->data())), 35 pickle_(pickle) { 36 DCHECK(pickle->data()); 42 scoped_ptr<const Pickle> pickle_; 223 Pickle pickle(buffer_->data(), result) 321 Pickle* pickle = new Pickle; local [all...] |
/external/chromium_org/ui/base/dragdrop/ |
os_exchange_data_provider_aurax11.cc | 152 const Pickle& pickle) { 154 reinterpret_cast<const unsigned char*>(pickle.data()); 157 bytes.insert(bytes.end(), data, data + pickle.size()); 245 Pickle* pickle) const { 251 // Note that the pickle object on the right hand side of the assignment 253 *pickle = Pickle(reinterpret_cast<const char*>(data.GetData()),
|
gtk_dnd_util.cc | 10 #include "base/pickle.h" 180 Pickle pickle; local 181 pickle.WriteString(UTF16ToUTF8(title)); 182 pickle.WriteString(url.spec()); 187 reinterpret_cast<const guchar*>(pickle.data()), 188 pickle.size()); 215 Pickle data(
|
os_exchange_data_provider_win.h | 157 const Pickle& data); 170 Pickle* data) const;
|
/external/chromium_org/webkit/browser/fileapi/ |
file_system_usage_cache.cc | 13 #include "base/pickle.h" 40 // Pickle::{Read,Write}Bool treat bool as int 42 sizeof(Pickle::Header) + 188 Pickle read_pickle(buffer, kUsageFileSize); 216 Pickle write_pickle;
|
sandbox_prioritized_origin_database.cc | 11 #include "base/pickle.h" 39 Pickle pickle; local 40 pickle.WriteString(origin); 41 base::WritePlatformFile(file, 0, static_cast<const char*>(pickle.data()), 42 pickle.size()); 52 Pickle pickle(buffer.data(), buffer.size()); 53 PickleIterator iter(pickle); 54 return pickle.ReadString(&iter, origin) && !origin->empty() [all...] |
sandbox_directory_database.cc | 16 #include "base/pickle.h" 28 Pickle* pickle) { 29 DCHECK(pickle); 39 if (pickle->WriteInt64(info.parent_id) && 40 pickle->WriteString(data_path) && 41 pickle->WriteString(name) && 42 pickle->WriteInt64(time.ToInternalValue())) 50 const Pickle& pickle, 620 Pickle pickle; local 888 Pickle pickle; local [all...] |
/external/chromium_org/base/metrics/ |
histogram_base.cc | 15 #include "base/pickle.h" 85 bool HistogramBase::SerializeInfo(Pickle* pickle) const { 86 if (!pickle->WriteInt(GetHistogramType())) 88 return SerializeInfoImpl(pickle);
|
histogram_samples.cc | 8 #include "base/pickle.h" 92 bool HistogramSamples::Serialize(Pickle* pickle) const { 93 if (!pickle->WriteInt64(sum_) || !pickle->WriteInt(redundant_count_)) 103 if (!pickle->WriteInt(min) || 104 !pickle->WriteInt(max) || 105 !pickle->WriteInt(count))
|
sparse_histogram.cc | 9 #include "base/pickle.h" 83 bool SparseHistogram::SerializeInfoImpl(Pickle* pickle) const { 84 return pickle->WriteString(histogram_name()) && pickle->WriteInt(flags()); 94 DLOG(ERROR) << "Pickle error decoding Histogram: " << histogram_name;
|
/external/chromium_org/components/nacl/browser/ |
nacl_browser.cc | 12 #include "base/pickle.h" 93 void WriteCache(const base::FilePath& filename, const Pickle* pickle) { 94 file_util::WriteFile(filename, static_cast<const char*>(pickle->data()), 95 pickle->size()); 362 Pickle pickle(data->data(), data->size()); 363 validation_cache_.Deserialize(&pickle); 533 Pickle* pickle = new Pickle() local [all...] |
/external/chromium_org/crypto/ |
secure_hash_unittest.cc | 9 #include "base/pickle.h" 54 Pickle pickle; local 59 EXPECT_TRUE(ctx1->Serialize(&pickle)); 65 PickleIterator data_iterator(pickle);
|
/external/chromium_org/net/cert/ |
signed_certificate_timestamp.cc | 7 #include "base/pickle.h" 33 void SignedCertificateTimestamp::Persist(Pickle* pickle) { 34 CHECK(pickle->WriteInt(version)); 35 CHECK(pickle->WriteString(log_id)); 36 CHECK(pickle->WriteInt64(timestamp.ToInternalValue())); 37 CHECK(pickle->WriteString(extensions)); 38 CHECK(pickle->WriteInt(signature.hash_algorithm)); 39 CHECK(pickle->WriteInt(signature.signature_algorithm)); 40 CHECK(pickle->WriteString(signature.signature_data)) [all...] |
/external/chromium_org/ppapi/proxy/ |
serialized_handle.cc | 8 #include "base/pickle.h" 93 bool SerializedHandle::WriteHeader(const Header& hdr, Pickle* pickle) { 94 if (!pickle->WriteInt(hdr.type)) 97 if (!pickle->WriteUInt32(hdr.size)) 101 if (!pickle->WriteInt(hdr.open_flag))
|
/external/chromium_org/tools/android/forwarder2/ |
host_forwarder_main.cc | 30 #include "base/pickle.h" 332 const Pickle command_pickle(buf, bytes_read); 357 ClientDelegate(const Pickle& command_pickle) 386 const Pickle command_pickle_; 416 Pickle pickle; 417 pickle.WriteString( 428 pickle.WriteInt(-PortToInt(args[0])); 432 pickle.WriteInt(PortToInt(args[0])); 433 pickle.WriteInt(PortToInt(args[1])) [all...] |
/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/http/ |
http_response_info.cc | 8 #include "base/pickle.h" 105 bool HttpResponseInfo::InitFromPickle(const Pickle& pickle, 111 if (!pickle.ReadInt(&iter, &flags)) 122 if (!pickle.ReadInt64(&iter, &time_val)) 128 if (!pickle.ReadInt64(&iter, &time_val)) 133 headers = new HttpResponseHeaders(pickle, &iter); 143 ssl_info.cert = X509Certificate::CreateFromPickle(pickle, &iter, type); 147 if (!pickle.ReadInt(&iter, &cert_status)) 153 if (!pickle.ReadInt(&iter, &security_bits) [all...] |
/external/chromium/webkit/glue/ |
glue_serialize_unittest.cc | 7 #include "base/pickle.h" 165 Pickle p; 178 Pickle p;
|
webcursor.cc | 8 #include "base/pickle.h" 73 bool WebCursor::Deserialize(const Pickle* pickle, void** iter) { 79 if (!pickle->ReadInt(iter, &type) || 80 !pickle->ReadInt(iter, &hotspot_x) || 81 !pickle->ReadInt(iter, &hotspot_y) || 82 !pickle->ReadLength(iter, &size_x) || 83 !pickle->ReadLength(iter, &size_y) || 84 !pickle->ReadData(iter, &data, &data_len)) 114 return DeserializePlatformData(pickle, iter) [all...] |
webcursor_gtk.cc | 219 bool WebCursor::SerializePlatformData(Pickle* pickle) const { 223 bool WebCursor::DeserializePlatformData(const Pickle* pickle, void** iter) {
|
webcursor_win.cc | 6 #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) { 220 return pickle->ReadUInt32(iter, reinterpret_cast<uint32*>(&external_cursor_));
|
/external/chromium_org/chrome/browser/password_manager/ |
native_backend_kwallet_x.cc | 11 #include "base/pickle.h" 65 const Pickle::Header* header = 66 reinterpret_cast<const Pickle::Header*>(byte_array); 75 // Convenience function to read a GURL from a Pickle. Assumes the URL has 406 Pickle pickle(reinterpret_cast<const char*>(bytes), length); 408 DeserializeValue(signon_realm, pickle, &all_forms); 523 Pickle pickle(reinterpret_cast<const char*>(bytes), length); 525 DeserializeValue(signon_realm, pickle, forms) [all...] |
/external/chromium_org/content/zygote/ |
zygote_main_linux.cc | 24 #include "base/pickle.h" 65 Pickle request; 79 Pickle reply(reinterpret_cast<char*>(reply_buf), r);
|
/external/chromium_org/components/sessions/ |
serialized_navigation_entry.cc | 7 #include "base/pickle.h" 160 // |pickle|, if and only if |str| fits within (|max_bytes| - 166 void WriteStringToPickle(Pickle* pickle, 173 pickle->WriteString(str); 175 pickle->WriteString(std::string()); 182 void WriteString16ToPickle(Pickle* pickle, 189 pickle->WriteString16(str); 191 pickle->WriteString16(base::string16()) [all...] |