• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/glib/

Lines Matching refs:GHashTable

80 static void		g_hash_table_resize	  (GHashTable	  *hash_table);
81 static GHashNode** g_hash_table_lookup_node (GHashTable *hash_table,
92 static guint g_hash_table_foreach_remove_or_steal (GHashTable *hash_table,
103 * #GHashTable data structure. The g_direct_hash(), g_int_hash() and
107 * used when looking up keys in the #GHashTable. The g_direct_equal(),
113 * Creates a new #GHashTable with a reference count of 1.
115 * Return value: a new #GHashTable.
117 GHashTable*
130 * used when removing the entry from the #GHashTable or %NULL if you
133 * value used when removing the entry from the #GHashTable or %NULL if
136 * Creates a new #GHashTable like g_hash_table_new() with a reference count
138 * key and value that get called when removing the entry from the #GHashTable.
140 * Return value: a new #GHashTable.
142 GHashTable*
148 GHashTable *hash_table;
150 hash_table = g_slice_new (GHashTable);
167 * @hash_table: a valid #GHashTable.
172 * Return value: the passed in #GHashTable.
176 GHashTable*
177 g_hash_table_ref (GHashTable *hash_table)
188 * @hash_table: a valid #GHashTable.
198 g_hash_table_unref (GHashTable *hash_table)
212 g_slice_free (GHashTable, hash_table);
218 * @hash_table: a #GHashTable.
220 * Destroys all keys and values in the #GHashTable and decrements its
222 * you should either free them first or create the #GHashTable with destroy
228 g_hash_table_destroy (GHashTable *hash_table)
240 g_hash_table_lookup_node (GHashTable *hash_table,
265 * @hash_table: a #GHashTable.
268 * Looks up a key in a #GHashTable. Note that this function cannot
276 g_hash_table_lookup (GHashTable *hash_table,
292 * @hash_table: a #GHashTable.
297 * Looks up a key in the #GHashTable, returning the original key and the
302 * Return value: %TRUE if the key was found in the #GHashTable.
305 g_hash_table_lookup_extended (GHashTable *hash_table,
332 * @hash_table: a #GHashTable.
336 * Inserts a new key and value into a #GHashTable.
338 * If the key already exists in the #GHashTable its current value is replaced
340 * #GHashTable, the old value is freed using that function. If you supplied
341 * a @key_destroy_func when creating the #GHashTable, the passed key is freed
345 g_hash_table_insert (GHashTable *hash_table,
384 * @hash_table: a #GHashTable.
388 * Inserts a new key and value into a #GHashTable similar to
390 * in the #GHashTable, it gets replaced by the new key. If you supplied a
391 * @value_destroy_func when creating the #GHashTable, the old value is freed
393 * #GHashTable, the old key is freed using that function.
396 g_hash_table_replace (GHashTable *hash_table,
428 * @hash_table: a #GHashTable.
431 * Removes a key and its associated value from a #GHashTable.
433 * If the #GHashTable was created using g_hash_table_new_full(), the
438 * Return value: %TRUE if the key was found and removed from the #GHashTable.
441 g_hash_table_remove (GHashTable *hash_table,
468 * @hash_table: a #GHashTable
470 * Removes all keys and their associated values from a #GHashTable.
472 * If the #GHashTable was created using g_hash_table_new_full(), the keys
480 g_hash_table_remove_all (GHashTable *hash_table)
500 * @hash_table: a #GHashTable.
503 * Removes a key and its associated value from a #GHashTable without
506 * Return value: %TRUE if the key was found and removed from the #GHashTable.
509 g_hash_table_steal (GHashTable *hash_table,
534 * @hash_table: a #GHashTable.
536 * Removes all keys and their associated values from a #GHashTable
542 g_hash_table_steal_all (GHashTable *hash_table)
561 * @hash_table: a #GHashTable.
565 * Calls the given function for each key/value pair in the #GHashTable.
567 * #GHashTable. If you supplied key or value destroy functions when creating
568 * the #GHashTable, they are used to free the memory allocated for the removed
574 g_hash_table_foreach_remove (GHashTable *hash_table,
586 * @hash_table: a #GHashTable.
590 * Calls the given function for each key/value pair in the #GHashTable.
592 * #GHashTable, but no key or value destroy functions are called.
597 g_hash_table_foreach_steal (GHashTable *hash_table,
608 g_hash_table_foreach_remove_or_steal (GHashTable *hash_table,
658 * @hash_table: a #GHashTable.
663 * #GHashTable. The function is passed the key and value of each
670 g_hash_table_foreach (GHashTable *hash_table,
687 * @hash_table: a #GHashTable.
691 * Calls the given function for key/value pairs in the #GHashTable until
703 g_hash_table_find (GHashTable *hash_table,
722 * @hash_table: a #GHashTable.
724 * Returns the number of elements contained in the #GHashTable.
726 * Return value: the number of key/value pairs in the #GHashTable.
729 g_hash_table_size (GHashTable *hash_table)
739 g_hash_table_resize (GHashTable *hash_table)