Lines Matching refs:location_p
70 _dbus_rmutex_new_at_location (DBusRMutex **location_p) in _dbus_rmutex_new_at_location() argument
72 _dbus_assert (location_p != NULL); in _dbus_rmutex_new_at_location()
76 *location_p = _dbus_platform_rmutex_new (); in _dbus_rmutex_new_at_location()
80 *location_p = _DBUS_DUMMY_RMUTEX; in _dbus_rmutex_new_at_location()
82 if (!_dbus_list_append (&uninitialized_rmutex_list, location_p)) in _dbus_rmutex_new_at_location()
83 *location_p = NULL; in _dbus_rmutex_new_at_location()
103 _dbus_cmutex_new_at_location (DBusCMutex **location_p) in _dbus_cmutex_new_at_location() argument
105 _dbus_assert (location_p != NULL); in _dbus_cmutex_new_at_location()
109 *location_p = _dbus_platform_cmutex_new (); in _dbus_cmutex_new_at_location()
113 *location_p = _DBUS_DUMMY_CMUTEX; in _dbus_cmutex_new_at_location()
115 if (!_dbus_list_append (&uninitialized_cmutex_list, location_p)) in _dbus_cmutex_new_at_location()
116 *location_p = NULL; in _dbus_cmutex_new_at_location()
125 _dbus_rmutex_free_at_location (DBusRMutex **location_p) in _dbus_rmutex_free_at_location() argument
127 if (location_p == NULL) in _dbus_rmutex_free_at_location()
132 if (*location_p != NULL) in _dbus_rmutex_free_at_location()
133 _dbus_platform_rmutex_free (*location_p); in _dbus_rmutex_free_at_location()
137 _dbus_assert (*location_p == NULL || *location_p == _DBUS_DUMMY_RMUTEX); in _dbus_rmutex_free_at_location()
139 _dbus_list_remove (&uninitialized_rmutex_list, location_p); in _dbus_rmutex_free_at_location()
149 _dbus_cmutex_free_at_location (DBusCMutex **location_p) in _dbus_cmutex_free_at_location() argument
151 if (location_p == NULL) in _dbus_cmutex_free_at_location()
156 if (*location_p != NULL) in _dbus_cmutex_free_at_location()
157 _dbus_platform_cmutex_free (*location_p); in _dbus_cmutex_free_at_location()
161 _dbus_assert (*location_p == NULL || *location_p == _DBUS_DUMMY_CMUTEX); in _dbus_cmutex_free_at_location()
163 _dbus_list_remove (&uninitialized_cmutex_list, location_p); in _dbus_cmutex_free_at_location()
244 _dbus_condvar_new_at_location (DBusCondVar **location_p) in _dbus_condvar_new_at_location() argument
246 _dbus_assert (location_p != NULL); in _dbus_condvar_new_at_location()
250 *location_p = _dbus_condvar_new(); in _dbus_condvar_new_at_location()
254 *location_p = _DBUS_DUMMY_CONDVAR; in _dbus_condvar_new_at_location()
256 if (!_dbus_list_append (&uninitialized_condvar_list, location_p)) in _dbus_condvar_new_at_location()
257 *location_p = NULL; in _dbus_condvar_new_at_location()
279 _dbus_condvar_free_at_location (DBusCondVar **location_p) in _dbus_condvar_free_at_location() argument
281 if (location_p == NULL) in _dbus_condvar_free_at_location()
286 if (*location_p != NULL) in _dbus_condvar_free_at_location()
287 _dbus_platform_condvar_free (*location_p); in _dbus_condvar_free_at_location()
291 _dbus_assert (*location_p == NULL || *location_p == _DBUS_DUMMY_CONDVAR); in _dbus_condvar_free_at_location()
293 _dbus_list_remove (&uninitialized_condvar_list, location_p); in _dbus_condvar_free_at_location()