Home
last modified time | relevance | path

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

/external/chromium_org/dbus/
Dmessage_unittest.cc340 MessageReader array_reader(NULL); in TEST() local
341 ASSERT_TRUE(reader.PopArray(&array_reader)); in TEST()
345 ASSERT_TRUE(array_reader.PopString(&string_value)); in TEST()
347 ASSERT_TRUE(array_reader.PopString(&string_value)); in TEST()
349 ASSERT_TRUE(array_reader.PopString(&string_value)); in TEST()
352 ASSERT_FALSE(array_reader.HasMoreData()); in TEST()
434 MessageReader array_reader(NULL); in TEST() local
435 ASSERT_TRUE(reader.PopArray(&array_reader)); in TEST()
439 ASSERT_EQ("v", array_reader.GetDataSignature()); in TEST()
440 ASSERT_TRUE(array_reader.PopVariantOfBool(&bool_value)); in TEST()
[all …]
Dmessage.cc811 MessageReader array_reader(message_); in PopArrayOfBytes() local
812 if (!PopArray(&array_reader)) in PopArrayOfBytes()
815 if (!array_reader.HasMoreData()) { in PopArrayOfBytes()
820 if (!array_reader.CheckDataType(DBUS_TYPE_BYTE)) in PopArrayOfBytes()
823 dbus_message_iter_get_fixed_array(&array_reader.raw_message_iter_, in PopArrayOfBytes()
833 MessageReader array_reader(message_); in PopArrayOfStrings() local
834 if (!PopArray(&array_reader)) in PopArrayOfStrings()
836 while (array_reader.HasMoreData()) { in PopArrayOfStrings()
838 if (!array_reader.PopString(&string)) in PopArrayOfStrings()
848 MessageReader array_reader(message_); in PopArrayOfObjectPaths() local
[all …]
Dobject_manager.cc350 MessageReader array_reader(NULL); in OnGetManagedObjects() local
351 if (!reader.PopArray(&array_reader)) in OnGetManagedObjects()
354 while (array_reader.HasMoreData()) { in OnGetManagedObjects()
357 if (!array_reader.PopDictEntry(&dict_entry_reader) || in OnGetManagedObjects()
420 MessageReader array_reader(NULL); in UpdateObject() local
421 if (!reader->PopArray(&array_reader)) in UpdateObject()
424 while (array_reader.HasMoreData()) { in UpdateObject()
427 if (!array_reader.PopDictEntry(&dict_entry_reader) || in UpdateObject()
Dproperty.cc176 MessageReader array_reader(NULL); in UpdatePropertiesFromReader() local
177 if (!reader->PopArray(&array_reader)) in UpdatePropertiesFromReader()
180 while (array_reader.HasMoreData()) { in UpdatePropertiesFromReader()
182 if (array_reader.PopDictEntry(&dict_entry_reader)) in UpdatePropertiesFromReader()
/external/chromium_org/chromeos/dbus/
Dshill_client_unittest_base.cc29 dbus::MessageReader array_reader(NULL); in PopStringToStringDictionary() local
30 if (!reader->PopArray(&array_reader)) in PopStringToStringDictionary()
33 while (array_reader.HasMoreData()) { in PopStringToStringDictionary()
37 if (!array_reader.PopDictEntry(&entry_reader) || in PopStringToStringDictionary()
247 dbus::MessageReader array_reader(NULL); in ExpectDictionaryValueArgument() local
248 ASSERT_TRUE(reader->PopArray(&array_reader)); in ExpectDictionaryValueArgument()
249 while (array_reader.HasMoreData()) { in ExpectDictionaryValueArgument()
251 ASSERT_TRUE(array_reader.PopDictEntry(&entry_reader)); in ExpectDictionaryValueArgument()
Dbluetooth_profile_service_provider.cc107 dbus::MessageReader array_reader(NULL); in NewConnection() local
110 !reader.PopArray(&array_reader)) { in NewConnection()
117 while (array_reader.HasMoreData()) { in NewConnection()
120 if (!array_reader.PopDictEntry(&dict_entry_reader) || in NewConnection()
Dcras_audio_client.cc324 dbus::MessageReader array_reader(response); in OnGetNodes() local
326 if (!response_reader.PopArray(&array_reader)) { in OnGetNodes()
334 if (!GetAudioNode(response, &array_reader, &node)) { in OnGetNodes()
369 dbus::MessageReader* array_reader, in GetAudioNode() argument
371 while (array_reader->HasMoreData()) { in GetAudioNode()
375 if (!array_reader->PopDictEntry(&dict_entry_reader) || in GetAudioNode()
Dsession_manager_client.cc417 dbus::MessageReader array_reader(NULL); in OnRetrieveActiveSessions() local
419 if (!reader.PopArray(&array_reader)) { in OnRetrieveActiveSessions()
423 while (array_reader.HasMoreData()) { in OnRetrieveActiveSessions()
427 if (!array_reader.PopDictEntry(&dict_entry_reader) || in OnRetrieveActiveSessions()
534 dbus::MessageReader array_reader(NULL); in OnGetServerBackedStateKeys() local
536 if (!reader.PopArray(&array_reader)) { in OnGetServerBackedStateKeys()
539 while (array_reader.HasMoreData()) { in OnGetServerBackedStateKeys()
542 if (!array_reader.PopArrayOfBytes(&data, &size)) { in OnGetServerBackedStateKeys()
Dcros_disks_client.cc357 dbus::MessageReader array_reader(NULL); in OnEnumerateMountEntries() local
358 if (!reader.PopArray(&array_reader)) { in OnEnumerateMountEntries()
365 while (array_reader.HasMoreData()) { in OnEnumerateMountEntries()
368 if (!array_reader.PopStruct(&sub_reader) || in OnEnumerateMountEntries()
/external/chromium_org/device/media_transfer_protocol/
Dmedia_transfer_protocol_daemon_client.cc290 dbus::MessageReader array_reader(NULL); in OnReadDirectoryIds() local
291 if (!reader.PopArray(&array_reader) || reader.HasMoreData()) { in OnReadDirectoryIds()
297 while (array_reader.HasMoreData()) { in OnReadDirectoryIds()
299 if (array_reader.PopUint32(&file_id)) { in OnReadDirectoryIds()