Home
last modified time | relevance | path

Searched refs:loop_var (Results 1 – 4 of 4) sorted by relevance

/third_party/gn/src/gn/
Dfunction_foreach.cc65 std::string_view loop_var(identifier->value().value()); in RunForEach() local
86 const Value* old_loop_value_ptr = scope->GetValue(loop_var); in RunForEach()
92 scope->SetValue(loop_var, cur, function); in RunForEach()
102 scope->SetValue(loop_var, std::move(old_loop_value), in RunForEach()
106 scope->RemoveIdentifier(loop_var); in RunForEach()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_tess.c234 nir_variable *loop_var = NULL; in dxil_nir_split_tess_ctrl() local
244 if (!loop_var) { in dxil_nir_split_tess_ctrl()
245loop_var = nir_local_variable_create(patch_const_func_impl, glsl_int_type(), "PatchConstInvocId"); in dxil_nir_split_tess_ctrl()
247 loop_var_deref = nir_build_deref_var(&b, loop_var); in dxil_nir_split_tess_ctrl()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_glsl.cpp14233 for (auto &loop_var : block.loop_variables) in emit_while_loop_initializers() local
14235 auto &var = get<SPIRVariable>(loop_var); in emit_while_loop_initializers()
14267 for (auto &loop_var : block.loop_variables) in emit_for_loop_initializers() local
14268 statement(variable_decl(get<SPIRVariable>(loop_var)), ";"); in emit_for_loop_initializers()
14277 for (auto &loop_var : block.loop_variables) in emit_for_loop_initializers() local
14279 uint32_t static_expr = get<SPIRVariable>(loop_var).static_expression; in emit_for_loop_initializers()
14282 statement(variable_decl(get<SPIRVariable>(loop_var)), ";"); in emit_for_loop_initializers()
14286 auto &var = get<SPIRVariable>(loop_var); in emit_for_loop_initializers()
14302 expr += join(to_name(loop_var), " = ", to_pointer_expression(var.static_expression)); in emit_for_loop_initializers()
/third_party/gn/docs/
Dreference.md2438 foreach(<loop_var>, <list>) {
2443 loop_var to each item in sequence. The <loop_var> will be a copy so assigning