/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_parse.c | 109 struct tgsi_full_declaration *decl = &ctx->FullToken.FullDeclaration; in tgsi_parse_token() local 111 memset(decl, 0, sizeof *decl); in tgsi_parse_token() 112 copy_token(&decl->Declaration, &token); in tgsi_parse_token() 114 next_token( ctx, &decl->Range ); in tgsi_parse_token() 116 if (decl->Declaration.Dimension) { in tgsi_parse_token() 117 next_token(ctx, &decl->Dim); in tgsi_parse_token() 120 if (decl->Declaration.Interpolate) { in tgsi_parse_token() 121 next_token( ctx, &decl->Interp ); in tgsi_parse_token() 124 if (decl in tgsi_parse_token() [all...] |
H A D | tgsi_ureg.c | 53 struct tgsi_declaration decl; member 534 struct const_decl *decl = &ureg->const_decls[index2D]; in ureg_DECL_constant2D() local 538 if (decl->nr_constant_ranges < UREG_MAX_CONSTANT_RANGE) { in ureg_DECL_constant2D() 539 uint i = decl->nr_constant_ranges++; in ureg_DECL_constant2D() 541 decl->constant_range[i].first = first; in ureg_DECL_constant2D() 542 decl->constant_range[i].last = last; in ureg_DECL_constant2D() 556 struct const_decl *decl = &ureg->const_decls[0]; in ureg_DECL_constant() local 562 for (i = 0; i < decl->nr_constant_ranges; i++) { in ureg_DECL_constant() 563 if (decl->constant_range[i].first <= index && in ureg_DECL_constant() 564 decl in ureg_DECL_constant() 622 struct hw_atomic_decl *decl = &ureg->hw_atomic_decls[buffer_id]; ureg_DECL_hw_atomic() local 2008 struct const_decl *decl = &ureg->const_decls[i]; emit_decls() local 2024 struct hw_atomic_decl *decl = &ureg->hw_atomic_decls[i]; emit_decls() local [all...] |
H A D | tgsi_point_sprite.c | 115 struct tgsi_full_declaration *decl) in psprite_decl() 118 unsigned range_end = decl->Range.Last + 1; in psprite_decl() 120 if (decl->Declaration.File == TGSI_FILE_INPUT) { in psprite_decl() 121 if (decl->Semantic.Name == TGSI_SEMANTIC_PSIZE) { in psprite_decl() 122 ts->point_size_in = decl->Range.First; in psprite_decl() 124 else if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) { in psprite_decl() 125 ts->point_pos_in = decl->Range.First; in psprite_decl() 128 else if (decl->Declaration.File == TGSI_FILE_OUTPUT) { in psprite_decl() 129 if (decl->Semantic.Name == TGSI_SEMANTIC_PSIZE) { in psprite_decl() 130 ts->point_size_out = decl in psprite_decl() 114 psprite_decl(struct tgsi_transform_context *ctx, struct tgsi_full_declaration *decl) psprite_decl() argument [all...] |
H A D | tgsi_aa_point.c | 64 struct tgsi_full_declaration *decl) in aa_decl() 68 if (decl->Declaration.File == TGSI_FILE_OUTPUT && in aa_decl() 69 decl->Semantic.Name == TGSI_SEMANTIC_COLOR && in aa_decl() 70 decl->Semantic.Index == 0) { in aa_decl() 71 ts->color_out = decl->Range.First; in aa_decl() 73 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in aa_decl() 76 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in aa_decl() 77 ts->num_tmp = MAX2(ts->num_tmp, (unsigned)(decl->Range.Last + 1)); in aa_decl() 80 ctx->emit_declaration(ctx, decl); in aa_decl() 63 aa_decl(struct tgsi_transform_context *ctx, struct tgsi_full_declaration *decl) aa_decl() argument
|
/third_party/mesa3d/src/vulkan/util/ |
H A D | vk_cmd_queue_gen.py | 107 ${to_field_decl(p.decl)}; 146 , ${p.decl} 230 vk_free(queue->alloc, (${remove_suffix(p.decl.replace("const", ""), p.name)})cmd->u.${to_struct_field_name(c.name)}.${to_field_name(p.name)}); 231 % elif '*' in p.decl: 241 , ${p.decl} 260 % elif '[' in p.decl: 264 cmd->u.${to_struct_field_name(c.name)}.${to_field_name(p.name)} = (${remove_suffix(p.decl.replace("const", ""), p.name)}) ${p.name}; 265 % elif '*' in p.decl: 402 def to_field_decl(decl): 403 if 'const*' in decl [all...] |
/third_party/libabigail/src/ |
H A D | abg-reader.cc | 277 decl_base_sptr decl) in map_xml_node_to_decl() 280 get_xml_node_decl_map()[node]= decl; in map_xml_node_to_decl() 426 // The current decl is a scope_decl, so it's our lexical scope. in get_cur_scope() 429 // The current decl is not a scope_decl, so our lexical scope is in get_cur_scope() 430 // the scope of this decl. in get_cur_scope() 670 /// Record the sub-types of a fn-decl as being used by the fn-decl. 672 /// @param fn the function decl to consider. 689 /// Record the sub-types of a function decl as being used by it. 691 /// @param fn the function decl t 276 map_xml_node_to_decl(xmlNodePtr node, decl_base_sptr decl) map_xml_node_to_decl() argument 730 push_decl_to_current_scope(decl_base_sptr decl, bool add_to_current_scope) push_decl_to_current_scope() argument 757 shared_ptr<decl_base> decl = dynamic_pointer_cast<decl_base>(t); push_and_key_type_decl() local 2239 type_or_decl_base_sptr decl; handle_element_node() local 2958 maybe_set_naming_typedef(reader& rdr, xmlNodePtr node, const decl_base_sptr& decl) maybe_set_naming_typedef() argument 3818 qualified_type_def_sptr decl; build_qualified_type_decl() local 4653 class_decl_sptr decl; build_class_decl() local 5080 union_decl_sptr decl; build_union_decl() local 5833 type_decl_sptr decl = build_type_decl(rdr, node, add_to_current_scope); handle_type_decl() local 5865 qualified_type_def_sptr decl = handle_qualified_type_decl() local 5884 pointer_type_def_sptr decl = build_pointer_type_def(rdr, node, handle_pointer_type_def() local 5902 reference_type_def_sptr decl = build_reference_type_def(rdr, node, handle_reference_type_def() local 5937 array_type_def_sptr decl = build_array_type_def(rdr, node, handle_array_type_def() local 5952 enum_type_decl_sptr decl = handle_enum_type_decl() local 5969 typedef_decl_sptr decl = build_typedef_decl(rdr, node, handle_typedef_decl() local 5990 decl_base_sptr decl = build_var_decl_if_not_suppressed(rdr, node, handle_var_decl() local 6022 class_decl_sptr decl = handle_class_decl() local 6041 union_decl_sptr decl = handle_union_decl() local 6075 class_tdecl_sptr decl = build_class_tdecl(rdr, node, handle_class_tdecl() local [all...] |
/third_party/skia/src/sksl/analysis/ |
H A D | SkSLCheckProgramUnrolledSize.cpp | 57 const FunctionDeclaration* decl = &pe.as<FunctionDefinition>().declaration(); in CheckProgramUnrolledSize() local 58 auto [iter, wasInserted] = fFunctionCostMap.insert({decl, kUnknownCost}); in CheckProgramUnrolledSize() 65 String msg = "\n\t" + decl->description(); in CheckProgramUnrolledSize() 68 if (*unwind == decl) { in CheckProgramUnrolledSize() 88 msg += "\n\t" + decl->description(); in CheckProgramUnrolledSize() 95 fStack.push_back(decl); in CheckProgramUnrolledSize() 166 const FunctionDeclaration* decl = &call.function(); in CheckProgramUnrolledSize() local 167 if (decl->definition() && !decl->isIntrinsic()) { in CheckProgramUnrolledSize() 171 earlyExit = this->visitProgramElement(*decl in CheckProgramUnrolledSize() [all...] |
/third_party/skia/src/sksl/codegen/ |
H A D | SkSLPipelineStageCodeGenerator.cpp | 70 String functionName(const FunctionDeclaration& decl); 72 void writeFunctionDeclaration(const FunctionDeclaration& decl); 75 String functionDeclaration(const FunctionDeclaration& decl); 155 const VarDeclaration& decl = global.declaration()->as<VarDeclaration>(); in writeChildCall() local 156 if (&decl.var() == &c.child()) { in writeChildCall() 158 } else if (decl.var().type().isEffectChild()) { in writeChildCall() 306 String PipelineStageCodeGenerator::functionName(const FunctionDeclaration& decl) { in functionName() argument 307 if (decl.isMain()) { in functionName() 308 return String(decl.name()); in functionName() 311 auto it = fFunctionNames.find(&decl); in functionName() 329 const FunctionDeclaration& decl = f.declaration(); writeFunction() local 348 functionDeclaration(const FunctionDeclaration& decl) functionDeclaration() argument 368 writeFunctionDeclaration(const FunctionDeclaration& decl) writeFunctionDeclaration() argument 375 const VarDeclaration& decl = g.declaration()->as<VarDeclaration>(); writeGlobalVarDeclaration() local 632 String decl = this->typeName(baseType) + " " + name; typedVariable() local [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | type-visitor.h | 43 TypeDeclaration* decl, 47 AbstractTypeDeclaration* decl, MaybeSpecializationKey specialized_from); 48 static const Type* ComputeType(TypeAliasDeclaration* decl, 51 BitFieldStructDeclaration* decl, MaybeSpecializationKey specialized_from); 52 static const StructType* ComputeType(StructDeclaration* decl, 54 static const ClassType* ComputeType(ClassDeclaration* decl,
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluVarType.hpp | 285 namespace decl namespace 320 std::ostream& operator<< (std::ostream& str, const DeclareStructTypePtr& decl); 321 std::ostream& operator<< (std::ostream& str, const DeclareStructType& decl); 322 std::ostream& operator<< (std::ostream& str, const DeclareVariable& decl); 324 } // decl 326 inline decl::Indent indent (int indentLevel) { return decl::Indent(indentLevel); } in indent() 327 inline decl::DeclareStructTypePtr declare (const StructType* structPtr, int indentLevel = 0) { return decl::DeclareStructTypePtr (structPtr, indentLevel); } in declare() 328 inline decl in declare() [all...] |
/third_party/selinux/libsepol/tests/ |
H A D | test-deps.c | 145 avrule_decl_t *decl; in do_deps_modreq_global() local 176 decl = test_find_decl_by_sym(base, SYM_TYPES, decl_type); in do_deps_modreq_global() 177 CU_ASSERT_FATAL(decl != NULL); in do_deps_modreq_global() 179 CU_ASSERT(decl->enabled == 1); in do_deps_modreq_global() 228 avrule_decl_t *decl; in do_deps_modreq_opt() local 256 decl = test_find_decl_by_sym(base, SYM_TYPES, decl_type); in do_deps_modreq_opt() 257 CU_ASSERT_FATAL(decl != NULL); in do_deps_modreq_opt() 260 CU_ASSERT(decl->enabled == 1); in do_deps_modreq_opt() 262 CU_ASSERT(decl->enabled == 0); in do_deps_modreq_opt()
|
H A D | test-linker-roles.c | 34 * - role in appropriate symtab (global and decl) 35 * - datum in the decl symtab has correct type_set 36 * - scope datum has correct decl ids 71 avrule_decl_t *decl; in base_role_tests() local 79 /**** test for g_b_role_1 in base and decl 1 (global) ****/ in base_role_tests() 88 /**** test for o1_b_role_1 in optional (decl 2) ****/ in base_role_tests() 89 decl = test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"); in base_role_tests() 90 decls[0] = decl->decl_id; in base_role_tests() 94 role = test_role_type_set(base, "o1_b_role_1", decl, types, 1, 0); in base_role_tests() 102 avrule_decl_t *decl; in module_role_tests() local [all...] |
/third_party/jerryscript/tests/jerry/ |
H A D | function-scopes.js | 17 function decl() {} 19 decl(); 28 function decl() { 32 decl();
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
H A D | virgl_tgsi.c | 78 virgl_tgsi_transform_declaration_input_temp(const struct tgsi_full_declaration *decl, in virgl_tgsi_transform_declaration_input_temp() argument 82 if (decl->Semantic.Name == semantic_name) { in virgl_tgsi_transform_declaration_input_temp() 83 input_temp->file = decl->Declaration.File; in virgl_tgsi_transform_declaration_input_temp() 84 input_temp->index = decl->Range.First; in virgl_tgsi_transform_declaration_input_temp() 90 struct tgsi_full_declaration *decl) in virgl_tgsi_transform_declaration() 94 switch (decl->Declaration.File) { in virgl_tgsi_transform_declaration() 96 if (decl->Declaration.Dimension) { in virgl_tgsi_transform_declaration() 97 if (decl->Dim.Index2D == 0) in virgl_tgsi_transform_declaration() 98 decl->Declaration.Dimension = 0; in virgl_tgsi_transform_declaration() 102 virgl_tgsi_transform_declaration_input_temp(decl, in virgl_tgsi_transform_declaration() 89 virgl_tgsi_transform_declaration(struct tgsi_transform_context *ctx, struct tgsi_full_declaration *decl) virgl_tgsi_transform_declaration() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
H A D | NameEmbeddedUniformStructsMetal.cpp | 29 bool visitDeclaration(Visit visit, TIntermDeclaration *decl) override 38 const TIntermSequence &sequence = *(decl->getSequence()); 49 doReplacement(decl, declarator, structure); 55 void visitSymbol(TIntermSymbol *decl) override 57 auto symbol = replacements.find(decl->uniqueId().get()); 65 void doReplacement(TIntermDeclaration *decl, in doReplacement() argument 101 mMultiReplacements.emplace_back(getParentNode()->getAsBlock(), decl, in doReplacement()
|
H A D | RewriteCaseDeclarations.cpp | 62 Declaration decl = ViewDeclaration(node); variable 63 mDeclaredVarStack.back().push_back(&decl.symbol.variable()); 64 if (decl.initExpr) 66 return *new TIntermBinary(TOperator::EOpAssign, &decl.symbol, 67 decl.initExpr);
|
/third_party/python/Tools/c-analyzer/c_parser/ |
H A D | info.py | 53 elif group == 'decl': 140 'decl': KIND.DECLS, 366 def get_parsed_vartype(decl): 367 kind = getattr(decl, 'kind', None) 368 if isinstance(decl, ParsedItem): 369 storage, vartype = _get_vartype(decl.data) 373 elif isinstance(decl, dict): 374 kind = decl.get('kind') 375 storage, vartype = _get_vartype(decl) 379 elif isinstance(decl, VarTyp [all...] |
/third_party/node/deps/openssl/config/archs/linux-elf/asm_avx2/crypto/bn/ |
H A D | bn-586.S | 213 decl %ecx 224 decl %ecx 235 decl %ecx 246 decl %ecx 257 decl %ecx 268 decl %ecx 415 decl %ebp 424 decl %ebp 433 decl %ebp 442 decl [all...] |
/third_party/node/deps/openssl/config/archs/linux-elf/asm/crypto/bn/ |
H A D | bn-586.S | 213 decl %ecx 224 decl %ecx 235 decl %ecx 246 decl %ecx 257 decl %ecx 268 decl %ecx 415 decl %ebp 424 decl %ebp 433 decl %ebp 442 decl [all...] |
/third_party/node/deps/openssl/config/archs/BSD-x86/asm_avx2/crypto/bn/ |
H A D | bn-586.S | 214 decl %ecx 225 decl %ecx 236 decl %ecx 247 decl %ecx 258 decl %ecx 269 decl %ecx 416 decl %ebp 425 decl %ebp 434 decl %ebp 443 decl [all...] |
/third_party/node/deps/openssl/config/archs/BSD-x86/asm/crypto/bn/ |
H A D | bn-586.S | 214 decl %ecx 225 decl %ecx 236 decl %ecx 247 decl %ecx 258 decl %ecx 269 decl %ecx 416 decl %ebp 425 decl %ebp 434 decl %ebp 443 decl [all...] |
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/asm/crypto/bn/ |
H A D | bn-586.S | 212 decl %ecx 223 decl %ecx 234 decl %ecx 245 decl %ecx 256 decl %ecx 267 decl %ecx 412 decl %ebp 421 decl %ebp 430 decl %ebp 439 decl [all...] |
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/crypto/bn/ |
H A D | bn-586.S | 212 decl %ecx 223 decl %ecx 234 decl %ecx 245 decl %ecx 256 decl %ecx 267 decl %ecx 412 decl %ebp 421 decl %ebp 430 decl %ebp 439 decl [all...] |
/third_party/node/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/crypto/bn/ |
H A D | bn-586.S | 213 decl %ecx 224 decl %ecx 235 decl %ecx 246 decl %ecx 257 decl %ecx 268 decl %ecx 415 decl %ebp 424 decl %ebp 433 decl %ebp 442 decl [all...] |
/third_party/node/deps/openssl/config/archs/solaris-x86-gcc/asm/crypto/bn/ |
H A D | bn-586.S | 213 decl %ecx 224 decl %ecx 235 decl %ecx 246 decl %ecx 257 decl %ecx 268 decl %ecx 415 decl %ebp 424 decl %ebp 433 decl %ebp 442 decl [all...] |