Lines Matching refs:bucket
159 DBusHashEntry ***bucket,
215 DBusHashEntry **bucket; /**< Pointer to bucket that points to member
228 DBusHashEntry ***bucket,
233 DBusHashEntry ***bucket,
239 DBusHashEntry ***bucket,
249 DBusHashEntry **bucket,
472 DBusHashEntry **bucket, in remove_entry() argument
476 _dbus_assert (bucket != NULL); in remove_entry()
477 _dbus_assert (*bucket != NULL); in remove_entry()
480 if (*bucket == entry) in remove_entry()
481 *bucket = entry->next; in remove_entry()
485 prev = *bucket; in remove_entry()
541 real->bucket = NULL; in _dbus_hash_iter_init()
579 real->bucket = NULL; in _dbus_hash_iter_next()
583 real->bucket = &(real->table->buckets[real->next_bucket]); in _dbus_hash_iter_next()
584 real->next_entry = *(real->bucket); in _dbus_hash_iter_next()
589 _dbus_assert (real->bucket != NULL); in _dbus_hash_iter_next()
614 _dbus_assert (real->bucket != NULL); in _dbus_hash_iter_remove_entry()
616 remove_entry (real->table, real->bucket, real->entry); in _dbus_hash_iter_remove_entry()
781 DBusHashEntry **bucket; in _dbus_hash_iter_lookup() local
787 entry = (* table->find_function) (table, key, create_if_not_found, &bucket, NULL); in _dbus_hash_iter_lookup()
793 real->bucket = bucket; in _dbus_hash_iter_lookup()
796 real->next_bucket = (bucket - table->buckets) + 1; in _dbus_hash_iter_lookup()
799 _dbus_assert (&(table->buckets[real->next_bucket-1]) == real->bucket); in _dbus_hash_iter_lookup()
809 DBusHashEntry ***bucket) in add_allocated_entry() argument
819 if (bucket) in add_allocated_entry()
820 *bucket = b; in add_allocated_entry()
836 DBusHashEntry ***bucket, in add_entry() argument
846 if (bucket) in add_entry()
847 *bucket = NULL; in add_entry()
856 add_allocated_entry (table, entry, idx, key, bucket); in add_entry()
907 DBusHashEntry ***bucket, in find_generic_function() argument
912 if (bucket) in find_generic_function()
913 *bucket = NULL; in find_generic_function()
922 if (bucket) in find_generic_function()
923 *bucket = &(table->buckets[idx]); in find_generic_function()
935 entry = add_entry (table, idx, key, bucket, preallocated); in find_generic_function()
946 DBusHashEntry ***bucket, in find_string_function() argument
954 (KeyCompareFunc) strcmp, create_if_not_found, bucket, in find_string_function()
983 DBusHashEntry ***bucket, in find_two_strings_function() argument
991 (KeyCompareFunc) two_strings_cmp, create_if_not_found, bucket, in find_two_strings_function()
1000 DBusHashEntry ***bucket, in find_direct_function() argument
1009 NULL, create_if_not_found, bucket, in find_direct_function()
1102 DBusHashEntry **bucket; in rebuild_table() local
1129 bucket = &(table->buckets[idx]); in rebuild_table()
1130 entry->next = *bucket; in rebuild_table()
1131 *bucket = entry; in rebuild_table()
1284 DBusHashEntry **bucket; in _dbus_hash_table_remove_string() local
1288 entry = (* table->find_function) (table, (char*) key, FALSE, &bucket, NULL); in _dbus_hash_table_remove_string()
1292 remove_entry (table, bucket, entry); in _dbus_hash_table_remove_string()
1313 DBusHashEntry **bucket; in _dbus_hash_table_remove_two_strings() local
1317 entry = (* table->find_function) (table, (char*) key, FALSE, &bucket, NULL); in _dbus_hash_table_remove_two_strings()
1321 remove_entry (table, bucket, entry); in _dbus_hash_table_remove_two_strings()
1342 DBusHashEntry **bucket; in _dbus_hash_table_remove_int() local
1346 entry = (* table->find_function) (table, _DBUS_INT_TO_POINTER (key), FALSE, &bucket, NULL); in _dbus_hash_table_remove_int()
1350 remove_entry (table, bucket, entry); in _dbus_hash_table_remove_int()
1372 DBusHashEntry **bucket; in _dbus_hash_table_remove_pointer() local
1376 entry = (* table->find_function) (table, key, FALSE, &bucket, NULL); in _dbus_hash_table_remove_pointer()
1380 remove_entry (table, bucket, entry); in _dbus_hash_table_remove_pointer()
1401 DBusHashEntry **bucket; in _dbus_hash_table_remove_uintptr() local
1405 entry = (* table->find_function) (table, (void*) key, FALSE, &bucket, NULL); in _dbus_hash_table_remove_uintptr()
1409 remove_entry (table, bucket, entry); in _dbus_hash_table_remove_uintptr()