Lines Matching full:hash
32 * functions. These functions hash keys, compare keys, delete keys,
57 * UHashElement pointer. A hash element contains a key, value, and
92 * This is a single hash element.
105 * @return A NON-NEGATIVE hash code for parm.
143 UHashFunction *keyHasher; /* Computes hash from key.
203 * @param size The initial capacity of this hash table.
226 uhash_init(UHashtable *hash,
234 * @param hash The UHashtable to close. If hash is NULL no operation is performed.
237 uhash_close(UHashtable *hash);
242 * Set the function used to hash keys.
243 * @param hash The UHashtable to set
244 * @param fn the function to be used hash keys; must not be NULL
248 uhash_setKeyHasher(UHashtable *hash, UHashFunction *fn);
253 * @param hash The UHashtable to set
258 uhash_setKeyComparator(UHashtable *hash, UKeyComparator *fn);
263 * @param hash The UHashtable to set
268 uhash_setValueComparator(UHashtable *hash, UValueComparator *fn);
276 * @param hash The UHashtable to set
281 uhash_setKeyDeleter(UHashtable *hash, UObjectDeleter *fn);
289 * @param hash The UHashtable to set
294 uhash_setValueDeleter(UHashtable *hash, UObjectDeleter *fn);
300 * @param hash The UHashtable to set
304 uhash_setResizePolicy(UHashtable *hash, enum UHashResizePolicy policy);
308 * @param hash The UHashtable to query.
309 * @return The number of key-value pairs stored in hash.
312 uhash_count(const UHashtable *hash);
320 * @param hash The target UHashtable.
328 uhash_put(UHashtable *hash,
338 * @param hash The target UHashtable.
346 uhash_iput(UHashtable *hash,
356 * @param hash The target UHashtable.
364 uhash_puti(UHashtable *hash,
374 * @param hash The target UHashtable.
382 uhash_iputi(UHashtable *hash,
390 * @param hash The target UHashtable.
395 uhash_get(const UHashtable *hash,
401 * @param hash The target UHashtable.
406 uhash_iget(const UHashtable *hash,
412 * @param hash The target UHashtable.
417 uhash_geti(const UHashtable *hash,
422 * @param hash The target UHashtable.
427 uhash_igeti(const UHashtable *hash,
432 * @param hash The target UHashtable.
437 uhash_remove(UHashtable *hash,
442 * @param hash The target UHashtable.
447 hash,
452 * @param hash The target UHashtable.
457 uhash_removei(UHashtable *hash,
462 * @param hash The target UHashtable.
467 uhash_iremovei(UHashtable *hash,
472 * @param hash The target UHashtable.
475 uhash_removeAll(UHashtable *hash);
482 * compare, then the hash key may be desired in order to obtain the
484 * @param hash The target UHashtable.
486 * @return a hash element, or NULL if the key is not found.
489 uhash_find(const UHashtable *hash, const void* key);
505 * @param hash The target UHashtable.
508 * @return a hash element, or NULL if no further key-value pairs
512 uhash_nextElement(const UHashtable *hash,
518 * @param hash The hashtable
527 uhash_removeElement(UHashtable *hash, const UHashElement* e);
554 * Generate a hash code for a null-terminated UChar* string. If the
557 * @param key The string (const UChar*) to hash.
558 * @return A hash code for the key.
564 * Generate a hash code for a null-terminated char* string. If the
567 * @param key The string (const char*) to hash.
568 * @return A hash code for the key.
574 * Generate a case-insensitive hash code for a null-terminated char*
577 * @param key The string (const char*) to hash.
578 * @return A hash code for the key.
618 * Hash function for UnicodeString* keys.
619 * @param key The string (const char*) to hash.
620 * @return A hash code for the key.
626 * Hash function for UnicodeString* keys (case insensitive).
628 * @param key The string (const char*) to hash.
629 * @return A hash code for the key.
639 * Hash function for 32-bit integer keys.
640 * @param key The string (const char*) to hash.
641 * @return A hash code for the key.
669 * Checks if the given hash tables are equal or not.