• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/

Lines Matching defs:preallocated

1943   DBusPreallocatedSend *preallocated;
1949 preallocated = dbus_new (DBusPreallocatedSend, 1);
1950 if (preallocated == NULL)
1953 preallocated->queue_link = _dbus_list_alloc_link (NULL);
1954 if (preallocated->queue_link == NULL)
1957 preallocated->counter_link = _dbus_list_alloc_link (connection->outgoing_counter);
1958 if (preallocated->counter_link == NULL)
1961 _dbus_counter_ref (preallocated->counter_link->data);
1963 preallocated->connection = connection;
1965 return preallocated;
1968 _dbus_list_free_link (preallocated->queue_link);
1970 dbus_free (preallocated);
1978 DBusPreallocatedSend *preallocated,
1984 preallocated->queue_link->data = message;
1986 preallocated->queue_link);
1991 preallocated->counter_link);
1993 dbus_free (preallocated);
1994 preallocated = NULL;
2052 DBusPreallocatedSend *preallocated,
2061 preallocated,
2085 DBusPreallocatedSend *preallocated;
2090 preallocated = _dbus_connection_preallocate_send_unlocked (connection);
2091 if (preallocated == NULL)
2098 preallocated,
3117 * @returns the preallocated resources, or #NULL
3122 DBusPreallocatedSend *preallocated;
3128 preallocated =
3133 return preallocated;
3137 * Frees preallocated message-sending resources from
3139 * be called if the preallocated resources are not used
3143 * @param preallocated the resources
3147 DBusPreallocatedSend *preallocated)
3150 _dbus_return_if_fail (preallocated != NULL);
3151 _dbus_return_if_fail (connection == preallocated->connection);
3153 _dbus_list_free_link (preallocated->queue_link);
3154 _dbus_counter_unref (preallocated->counter_link->data);
3155 _dbus_list_free_link (preallocated->counter_link);
3156 dbus_free (preallocated);
3160 * Sends a message using preallocated resources. This function cannot fail.
3163 * This function "consumes" the preallocated resources, they need not
3167 * @param preallocated the preallocated resources
3173 DBusPreallocatedSend *preallocated,
3178 _dbus_return_if_fail (preallocated != NULL);
3180 _dbus_return_if_fail (preallocated->connection == connection);
3204 preallocated,
3213 DBusPreallocatedSend *preallocated;
3218 preallocated = _dbus_connection_preallocate_send_unlocked (connection);
3219 if (preallocated == NULL)
3223 preallocated,
4688 DBusPreallocatedSend *preallocated;
4735 preallocated = _dbus_connection_preallocate_send_unlocked (connection);
4737 if (preallocated == NULL)
4748 _dbus_connection_send_preallocated_unlocked_no_update (connection, preallocated,