Lines Matching refs:e
66 for (struct stringtable_entry *e = table->entries[i]; e != NULL; ) in stringtable_rehash() local
68 struct stringtable_entry *next = e->next; in stringtable_rehash()
69 uint32_t hash = fnv1a (e->string, e->length); in stringtable_rehash()
71 e->next = new_entries[new_index]; in stringtable_rehash()
72 new_entries[new_index] = e; in stringtable_rehash()
73 e = next; in stringtable_rehash()
94 for (struct stringtable_entry *e in stringtable_add() local
96 e != NULL; e = e->next) in stringtable_add()
97 if (e->length == length && memcmp (e->string, string, length) == 0) in stringtable_add()
98 return e; in stringtable_add()
109 struct stringtable_entry *e in stringtable_add() local
112 e->next = table->entries[index]; in stringtable_add()
113 table->entries[index] = e; in stringtable_add()
114 e->length = length; in stringtable_add()
115 e->offset = 0; in stringtable_add()
116 memcpy (e->string, string, length + 1); in stringtable_add()
117 return e; in stringtable_add()
164 for (struct stringtable_entry *e = table->entries[i]; e != NULL; in stringtable_finalize() local
165 e = e->next) in stringtable_finalize()
167 array[j] = e; in stringtable_finalize()
205 for (struct stringtable_entry *e = table->entries[i]; e != NULL; in stringtable_finalize() local
206 e = e->next) in stringtable_finalize()
207 if (result->strings[e->offset] == '\0') in stringtable_finalize()
208 memcpy (&result->strings[e->offset], e->string, e->length + 1); in stringtable_finalize()