Lines Matching refs:to_send
1917 MessageToSend *to_send) in message_to_send_free() argument
1919 if (to_send->message) in message_to_send_free()
1920 dbus_message_unref (to_send->message); in message_to_send_free()
1922 if (to_send->preallocated) in message_to_send_free()
1923 dbus_connection_free_preallocated_send (connection, to_send->preallocated); in message_to_send_free()
1925 dbus_free (to_send); in message_to_send_free()
2033 MessageToSend *to_send; in bus_transaction_send() local
2058 to_send = dbus_new (MessageToSend, 1); in bus_transaction_send()
2059 if (to_send == NULL) in bus_transaction_send()
2064 to_send->preallocated = dbus_connection_preallocate_send (connection); in bus_transaction_send()
2065 if (to_send->preallocated == NULL) in bus_transaction_send()
2067 dbus_free (to_send); in bus_transaction_send()
2072 to_send->message = message; in bus_transaction_send()
2073 to_send->transaction = transaction; in bus_transaction_send()
2077 if (!_dbus_list_prepend (&d->transaction_messages, to_send)) in bus_transaction_send()
2079 message_to_send_free (connection, to_send); in bus_transaction_send()
2090 _dbus_assert (link->data == to_send); in bus_transaction_send()
2107 _dbus_list_remove (&d->transaction_messages, to_send); in bus_transaction_send()
2108 message_to_send_free (connection, to_send); in bus_transaction_send()
2225 MessageToSend *to_send; in bus_connection_remove_transactions() local
2231 while ((to_send = _dbus_list_get_first (&d->transaction_messages))) in bus_connection_remove_transactions()
2234 _dbus_list_remove (&to_send->transaction->connections, in bus_connection_remove_transactions()
2237 _dbus_list_remove (&d->transaction_messages, to_send); in bus_connection_remove_transactions()
2238 message_to_send_free (connection, to_send); in bus_connection_remove_transactions()