Lines Matching refs:iter
304 DBusMessageIter *iter = user_data; in foreach_device_get_udi() local
308 dbus_message_iter_append_basic (iter, DBUS_TYPE_STRING, &udi); in foreach_device_get_udi()
328 DBusMessageIter iter; in manager_get_all_devices() local
335 dbus_message_iter_init_append (reply, &iter); in manager_get_all_devices()
336 dbus_message_iter_open_container (&iter, in manager_get_all_devices()
345 dbus_message_iter_close_container (&iter, &iter_array); in manager_get_all_devices()
358 DBusMessageIter *iter; member
377 dbus_message_iter_append_basic (info->iter, in foreach_device_match_get_udi()
407 dbus_message_iter_append_basic (info->iter, in foreach_device_match_get_udi_tdl()
432 DBusMessageIter iter; in manager_find_device_string_match() local
455 dbus_message_iter_init_append (reply, &iter); in manager_find_device_string_match()
456 dbus_message_iter_open_container (&iter, in manager_find_device_string_match()
463 info.iter = &iter_array; in manager_find_device_string_match()
474 dbus_message_iter_close_container (&iter, &iter_array); in manager_find_device_string_match()
486 DBusMessageIter *iter; member
495 dbus_message_iter_append_basic (info->iter, in foreach_device_by_capability()
518 DBusMessageIter iter; in manager_find_device_by_capability() local
539 dbus_message_iter_init_append (reply, &iter); in manager_find_device_by_capability()
540 dbus_message_iter_open_container (&iter, in manager_find_device_by_capability()
546 info.iter = &iter_array; in manager_find_device_by_capability()
552 dbus_message_iter_close_container (&iter, &iter_array); in manager_find_device_by_capability()
577 DBusMessageIter iter; in manager_device_exists() local
599 dbus_message_iter_init_append (reply, &iter); in manager_device_exists()
601 dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &b); in manager_device_exists()
623 DBusMessageIter iter; in manager_send_signal_device_added() local
634 dbus_message_iter_init_append (message, &iter); in manager_send_signal_device_added()
635 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &udi); in manager_send_signal_device_added()
656 DBusMessageIter iter; in manager_send_signal_device_removed() local
667 dbus_message_iter_init_append (message, &iter); in manager_send_signal_device_removed()
668 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &udi); in manager_send_signal_device_removed()
691 DBusMessageIter iter; in manager_send_signal_new_capability() local
702 dbus_message_iter_init_append (message, &iter); in manager_send_signal_new_capability()
703 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &udi); in manager_send_signal_new_capability()
704 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &capability); in manager_send_signal_new_capability()
727 DBusMessageIter *iter; in foreach_property_append() local
732 iter = (DBusMessageIter *)user_data; in foreach_property_append()
734 dbus_message_iter_open_container (iter, in foreach_property_append()
848 GSList *iter; in foreach_property_append() local
861 for (iter = hal_property_get_strlist (p); iter != NULL; iter = iter->next) { in foreach_property_append()
864 v = (const char *) iter->data; in foreach_property_append()
884 dbus_message_iter_close_container (iter, &iter_dict_entry); in foreach_property_append()
909 DBusMessageIter iter; in device_get_all_properties() local
931 dbus_message_iter_init_append (reply, &iter); in device_get_all_properties()
933 dbus_message_iter_open_container (&iter, in device_get_all_properties()
945 dbus_message_iter_close_container (&iter, &iter_dict); in device_get_all_properties()
1032 DBusMessageIter iter; in device_set_multiple_properties() local
1055 dbus_message_iter_init (message, &iter); in device_set_multiple_properties()
1057 if (dbus_message_iter_get_arg_type (&iter) != DBUS_TYPE_ARRAY && in device_set_multiple_properties()
1058 dbus_message_iter_get_element_type (&iter) != DBUS_TYPE_DICT_ENTRY) { in device_set_multiple_properties()
1064 dbus_message_iter_recurse (&iter, &dict_iter); in device_set_multiple_properties()
1189 DBusMessageIter iter; in device_get_property() local
1228 dbus_message_iter_init_append (reply, &iter); in device_get_property()
1236 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &s); in device_get_property()
1243 dbus_message_iter_append_basic (&iter, DBUS_TYPE_INT32, &i); in device_get_property()
1250 dbus_message_iter_append_basic (&iter, DBUS_TYPE_UINT64, &ul); in device_get_property()
1257 dbus_message_iter_append_basic (&iter, DBUS_TYPE_DOUBLE, &d); in device_get_property()
1264 dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &b); in device_get_property()
1272 dbus_message_iter_open_container (&iter, in device_get_property()
1281 dbus_message_iter_close_container (&iter, &iter_array); in device_get_property()
1317 DBusMessageIter iter; in device_get_property_type() local
1357 dbus_message_iter_init_append (reply, &iter); in device_get_property_type()
1358 dbus_message_iter_append_basic (&iter, DBUS_TYPE_INT32, &i); in device_get_property_type()
1394 DBusMessageIter iter; in device_set_property() local
1401 dbus_message_iter_init (message, &iter); in device_set_property()
1402 type = dbus_message_iter_get_arg_type (&iter); in device_set_property()
1407 dbus_message_iter_get_basic (&iter, &key); in device_set_property()
1424 dbus_message_iter_next (&iter); in device_set_property()
1428 type = dbus_message_iter_get_arg_type (&iter); in device_set_property()
1435 dbus_message_iter_get_basic (&iter, &v); in device_set_property()
1442 dbus_message_iter_get_basic (&iter, &v); in device_set_property()
1449 dbus_message_iter_get_basic (&iter, &v); in device_set_property()
1456 dbus_message_iter_get_basic (&iter, &v); in device_set_property()
1463 dbus_message_iter_get_basic (&iter, &v); in device_set_property()
1759 DBusMessageIter iter; in device_property_exists() local
1788 dbus_message_iter_init_append (reply, &iter); in device_property_exists()
1789 dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &b); in device_property_exists()
1822 DBusMessageIter iter; in device_query_capability() local
1852 GSList *iter; in device_query_capability() local
1854 for (iter = caps; iter != NULL; iter=g_slist_next(iter)) { in device_query_capability()
1855 if (strcmp (iter->data, capability) == 0) { in device_query_capability()
1862 dbus_message_iter_init_append (reply, &iter); in device_query_capability()
1863 dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &rc); in device_query_capability()
2064 DBusMessageIter iter; in manager_claim_branch() local
2148 DBusMessageIter iter; in manager_unclaim_branch() local
2264 DBusMessageIter iter; in device_property_atomic_update_end() local
2288 dbus_message_iter_init_append (message, &iter); in device_property_atomic_update_end()
2289 dbus_message_iter_append_basic (&iter, DBUS_TYPE_INT32, in device_property_atomic_update_end()
2292 dbus_message_iter_open_container (&iter, in device_property_atomic_update_end()
2334 dbus_message_iter_close_container (&iter, &iter_array); in device_property_atomic_update_end()
2361 DBusMessageIter iter; in device_send_signal_property_modified() local
2395 dbus_message_iter_init_append (message, &iter); in device_send_signal_property_modified()
2397 dbus_message_iter_append_basic (&iter, DBUS_TYPE_INT32, &i); in device_send_signal_property_modified()
2399 dbus_message_iter_open_container (&iter, in device_send_signal_property_modified()
2418 dbus_message_iter_close_container (&iter, &iter_array); in device_send_signal_property_modified()
2453 DBusMessageIter iter; in device_send_signal_condition() local
2461 dbus_message_iter_init_append (message, &iter); in device_send_signal_condition()
2462 dbus_message_iter_append_basic (&iter, in device_send_signal_condition()
2465 dbus_message_iter_append_basic (&iter, in device_send_signal_condition()
2534 DBusMessageIter iter; in device_rescan() local
2562 dbus_message_iter_init_append (reply, &iter); in device_rescan()
2563 dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &res); in device_rescan()
2577 DBusMessageIter iter; in device_reprobe() local
2606 dbus_message_iter_init_append (reply, &iter); in device_reprobe()
2607 dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &res); in device_reprobe()
2622 DBusMessageIter iter; in device_emit_condition() local
2666 dbus_message_iter_init_append (reply, &iter); in device_emit_condition()
2667 dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &res); in device_emit_condition()
2691 DBusMessageIter iter; in device_claim_interface() local
2747 dbus_message_iter_init_append (reply, &iter); in device_claim_interface()
2748 dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &res); in device_claim_interface()
2764 DBusMessageIter iter; in addon_is_ready() local
2809 dbus_message_iter_init_append (reply, &iter); in addon_is_ready()
2810 dbus_message_iter_append_basic (&iter, DBUS_TYPE_BOOLEAN, &res); in addon_is_ready()
2827 DBusMessageIter iter; in manager_new_device() local
2845 dbus_message_iter_init_append (reply, &iter); in manager_new_device()
2864 dbus_message_iter_append_basic (&iter, DBUS_TYPE_STRING, &udi); in manager_new_device()
2897 DBusMessageIter iter; in manager_remove() local
2921 dbus_message_iter_init_append (reply, &iter); in manager_remove()
2999 DBusMessageIter iter; in manager_commit_to_gdl() local
3023 dbus_message_iter_init_append (reply, &iter); in manager_commit_to_gdl()
3263 DBusMessageIter iter; in hald_exec_method_cb() local
3322 dbus_message_iter_init_append (reply, &iter); in hald_exec_method_cb()
3323 dbus_message_iter_append_basic (&iter, DBUS_TYPE_INT32, &result); in hald_exec_method_cb()
3344 DBusMessageIter iter; in hald_exec_method() local
3386 dbus_message_iter_init (message, &iter); in hald_exec_method()
3387 while ((type = dbus_message_iter_get_arg_type (&iter)) != DBUS_TYPE_INVALID) { in hald_exec_method()
3392 dbus_message_iter_get_basic (&iter, &value); in hald_exec_method()
3399 dbus_message_iter_get_basic (&iter, &value); in hald_exec_method()
3406 dbus_message_iter_get_basic (&iter, &value); in hald_exec_method()
3413 dbus_message_iter_get_basic (&iter, &value); in hald_exec_method()
3420 dbus_message_iter_get_basic (&iter, &value); in hald_exec_method()
3427 dbus_message_iter_get_basic (&iter, &value); in hald_exec_method()
3434 dbus_message_iter_get_basic (&iter, &value); in hald_exec_method()
3441 dbus_message_iter_get_basic (&iter, &value); in hald_exec_method()
3448 dbus_message_iter_get_basic (&iter, &value); in hald_exec_method()
3455 dbus_message_iter_get_basic (&iter, &value); in hald_exec_method()
3463 if (dbus_message_iter_get_element_type (&iter) != DBUS_TYPE_STRING) in hald_exec_method()
3466 dbus_message_iter_recurse (&iter, &iter_strlist); in hald_exec_method()
3482 dbus_message_iter_next (&iter); in hald_exec_method()