Lines Matching defs:name
31 /** Symbol name. */
32 char *name;
35 * Link to the next symbol in the table with the same name
37 * The linked list of symbols with the same name is ordered by scope
100 sym->name);
102 /* If there is a symbol with this name in an outer scope update
105 hte->key = sym->next_with_same_name->name;
109 free(sym->name);
134 find_symbol(struct _mesa_symbol_table *table, const char *name)
136 struct hash_entry *entry = _mesa_hash_table_search(table->ht, name);
151 const char *name)
153 struct symbol *const sym = find_symbol(table, name);
166 const char *name)
168 struct symbol *const sym = find_symbol(table, name);
178 const char *name, void *declaration)
181 struct symbol *sym = find_symbol(table, name);
193 /* Store link to symbol in outer scope with the same name */
195 new_sym->name = sym->name;
197 new_sym->name = strdup(name);
198 if (new_sym->name == NULL) {
211 _mesa_hash_table_insert(table->ht, new_sym->name, new_sym);
218 const char *name,
221 struct symbol *sym = find_symbol(table, name);
233 const char *name, void *declaration)
237 struct symbol *sym = find_symbol(table, name);
245 /* Get symbol from the outer scope with the same name */
267 sym->name = inner_sym->name;
269 sym->name = strdup(name);
270 if (sym->name == NULL) {
282 _mesa_hash_table_insert(table->ht, sym->name, sym);