Lines Matching refs:reply
89 DBusMessage *reply = NULL; in handle_introspect() local
94 if (!(reply = dbus_message_new_method_return(msg))) { in handle_introspect()
98 if (!dbus_message_append_args(reply, DBUS_TYPE_STRING, &i, DBUS_TYPE_INVALID)) { in handle_introspect()
102 if (!dbus_connection_send(conn, reply, NULL)) { in handle_introspect()
108 if (reply) in handle_introspect()
109 dbus_message_unref(reply); in handle_introspect()
142 DBusMessage *reply = NULL; in handle_get_address() local
153 if (!(reply = dbus_message_new_method_return(msg))) { in handle_get_address()
157 dbus_message_iter_init_append(reply, &msg_iter); in handle_get_address()
170 if (!dbus_connection_send(conn, reply, NULL)) { in handle_get_address()
178 …if (!(reply = dbus_message_new_error(msg, DBUS_ERROR_FAILED, "PulseAudio internal error: get_dbus_… in handle_get_address()
182 if (!dbus_connection_send(conn, reply, NULL)) { in handle_get_address()
195 if (reply) in handle_get_address()
196 dbus_message_unref(reply); in handle_get_address()
205 DBusMessage *reply = NULL; in handle_get() local
212 if (!(reply = dbus_message_new_error(msg, DBUS_ERROR_INVALID_ARGS, "Invalid arguments"))) { in handle_get()
216 if (!dbus_connection_send(conn, reply, NULL)) { in handle_get()
230 …if (!(reply = dbus_message_new_error_printf(msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "%s: No such prop… in handle_get()
234 if (!dbus_connection_send(conn, reply, NULL)) { in handle_get()
245 if (reply) in handle_get()
246 dbus_message_unref(reply); in handle_get()
255 DBusMessage *reply = NULL; in handle_set() local
262 if (!(reply = dbus_message_new_error(msg, DBUS_ERROR_INVALID_ARGS, "Invalid arguments"))) { in handle_set()
266 if (!dbus_connection_send(conn, reply, NULL)) { in handle_set()
280 …if (!(reply = dbus_message_new_error_printf(msg, PA_DBUS_ERROR_NO_SUCH_PROPERTY, "%s: No such prop… in handle_set()
284 if (!dbus_connection_send(conn, reply, NULL)) { in handle_set()
292 …if (!(reply = dbus_message_new_error_printf(msg, DBUS_ERROR_ACCESS_DENIED, "%s: Property not setta… in handle_set()
296 if (!dbus_connection_send(conn, reply, NULL)) { in handle_set()
303 if (reply) in handle_set()
304 dbus_message_unref(reply); in handle_set()
311 DBusMessage *reply = NULL; in handle_get_all() local
325 if (!(reply = dbus_message_new_error(msg, DBUS_ERROR_INVALID_ARGS, "Invalid arguments"))) { in handle_get_all()
329 if (!dbus_connection_send(conn, reply, NULL)) { in handle_get_all()
339 if (!(reply = dbus_message_new_method_return(msg))) { in handle_get_all()
343 dbus_message_iter_init_append(reply, &msg_iter); in handle_get_all()
376 if (!dbus_connection_send(conn, reply, NULL)) { in handle_get_all()
384 …if (!(reply = dbus_message_new_error(msg, DBUS_ERROR_FAILED, "PulseAudio internal error: get_dbus_… in handle_get_all()
388 if (!dbus_connection_send(conn, reply, NULL)) { in handle_get_all()
401 if (reply) in handle_get_all()
402 dbus_message_unref(reply); in handle_get_all()