/external/chromium_org/components/autofill/core/common/ |
H A D | form_field_data_unittest.cc | 8 #include "base/pickle.h" 33 Pickle pickle; local 34 SerializeFormFieldData(data, &pickle); 36 PickleIterator iter(pickle);
|
H A D | form_data_unittest.cc | 7 #include "base/pickle.h" 47 Pickle pickle; local 48 SerializeFormData(data, &pickle); 50 PickleIterator iter(pickle);
|
/external/chromium_org/crypto/ |
H A D | secure_hash_unittest.cc | 9 #include "base/pickle.h" 54 Pickle pickle; local 59 EXPECT_TRUE(ctx1->Serialize(&pickle)); 65 PickleIterator data_iterator(pickle);
|
H A D | secure_hash_default.cc | 8 #include "base/pickle.h" 40 virtual bool Serialize(Pickle* pickle) OVERRIDE; 47 bool SecureHashSHA256NSS::Serialize(Pickle* pickle) { argument 48 if (!pickle) 51 if (!pickle->WriteInt(kSecureHashVersion) || 52 !pickle->WriteString(kSHA256Descriptor) || 53 !pickle->WriteBytes(&ctx_, sizeof(ctx_))) {
|
H A D | secure_hash_openssl.cc | 12 #include "base/pickle.h" 43 virtual bool Serialize(Pickle* pickle) OVERRIDE; 50 bool SecureHashSHA256OpenSSL::Serialize(Pickle* pickle) { argument 51 if (!pickle) 54 if (!pickle->WriteInt(kSecureHashVersion) || 55 !pickle->WriteString(kSHA256Descriptor) || 56 !pickle->WriteBytes(&ctx_, sizeof(ctx_))) {
|
/external/chromium_org/chrome/browser/sessions/ |
H A D | session_command.cc | 9 #include "base/pickle.h" 16 SessionCommand::SessionCommand(id_type id, const Pickle& pickle) argument 18 contents_(pickle.size(), 0) { 19 DCHECK(pickle.size() < std::numeric_limits<size_type>::max()); 20 memcpy(contents(), pickle.data(), pickle.size());
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
H A D | browser_action_drag_data_unittest.cc | 5 #include "base/pickle.h" 42 Pickle pickle; local 43 pickle.WriteBytes(&profile_ptr, sizeof(&profile)); 44 pickle.WriteString(extension_id); 45 pickle.WriteUInt64(42); 49 pickle); local
|
H A D | browser_action_drag_data.cc | 8 #include "base/pickle.h" 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) { argument 72 PickleIterator data_iterator(*pickle); 75 if (!pickle->ReadBytes(&data_iterator, &tmp, sizeof(profile_))) 79 if (!pickle->ReadString(&data_iterator, &id_)) 83 if (!pickle [all...] |
/external/chromium_org/extensions/common/ |
H A D | user_script_unittest.cc | 7 #include "base/pickle.h" 198 Pickle pickle; local 199 script1.Pickle(&pickle); 201 PickleIterator iter(pickle); 203 script2.Unpickle(pickle, &iter);
|
/external/chromium_org/net/cert/ |
H A D | signed_certificate_timestamp_unittest.cc | 9 #include "base/pickle.h" 34 Pickle pickle; local 36 sample_sct_->Persist(&pickle); 37 PickleIterator iter(pickle);
|
/external/chromium_org/android_webview/native/ |
H A D | state_serializer_unittest.cc | 10 #include "base/pickle.h" 25 Pickle pickle; local 26 bool result = internal::WriteHeaderToPickle(&pickle); 29 PickleIterator iterator(pickle); 71 Pickle pickle; local 72 bool result = internal::WriteNavigationEntryToPickle(*entry, &pickle); 76 PickleIterator iterator(pickle);
|
/external/chromium_org/base/metrics/ |
H A D | histogram_base_unittest.cc | 11 #include "base/pickle.h" 44 Pickle pickle; local 45 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 47 PickleIterator iter(pickle); 53 PickleIterator iter2(pickle); 69 Pickle pickle; local 70 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 72 PickleIterator iter(pickle); 78 PickleIterator iter2(pickle); 91 Pickle pickle; local 118 Pickle pickle; local 140 Pickle pickle; local [all...] |
H A D | histogram_delta_serialization.cc | 11 #include "base/pickle.h" 18 // Create or find existing histogram and add the samples from pickle. 19 // Silently returns when seeing any data problem in the pickle. 78 Pickle pickle(it->data(), checked_cast<int>(it->size())); 79 PickleIterator iter(pickle); 89 Pickle pickle; local 90 histogram.SerializeInfo(&pickle); 91 snapshot.Serialize(&pickle); 93 std::string(static_cast<const char*>(pickle.data()), pickle [all...] |
H A D | sparse_histogram_unittest.cc | 13 #include "base/pickle.h" 123 Pickle pickle; local 124 histogram->SerializeInfo(&pickle); 126 PickleIterator iter(pickle); 140 // No more data in the pickle.
|
/external/chromium_org/components/nacl/browser/ |
H A D | nacl_validation_cache_unittest.cc | 5 #include "base/pickle.h" 147 Pickle pickle; local 148 cache1.Serialize(&pickle); 149 ASSERT_TRUE(cache2.Deserialize(&pickle)); 160 Pickle pickle; local 161 cache1.Serialize(&pickle); 162 Pickle truncated(static_cast<const char*>(pickle.data()), pickle.size()-20); 173 Pickle pickle; local 174 cache1.Serialize(&pickle); [all...] |
/external/chromium_org/content/child/npapi/ |
H A D | npruntime_util.cc | 7 #include "base/pickle.h" 14 bool SerializeNPIdentifier(NPIdentifier identifier, Pickle* pickle) { argument 20 if (!pickle->WriteBool(is_string)) 24 return pickle->WriteData(string, strlen(string) + 1); 26 return pickle->WriteInt(number);
|
/external/chromium_org/content/common/ |
H A D | ssl_status_serialization.cc | 8 #include "base/pickle.h" 19 Pickle pickle; local 20 pickle.WriteInt(cert_id); 21 pickle.WriteUInt32(cert_status); 22 pickle.WriteInt(security_bits); 23 pickle.WriteInt(ssl_connection_status); 24 pickle.WriteInt(signed_certificate_timestamp_ids.size()); 28 pickle.WriteInt(iter->id); 29 pickle.WriteUInt16(iter->status); 31 return std::string(static_cast<const char*>(pickle [all...] |
/external/chromium_org/skia/ext/ |
H A D | skia_utils_base.cc | 9 bool ReadSkString(const Pickle& pickle, PickleIterator* iter, SkString* str) { argument 13 if (!pickle.ReadData(iter, &reply_text, &reply_length)) 21 bool ReadSkFontIdentity(const Pickle& pickle, PickleIterator* iter, argument 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) { argument 42 return pickle->WriteData(str.c_str(), str.size()); 45 bool WriteSkFontIdentity(Pickle* pickle, argument 47 return pickle [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
H A D | compute_global_objects.py | 17 import cPickle as pickle namespace 29 usage = 'Usage: %prog [options] [GlobalObjectsComponent.pickle]... [GlobalObjects.pickle]' 42 parser.error('Must specify an output pickle filename as argument, ' 43 'optionally preceeded by input pickle filenames.')
|
H A D | compute_interfaces_info_overall.py | 34 output (concretely, exported as a pickle). This is then used by the IDL compiler 38 The |interfaces_info| pickle is a *global* dependency: any changes cause a full 80 import cPickle as pickle namespace 111 usage = 'Usage: %prog [InfoIndividual.pickle]... [Info.pickle]'
|
H A D | idl_compiler.py | 38 import cPickle as pickle namespace 97 interfaces_info = pickle.load(interfaces_info_file)
|
H A D | utilities.py | 11 import cPickle as pickle namespace 44 yield pickle.load(pickle_file) 60 if pickle.load(pickle_file) == data: 62 except (EOFError, pickle.UnpicklingError): 66 pickle.dump(data, pickle_file)
|
/external/chromium_org/ui/base/clipboard/ |
H A D | custom_data_helper_unittest.cc | 9 #include "base/pickle.h" 19 void PrepareEmptyTestData(Pickle* pickle) { argument 21 WriteCustomDataToPickle(data, pickle); 24 void PrepareTestData(Pickle* pickle) { argument 29 WriteCustomDataToPickle(data, pickle); 33 Pickle pickle; local 34 PrepareEmptyTestData(&pickle); 37 ReadCustomDataTypes(pickle.data(), pickle.size(), &types); 42 Pickle pickle; local 54 Pickle pickle; local 63 Pickle pickle; local 77 Pickle pickle; local 101 Pickle pickle; local [all...] |
/external/chromium_org/ppapi/proxy/ |
H A D | serialized_handle.cc | 9 #include "base/pickle.h" 93 bool SerializedHandle::WriteHeader(const Header& hdr, Pickle* pickle) { argument 94 if (!pickle->WriteInt(hdr.type)) 97 if (!pickle->WriteUInt32(hdr.size)) 101 if (!pickle->WriteInt(hdr.open_flags) || !pickle->WriteInt(hdr.file_io))
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
H A D | backward.py | 42 import cPickle as pickle namespace 44 import pickle namespace
|