/external/libchrome/crypto/ |
secure_hash.h | 14 class Pickle; 35 // |pickle| will contain the serialized data. 36 // Returns whether or not |pickle| was filled. 37 virtual bool Serialize(base::Pickle* pickle) = 0; 40 // |data_iterator| allows this to be used as part of a larger pickle. 41 // |pickle| holds the saved data.
|
secure_hash_default.cc | 10 #include "base/pickle.h" 40 bool Serialize(base::Pickle* pickle) override; 47 bool SecureHashSHA256NSS::Serialize(base::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 bool Serialize(base::Pickle* pickle) override; 50 bool SecureHashSHA256OpenSSL::Serialize(base::Pickle* pickle) { 51 if (!pickle) 54 if (!pickle->WriteInt(kSecureHashVersion) || 55 !pickle->WriteString(kSHA256Descriptor) || 56 !pickle->WriteBytes(&ctx_, sizeof(ctx_))) {
|
secure_hash_unittest.cc | 13 #include "base/pickle.h" 58 base::Pickle pickle; local 63 EXPECT_TRUE(ctx1->Serialize(&pickle)); 69 base::PickleIterator data_iterator(pickle);
|
/external/libchrome/base/ |
pickle_unittest.cc | 13 #include "base/pickle.h" 42 // checks that the results can be read correctly from the Pickle 43 void VerifyResult(const Pickle& pickle) { 44 PickleIterator iter(pickle); 117 Pickle pickle; local 119 EXPECT_TRUE(pickle.WriteBool(testbool1)); 120 EXPECT_TRUE(pickle.WriteBool(testbool2)); 121 EXPECT_TRUE(pickle.WriteInt(testint)) 152 Pickle pickle; local 204 Pickle pickle; local 214 Pickle pickle; local 224 Pickle pickle; local 233 Pickle pickle; local 324 Pickle pickle; local 379 Pickle pickle; local 407 Pickle pickle; local 492 Pickle pickle; local 505 Pickle pickle; local 521 Pickle pickle; local 547 TestingPickle pickle; local 558 TestingPickle pickle; local [all...] |
pickle.cc | 5 #include "base/pickle.h" 19 const int Pickle::kPayloadUnit = 64; 23 PickleIterator::PickleIterator(const Pickle& pickle) 24 : payload_(pickle.payload()), 26 end_index_(pickle.payload_size()) { 213 Pickle::Pickle() 218 static_assert((Pickle::kPayloadUnit & (Pickle::kPayloadUnit - 1)) == 0 [all...] |
pickle.h | 22 class Pickle; 24 // PickleIterator reads data from a Pickle. The Pickle object must remain valid 29 explicit PickleIterator(const Pickle& pickle); 31 // Methods for reading the payload of the Pickle. To read from the start of 32 // the Pickle, create a PickleIterator from a Pickle. If successful, these 79 // Read Type from Pickle. 100 const char* payload_; // Start of our pickle's payload [all...] |
/external/libchrome/base/posix/ |
unix_domain_socket_linux.h | 20 class Pickle; 81 const Pickle& request); 90 const Pickle& request);
|
unix_domain_socket_linux_unittest.cc | 16 #include "base/pickle.h" 37 Pickle request; 73 Pickle request;
|
unix_domain_socket_linux.cc | 15 #include "base/pickle.h" 193 const Pickle& request) { 205 const Pickle& request) {
|
/external/libchrome/base/metrics/ |
histogram_samples.h | 18 class Pickle; 69 virtual bool Serialize(Pickle* pickle) const;
|
histogram_base_unittest.cc | 11 #include "base/pickle.h" 42 Pickle pickle; local 43 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 45 PickleIterator iter(pickle); 51 PickleIterator iter2(pickle); 67 Pickle pickle; local 68 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 70 PickleIterator iter(pickle); 89 Pickle pickle; local 116 Pickle pickle; local 138 Pickle pickle; local [all...] |
histogram_base.h | 28 class Pickle; 141 // Serialize the histogram info into |pickle|. 144 bool SerializeInfo(base::Pickle* pickle) const; 165 virtual bool SerializeInfoImpl(base::Pickle* pickle) const = 0;
|
sparse_histogram.h | 58 bool SerializeInfoImpl(base::Pickle* pickle) const override;
|
histogram.h | 95 class Pickle; 206 bool SerializeInfoImpl(base::Pickle* pickle) const override; 431 bool SerializeInfoImpl(base::Pickle* pickle) const override;
|
histogram_base.cc | 18 #include "base/pickle.h" 94 bool HistogramBase::SerializeInfo(Pickle* pickle) const { 95 if (!pickle->WriteInt(GetHistogramType())) 97 return SerializeInfoImpl(pickle);
|
histogram_samples.cc | 8 #include "base/pickle.h" 131 bool HistogramSamples::Serialize(Pickle* pickle) const { 132 if (!pickle->WriteInt64(meta_->sum)) 134 if (!pickle->WriteInt(subtle::NoBarrier_Load(&meta_->redundant_count))) 144 if (!pickle->WriteInt(min) || 145 !pickle->WriteInt(max) || 146 !pickle->WriteInt(count))
|
sparse_histogram.cc | 12 #include "base/pickle.h" 100 bool SparseHistogram::SerializeInfoImpl(Pickle* pickle) const { 101 return pickle->WriteString(histogram_name()) && pickle->WriteInt(flags()); 112 DLOG(ERROR) << "Pickle error decoding Histogram: " << histogram_name;
|
sparse_histogram_unittest.cc | 14 #include "base/pickle.h" 128 Pickle pickle; local 129 histogram->SerializeInfo(&pickle); 131 PickleIterator iter(pickle); 145 // No more data in the pickle.
|
/external/libchrome/sandbox/linux/syscall_broker/ |
broker_host.cc | 22 #include "base/pickle.h" 65 base::Pickle* write_pickle, 97 base::Pickle* write_pickle) { 129 base::Pickle write_pickle; 198 base::Pickle pickle(buf, msg_len); 199 base::PickleIterator iter(pickle);
|
broker_client.cc | 17 #include "base/pickle.h" 71 base::Pickle write_pickle; 93 base::Pickle read_pickle(reinterpret_cast<char*>(reply_buf), msg_len); 118 RAW_LOG(ERROR, "Could not read pickle");
|
/external/libchrome/base/trace_event/ |
trace_event_argument.h | 15 #include "base/pickle.h" 80 Pickle pickle_;
|
/external/libchrome/base/files/ |
file_path.h | 139 class Pickle; 380 void WriteToPickle(Pickle* pickle) const;
|
/prebuilts/go/darwin-x86/doc/progs/ |
json1.go | 65 b := []byte(`{"Name":"Bob","Food":"Pickle"}`)
|
/prebuilts/go/linux-x86/doc/progs/ |
json1.go | 65 b := []byte(`{"Name":"Bob","Food":"Pickle"}`)
|