Home
last modified time | relevance | path

Searched refs:array_reader (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/dbus/
Dmessage.cc812 MessageReader array_reader(message_); in PopArrayOfBytes() local
813 if (!PopArray(&array_reader)) in PopArrayOfBytes()
816 if (!array_reader.HasMoreData()) { in PopArrayOfBytes()
821 if (!array_reader.CheckDataType(DBUS_TYPE_BYTE)) in PopArrayOfBytes()
824 dbus_message_iter_get_fixed_array(&array_reader.raw_message_iter_, bytes, in PopArrayOfBytes()
832 MessageReader array_reader(message_); in PopArrayOfInt32s() local
833 if (!PopArray(&array_reader)) in PopArrayOfInt32s()
836 if (!array_reader.HasMoreData()) { in PopArrayOfInt32s()
841 if (!array_reader.CheckDataType(DBUS_TYPE_INT32)) in PopArrayOfInt32s()
844 dbus_message_iter_get_fixed_array(&array_reader.raw_message_iter_, in PopArrayOfInt32s()
[all …]
Dproperty.cc232 MessageReader array_reader(nullptr); in UpdatePropertiesFromReader() local
233 if (!reader->PopArray(&array_reader)) in UpdatePropertiesFromReader()
236 while (array_reader.HasMoreData()) { in UpdatePropertiesFromReader()
238 if (array_reader.PopDictEntry(&dict_entry_reader)) in UpdatePropertiesFromReader()
272 MessageReader array_reader(nullptr); in InvalidatePropertiesFromReader() local
273 if (!reader->PopArray(&array_reader)) in InvalidatePropertiesFromReader()
276 while (array_reader.HasMoreData()) { in InvalidatePropertiesFromReader()
278 if (!array_reader.PopString(&name)) in InvalidatePropertiesFromReader()
574 MessageReader array_reader(nullptr); in PopValueFromReader() local
576 !variant_reader.PopArray(&array_reader)) in PopValueFromReader()
[all …]
Dmessage_unittest.cc396 MessageReader array_reader(nullptr); in TEST() local
397 ASSERT_TRUE(reader.PopArray(&array_reader)); in TEST()
401 ASSERT_TRUE(array_reader.PopString(&string_value)); in TEST()
403 ASSERT_TRUE(array_reader.PopString(&string_value)); in TEST()
405 ASSERT_TRUE(array_reader.PopString(&string_value)); in TEST()
408 ASSERT_FALSE(array_reader.HasMoreData()); in TEST()
491 MessageReader array_reader(nullptr); in TEST() local
492 ASSERT_TRUE(reader.PopArray(&array_reader)); in TEST()
496 ASSERT_EQ("v", array_reader.GetDataSignature()); in TEST()
497 ASSERT_TRUE(array_reader.PopVariantOfBool(&bool_value)); in TEST()
[all …]
Dobject_manager.cc354 MessageReader array_reader(nullptr); in OnGetManagedObjects() local
355 if (!reader.PopArray(&array_reader)) in OnGetManagedObjects()
358 while (array_reader.HasMoreData()) { in OnGetManagedObjects()
361 if (!array_reader.PopDictEntry(&dict_entry_reader) || in OnGetManagedObjects()
424 MessageReader array_reader(nullptr); in UpdateObject() local
425 if (!reader->PopArray(&array_reader)) in UpdateObject()
428 while (array_reader.HasMoreData()) { in UpdateObject()
431 if (!array_reader.PopDictEntry(&dict_entry_reader) || in UpdateObject()
/external/libbrillo/brillo/dbus/
Ddata_serialization.h486 ::dbus::MessageReader array_reader(nullptr);
488 !reader->PopArray(&array_reader))
491 while (array_reader.HasMoreData()) {
496 if (!DBusType<T>::Read(&array_reader, &data))
747 ::dbus::MessageReader array_reader(nullptr);
749 !reader->PopArray(&array_reader))
752 while (array_reader.HasMoreData()) {
754 if (!array_reader.PopDictEntry(&dict_entry_reader))
Dexported_property_set_test.cc574 dbus::MessageReader array_reader(signal); in VerifySignal() local
577 ASSERT_TRUE(reader.PopArray(&array_reader)); in VerifySignal()
578 ASSERT_TRUE(array_reader.PopDictEntry(&dict_reader)); in VerifySignal()
582 ASSERT_FALSE(array_reader.HasMoreData()); in VerifySignal()
585 ASSERT_TRUE(reader.PopArray(&array_reader)); in VerifySignal()
586 ASSERT_FALSE(array_reader.HasMoreData()); in VerifySignal()