/kernel/linux/linux-6.6/scripts/genksyms/ |
H A D | parse.y | 143 struct string_list *decl = (*$3)->next; 147 decl, is_extern); 161 { struct string_list *decl = *$1; 164 is_typedef ? SYM_TYPEDEF : SYM_NORMAL, decl, is_extern); 169 { struct string_list *decl = *$3; 174 is_typedef ? SYM_TYPEDEF : SYM_NORMAL, decl, is_extern); 398 { struct string_list *decl = *$2; 400 add_symbol(current_name, SYM_NORMAL, decl, is_extern);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | Compiler.h | 299 // LLVM_ATTRIBUTE_DEPRECATED(decl, "message") 301 # define LLVM_ATTRIBUTE_DEPRECATED(decl, message) \ 302 decl __attribute__((deprecated(message))) 304 # define LLVM_ATTRIBUTE_DEPRECATED(decl, message) \ 305 decl __attribute__((deprecated)) 307 # define LLVM_ATTRIBUTE_DEPRECATED(decl, message) \ 308 __declspec(deprecated(message)) decl 310 # define LLVM_ATTRIBUTE_DEPRECATED(decl, message) \ 311 decl
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | Compiler.h | 263 // LLVM_ATTRIBUTE_DEPRECATED(decl, "message") 265 # define LLVM_ATTRIBUTE_DEPRECATED(decl, message) \ 266 decl __attribute__((deprecated(message))) 268 # define LLVM_ATTRIBUTE_DEPRECATED(decl, message) \ 269 decl __attribute__((deprecated)) 271 # define LLVM_ATTRIBUTE_DEPRECATED(decl, message) \ 272 __declspec(deprecated(message)) decl 274 # define LLVM_ATTRIBUTE_DEPRECATED(decl, message) \ 275 decl
|
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_cpp.cpp | 415 string decl; in emit_function_prototype() local 418 decl += "inline "; in emit_function_prototype() 419 decl += type_to_glsl(type); in emit_function_prototype() 420 decl += " "; in emit_function_prototype() 424 decl += "main"; in emit_function_prototype() 428 decl += to_name(func.self); in emit_function_prototype() 430 decl += "("; in emit_function_prototype() 435 decl += argument_decl(arg); in emit_function_prototype() 437 decl += ", "; in emit_function_prototype() 445 decl in emit_function_prototype() [all...] |
/third_party/node/lib/internal/repl/ |
H A D | await.js | 83 ArrayPrototypeForEach(node.declarations, (decl) => { 84 state.prepend(decl, '('); 85 state.append(decl, decl.init ? ')' : '=undefined)'); 118 ArrayPrototypeForEach(node.declarations, (decl) => { 119 registerVariableDeclarationIdentifiers(decl.id);
|
/kernel/linux/linux-5.10/scripts/gcc-plugins/ |
H A D | randomize_layout_plugin.c | 488 static void update_decl_size(tree decl) in update_decl_size() argument 493 type = TREE_TYPE(decl); in update_decl_size() 498 init = DECL_INITIAL(decl); in update_decl_size() 512 for (field = TYPE_FIELDS(TREE_TYPE(decl)); TREE_CHAIN(field); field = TREE_CHAIN(field)) in update_decl_size() 527 DECL_SIZE(decl) = size_binop(PLUS_EXPR, TYPE_SIZE(type), flexsize); in update_decl_size() 535 tree decl = (tree)event_data; in randomize_layout_finish_decl() local 538 if (decl == NULL_TREE || decl == error_mark_node) in randomize_layout_finish_decl() 541 type = TREE_TYPE(decl); in randomize_layout_finish_decl() 543 if (TREE_CODE(decl) ! in randomize_layout_finish_decl() [all...] |
/kernel/linux/linux-6.6/scripts/gcc-plugins/ |
H A D | randomize_layout_plugin.c | 459 static void update_decl_size(tree decl) in update_decl_size() argument 464 type = TREE_TYPE(decl); in update_decl_size() 469 init = DECL_INITIAL(decl); in update_decl_size() 483 for (field = TYPE_FIELDS(TREE_TYPE(decl)); TREE_CHAIN(field); field = TREE_CHAIN(field)) in update_decl_size() 498 DECL_SIZE(decl) = size_binop(PLUS_EXPR, TYPE_SIZE(type), flexsize); in update_decl_size() 506 tree decl = (tree)event_data; in randomize_layout_finish_decl() local 509 if (decl == NULL_TREE || decl == error_mark_node) in randomize_layout_finish_decl() 512 type = TREE_TYPE(decl); in randomize_layout_finish_decl() 514 if (TREE_CODE(decl) ! in randomize_layout_finish_decl() [all...] |
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | module.h | 59 /// @returns true if the module has the global declaration `decl` 60 /// @param decl the declaration to check 61 bool HasGlobalDeclaration(Node* decl) const { in HasGlobalDeclaration() 63 if (d == decl) { in HasGlobalDeclaration() 77 /// @param decl the type declaration to add 78 void AddTypeDecl(const TypeDecl* decl);
|
/third_party/python/Tools/c-analyzer/cpython/ |
H A D | __main__.py | 167 for decl, info in types.items(): 169 if decl.kind in (KIND.STRUCT, KIND.UNION): 170 extra = {'unsupported': ['type unknown'] * len(decl.members)} 174 results.append((decl, info)) 175 if decl.shortkey == 'struct _object': 183 for decl in _analyzer.iter_decls(files, **kwargs): 184 if not KIND.is_type_decl(decl.kind): 186 if not decl.filename.endswith('.h'): 187 if decl.shortkey not in _analyzer.KNOWN_IN_DOT_C: 189 decls.append(decl) [all...] |
/third_party/selinux/libsepol/tests/ |
H A D | test-common.c | 187 role_datum_t *test_role_type_set(policydb_t * p, const char *id, avrule_decl_t * decl, const char **types, unsigned int len, unsigned int flags) in test_role_type_set() argument 193 if (decl) in test_role_type_set() 194 role = hashtab_search(decl->p_roles.table, id); in test_role_type_set() 227 void test_attr_types(policydb_t * p, const char *id, avrule_decl_t * decl, const char **types, int len) in test_attr_types() argument 234 if (decl) { in test_attr_types() 235 attr = hashtab_search(decl->p_types.table, id); in test_attr_types() 237 printf("could not find attr %s in decl %d\n", id, decl->decl_id); in test_attr_types()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
H A D | SpecializationConstant.cpp | 273 TIntermDeclaration *decl = new TIntermDeclaration(); in declareSpecConsts() local 274 decl->appendDeclarator( in declareSpecConsts() 277 root->insertStatement(0, decl); in declareSpecConsts() 282 TIntermDeclaration *decl = new TIntermDeclaration(); in declareSpecConsts() local 283 decl->appendDeclarator( in declareSpecConsts() 286 root->insertStatement(0, decl); in declareSpecConsts() 291 TIntermDeclaration *decl = new TIntermDeclaration(); in declareSpecConsts() local 292 decl->appendDeclarator( in declareSpecConsts() 294 root->insertStatement(0, decl); in declareSpecConsts() 299 TIntermDeclaration *decl in declareSpecConsts() local [all...] |
/third_party/node/deps/v8/tools/gcmole/ |
H A D | gcmole.cc | 70 #define TRACE_LLVM_DECL(str, decl) \ 74 decl->dump(); \ 83 const clang::NamedDecl* decl, in GetMangledName() 85 if (llvm::isa<clang::CXXConstructorDecl>(decl)) return false; in GetMangledName() 86 if (llvm::isa<clang::CXXDestructorDecl>(decl)) return false; in GetMangledName() 89 ctx->mangleName(decl, out); in GetMangledName() 95 static bool InV8Namespace(const clang::NamedDecl* decl) { in InV8Namespace() argument 96 return decl->getQualifiedNameAsString().compare(0, 4, "v8::") == 0; in InV8Namespace() 319 virtual bool VisitFunctionDecl(clang::FunctionDecl* decl) { in VisitFunctionDecl() argument 320 callees_printer_->AnalyzeFunction(decl); in VisitFunctionDecl() 82 GetMangledName(clang::MangleContext* ctx, const clang::NamedDecl* decl, MangledName* result) GetMangledName() argument 398 IsKnownToCauseGC(clang::MangleContext* ctx, const clang::FunctionDecl* decl) IsKnownToCauseGC() argument 414 IsSuspectedToCauseGC(clang::MangleContext* ctx, const clang::FunctionDecl* decl) IsSuspectedToCauseGC() argument 1400 VisitDecl(clang::Decl* decl, Environment& env) VisitDecl() argument 1624 VisitFunctionDecl(clang::FunctionDecl* decl) VisitFunctionDecl() argument [all...] |
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_lowering.c | 1171 struct tgsi_full_declaration decl; in emit_twoside() local 1182 decl = tgsi_default_full_declaration(); in emit_twoside() 1183 decl.Declaration.File = TGSI_FILE_INPUT; in emit_twoside() 1184 decl.Declaration.Semantic = true; in emit_twoside() 1185 decl.Range.First = decl.Range.Last = inbase + i; in emit_twoside() 1186 decl.Semantic.Name = TGSI_SEMANTIC_BCOLOR; in emit_twoside() 1187 decl.Semantic.Index = info->input_semantic_index[in_idx]; in emit_twoside() 1188 decl.Declaration.Interpolate = true; in emit_twoside() 1189 decl in emit_twoside() 1254 struct tgsi_full_declaration decl; emit_decls() local [all...] |
H A D | tgsi_sanity.c | 393 struct tgsi_full_declaration *decl ) in iter_declaration() 407 file = decl->Declaration.File; in iter_declaration() 410 for (i = decl->Range.First; i <= decl->Range.Last; i++) { in iter_declaration() 414 uint patch = decl->Semantic.Name == TGSI_SEMANTIC_PATCH || in iter_declaration() 415 decl->Semantic.Name == TGSI_SEMANTIC_TESSOUTER || in iter_declaration() 416 decl->Semantic.Name == TGSI_SEMANTIC_TESSINNER; in iter_declaration() 437 if (decl->Declaration.Dimension) { in iter_declaration() 438 fill_scan_register2d(reg, file, i, decl->Dim.Index2D); in iter_declaration()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cLayoutBindingTests.cpp | 1303 String decl = buildUniformDecl(String(getTestParameters().keyword), buildLayout(String()), in binding_basic_default() local 1306 setTemplateParam("UNIFORM_DECL", decl); in binding_basic_default() 1350 String decl = in binding_basic_explicit() local 1354 setTemplateParam("UNIFORM_DECL", decl); in binding_basic_explicit() 1448 String decl = in binding_basic_render() local 1452 setTemplateParam("UNIFORM_DECL", decl); in binding_basic_render() 1490 String decl = in binding_integer_constant() local 1494 setTemplateParam("UNIFORM_DECL", decl); in binding_integer_constant() 1532 String decl = in binding_integer_constant() local 1536 setTemplateParam("UNIFORM_DECL", s.str() + decl); in binding_integer_constant() 1578 String decl = binding_array_size() local 1640 String decl = binding_array_implicit() local 1706 String decl = binding_array_multiple() local 1771 String decl = buildUniformDecl(String(getTestParameters().keyword), buildLayout(1), binding_api_update() local 1816 String decl; binding_compilation_errors() local 1910 String decl = binding_link_errors() local 2144 String decl = binding_mixed_order() local 2159 String decl = binding_mixed_order() local 2349 String decl = binding_array_size() local 2888 String decl = binding_mixed_order() local 2903 String decl = binding_mixed_order() local [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | expression.c | 106 struct symbol *decl, *array; in handle_func() local 123 decl = alloc_symbol(token->pos, SYM_NODE); in handle_func() 124 decl->ctype.base_type = array; in handle_func() 125 decl->ctype.alignment = 1; in handle_func() 126 decl->ctype.modifiers = MOD_STATIC; in handle_func() 127 decl->endpos = token->pos; in handle_func() 130 bind_symbol_with_scope(decl, ident, NS_SYMBOL, function_scope); in handle_func() 138 decl->initializer = alloc_expression(token->pos, EXPR_STRING); in handle_func() 139 decl->initializer->string = string; in handle_func() 140 decl in handle_func() [all...] |
/third_party/selinux/checkpolicy/test/ |
H A D | dismod.c | 614 static int display_avdecl(avrule_decl_t * decl, int field, in display_avdecl() argument 617 fprintf(out_fp, "decl %u:%s\n", decl->decl_id, in display_avdecl() 618 (decl->enabled ? " [enabled]" : "")); in display_avdecl() 621 cond_list_t *cond = decl->cond_list; in display_avdecl() 647 avrule_t *avrule = decl->avrules; in display_avdecl() 662 display_role_trans(decl->role_tr_rules, policy, out_fp); in display_avdecl() 666 display_role_allow(decl->role_allow_rules, policy, in display_avdecl() 672 (&decl->required, policy, out_fp)) { in display_avdecl() 679 (&decl in display_avdecl() 700 avrule_decl_t *decl = block->branch_list; display_avblock() local [all...] |
/third_party/elfutils/libdw/ |
H A D | dwarf_decl_column.c | 40 dwarf_decl_column (Dwarf_Die *decl, int *colp) in dwarf_decl_column() argument 42 return __libdw_attr_intval (decl, colp, DW_AT_decl_column); in dwarf_decl_column()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsRandomShaderProgram.cpp | 70 static void generateProgramDeclaration (sglr::pdec::ShaderProgramDeclaration& decl, const rsg::Shader& vertexShader, const rsg::Shader& fragmentShader, int numUnifiedUniforms, const rsg::ShaderInput* const* unifiedUniforms) in generateProgramDeclaration() argument 72 decl << sglr::pdec::VertexSource(vertexShader.getSource()) in generateProgramDeclaration() 78 decl << sglr::pdec::VertexAttribute(vertexInput->getVariable()->getName(), mapToGenericVecType(vertexInput->getVariable()->getType())); in generateProgramDeclaration() 84 decl << sglr::pdec::VertexToFragmentVarying(mapToGenericVecType(fragInput->getVariable()->getType())); in generateProgramDeclaration() 90 decl << sglr::pdec::Uniform(uniform->getVariable()->getName(), mapToBasicType(uniform->getVariable()->getType())); in generateProgramDeclaration() 93 decl << sglr::pdec::FragmentOutput(rr::GENERICVECTYPE_FLOAT); in generateProgramDeclaration() 98 sglr::pdec::ShaderProgramDeclaration decl; in generateProgramDeclaration() local 99 generateProgramDeclaration(decl, vertexShader, fragmentShader, numUnifiedUniforms, unifiedUniforms); in generateProgramDeclaration() 100 return decl; in generateProgramDeclaration()
|
/third_party/mesa3d/src/util/perf/ |
H A D | u_trace.py | 146 def __init__(self, decl): 147 assert isinstance(decl, str) 148 self.decl = decl 191 ${declaration.decl};
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | simplify_pointers.cc | 187 auto* decl = ctx.dst->Decl( in Run() 189 saved.emplace_back(decl); in Run() 203 // Find the statement owned by the block (either the let decl or a in Run() 212 for (auto* decl : saved) { in Run() 217 stmt->Declaration(), decl); in Run()
|
/third_party/selinux/libsepol/src/ |
H A D | policydb_validate.c | 206 const avrule_decl_t *decl; in validate_scopes() local 211 for (decl = block->branch_list; decl; decl = decl->next) { in validate_scopes() 1320 const avrule_decl_t *decl; in validate_avrule_blocks() local 1323 for (decl = avrule_block->branch_list; decl != NULL; decl = decl in validate_avrule_blocks() [all...] |
/third_party/libabigail/tools/ |
H A D | abicompat.cc | 438 function_decl* decl; member 442 : decl() in fn_change() 445 fn_change(function_decl* decl, in fn_change() 447 : decl(decl), in fn_change() 457 var_decl* decl; member 461 : decl() in var_change() 466 : decl(var), in var_change() 589 << i->decl->get_pretty_representation() in perform_compat_check_in_weak_mode() 633 << i->decl in perform_compat_check_in_weak_mode() [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | generator.py | 660 decl = self.genRequirements(name, mustBeFound = False) 668 decl += "#define {} {}\n".format(name, strVal) 670 decl += "static constexpr {} {} {{{}}};\n".format(flagTypeName, name, strVal) 681 decl += "static const {} {} = {};\n".format(flagTypeName, name, strVal) 684 body += decl 686 aliasText += decl 754 decl = '' 758 decl += '#ifdef {}\n'.format(protect) 764 decl += requirements 765 decl [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fFboTestUtil.cpp | 118 sglr::pdec::ShaderProgramDeclaration decl; in genTexture2DShaderDecl() local 120 decl << sglr::pdec::VertexAttribute("a_position", rr::GENERICVECTYPE_FLOAT); in genTexture2DShaderDecl() 121 decl << sglr::pdec::VertexAttribute("a_coord", rr::GENERICVECTYPE_FLOAT); in genTexture2DShaderDecl() 122 decl << sglr::pdec::VertexToFragmentVarying(rr::GENERICVECTYPE_FLOAT); in genTexture2DShaderDecl() 123 decl << sglr::pdec::FragmentOutput(mapDataTypeToGenericVecType(outputType)); in genTexture2DShaderDecl() 125 decl << sglr::pdec::VertexSource( in genTexture2DShaderDecl() 135 decl << sglr::pdec::FragmentSource(genTexFragmentShader(samplerTypes.vec, outputType)); in genTexture2DShaderDecl() 137 decl << sglr::pdec::Uniform("u_outScale0", glu::TYPE_FLOAT_VEC4); in genTexture2DShaderDecl() 138 decl << sglr::pdec::Uniform("u_outBias0", glu::TYPE_FLOAT_VEC4); in genTexture2DShaderDecl() 142 decl << sgl in genTexture2DShaderDecl() [all...] |