/external/chromium_org/components/autofill/core/common/ |
form_field_data_unittest.cc | 8 #include "base/pickle.h" 33 Pickle pickle; local 34 SerializeFormFieldData(data, &pickle); 36 PickleIterator iter(pickle);
|
form_data_unittest.cc | 7 #include "base/pickle.h" 47 Pickle pickle; local 48 SerializeFormData(data, &pickle); 50 PickleIterator iter(pickle);
|
/external/chromium/chrome/common/extensions/ |
user_script_unittest.cc | 6 #include "base/pickle.h" 117 TEST(ExtensionUserScriptTest, Pickle) { 143 Pickle pickle; local 144 script1.Pickle(&pickle); 148 script2.Unpickle(pickle, &iter);
|
/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/extensions/common/ |
user_script_unittest.cc | 6 #include "base/pickle.h" 161 TEST(ExtensionUserScriptTest, Pickle) { 191 Pickle pickle; local 192 script1.Pickle(&pickle); 194 PickleIterator iter(pickle); 196 script2.Unpickle(pickle, &iter);
|
/external/chromium/chrome/browser/ui/views/extensions/ |
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_org/chrome/browser/ui/views/extensions/ |
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
|
/external/chromium_org/content/common/ |
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) [all...] |
/external/chromium_org/net/cert/ |
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/ui/base/dragdrop/ |
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...] |
/external/chromium_org/android_webview/native/ |
state_serializer_unittests.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/ |
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); 91 Pickle pickle; local 118 Pickle pickle; local 140 Pickle pickle; local [all...] |
histogram_delta_serialization.cc | 10 #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_numeric_cast<int>(it->size())); 79 PickleIterator iter(pickle); 89 Pickle pickle; local 90 histogram.SerializeInfo(&pickle); 91 snapshot.Serialize(&pickle); [all...] |
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/chrome/test/pyautolib/ |
remote_host.py | 8 import pickle namespace 68 request = pickle.loads(request) 92 response = pickle.dumps((result, stdout.getvalue(), stderr.getvalue(),
|
/external/chromium_org/components/nacl/browser/ |
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 [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/unstable/ |
idl_compiler.py | 41 import pickle namespace 56 # FIXME: The --dump-json-and-pickle option is only for debugging and will 59 parser.add_option('--dump-json-and-pickle', action='store_true', default=False) 100 pickle.dump(definitions, pickle_file)
|
/external/chromium_org/ui/base/clipboard/ |
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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
grammar.py | 16 import pickle namespace 31 The load() method reads the tables from a pickle file, which is 32 much faster than the other ways offered by subclasses. The pickle 88 """Dump the grammar tables to a pickle file.""" 90 pickle.dump(self.__dict__, f, 2) 94 """Load the grammar tables from a pickle file.""" 96 d = pickle.load(f)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_pickletools.py | 1 import pickle namespace 10 return pickletools.optimize(pickle.dumps(arg, proto)) 13 return pickle.loads(buf) 15 module = pickle
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/pgen2/ |
grammar.py | 16 import pickle namespace 31 The load() method reads the tables from a pickle file, which is 32 much faster than the other ways offered by subclasses. The pickle 88 """Dump the grammar tables to a pickle file.""" 90 pickle.dump(self.__dict__, f, 2) 94 """Load the grammar tables from a pickle file.""" 96 d = pickle.load(f)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_pickletools.py | 1 import pickle namespace 10 return pickletools.optimize(pickle.dumps(arg, proto)) 13 return pickle.loads(buf) 15 module = pickle
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
backward.py | 42 import cPickle as pickle namespace 44 import pickle namespace
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_pickle.py | 3 import pickle namespace 34 def _base_test_pickle_DBError(self, pickle): 44 pickledEgg = pickle.dumps(egg) 46 rottenEgg = pickle.loads(pickledEgg) 56 self._base_test_pickle_DBError(pickle=pickle) 60 self._base_test_pickle_DBError(pickle=cPickle)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
copy_reg.py | 1 """Helper to provide extensibility for pickle/cPickle. 3 This is only useful to add pickle support for extension types defined in 9 __all__ = ["pickle", "constructor", 14 def pickle(ob_type, pickle_function, constructor_ob=None): function 42 pickle(complex, pickle_complex, complex) 70 raise TypeError, "can't pickle %s objects" % base.__name__ 146 # universal, so that the meaning of a pickle does not depend on
|