Lines Matching refs:iter
21 * @param iter A valid dbus message iterator
26 dbus_bool_t wpa_dbus_dict_open_write(DBusMessageIter *iter,
31 if (!iter || !iter_dict)
35 iter,
50 * @param iter valid dbus message iterator, same as passed to
57 dbus_bool_t wpa_dbus_dict_close_write(DBusMessageIter *iter,
60 if (!iter || !iter_dict)
63 return dbus_message_iter_close_container(iter, iter_dict);
574 * @param iter A valid DBusMessageIter pointing to the start of the dict
581 dbus_bool_t wpa_dbus_dict_open_read(DBusMessageIter *iter,
588 if (!iter || !iter_dict) {
594 type = dbus_message_iter_get_arg_type(iter);
596 dbus_message_iter_get_element_type(iter) != DBUS_TYPE_DICT_ENTRY) {
601 dbus_message_iter_get_element_type(iter));
607 dbus_message_iter_recurse(iter, iter_dict);
616 DBusMessageIter *iter, struct wpa_dbus_dict_entry *entry)
630 while (dbus_message_iter_get_arg_type(iter) == DBUS_TYPE_BYTE) {
647 dbus_message_iter_get_basic(iter, &byte);
650 dbus_message_iter_next(iter);
673 DBusMessageIter *iter, int array_type,
687 while (dbus_message_iter_get_arg_type(iter) == DBUS_TYPE_STRING) {
704 dbus_message_iter_get_basic(iter, &value);
715 dbus_message_iter_next(iter);
744 DBusMessageIter *iter, struct wpa_dbus_dict_entry *entry)
754 type = dbus_message_iter_get_arg_type(iter);
766 type = dbus_message_iter_get_element_type(iter);
773 while (dbus_message_iter_get_arg_type(iter) == DBUS_TYPE_ARRAY) {
788 dbus_message_iter_recurse(iter, &iter_array);
803 dbus_message_iter_next(iter);
855 struct wpa_dbus_dict_entry *entry, DBusMessageIter *iter)
861 dbus_message_iter_get_basic(iter, &v);
869 dbus_message_iter_get_basic(iter, &v);
877 dbus_message_iter_get_basic(iter, &entry->bool_value);
882 dbus_message_iter_get_basic(iter, &entry->byte_value);
887 dbus_message_iter_get_basic(iter, &entry->int16_value);
892 dbus_message_iter_get_basic(iter, &entry->uint16_value);
897 dbus_message_iter_get_basic(iter, &entry->int32_value);
902 dbus_message_iter_get_basic(iter, &entry->uint32_value);
907 dbus_message_iter_get_basic(iter, &entry->int64_value);
912 dbus_message_iter_get_basic(iter, &entry->uint64_value);
918 dbus_message_iter_get_basic(iter, &entry->double_value);
923 return _wpa_dbus_dict_entry_get_array(iter, entry);