Lines Matching refs:entry
29 struct type_list_entry *entry; in type_list_free() local
32 list_for_each_entry_safe(entry, tmp, list, list) { in type_list_free()
33 if (entry->owned) in type_list_free()
34 free(entry->owned); in type_list_free()
35 free(entry); in type_list_free()
43 struct type_list_entry *entry; in type_list_append() local
48 entry = xmalloc(sizeof(*entry)); in type_list_append()
49 entry->str = s; in type_list_append()
50 entry->owned = owned; in type_list_append()
51 list_add_tail(&entry->list, list); in type_list_append()
53 return strlen(entry->str); in type_list_append()
58 struct type_list_entry *entry; in type_list_write() local
60 list_for_each_entry(entry, list, list) { in type_list_write()
61 if (entry->str) in type_list_write()
62 checkp(fputs(entry->str, file)); in type_list_write()
325 struct type_list_entry *entry; in __calculate_version() local
329 list_for_each_entry(entry, &type->expanded, list) { in __calculate_version()
330 if (is_type_prefix(entry->str)) { in __calculate_version()
331 if (type_map_get(entry->str, &e)) in __calculate_version()
333 entry->str, type->name); in __calculate_version()
340 version_add(version, entry->str); in __calculate_version()
346 version_add(version, entry->str); in __calculate_version()