Home
last modified time | relevance | path

Searched refs:Pickle (Results 1 – 25 of 75) sorted by relevance

123

/external/libchrome/ipc/
Dipc_message_utils.h108 static inline void WriteParam(base::Pickle* m, const P& p) { in WriteParam()
114 static inline bool WARN_UNUSED_RESULT ReadParam(const base::Pickle* m, in ReadParam()
132 static void Write(base::Pickle* m, const param_type& p) { m->WriteBool(p); }
133 static bool Read(const base::Pickle* m,
144 static void Write(base::Pickle* m, const param_type& p);
145 static bool Read(const base::Pickle* m,
154 static void Write(base::Pickle* m, const param_type& p);
155 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 …]
Dipc_message_utils.cc79 bool ReadValue(const base::Pickle* m,
84 void WriteValue(base::Pickle* m, const base::Value* value, int recursion) { in WriteValue()
155 bool ReadDictionaryValue(const base::Pickle* m, in ReadDictionaryValue()
177 bool ReadListValue(const base::Pickle* m, in ReadListValue()
195 bool ReadValue(const base::Pickle* m, in ReadValue()
289 void ParamTraits<signed char>::Write(base::Pickle* m, const param_type& p) { in Write()
293 bool ParamTraits<signed char>::Read(const base::Pickle* m, in Read()
307 void ParamTraits<unsigned char>::Write(base::Pickle* m, const param_type& p) { in Write()
311 bool ParamTraits<unsigned char>::Read(const base::Pickle* m, in Read()
325 void ParamTraits<unsigned short>::Write(base::Pickle* m, const param_type& p) { in Write()
[all …]
Dipc_mojo_param_traits.h16 class Pickle; variable
25 static void Write(base::Pickle* m, const param_type& p); in COMPONENT_EXPORT()
26 static bool Read(const base::Pickle* m, base::PickleIterator* iter, in COMPONENT_EXPORT()
34 static void Write(base::Pickle* m, const param_type& p); in COMPONENT_EXPORT()
35 static bool Read(const base::Pickle* m, in COMPONENT_EXPORT()
Dipc_message_protobuf_utils_unittest.cc27 static void Write(base::Pickle* m, const param_type& p) { in Write()
30 static bool Read(const base::Pickle* m, in Read()
44 static void Write(base::Pickle* m, const param_type& p) { in Write()
49 static bool Read(const base::Pickle* m, in Read()
91 base::Pickle pickle; in TEST()
111 base::Pickle pickle; in TEST()
126 base::Pickle pickle; in TEST()
140 base::Pickle pickle; in TEST()
156 base::Pickle pickle; in TEST()
Dipc_message.cc49 Message::Message() : base::Pickle(sizeof(Header)) { in Message()
60 : base::Pickle(sizeof(Header)) { in Message()
73 : base::Pickle(data, data_len) { in Message()
77 Message::Message(const Message& other) : base::Pickle(other) { in Message()
92 *static_cast<base::Pickle*>(this) = other; in operator =()
146 if (!base::Pickle::PeekNext(sizeof(Header), in FindNext()
167 scoped_refptr<base::Pickle::Attachment> attachment) { in WriteAttachment()
183 scoped_refptr<base::Pickle::Attachment>* attachment) const { in ReadAttachment()
Dparam_traits_macros.h16 static void Write(base::Pickle* m, const param_type& p); \
17 static bool Read(const base::Pickle* m, \
56 static void Write(base::Pickle* m, const param_type& p); \
57 static bool Read(const base::Pickle* m, \
Dipc_mojo_param_traits.cc13 void ParamTraits<mojo::MessagePipeHandle>::Write(base::Pickle* m, in Write()
20 bool ParamTraits<mojo::MessagePipeHandle>::Read(const base::Pickle* m, in Read()
44 void ParamTraits<mojo::DataPipeConsumerHandle>::Write(base::Pickle* m, in Write()
54 bool ParamTraits<mojo::DataPipeConsumerHandle>::Read(const base::Pickle* m, in Read()
63 scoped_refptr<base::Pickle::Attachment> attachment; in Read()
Dipc_mojo_message_helper.cc15 base::Pickle* message, in WriteMessagePipeTo()
24 const base::Pickle* message, in ReadMessagePipeFrom()
27 scoped_refptr<base::Pickle::Attachment> attachment; in ReadMessagePipeFrom()
Dipc_mojo_message_helper.h17 static bool WriteMessagePipeTo(base::Pickle* message,
19 static bool ReadMessagePipeFrom(const base::Pickle* message,
Dipc_channel_proxy_unittest_messages.h20 static void Write(base::Pickle* m, const BadType& p) {}
21 static bool Read(const base::Pickle* m,
Dipc_message.h38 class IPC_MESSAGE_SUPPORT_EXPORT Message : public base::Pickle {
206 scoped_refptr<base::Pickle::Attachment> attachment) override;
211 scoped_refptr<base::Pickle::Attachment>* attachment) const override;
248 struct Header : base::Pickle::Header {
Dparam_traits_write_macros.h26 void ParamTraits<struct_name>::Write(base::Pickle* m, const param_type& p) {
33 void ParamTraits<enum_name>::Write(base::Pickle* m, \
Dparam_traits_read_macros.h27 const base::Pickle* m, base::PickleIterator* iter, param_type* p) { \
36 const base::Pickle* m, base::PickleIterator* iter, param_type* p) { \
Dipc_message_protobuf_utils.h26 static void Write(base::Pickle* m, const param_type& p) { in Write()
31 static bool Read(const base::Pickle* m, in Read()
/external/libchrome/base/
Dpickle.cc21 const int Pickle::kPayloadUnit = 64;
25 PickleIterator::PickleIterator(const Pickle& pickle) in PickleIterator()
210 Pickle::Attachment::Attachment() = default;
212 Pickle::Attachment::~Attachment() = default;
216 Pickle::Pickle() in Pickle() function in base::Pickle
221 static_assert((Pickle::kPayloadUnit & (Pickle::kPayloadUnit - 1)) == 0, in Pickle()
227 Pickle::Pickle(int header_size) in Pickle() function in base::Pickle
238 Pickle::Pickle(const char* data, int data_len) in Pickle() function in base::Pickle
257 Pickle::Pickle(const Pickle& other) in Pickle() function in base::Pickle
266 Pickle::~Pickle() { in ~Pickle()
[all …]
Dpickle_unittest.cc43 void VerifyResult(const Pickle& pickle) { in VerifyResult()
113 Pickle pickle; in TEST()
133 Pickle pickle2(pickle); in TEST()
137 Pickle pickle3; in TEST()
146 Pickle pickle; in TEST()
170 Pickle pickle(buffer.get(), 1); in TEST()
181 Pickle pickle(reinterpret_cast<char*>(buffer), sizeof(buffer)); in TEST()
191 Pickle pickle(reinterpret_cast<char*>(buffer), sizeof(buffer)); in TEST()
199 Pickle pickle; in TEST()
209 Pickle pickle; in TEST()
[all …]
Dpickle.h27 class Pickle; variable
34 explicit PickleIterator(const Pickle& pickle);
128 class BASE_EXPORT Pickle {
146 Pickle();
151 explicit Pickle(int header_size);
157 Pickle(const char* data, int data_len);
160 Pickle(const Pickle& other);
167 virtual ~Pickle();
170 Pickle& operator=(const Pickle& other);
/external/libchrome/base/posix/
Dunix_domain_socket.h20 class Pickle; variable
88 const Pickle& request);
97 const Pickle& request);
/external/libchrome/mojo/public/cpp/bindings/tests/
Dpickled_types_blink.h18 class Pickle; variable
74 static void Write(base::Pickle* m, const param_type& p);
75 static bool Read(const base::Pickle* m,
Dpickled_types_chromium.h17 class Pickle; variable
67 static void Write(base::Pickle* m, const param_type& p);
68 static bool Read(const base::Pickle* m,
Dpickled_types_blink.cc28 void ParamTraits<mojo::test::PickledStructBlink>::Write(base::Pickle* m, in Write()
35 const base::Pickle* m, in Read()
Dpickled_types_chromium.cc30 base::Pickle* m, in Write()
37 const base::Pickle* m, in Read()
/external/libchrome/base/metrics/
Dhistogram_base_unittest.cc46 Pickle pickle; in TEST_F()
71 Pickle pickle; in TEST_F()
93 Pickle pickle; in TEST_F()
120 Pickle pickle; in TEST_F()
142 Pickle pickle; in TEST_F()
Dhistogram_base.h28 class Pickle; variable
208 void SerializeInfo(base::Pickle* pickle) const;
252 virtual void SerializeInfoImpl(base::Pickle* pickle) const = 0;
Dhistogram_delta_serialization.cc62 Pickle pickle(it->data(), checked_cast<int>(it->size())); in DeserializeAndAddSamples()
74 Pickle pickle; in RecordDelta()

123