Lines Matching refs:reply

82 	DBusMessage *reply;  in raise_error()  local
90 reply = dbus_message_new_error (in_reply_to, error_name, buf); in raise_error()
91 if (reply == NULL) in raise_error()
93 if (!dbus_connection_send (connection, reply, NULL)) in raise_error()
95 dbus_message_unref (reply); in raise_error()
205 DBusMessage *reply; in raise_device_already_locked() local
213 reply = dbus_message_new_error (in_reply_to, in raise_device_already_locked()
217 if (reply == NULL || !dbus_connection_send (connection, reply, NULL)) in raise_device_already_locked()
220 dbus_message_unref (reply); in raise_device_already_locked()
234 DBusMessage *reply; in raise_branch_already_claimed() local
242 reply = dbus_message_new_error (in_reply_to, in raise_branch_already_claimed()
246 if (reply == NULL || !dbus_connection_send (connection, reply, NULL)) in raise_branch_already_claimed()
249 dbus_message_unref (reply); in raise_branch_already_claimed()
327 DBusMessage *reply; in manager_get_all_devices() local
331 reply = dbus_message_new_method_return (message); in manager_get_all_devices()
332 if (reply == NULL) in manager_get_all_devices()
335 dbus_message_iter_init_append (reply, &iter); in manager_get_all_devices()
347 if (!dbus_connection_send (connection, reply, NULL)) in manager_get_all_devices()
350 dbus_message_unref (reply); in manager_get_all_devices()
431 DBusMessage *reply; in manager_find_device_string_match() local
451 reply = dbus_message_new_method_return (message); in manager_find_device_string_match()
452 if (reply == NULL) in manager_find_device_string_match()
455 dbus_message_iter_init_append (reply, &iter); in manager_find_device_string_match()
476 if (!dbus_connection_send (connection, reply, NULL)) in manager_find_device_string_match()
479 dbus_message_unref (reply); in manager_find_device_string_match()
517 DBusMessage *reply; in manager_find_device_by_capability() local
535 reply = dbus_message_new_method_return (message); in manager_find_device_by_capability()
536 if (reply == NULL) in manager_find_device_by_capability()
539 dbus_message_iter_init_append (reply, &iter); in manager_find_device_by_capability()
554 if (!dbus_connection_send (connection, reply, NULL)) in manager_find_device_by_capability()
557 dbus_message_unref (reply); in manager_find_device_by_capability()
576 DBusMessage *reply; in manager_device_exists() local
598 reply = dbus_message_new_method_return (message); in manager_device_exists()
599 dbus_message_iter_init_append (reply, &iter); in manager_device_exists()
603 if (reply == NULL) in manager_device_exists()
606 if (!dbus_connection_send (connection, reply, NULL)) in manager_device_exists()
609 dbus_message_unref (reply); in manager_device_exists()
908 DBusMessage *reply; in device_get_all_properties() local
927 reply = dbus_message_new_method_return (message); in device_get_all_properties()
928 if (reply == NULL) in device_get_all_properties()
931 dbus_message_iter_init_append (reply, &iter); in device_get_all_properties()
947 if (!dbus_connection_send (connection, reply, NULL)) in device_get_all_properties()
950 dbus_message_unref (reply); in device_get_all_properties()
1031 DBusMessage *reply; in device_set_multiple_properties() local
1156 reply = dbus_message_new_method_return (message); in device_set_multiple_properties()
1157 if (reply == NULL) in device_set_multiple_properties()
1160 if (!dbus_connection_send (connection, reply, NULL)) in device_set_multiple_properties()
1163 dbus_message_unref (reply); in device_set_multiple_properties()
1188 DBusMessage *reply; in device_get_property() local
1224 reply = dbus_message_new_method_return (message); in device_get_property()
1225 if (reply == NULL) in device_get_property()
1228 dbus_message_iter_init_append (reply, &iter); in device_get_property()
1290 if (!dbus_connection_send (connection, reply, NULL)) in device_get_property()
1293 dbus_message_unref (reply); in device_get_property()
1316 DBusMessage *reply; in device_get_property_type() local
1352 reply = dbus_message_new_method_return (message); in device_get_property_type()
1353 if (reply == NULL) in device_get_property_type()
1357 dbus_message_iter_init_append (reply, &iter); in device_get_property_type()
1360 if (!dbus_connection_send (connection, reply, NULL)) in device_get_property_type()
1363 dbus_message_unref (reply); in device_get_property_type()
1395 DBusMessage *reply; in device_set_property() local
1477 reply = dbus_message_new_method_return (message); in device_set_property()
1478 if (reply == NULL) in device_set_property()
1481 if (!dbus_connection_send (connection, reply, NULL)) in device_set_property()
1484 dbus_message_unref (reply); in device_set_property()
1521 DBusMessage *reply; in device_add_capability() local
1553 reply = dbus_message_new_method_return (message); in device_add_capability()
1554 if (reply == NULL) in device_add_capability()
1557 if (!dbus_connection_send (connection, reply, NULL)) in device_add_capability()
1560 dbus_message_unref (reply); in device_add_capability()
1573 DBusMessage *reply; in device_string_list_append_prepend() local
1608 reply = dbus_message_new_method_return (message); in device_string_list_append_prepend()
1609 if (reply == NULL) in device_string_list_append_prepend()
1612 if (!dbus_connection_send (connection, reply, NULL)) in device_string_list_append_prepend()
1615 dbus_message_unref (reply); in device_string_list_append_prepend()
1627 DBusMessage *reply; in device_string_list_remove() local
1659 reply = dbus_message_new_method_return (message); in device_string_list_remove()
1660 if (reply == NULL) in device_string_list_remove()
1663 if (!dbus_connection_send (connection, reply, NULL)) in device_string_list_remove()
1666 dbus_message_unref (reply); in device_string_list_remove()
1692 DBusMessage *reply; in device_remove_property() local
1727 reply = dbus_message_new_method_return (message); in device_remove_property()
1728 if (reply == NULL) in device_remove_property()
1731 if (!dbus_connection_send (connection, reply, NULL)) in device_remove_property()
1734 dbus_message_unref (reply); in device_remove_property()
1757 DBusMessage *reply; in device_property_exists() local
1783 reply = dbus_message_new_method_return (message); in device_property_exists()
1784 if (reply == NULL) in device_property_exists()
1788 dbus_message_iter_init_append (reply, &iter); in device_property_exists()
1791 if (!dbus_connection_send (connection, reply, NULL)) in device_property_exists()
1794 dbus_message_unref (reply); in device_property_exists()
1820 DBusMessage *reply; in device_query_capability() local
1845 reply = dbus_message_new_method_return (message); in device_query_capability()
1846 if (reply == NULL) in device_query_capability()
1862 dbus_message_iter_init_append (reply, &iter); in device_query_capability()
1865 if (!dbus_connection_send (connection, reply, NULL)) in device_query_capability()
1868 dbus_message_unref (reply); in device_query_capability()
1893 DBusMessage *reply; in device_lock() local
1927 reply = dbus_message_new_method_return (message); in device_lock()
1928 if (reply == NULL) in device_lock()
1949 if (!dbus_connection_send (connection, reply, NULL)) in device_lock()
1952 dbus_message_unref (reply); in device_lock()
1977 DBusMessage *reply; in device_unlock() local
2001 reply = dbus_message_new_method_return (message); in device_unlock()
2002 if (reply == NULL) in device_unlock()
2041 if (!dbus_connection_send (connection, reply, NULL)) in device_unlock()
2044 dbus_message_unref (reply); in device_unlock()
2063 DBusMessage *reply; in manager_claim_branch() local
2097 reply = dbus_message_new_method_return (message); in manager_claim_branch()
2098 if (reply == NULL) in manager_claim_branch()
2108 dbus_message_unref (reply); in manager_claim_branch()
2127 if (!dbus_connection_send (connection, reply, NULL)) in manager_claim_branch()
2130 dbus_message_unref (reply); in manager_claim_branch()
2147 DBusMessage *reply; in manager_unclaim_branch() local
2179 reply = dbus_message_new_method_return (message); in manager_unclaim_branch()
2180 if (reply == NULL) in manager_unclaim_branch()
2208 if (!dbus_connection_send (connection, reply, NULL)) in manager_unclaim_branch()
2211 dbus_message_unref (reply); in manager_unclaim_branch()
2533 DBusMessage *reply; in device_rescan() local
2559 reply = dbus_message_new_method_return (message); in device_rescan()
2560 if (reply == NULL) in device_rescan()
2562 dbus_message_iter_init_append (reply, &iter); in device_rescan()
2565 if (!dbus_connection_send (connection, reply, NULL)) in device_rescan()
2568 dbus_message_unref (reply); in device_rescan()
2578 DBusMessage *reply; in device_reprobe() local
2603 reply = dbus_message_new_method_return (message); in device_reprobe()
2604 if (reply == NULL) in device_reprobe()
2606 dbus_message_iter_init_append (reply, &iter); in device_reprobe()
2609 if (!dbus_connection_send (connection, reply, NULL)) in device_reprobe()
2612 dbus_message_unref (reply); in device_reprobe()
2623 DBusMessage *reply; in device_emit_condition() local
2663 reply = dbus_message_new_method_return (message); in device_emit_condition()
2664 if (reply == NULL) in device_emit_condition()
2666 dbus_message_iter_init_append (reply, &iter); in device_emit_condition()
2669 if (!dbus_connection_send (connection, reply, NULL)) in device_emit_condition()
2672 dbus_message_unref (reply); in device_emit_condition()
2692 DBusMessage *reply; in device_claim_interface() local
2744 reply = dbus_message_new_method_return (message); in device_claim_interface()
2745 if (reply == NULL) in device_claim_interface()
2747 dbus_message_iter_init_append (reply, &iter); in device_claim_interface()
2750 if (!dbus_connection_send (connection, reply, NULL)) in device_claim_interface()
2753 dbus_message_unref (reply); in device_claim_interface()
2765 DBusMessage *reply; in addon_is_ready() local
2806 reply = dbus_message_new_method_return (message); in addon_is_ready()
2807 if (reply == NULL) in addon_is_ready()
2809 dbus_message_iter_init_append (reply, &iter); in addon_is_ready()
2812 if (!dbus_connection_send (connection, reply, NULL)) in addon_is_ready()
2815 dbus_message_unref (reply); in addon_is_ready()
2826 DBusMessage *reply; in manager_new_device() local
2841 reply = dbus_message_new_method_return (message); in manager_new_device()
2842 if (reply == NULL) in manager_new_device()
2845 dbus_message_iter_init_append (reply, &iter); in manager_new_device()
2867 if (!dbus_connection_send (connection, reply, NULL)) in manager_new_device()
2870 dbus_message_unref (reply); in manager_new_device()
2896 DBusMessage *reply; in manager_remove() local
2917 reply = dbus_message_new_method_return (message); in manager_remove()
2918 if (reply == NULL) in manager_remove()
2921 dbus_message_iter_init_append (reply, &iter); in manager_remove()
2946 if (!dbus_connection_send (connection, reply, NULL)) in manager_remove()
2949 dbus_message_unref (reply); in manager_remove()
2998 DBusMessage *reply; in manager_commit_to_gdl() local
3019 reply = dbus_message_new_method_return (message); in manager_commit_to_gdl()
3020 if (reply == NULL) in manager_commit_to_gdl()
3023 dbus_message_iter_init_append (reply, &iter); in manager_commit_to_gdl()
3069 if (!dbus_connection_send (connection, reply, NULL)) in manager_commit_to_gdl()
3072 dbus_message_unref (reply); in manager_commit_to_gdl()
3261 DBusMessage *reply = NULL; in hald_exec_method_cb() local
3284reply = dbus_message_new_error (message, "org.freedesktop.Hal.Device.UnknownError", "An unknown er… in hald_exec_method_cb()
3286 if (!dbus_connection_send (conn, reply, NULL)) in hald_exec_method_cb()
3289 dbus_message_unref (reply); in hald_exec_method_cb()
3301 reply = dbus_message_new_error (message, exp_name, exp_detail); in hald_exec_method_cb()
3302 if (reply == NULL) { in hald_exec_method_cb()
3304reply = dbus_message_new_error (message, "org.freedesktop.Hal.Device.UnknownError", "An unknown er… in hald_exec_method_cb()
3305 if (reply == NULL) { in hald_exec_method_cb()
3310 if (!dbus_connection_send (conn, reply, NULL)) in hald_exec_method_cb()
3313 dbus_message_unref (reply); in hald_exec_method_cb()
3318 reply = dbus_message_new_method_return (message); in hald_exec_method_cb()
3319 if (reply == NULL) in hald_exec_method_cb()
3322 dbus_message_iter_init_append (reply, &iter); in hald_exec_method_cb()
3326 if (!dbus_connection_send (conn, reply, NULL)) in hald_exec_method_cb()
3330 dbus_message_unref (reply); in hald_exec_method_cb()
3529 DBusMessage *reply; in do_introspect() local
3845 reply = dbus_message_new_method_return (message); in do_introspect()
3850 dbus_message_append_args (reply, in do_introspect()
3856 if (reply == NULL) in do_introspect()
3859 if (!dbus_connection_send (connection, reply, NULL)) in do_introspect()
3862 dbus_message_unref (reply); in do_introspect()
3872 DBusMessage *reply; in reply_from_fwd_message() local
3879 reply = dbus_message_copy (reply_from_addon); in reply_from_fwd_message()
3880 dbus_message_set_destination (reply, dbus_message_get_sender (method_from_caller)); in reply_from_fwd_message()
3881 dbus_message_set_reply_serial (reply, dbus_message_get_serial (method_from_caller)); in reply_from_fwd_message()
3884 dbus_connection_send (dbus_connection, reply, NULL); in reply_from_fwd_message()
3887 dbus_message_unref (reply); in reply_from_fwd_message()
4239 DBusMessage *reply; in local_server_message_handler() local
4242 reply = dbus_message_new_method_return (message); in local_server_message_handler()
4243 if (reply == NULL) in local_server_message_handler()
4245 if (!dbus_connection_send (connection, reply, NULL)) in local_server_message_handler()
4247 dbus_message_unref (reply); in local_server_message_handler()