Home
last modified time | relevance | path

Searched refs:variant_reader (Results 1 – 7 of 7) sorted by relevance

/external/libbrillo/brillo/dbus/
Ddata_serialization.cc77 dbus::MessageReader variant_reader(nullptr); in PopValueFromReader() local
78 return details::DescendIntoVariantIfPresent(&reader, &variant_reader) && in PopValueFromReader()
83 dbus::MessageReader variant_reader(nullptr); in PopValueFromReader() local
84 return details::DescendIntoVariantIfPresent(&reader, &variant_reader) && in PopValueFromReader()
89 dbus::MessageReader variant_reader(nullptr); in PopValueFromReader() local
90 return details::DescendIntoVariantIfPresent(&reader, &variant_reader) && in PopValueFromReader()
95 dbus::MessageReader variant_reader(nullptr); in PopValueFromReader() local
96 return details::DescendIntoVariantIfPresent(&reader, &variant_reader) && in PopValueFromReader()
101 dbus::MessageReader variant_reader(nullptr); in PopValueFromReader() local
102 return details::DescendIntoVariantIfPresent(&reader, &variant_reader) && in PopValueFromReader()
[all …]
Ddata_serialization.h153 dbus::MessageReader* variant_reader) {
156 if (!(*reader_ref)->PopVariant(variant_reader))
158 *reader_ref = variant_reader;
474 dbus::MessageReader variant_reader(nullptr);
476 if (!details::DescendIntoVariantIfPresent(&reader, &variant_reader) ||
571 dbus::MessageReader variant_reader(nullptr);
573 if (!details::DescendIntoVariantIfPresent(&reader, &variant_reader) ||
671 dbus::MessageReader variant_reader(nullptr);
673 if (!details::DescendIntoVariantIfPresent(&reader, &variant_reader) ||
735 dbus::MessageReader variant_reader(nullptr);
[all …]
Dexported_property_set_unittest.cc430 dbus::MessageReader variant_reader(nullptr); in TEST_F() local
432 ASSERT_TRUE(reader.PopVariant(&variant_reader)); in TEST_F()
433 ASSERT_TRUE(variant_reader.PopArrayOfStrings(&value)); in TEST_F()
434 ASSERT_FALSE(variant_reader.HasMoreData()); in TEST_F()
441 dbus::MessageReader variant_reader(nullptr); in TEST_F() local
443 ASSERT_TRUE(reader.PopVariant(&variant_reader)); in TEST_F()
444 ASSERT_TRUE(variant_reader.PopArrayOfObjectPaths(&value)); in TEST_F()
445 ASSERT_FALSE(variant_reader.HasMoreData()); in TEST_F()
452 dbus::MessageReader variant_reader(nullptr); in TEST_F() local
455 ASSERT_TRUE(reader.PopVariant(&variant_reader)); in TEST_F()
[all …]
Ddata_serialization_unittest.cc677 dbus::MessageReader variant_reader(nullptr); in PopValueFromReader() local
679 if (!details::DescendIntoVariantIfPresent(&reader, &variant_reader) || in PopValueFromReader()
/external/libchrome/dbus/
Dproperty.cc498 MessageReader variant_reader(NULL); in PopValueFromReader() local
499 if (!reader->PopVariant(&variant_reader)) in PopValueFromReader()
503 return variant_reader.PopArrayOfStrings(&value_); in PopValueFromReader()
522 MessageReader variant_reader(NULL); in PopValueFromReader() local
523 if (!reader->PopVariant(&variant_reader)) in PopValueFromReader()
527 return variant_reader.PopArrayOfObjectPaths(&value_); in PopValueFromReader()
545 MessageReader variant_reader(NULL); in PopValueFromReader() local
546 if (!reader->PopVariant(&variant_reader)) in PopValueFromReader()
552 if (!variant_reader.PopArrayOfBytes(&bytes, &length)) in PopValueFromReader()
574 MessageReader variant_reader(NULL); in PopValueFromReader() local
[all …]
Dmessage.cc981 MessageReader variant_reader(message_); in PopVariantOfBasic() local
982 if (!PopVariant(&variant_reader)) in PopVariantOfBasic()
984 return variant_reader.PopBasic(dbus_type, value); in PopVariantOfBasic()
/external/dbus/dbus/
Ddbus-marshal-header.c156 DBusTypeReader *variant_reader) in _dbus_header_cache_one() argument
159 _dbus_type_reader_get_value_pos (variant_reader); in _dbus_header_cache_one()
782 DBusTypeReader *variant_reader) in load_and_validate_field() argument
799 type = _dbus_type_reader_get_current_type (variant_reader); in load_and_validate_field()
820 _dbus_header_cache_one (header, field, variant_reader); in load_and_validate_field()
1122 DBusTypeReader variant_reader; in _dbus_header_load() local
1148 _dbus_type_reader_recurse (&struct_reader, &variant_reader); in _dbus_header_load()
1150 v = load_and_validate_field (header, field_code, &variant_reader); in _dbus_header_load()