Lines Matching refs:hash_table
48 fill_hash_table_and_array (GHashTable *hash_table)
55 g_hash_table_insert (hash_table, &array[i], &array[i]);
386 GHashTable *hash_table;
396 hash_table = g_hash_table_new (my_hash, my_hash_equal);
397 fill_hash_table_and_array (hash_table);
398 pvalue = g_hash_table_find (hash_table, find_first, &value);
402 keys = g_hash_table_get_keys (hash_table);
406 values = g_hash_table_get_values (hash_table);
412 if (values_len != keys_len && keys_len != g_hash_table_size (hash_table))
419 g_hash_table_iter_init (&iter, hash_table);
430 g_assert (g_hash_table_size (hash_table) == 5000);
433 fill_hash_table_and_array (hash_table);
436 g_hash_table_foreach (hash_table, my_hash_callback, result_array);
440 g_hash_table_remove (hash_table, &array[i]);
442 fill_hash_table_and_array (hash_table);
444 if (g_hash_table_foreach_remove (hash_table, my_hash_callback_remove, NULL) != 5000 ||
445 g_hash_table_size (hash_table) != 5000)
448 g_hash_table_foreach (hash_table, my_hash_callback_remove_test, NULL);
451 g_hash_table_destroy (hash_table);