Home
last modified time | relevance | path

Searched refs:MessageReader (Results 1 – 25 of 32) sorted by relevance

12

/external/libbrillo/brillo/dbus/
Ddata_serialization.cc76 bool PopValueFromReader(dbus::MessageReader* reader, bool* value) { in PopValueFromReader()
77 dbus::MessageReader variant_reader(nullptr); in PopValueFromReader()
82 bool PopValueFromReader(dbus::MessageReader* reader, uint8_t* value) { in PopValueFromReader()
83 dbus::MessageReader variant_reader(nullptr); in PopValueFromReader()
88 bool PopValueFromReader(dbus::MessageReader* reader, int16_t* value) { in PopValueFromReader()
89 dbus::MessageReader variant_reader(nullptr); in PopValueFromReader()
94 bool PopValueFromReader(dbus::MessageReader* reader, uint16_t* value) { in PopValueFromReader()
95 dbus::MessageReader variant_reader(nullptr); in PopValueFromReader()
100 bool PopValueFromReader(dbus::MessageReader* reader, int32_t* value) { in PopValueFromReader()
101 dbus::MessageReader variant_reader(nullptr); in PopValueFromReader()
[all …]
Ddata_serialization.h132 void PopValueFromReader(dbus::MessageReader* reader, char* value) = delete;
133 void PopValueFromReader(dbus::MessageReader* reader, float* value) = delete;
152 inline bool DescendIntoVariantIfPresent(dbus::MessageReader** reader_ref,
153 dbus::MessageReader* variant_reader) {
188 BRILLO_EXPORT bool PopValueFromReader(dbus::MessageReader* reader,
199 inline static bool Read(dbus::MessageReader* reader, bool* value) {
207 BRILLO_EXPORT bool PopValueFromReader(dbus::MessageReader* reader,
216 inline static bool Read(dbus::MessageReader* reader, uint8_t* value) {
224 BRILLO_EXPORT bool PopValueFromReader(dbus::MessageReader* reader,
233 inline static bool Read(dbus::MessageReader* reader, int16_t* value) {
[all …]
Dexported_object_manager_unittest.cc38 void ReadTestPropertyDict(dbus::MessageReader* reader) { in ReadTestPropertyDict()
39 dbus::MessageReader all_properties(nullptr); in ReadTestPropertyDict()
40 dbus::MessageReader each_property(nullptr); in ReadTestPropertyDict()
60 dbus::MessageReader reader(signal); in VerifyInterfaceClaimSignal()
61 dbus::MessageReader all_interfaces(nullptr); in VerifyInterfaceClaimSignal()
62 dbus::MessageReader each_interface(nullptr); in VerifyInterfaceClaimSignal()
83 dbus::MessageReader reader(signal); in VerifyInterfaceDropSignal()
84 dbus::MessageReader each_interface(nullptr); in VerifyInterfaceDropSignal()
155 dbus::MessageReader reader(response.get()); in TEST_F()
156 dbus::MessageReader all_paths(nullptr); in TEST_F()
[all …]
Ddbus_param_reader_unittest.cc12 using dbus::MessageReader;
21 MessageReader reader(message.get()); in TEST()
32 MessageReader reader(message.get()); in TEST()
50 MessageReader reader(message.get()); in TEST()
71 MessageReader reader(message.get()); in TEST()
91 MessageReader reader(message.get()); in TEST()
112 MessageReader reader(message.get()); in TEST()
130 MessageReader reader(message.get()); in TEST()
145 MessageReader reader(message.get()); in TEST()
161 MessageReader reader(message.get()); in TEST()
[all …]
Dexported_property_set_unittest.cc232 dbus::MessageReader response_reader(response.get()); in TEST_F()
233 dbus::MessageReader dict_reader(nullptr); in TEST_F()
258 dbus::MessageReader response_reader(response.get()); in TEST_F()
259 dbus::MessageReader dict_reader(nullptr); in TEST_F()
260 dbus::MessageReader entry_reader(nullptr); in TEST_F()
341 dbus::MessageReader reader(response.get()); in TEST_F()
349 dbus::MessageReader reader(response.get()); in TEST_F()
357 dbus::MessageReader reader(response.get()); in TEST_F()
365 dbus::MessageReader reader(response.get()); in TEST_F()
373 dbus::MessageReader reader(response.get()); in TEST_F()
[all …]
Ddbus_param_writer_unittest.cc12 using dbus::MessageReader;
41 MessageReader reader(message.get()); in TEST()
61 MessageReader reader(message.get()); in TEST()
96 MessageReader reader(message.get()); in TEST()
120 MessageReader reader(message.get()); in TEST()
155 MessageReader reader(message.get()); in TEST()
179 MessageReader reader(message.get()); in TEST()
Ddata_serialization_unittest.cc16 using dbus::MessageReader;
152 MessageReader reader(message.get()); in TEST()
201 MessageReader reader(message.get()); in TEST()
253 MessageReader reader(message.get()); in TEST()
299 MessageReader reader(message.get()); in TEST()
362 MessageReader reader(message.get()); in TEST()
399 MessageReader reader(message.get()); in TEST()
414 MessageReader reader(message.get()); in TEST()
429 MessageReader reader(message.get()); in TEST()
446 MessageReader reader(message.get()); in TEST()
[all …]
Ddbus_object_unittest.cc161 dbus::MessageReader reader(response.get()); in TEST_F()
174 dbus::MessageReader reader(response.get()); in TEST_F()
187 dbus::MessageReader reader(response.get()); in TEST_F()
210 dbus::MessageReader reader(response.get()); in TEST_F()
225 dbus::MessageReader reader(response.get()); in TEST_F()
238 dbus::MessageReader reader(response.get()); in TEST_F()
252 dbus::MessageReader reader(response.get()); in TEST_F()
276 dbus::MessageReader reader(response.get()); in TEST_F()
288 dbus::MessageReader reader(response.get()); in TEST_F()
298 dbus::MessageReader reader(response.get()); in TEST_F()
[all …]
Ddbus_param_reader.h56 dbus::MessageReader* reader,
76 dbus::MessageReader* reader,
119 dbus::MessageReader* reader,
148 dbus::MessageReader* reader,
Ddbus_method_invoker.h170 dbus::MessageReader* reader, in ExtractMessageParametersAsTuple()
183 dbus::MessageReader* reader, in ExtractMessageParametersAsTuple()
207 inline bool ExtractMessageParameters(dbus::MessageReader* reader, in ExtractMessageParameters()
230 dbus::MessageReader reader(message); in ExtractMethodCallResults()
265 dbus::MessageReader reader(resp); in TranslateSuccessResponse()
Ddbus_object_internal_impl.h87 dbus::MessageReader reader(method_call); in HandleMethod()
125 dbus::MessageReader reader(method_call); in HandleMethod()
175 dbus::MessageReader reader(method_call); in HandleMethod()
227 dbus::MessageReader reader(method_call); in HandleMethod()
268 dbus::MessageReader reader(method_call); in HandleMethod()
315 dbus::MessageReader reader(method_call); in HandleMethod()
Ddbus_method_invoker_unittest.cc24 using dbus::MessageReader;
67 MessageReader reader(method_call); in CreateResponse()
82 MessageReader reader(method_call); in CreateResponse()
92 MessageReader reader(method_call); in CreateResponse()
225 MessageReader reader(method_call); in HandleCall()
Ddbus_method_invoker.cc14 dbus::MessageReader reader(resp); in TranslateErrorResponse()
Ddbus_signal_handler.h55 dbus::MessageReader reader(signal); in ConnectToSignal()
/external/libchrome/dbus/
Dmessage.cc94 MessageReader* reader) { in ToStringInternal()
188 MessageReader sub_reader(this); in ToStringInternal()
197 MessageReader sub_reader(this); in ToStringInternal()
206 MessageReader sub_reader(this); in ToStringInternal()
215 MessageReader sub_reader(this); in ToStringInternal()
268 MessageReader reader(this); in ToString()
732 MessageReader::MessageReader(Message* message) in MessageReader() function in dbus::MessageReader
740 MessageReader::~MessageReader() { in ~MessageReader()
743 bool MessageReader::HasMoreData() { in HasMoreData()
748 bool MessageReader::PopByte(uint8_t* value) { in PopByte()
[all …]
Dproperty.cc69 MessageReader reader(signal); in ChangedReceived()
122 MessageReader reader(response); in OnGet()
152 MessageReader reader(response.get()); in GetAndBlock()
183 MessageReader reader(response); in OnGetAll()
229 bool PropertySet::UpdatePropertiesFromReader(MessageReader* reader) { in UpdatePropertiesFromReader()
231 MessageReader array_reader(NULL); in UpdatePropertiesFromReader()
236 MessageReader dict_entry_reader(NULL); in UpdatePropertiesFromReader()
244 bool PropertySet::UpdatePropertyFromReader(MessageReader* reader) { in UpdatePropertyFromReader()
269 bool PropertySet::InvalidatePropertiesFromReader(MessageReader* reader) { in InvalidatePropertiesFromReader()
271 MessageReader array_reader(NULL); in InvalidatePropertiesFromReader()
[all …]
Dproperty.h172 virtual bool PopValueFromReader(MessageReader* reader) = 0;
295 bool UpdatePropertiesFromReader(MessageReader* reader);
300 bool UpdatePropertyFromReader(MessageReader* reader);
326 bool InvalidatePropertiesFromReader(MessageReader* reader);
418 bool PopValueFromReader(MessageReader* reader) override;
465 MessageReader* reader);
475 MessageReader* reader);
485 MessageReader* reader);
495 MessageReader* reader);
505 MessageReader* reader);
[all …]
Dmessage.h33 class MessageReader; variable
138 MessageReader* reader);
373 class CHROME_DBUS_EXPORT MessageReader {
377 explicit MessageReader(Message* message);
378 ~MessageReader();
407 bool PopArray(MessageReader* sub_reader);
408 bool PopStruct(MessageReader* sub_reader);
409 bool PopDictEntry(MessageReader* sub_reader);
410 bool PopVariant(MessageReader* sub_reader);
490 bool PopContainer(int dbus_type, MessageReader* sub_reader);
[all …]
Dvalues_util.cc26 bool PopListElements(MessageReader* reader, base::ListValue* list_value) { in PopListElements()
37 bool PopDictionaryEntries(MessageReader* reader, in PopDictionaryEntries()
41 MessageReader entry_reader(NULL); in PopDictionaryEntries()
92 std::unique_ptr<base::Value> PopDataAsValue(MessageReader* reader) { in PopDataAsValue()
180 MessageReader sub_reader(NULL); in PopDataAsValue()
198 MessageReader sub_reader(NULL); in PopDataAsValue()
211 MessageReader sub_reader(NULL); in PopDataAsValue()
Dobject_manager.cc338 MessageReader reader(signal); in NotifyPropertiesChangedHelper()
353 MessageReader reader(response); in OnGetManagedObjects()
354 MessageReader array_reader(NULL); in OnGetManagedObjects()
359 MessageReader dict_entry_reader(NULL); in OnGetManagedObjects()
376 MessageReader reader(signal); in InterfacesAddedReceived()
398 MessageReader reader(signal); in InterfacesRemovedReceived()
423 MessageReader* reader) { in UpdateObject()
425 MessageReader array_reader(NULL); in UpdateObject()
430 MessageReader dict_entry_reader(NULL); in UpdateObject()
443 MessageReader* reader) { in AddInterface()
Dvalues_util.h20 class MessageReader; variable
28 MessageReader* reader);
Dobject_manager.h130 class MessageReader; variable
292 void UpdateObject(const ObjectPath& object_path, MessageReader* reader);
305 MessageReader* reader);
Dtest_proto.proto10 // protocol buffers in MessageReader and MessageWriter.
/external/libmojo/mojo/public/js/
Dcodec_unittests.js55 var reader = new codec.MessageReader(message);
129 var reader = new codec.MessageReader(message);
171 var reader = new codec.MessageReader(builder.finish());
188 var reader = new codec.MessageReader(message);
257 var reader = new codec.MessageReader(message);
Drouter.js13 var MessageReader = codec.MessageReader;
107 var reader = new MessageReader(message);

12