Lines Matching refs:hash
32 * functions. These functions hash keys, compare keys, delete keys,
57 * UHashElement pointer. A hash element contains a key, value, and
89 * This is a single hash element.
102 * @return A NON-NEGATIVE hash code for parm.
140 UHashFunction *keyHasher; /* Computes hash from key.
200 * @param size The initial capacity of this hash table.
223 uhash_init(UHashtable *hash,
231 * @param hash The UHashtable to close. If hash is NULL no operation is performed.
234 uhash_close(UHashtable *hash);
239 * Set the function used to hash keys.
240 * @param hash The UHashtable to set
241 * @param fn the function to be used hash keys; must not be NULL
245 uhash_setKeyHasher(UHashtable *hash, UHashFunction *fn);
250 * @param hash The UHashtable to set
255 uhash_setKeyComparator(UHashtable *hash, UKeyComparator *fn);
260 * @param hash The UHashtable to set
265 uhash_setValueComparator(UHashtable *hash, UValueComparator *fn);
273 * @param hash The UHashtable to set
278 uhash_setKeyDeleter(UHashtable *hash, UObjectDeleter *fn);
286 * @param hash The UHashtable to set
291 uhash_setValueDeleter(UHashtable *hash, UObjectDeleter *fn);
297 * @param hash The UHashtable to set
301 uhash_setResizePolicy(UHashtable *hash, enum UHashResizePolicy policy);
305 * @param hash The UHashtable to query.
306 * @return The number of key-value pairs stored in hash.
309 uhash_count(const UHashtable *hash);
317 * @param hash The target UHashtable.
325 uhash_put(UHashtable *hash,
335 * @param hash The target UHashtable.
343 uhash_iput(UHashtable *hash,
353 * @param hash The target UHashtable.
361 uhash_puti(UHashtable *hash,
371 * @param hash The target UHashtable.
379 uhash_iputi(UHashtable *hash,
387 * @param hash The target UHashtable.
392 uhash_get(const UHashtable *hash,
398 * @param hash The target UHashtable.
403 uhash_iget(const UHashtable *hash,
409 * @param hash The target UHashtable.
414 uhash_geti(const UHashtable *hash,
419 * @param hash The target UHashtable.
424 uhash_igeti(const UHashtable *hash,
429 * @param hash The target UHashtable.
434 uhash_remove(UHashtable *hash,
439 * @param hash The target UHashtable.
444 uhash_iremove(UHashtable *hash,
449 hash The target UHashtable.
454 uhash_removei(UHashtable *hash,
459 * @param hash The target UHashtable.
464 uhash_iremovei(UHashtable *hash,
469 * @param hash The target UHashtable.
472 uhash_removeAll(UHashtable *hash);
479 * compare, then the hash key may be desired in order to obtain the
481 * @param hash The target UHashtable.
483 * @return a hash element, or NULL if the key is not found.
486 uhash_find(const UHashtable *hash, const void* key);
502 * @param hash The target UHashtable.
505 * @return a hash element, or NULL if no further key-value pairs
509 uhash_nextElement(const UHashtable *hash,
515 * @param hash The hashtable
524 uhash_removeElement(UHashtable *hash, const UHashElement* e);
551 * Generate a hash code for a null-terminated UChar* string. If the
554 * @param key The string (const UChar*) to hash.
555 * @return A hash code for the key.
561 * Generate a hash code for a null-terminated char* string. If the
564 * @param key The string (const char*) to hash.
565 * @return A hash code for the key.
571 * Generate a case-insensitive hash code for a null-terminated char*
574 * @param key The string (const char*) to hash.
575 * @return A hash code for the key.
615 * Hash function for UnicodeString* keys.
616 * @param key The string (const char*) to hash.
617 * @return A hash code for the key.
623 * Hash function for UnicodeString* keys (case insensitive).
625 * @param key The string (const char*) to hash.
626 * @return A hash code for the key.
636 * Hash function for 32-bit integer keys.
637 * @param key The string (const char*) to hash.
638 * @return A hash code for the key.
666 * Checks if the given hash tables are equal or not.