Home | History | Annotate | Download | only in common

Lines Matching full:value

19  * UHashtable stores key-value pairs and does moderately fast lookup
35 * by whether or not the key deleter and value deleter functions are
38 * key deleter function pointer to a non-NULL value. If this is done,
42 * and the value deleter function pointer. Keys passed to methods
46 * a key that is not in the table, and having a NULL value in the
48 * value is passed to uhash_put(), this has the effect of doing a
54 * UHashElement pointer. A hash element contains a key, value, and
79 * A key or value within the hashtable. It may be either a 32-bit
80 * integral value or an opaque void* pointer. The void* pointer may
86 * integer, we pass it around by value.
100 UHashTok value;
131 * an existing key or value.
132 * @param obj A key or value stored in a hashtable
152 /* Main key-value pair storage array */
171 int32_t count; /* The number of key-value pairs in this table.
306 * @return the previous value deleter; may be NULL
322 * Get the number of key-value pairs stored in a UHashtable.
324 * @return The number of key-value pairs stored in hash.
330 * Put a (key=pointer, value=pointer) item in a UHashtable. If the
333 * 'value' after this call. Storing a NULL value is the same as
337 * @param value The value to store, may be NULL (see above).
339 * @return The previous value, or NULL if none.
345 void *value,
349 * Put a (key=integer, value=pointer) item in a UHashtable.
351 * hashtable owns 'value' after this call. Storing a NULL value is
355 * @param value The value to store, may be NULL (see above).
357 * @return The previous value, or NULL if none.
363 void* value,
367 * Put a (key=pointer, value=integer) item in a UHashtable. If the
369 * call. valueDeleter must be NULL. Storing a 0 value is the same as
373 * @param value The integer value to store.
375 * @return The previous value, or 0 if none.
381 int32_t value,
385 * Put a (key=integer, value=integer) item in a UHashtable. If the
387 * call. valueDeleter must be NULL. Storing a 0 value is the same as
391 * @param value The integer value to store.
393 * @return The previous value, or 0 if none.
399 int32_t value,
403 * Retrieve a pointer value from a UHashtable using a pointer key,
414 * Retrieve a pointer value from a UHashtable using a integer key,
425 * Retrieve an integer value from a UHashtable using a pointer key,
435 * Retrieve an integer value from a UHashtable using an integer key,
516 * @return a hash element, or NULL if no further key-value pairs
532 * @return the value that was removed.
712 * Deleter for any key or value allocated using uprv_malloc. Calls