Lines Matching refs:entry
33 void *entry = ralloc_size(ctx, size);
34 assert(entry != NULL);
35 return entry;
39 static void operator delete(void *entry)
41 ralloc_free(entry);
90 * the current scope, just update the existing entry to include 'v'.
97 /* If not declared at this scope, add a new entry. But if an existing
98 * entry includes a function, propagate that to this block - otherwise
101 symbol_table_entry *entry = new(mem_ctx) symbol_table_entry(v);
103 entry->f = existing->f;
104 int added = _mesa_symbol_table_add_symbol(table, -1, v->name, entry);
113 symbol_table_entry *entry = new(mem_ctx) symbol_table_entry(v);
114 return _mesa_symbol_table_add_symbol(table, -1, v->name, entry) == 0;
119 symbol_table_entry *entry = new(mem_ctx) symbol_table_entry(t);
120 return _mesa_symbol_table_add_symbol(table, -1, name, entry) == 0;
133 symbol_table_entry *entry = new(mem_ctx) symbol_table_entry(f);
134 return _mesa_symbol_table_add_symbol(table, -1, f->name, entry) == 0;
139 symbol_table_entry *entry = new(mem_ctx) symbol_table_entry(u);
140 return _mesa_symbol_table_add_symbol(table, -1, u->Name, entry) == 0;
145 symbol_table_entry *entry = new(mem_ctx) symbol_table_entry(f);
146 int added = _mesa_symbol_table_add_global_symbol(table, -1, f->name, entry);
153 symbol_table_entry *entry = get_entry(name);
154 return entry != NULL ? entry->v : NULL;
159 symbol_table_entry *entry = get_entry(name);
160 return entry != NULL ? entry->t : NULL;
165 symbol_table_entry *entry = get_entry(name);
166 return entry != NULL ? entry->f : NULL;