Lines Matching +defs:table +defs:string
26 /* Calculate the hash of a string. */
45 hash_string_insert_prefix (Hash_table **table, char const *string, size_t len,
48 Hash_table *t = *table;
55 memcpy (s, string, len);
59 s = xstrdup (string);
62 || (*table = t = hash_initialize (0, 0, hash_string_hasher,
83 hash_string_insert (Hash_table **table, char const *string)
85 return hash_string_insert_prefix (table, string, 0, NULL);
90 hash_string_lookup (Hash_table const *table, char const *string)
92 return table && hash_lookup (table, string);