Home
last modified time | relevance | path

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

123

/external/libchrome/base/
Dpickle.cc20 const int Pickle::kPayloadUnit = 64;
24 PickleIterator::PickleIterator(const Pickle& pickle) in PickleIterator()
248 Pickle::Attachment::Attachment() {} in Attachment()
250 Pickle::Attachment::~Attachment() {} in ~Attachment()
254 Pickle::Pickle() in Pickle() function in base::Pickle
259 static_assert((Pickle::kPayloadUnit & (Pickle::kPayloadUnit - 1)) == 0, in Pickle()
265 Pickle::Pickle(int header_size) in Pickle() function in base::Pickle
276 Pickle::Pickle(const char* data, int data_len) in Pickle() function in base::Pickle
295 Pickle::Pickle(const Pickle& other) in Pickle() function in base::Pickle
304 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);
164 class BASE_EXPORT Pickle {
182 Pickle();
187 explicit Pickle(int header_size);
193 Pickle(const char* data, int data_len);
196 Pickle(const Pickle& other);
203 virtual ~Pickle();
206 Pickle& operator=(const Pickle& other);
/external/libmojo/ipc/
Dipc_message_utils.h102 static inline void WriteParam(base::Pickle* m, const P& p) { in WriteParam()
108 static inline bool WARN_UNUSED_RESULT ReadParam(const base::Pickle* m, in ReadParam()
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 …]
Dipc_message_utils.cc72 bool ReadValue(const base::Pickle* m,
140 void WriteValue(base::Pickle* m, const base::Value* value, int recursion) { in WriteValue()
210 bool ReadDictionaryValue(const base::Pickle* m, in ReadDictionaryValue()
232 bool ReadListValue(const base::Pickle* m, in ReadListValue()
250 bool ReadValue(const base::Pickle* m, in ReadValue()
352 void ParamTraits<signed char>::Write(base::Pickle* m, const param_type& p) { in Write()
356 bool ParamTraits<signed char>::Read(const base::Pickle* m, in Read()
375 void ParamTraits<unsigned char>::Write(base::Pickle* m, const param_type& p) { in Write()
379 bool ParamTraits<unsigned char>::Read(const base::Pickle* m, in Read()
398 void ParamTraits<unsigned short>::Write(base::Pickle* m, const param_type& p) { in Write()
[all …]
Dipc_message.cc50 Message::Message() : base::Pickle(sizeof(Header)) { in Message()
61 : base::Pickle(sizeof(Header)) { in Message()
74 : base::Pickle(data, data_len) { in Message()
78 Message::Message(const Message& other) : base::Pickle(other) { in Message()
93 *static_cast<base::Pickle*>(this) = other; in operator =()
147 if (!base::Pickle::PeekNext(sizeof(Header), in FindNext()
168 scoped_refptr<base::Pickle::Attachment> attachment) { in WriteAttachment()
187 scoped_refptr<base::Pickle::Attachment>* attachment) const { in ReadAttachment()
Dipc_mojo_param_traits.h15 class Pickle; variable
26 static void Write(base::Pickle* m, const param_type& p);
27 static bool Read(const base::Pickle* m, base::PickleIterator* iter,
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_message.h35 class IPC_EXPORT Message : public base::Pickle {
201 scoped_refptr<base::Pickle::Attachment> attachment) override;
206 scoped_refptr<base::Pickle::Attachment>* attachment) const override;
241 struct Header : base::Pickle::Header {
Dipc_mojo_message_helper.h17 static bool WriteMessagePipeTo(base::Pickle* message,
19 static bool ReadMessagePipeFrom(const base::Pickle* message,
Dipc_mojo_param_traits.cc19 void ParamTraits<mojo::MessagePipeHandle>::Write(base::Pickle* m, in Write()
26 bool ParamTraits<mojo::MessagePipeHandle>::Read(const base::Pickle* m, in Read()
/external/v8/tools/clang/plugins/tests/
Dipc.cpp42 class Pickle {}; class
60 static void Write(base::Pickle*, const T&) {} in Write()
64 void WriteParam(base::Pickle* pickle, const T& value) { in WriteParam()
80 static void Write(base::Pickle* pickle, const Data& p) { in Write()
94 static void Write(base::Pickle* pickle, const Container<T>& container) { in Write()
118 static void Write(base::Pickle* pickle, in Write()
130 static void Write(base::Pickle* pickle) { in Write()
140 static void WriteEx(base::Pickle* pickle) { in WriteEx()
151 void SomeWriteFunction(base::Pickle* pickle) { in SomeWriteFunction()
/external/libchrome/base/posix/
Dunix_domain_socket_linux.h20 class Pickle; variable
81 const Pickle& request);
90 const Pickle& request);
/external/libmojo/mojo/public/cpp/bindings/tests/
Dpickled_types_blink.h18 class Pickle; variable
71 static void Write(base::Pickle* m, const param_type& p);
72 static bool Read(const base::Pickle* m,
Dpickled_types_chromium.h17 class Pickle; variable
69 static void Write(base::Pickle* m, const param_type& p);
70 static bool Read(const base::Pickle* m,
Dpickled_types_blink.cc35 void ParamTraits<mojo::test::PickledStructBlink>::Write(base::Pickle* m, in Write()
42 const base::Pickle* m, in Read()
Dpickled_types_chromium.cc37 base::Pickle* m, in Write()
44 const base::Pickle* m, in Read()
/external/libchrome/base/metrics/
Dhistogram_base_unittest.cc52 Pickle pickle; in TEST_F()
77 Pickle pickle; in TEST_F()
99 Pickle pickle; in TEST_F()
126 Pickle pickle; in TEST_F()
148 Pickle pickle; in TEST_F()
Dhistogram_base.h28 class Pickle; variable
182 bool SerializeInfo(base::Pickle* pickle) const;
227 virtual bool SerializeInfoImpl(base::Pickle* pickle) const = 0;
Dhistogram_samples.h19 class Pickle; variable
95 virtual bool Serialize(Pickle* pickle) const;
Dhistogram_delta_serialization.cc83 Pickle pickle(it->data(), checked_cast<int>(it->size())); in DeserializeAndAddSamples()
95 Pickle pickle; in RecordDelta()
Dsparse_histogram.h25 class Pickle; variable
62 bool SerializeInfoImpl(base::Pickle* pickle) const override;
/external/libmojo/mojo/public/cpp/bindings/lib/
Dnative_enum_serialization.h33 base::Pickle pickle; in Serialize()
50 base::Pickle pickle_view(reinterpret_cast<const char*>(&data), in Deserialize()
Dnative_struct_serialization.h44 base::Pickle pickle; in Serialize()
93 base::Pickle pickle_view(reinterpret_cast<const char*>(header), in Deserialize()
/external/libchrome/base/files/
Dfile_path.h139 class Pickle; variable
389 void WriteToPickle(Pickle* pickle) const;

123