Lines Matching full:ste

79 	struct _Elftc_String_Table_Entry *ste;  in elftc_string_table_find_hash_entry()  local
88 SLIST_FOREACH(ste, &st->st_buckets[hashindex], ste_next) { in elftc_string_table_find_hash_entry()
89 s = st->st_string_pool + labs(ste->ste_idx); in elftc_string_table_find_hash_entry()
95 return (ste); in elftc_string_table_find_hash_entry()
236 struct _Elftc_String_Table_Entry *ste; in elftc_string_table_image() local
267 ste = elftc_string_table_find_hash_entry(st, s, in elftc_string_table_image()
271 assert(ste != NULL); in elftc_string_table_image()
274 if (ste->ste_idx < 0) { in elftc_string_table_image()
275 SLIST_REMOVE(head, ste, _Elftc_String_Table_Entry, in elftc_string_table_image()
277 free(ste); in elftc_string_table_image()
292 ste->ste_idx = offset; in elftc_string_table_image()
307 struct _Elftc_String_Table_Entry *ste; in elftc_string_table_insert() local
313 ste = elftc_string_table_find_hash_entry(st, string, &hashindex); in elftc_string_table_insert()
317 if (ste == NULL) { in elftc_string_table_insert()
318 if ((ste = malloc(sizeof(*ste))) == NULL) in elftc_string_table_insert()
320 if ((ste->ste_idx = elftc_string_table_add_to_pool(st, in elftc_string_table_insert()
322 free(ste); in elftc_string_table_insert()
326 SLIST_INSERT_HEAD(&st->st_buckets[hashindex], ste, ste_next); in elftc_string_table_insert()
329 idx = ste->ste_idx; in elftc_string_table_insert()
331 ste->ste_idx = idx = -idx; in elftc_string_table_insert()
339 struct _Elftc_String_Table_Entry *ste; in elftc_string_table_lookup() local
343 ste = elftc_string_table_find_hash_entry(st, string, &hashindex); in elftc_string_table_lookup()
347 if (ste == NULL || (idx = ste->ste_idx) < 0) in elftc_string_table_lookup()
356 struct _Elftc_String_Table_Entry *ste; in elftc_string_table_remove() local
359 ste = elftc_string_table_find_hash_entry(st, string, NULL); in elftc_string_table_remove()
361 if (ste == NULL || (idx = ste->ste_idx) < 0) in elftc_string_table_remove()
366 ste->ste_idx = -idx; in elftc_string_table_remove()