Lines Matching refs:iter
40 parse_udi (run_request *r, DBusMessage *msg, DBusMessageIter *iter) in parse_udi() argument
45 if (dbus_message_iter_get_arg_type(iter) != DBUS_TYPE_STRING) in parse_udi()
47 dbus_message_iter_get_basic(iter, &tmpstr); in parse_udi()
50 if (!dbus_message_iter_next(iter)) in parse_udi()
60 parse_environment(run_request *r, DBusMessage *msg, DBusMessageIter *iter) in parse_environment() argument
66 if (dbus_message_iter_get_arg_type(iter) != DBUS_TYPE_ARRAY) in parse_environment()
68 dbus_message_iter_recurse(iter, &sub_iter); in parse_environment()
78 if (!dbus_message_iter_next(iter) || dbus_message_iter_get_arg_type(iter) != DBUS_TYPE_ARRAY) in parse_environment()
80 dbus_message_iter_recurse(iter, &sub_iter); in parse_environment()
93 DBusMessageIter iter; in handle_run() local
98 g_assert(dbus_message_iter_init(msg, &iter)); in handle_run()
100 if (!parse_udi(r, msg, &iter)) in handle_run()
103 if (!parse_environment(r, msg, &iter)) in handle_run()
107 if (!dbus_message_iter_next(&iter) || dbus_message_iter_get_arg_type(&iter) != DBUS_TYPE_STRING) in handle_run()
109 dbus_message_iter_get_basic(&iter, &tmpstr); in handle_run()
113 if (!dbus_message_iter_next(&iter) || dbus_message_iter_get_arg_type(&iter) != DBUS_TYPE_BOOLEAN) in handle_run()
115 dbus_message_iter_get_basic(&iter, &(r->error_on_stderr)); in handle_run()
118 if (!dbus_message_iter_next(&iter) || dbus_message_iter_get_arg_type(&iter) != DBUS_TYPE_UINT32) in handle_run()
120 dbus_message_iter_get_basic(&iter, &(r->timeout)); in handle_run()
138 DBusMessageIter iter; in handle_start() local
145 g_assert(dbus_message_iter_init(msg, &iter)); in handle_start()
147 if (!dbus_message_iter_init(msg, &iter)) in handle_start()
150 if (!is_singleton && !parse_udi(r, msg, &iter)) { in handle_start()
155 if (!parse_environment(r, msg, &iter)) { in handle_start()