Searched refs:nvar (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_io_types.c | 51 nir_foreach_variable(nvar, list) { in get_new_var() 52 if (nvar->data.location == (var->data.location + off)) in get_new_var() 53 return nvar; in get_new_var() 60 nir_variable *nvar = nir_variable_create(state->shader, var->data.mode, in get_new_var() local 63 nvar->name = ralloc_asprintf(nvar, "%s@%u", var->name, off); in get_new_var() 64 nvar->data = var->data; in get_new_var() 65 nvar->data.location += off; in get_new_var() 68 exec_node_remove(&nvar->node); in get_new_var() 69 exec_node_self_link(&nvar->node); /* no delinit() :-( */ in get_new_var() 71 exec_list_push_tail(list, &nvar->node); in get_new_var() [all …]
|
D | nir_lower_io_to_temporaries.c | 127 nir_variable *nvar = ralloc(state->shader, nir_variable); in create_shadow_temp() local 128 memcpy(nvar, var, sizeof *nvar); in create_shadow_temp() 134 ralloc_steal(nvar, nvar->name); in create_shadow_temp() 136 assert(nvar->constant_initializer == NULL); in create_shadow_temp() 140 temp->name = ralloc_asprintf(var, "%s@%s-temp", mode, nvar->name); in create_shadow_temp() 146 return nvar; in create_shadow_temp()
|
D | nir_clone.c | 129 nir_constant_clone(const nir_constant *c, nir_variable *nvar) in nir_constant_clone() argument 131 nir_constant *nc = ralloc(nvar, nir_constant); in nir_constant_clone() 135 nc->elements = ralloc_array(nvar, nir_constant *, c->num_elements); in nir_constant_clone() 137 nc->elements[i] = nir_constant_clone(c->elements[i], nvar); in nir_constant_clone() 149 nir_variable *nvar = rzalloc(shader, nir_variable); in nir_variable_clone() local 151 nvar->type = var->type; in nir_variable_clone() 152 nvar->name = ralloc_strdup(nvar, var->name); in nir_variable_clone() 153 nvar->data = var->data; in nir_variable_clone() 154 nvar->num_state_slots = var->num_state_slots; in nir_variable_clone() 155 nvar->state_slots = ralloc_array(nvar, nir_state_slot, var->num_state_slots); in nir_variable_clone() [all …]
|
D | nir_serialize.c | 121 read_constant(read_ctx *ctx, nir_variable *nvar) in read_constant() argument 123 nir_constant *c = ralloc(nvar, nir_constant); in read_constant() 129 c->elements[i] = read_constant(ctx, nvar); in read_constant()
|
/external/lua/src/ |
D | ldblib.c | 198 int nvar = (int)luaL_checkinteger(L, arg + 2); /* local-variable index */ in db_getlocal() local 201 lua_pushstring(L, lua_getlocal(L, NULL, nvar)); /* push local name */ in db_getlocal() 209 name = lua_getlocal(L1, &ar, nvar); in db_getlocal() 230 int nvar = (int)luaL_checkinteger(L, arg + 2); in db_setlocal() local 237 name = lua_setlocal(L1, &ar, nvar); in db_setlocal()
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
D | VarOptimizer.java | 230 PVariable nvar = function.getName(); in escapeNameOf() local 231 if (!(nvar instanceof ANameVariable)) { in escapeNameOf() 235 String name = ((ANameVariable) nvar).getWord().getText(); in escapeNameOf()
|