Home
last modified time | relevance | path

Searched refs:array_writer (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/dbus/
Dmessage.cc570 MessageWriter array_writer(message_); in AppendArrayOfBytes() local
571 OpenArray("y", &array_writer); in AppendArrayOfBytes()
573 &(array_writer.raw_message_iter_), DBUS_TYPE_BYTE, &values, in AppendArrayOfBytes()
576 CloseContainer(&array_writer); in AppendArrayOfBytes()
581 MessageWriter array_writer(message_); in AppendArrayOfInt32s() local
582 OpenArray("i", &array_writer); in AppendArrayOfInt32s()
584 &(array_writer.raw_message_iter_), DBUS_TYPE_INT32, &values, in AppendArrayOfInt32s()
587 CloseContainer(&array_writer); in AppendArrayOfInt32s()
593 MessageWriter array_writer(message_); in AppendArrayOfUint32s() local
594 OpenArray("u", &array_writer); in AppendArrayOfUint32s()
[all …]
Dvalues_util.cc266 dbus::MessageWriter array_writer(nullptr); in AppendValueData() local
267 writer->OpenArray("{sv}", &array_writer); in AppendValueData()
271 array_writer.OpenDictEntry(&dict_entry_writer); in AppendValueData()
274 array_writer.CloseContainer(&dict_entry_writer); in AppendValueData()
276 writer->CloseContainer(&array_writer); in AppendValueData()
282 dbus::MessageWriter array_writer(nullptr); in AppendValueData() local
283 writer->OpenArray("v", &array_writer); in AppendValueData()
285 AppendValueDataAsVariant(&array_writer, value); in AppendValueData()
287 writer->CloseContainer(&array_writer); in AppendValueData()
Dmessage_unittest.cc386 MessageWriter array_writer(nullptr); in TEST() local
387 writer.OpenArray("s", &array_writer); // Open an array of strings. in TEST()
388 array_writer.AppendString("foo"); in TEST()
389 array_writer.AppendString("bar"); in TEST()
390 array_writer.AppendString("baz"); in TEST()
391 writer.CloseContainer(&array_writer); in TEST()
417 MessageWriter array_writer(nullptr); in TEST() local
419 writer.OpenArray("v", &array_writer); in TEST()
425 array_writer.OpenVariant("b", &variant_writer); in TEST()
427 array_writer.CloseContainer(&variant_writer); in TEST()
[all …]
Dproperty.cc648 MessageWriter array_writer(nullptr); in AppendSetValueToWriter() local
650 variant_writer.OpenArray("(ayq)", &array_writer); in AppendSetValueToWriter()
653 array_writer.OpenStruct(&struct_writer); in AppendSetValueToWriter()
657 array_writer.CloseContainer(&struct_writer); in AppendSetValueToWriter()
659 variant_writer.CloseContainer(&array_writer); in AppendSetValueToWriter()
/external/libbrillo/brillo/dbus/
Ddata_serialization.h470 ::dbus::MessageWriter array_writer(nullptr);
471 writer->OpenArray(GetDBusSignature<T>(), &array_writer);
476 DBusType<T>::Write(&array_writer, element);
478 writer->CloseContainer(&array_writer);