/external/libmojo/ipc/ |
ipc_mojo_message_helper.h | 17 static bool WriteMessagePipeTo(base::Pickle* message, 19 static bool ReadMessagePipeFrom(const base::Pickle* message,
|
ipc_mojo_param_traits.h | 15 class Pickle; 26 static void Write(base::Pickle* m, const param_type& p); 27 static bool Read(const base::Pickle* m, base::PickleIterator* iter,
|
ipc_mojo_message_helper.cc | 15 base::Pickle* message, 24 const base::Pickle* message, 27 scoped_refptr<base::Pickle::Attachment> attachment;
|
ipc_message_attachment.h | 11 #include "base/pickle.h" 19 class IPC_EXPORT MessageAttachment : public base::Pickle::Attachment {
|
ipc_message_utils.h | 102 static inline void WriteParam(base::Pickle* m, const P& p) { 108 static inline bool WARN_UNUSED_RESULT ReadParam(const base::Pickle* m, 129 static void Write(base::Pickle* m, const param_type& p) { m->WriteBool(p); } 130 static bool Read(const base::Pickle* m, 142 static void Write(base::Pickle* m, const param_type& p); 143 static bool Read(const base::Pickle* m, 153 static void Write(base::Pickle* m, const param_type& p); 154 static bool Read(const base::Pickle* m, 164 static void Write(base::Pickle* m, const param_type& p); 165 static bool Read(const base::Pickle* m [all...] |
ipc_message.cc | 52 Message::Message() : base::Pickle(sizeof(Header)) { 66 : base::Pickle(sizeof(Header)) { 82 : base::Pickle(data, data_len) { 86 Message::Message(const Message& other) : base::Pickle(other) { 103 *static_cast<base::Pickle*>(this) = other; 178 if (!base::Pickle::PeekNext(sizeof(Header), 186 // TODO(dskiba): determine message_size when entire pickle is not available 244 scoped_refptr<base::Pickle::Attachment> attachment) { 252 // NOTE: If you add more data to the pickle, make sure to update 272 scoped_refptr<base::Pickle::Attachment>* attachment) const [all...] |
ipc_mojo_param_traits.cc | 19 void ParamTraits<mojo::MessagePipeHandle>::Write(base::Pickle* m, 26 bool ParamTraits<mojo::MessagePipeHandle>::Read(const base::Pickle* m,
|
ipc_message_utils.cc | 70 bool ReadValue(const base::Pickle* m, 140 void WriteValue(base::Pickle* m, const base::Value* value, int recursion) { 212 bool ReadDictionaryValue(const base::Pickle* m, 234 bool ReadListValue(const base::Pickle* m, 252 bool ReadValue(const base::Pickle* m, 354 void ParamTraits<signed char>::Write(base::Pickle* m, const param_type& p) { 358 bool ParamTraits<signed char>::Read(const base::Pickle* m, 377 void ParamTraits<unsigned char>::Write(base::Pickle* m, const param_type& p) { 381 bool ParamTraits<unsigned char>::Read(const base::Pickle* m, 400 void ParamTraits<unsigned short>::Write(base::Pickle* m, const param_type& p) [all...] |
/external/libchrome/base/ |
pickle.cc | 5 #include "base/pickle.h" 20 const int Pickle::kPayloadUnit = 64; 24 PickleIterator::PickleIterator(const Pickle& pickle) 25 : payload_(pickle.payload()), 27 end_index_(pickle.payload_size()) { 249 Pickle::Attachment::Attachment() {} 251 Pickle::Attachment::~Attachment() {} 255 Pickle::Pickle() [all...] |
pickle_unittest.cc | 5 #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); 113 Pickle pickle; local 115 EXPECT_TRUE(pickle.WriteBool(testbool1)); 116 EXPECT_TRUE(pickle.WriteBool(testbool2)); 117 EXPECT_TRUE(pickle.WriteInt(testint)) 146 Pickle pickle; local 199 Pickle pickle; local 209 Pickle pickle; local 219 Pickle pickle; local 228 Pickle pickle; local 319 Pickle pickle; local 374 Pickle pickle; local 402 Pickle pickle; local 487 Pickle pickle; local 500 Pickle pickle; local 516 Pickle pickle; local 542 TestingPickle pickle; local 553 TestingPickle pickle; local 576 TestingPickle pickle; local 583 TestingPickle pickle; local 590 TestingPickle pickle; local 597 TestingPickle pickle; local 604 TestingPickle pickle; local 611 TestingPickle pickle; local 618 TestingPickle pickle; local 625 TestingPickle pickle; local 632 TestingPickle pickle; local 639 TestingPickle pickle; local 646 TestingPickle pickle; local 653 TestingPickle pickle; local 660 TestingPickle pickle; local [all...] |
pickle.h | 27 class Pickle; 29 // PickleIterator reads data from a Pickle. The Pickle object must remain valid 34 explicit PickleIterator(const Pickle& pickle); 36 // Methods for reading the payload of the Pickle. To read from the start of 37 // the Pickle, create a PickleIterator from a Pickle. If successful, these 83 // Read Type from Pickle. 104 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);
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
pickled_types_blink.h | 18 class Pickle; 71 static void Write(base::Pickle* m, const param_type& p); 72 static bool Read(const base::Pickle* m,
|
pickled_types_chromium.h | 17 class Pickle; 69 static void Write(base::Pickle* m, const param_type& p); 70 static bool Read(const base::Pickle* m,
|
pickled_types_blink.cc | 8 #include "base/pickle.h" 35 void ParamTraits<mojo::test::PickledStructBlink>::Write(base::Pickle* m, 42 const base::Pickle* m,
|
pickled_types_chromium.cc | 7 #include "base/pickle.h" 37 base::Pickle* m, 44 const base::Pickle* m,
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
native_enum_serialization.h | 14 #include "base/pickle.h" 33 base::Pickle pickle; local 34 Traits::Write(&pickle, input); 36 CHECK_GE(sizeof(int32_t), pickle.payload_size()); 38 memcpy(reinterpret_cast<char*>(output), pickle.payload(), 39 pickle.payload_size()); 50 base::Pickle pickle_view(reinterpret_cast<const char*>(&data),
|
native_struct_serialization.h | 14 #include "base/pickle.h" 42 base::Pickle pickle; local 43 Traits::Write(&pickle, value); 48 DCHECK_EQ(sizer.payload_size(), pickle.payload_size()); 51 size_t total_size = pickle.payload_size() + sizeof(ArrayHeader); 54 // Allocate a uint8 array, initialize its header, and copy the Pickle in. 58 header->num_elements = static_cast<uint32_t>(pickle.payload_size()); 60 pickle.payload(), pickle.payload_size()) [all...] |
/external/v8/tools/clang/plugins/tests/ |
ipc.cpp | 42 class Pickle {}; 60 static void Write(base::Pickle*, const T&) {} 64 void WriteParam(base::Pickle* pickle, const T& value) { 65 ParamTraits<T>::Write(pickle, value); 80 static void Write(base::Pickle* pickle, const Data& p) { 82 WriteParam(pickle, p.value); // OK 83 WriteParam(pickle, p.size); // ERROR 94 static void Write(base::Pickle* pickle, const Container<T>& container) [all...] |
/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/metrics/ |
histogram_samples.h | 19 class Pickle; 78 virtual bool Serialize(Pickle* pickle) const;
|
histogram_base_unittest.cc | 11 #include "base/pickle.h" 52 Pickle pickle; local 53 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 55 PickleIterator iter(pickle); 61 PickleIterator iter2(pickle); 77 Pickle pickle; local 78 ASSERT_TRUE(histogram->SerializeInfo(&pickle)); 80 PickleIterator iter(pickle); 99 Pickle pickle; local 126 Pickle pickle; local 148 Pickle pickle; local [all...] |
histogram_base.h | 29 class Pickle; 183 // Serialize the histogram info into |pickle|. 186 bool SerializeInfo(base::Pickle* pickle) const; 231 virtual bool SerializeInfoImpl(base::Pickle* pickle) const = 0;
|
histogram_delta_serialization.cc | 12 #include "base/pickle.h" 19 // Create or find existing histogram and add the samples from pickle. 20 // Silently returns when seeing any data problem in the pickle. 83 Pickle pickle(it->data(), checked_cast<int>(it->size())); 84 PickleIterator iter(pickle); 95 Pickle pickle; local 96 histogram.SerializeInfo(&pickle); 97 snapshot.Serialize(&pickle); [all...] |