Home | History | Annotate | Download | only in common

Lines Matching full:hash

29  * functions.  These functions hash keys, compare keys, delete keys,
54 * UHashElement pointer. A hash element contains a key, value, and
95 * This is a single hash element.
108 * @return A NON-NEGATIVE hash code for parm.
158 UHashFunction *keyHasher; /* Computes hash from key.
218 * @param size The initial capacity of this hash table.
241 uhash_init(UHashtable *hash,
249 * @param hash The UHashtable to close. If hash is NULL no operation is performed.
252 uhash_close(UHashtable *hash);
257 * Set the function used to hash keys.
258 * @param hash The UHashtable to set
259 * @param fn the function to be used hash keys; must not be NULL
263 uhash_setKeyHasher(UHashtable *hash, UHashFunction *fn);
268 * @param hash The UHashtable to set
273 uhash_setKeyComparator(UHashtable *hash, UKeyComparator *fn);
278 * @param hash The UHashtable to set
283 uhash_setValueComparator(UHashtable *hash, UValueComparator *fn);
291 * @param hash The UHashtable to set
296 uhash_setKeyDeleter(UHashtable *hash, UObjectDeleter *fn);
304 * @param hash The UHashtable to set
309 uhash_setValueDeleter(UHashtable *hash, UObjectDeleter *fn);
315 * @param hash The UHashtable to set
319 uhash_setResizePolicy(UHashtable *hash, enum UHashResizePolicy policy);
323 * @param hash The UHashtable to query.
324 * @return The number of key-value pairs stored in hash.
327 uhash_count(const UHashtable *hash);
335 * @param hash The target UHashtable.
343 uhash_put(UHashtable *hash,
353 * @param hash The target UHashtable.
361 uhash_iput(UHashtable *hash,
371 * @param hash The target UHashtable.
379 uhash_puti(UHashtable *hash,
389 * @param hash The target UHashtable.
397 uhash_iputi(UHashtable *hash,
405 * @param hash The target UHashtable.
410 uhash_get(const UHashtable *hash,
416 * @param hash The target UHashtable.
421 uhash_iget(const UHashtable *hash,
427 * @param hash The target UHashtable.
432 uhash_geti(const UHashtable *hash,
437 * @param hash The target UHashtable.
442 uhash_igeti(const UHashtable *hash,
447 * @param hash The target UHashtable.
452 uhash_remove(UHashtable *hash,
457 * @param hash The target UHashtable.
462 uhash_iremove(UHashtable *hash,
467 * @param hash The target UHashtable.
472 uhash_removei(UHashtable *hash,
477 * @param hash The target UHashtable.
482 uhash_iremovei(UHashtable *hash,
487 * @param hash The target UHashtable.
490 uhash_removeAll(UHashtable *hash);
497 * compare, then the hash key may be desired in order to obtain the
499 * @param hash The target UHashtable.
501 * @return a hash element, or NULL if the key is not found.
504 uhash_find(const UHashtable *hash, const void* key);
513 * @param hash The target UHashtable.
516 * @return a hash element, or NULL if no further key-value pairs
520 uhash_nextElement(const UHashtable *hash,
526 * @param hash The hashtable
535 uhash_removeElement(UHashtable *hash, const UHashElement* e);
562 * Generate a hash code for a null-terminated UChar* string. If the
565 * @param key The string (const UChar*) to hash.
566 * @return A hash code for the key.
572 * Generate a hash code for a null-terminated char* string. If the
575 * @param key The string (const char*) to hash.
576 * @return A hash code for the key.
586 * Generate a case-insensitive hash code for a null-terminated char*
589 * @param key The string (const char*) to hash.
590 * @return A hash code for the key.
630 * Hash function for UnicodeString* keys.
631 * @param key The string (const char*) to hash.
632 * @return A hash code for the key.
638 * Hash function for UnicodeString* keys (case insensitive).
640 * @param key The string (const char*) to hash.
641 * @return A hash code for the key.
677 * Hash function for 32-bit integer keys.
678 * @param key The string (const char*) to hash.
679 * @return A hash code for the key.
720 * Checks if the given hash tables are equal or not.