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