/third_party/python/Tools/c-analyzer/c_analyzer/ |
D | analyze.py | 23 for decl in typedecls: 24 if decl.shortkey not in typespecs: 25 typespecs[decl.shortkey] = [decl] 27 typespecs[decl.shortkey].append(decl) 31 def analyze_decl(decl, typespecs, knowntypespecs, types, knowntypes, *, argument 33 resolved = resolve_decl(decl, typespecs, knowntypespecs, types) 39 return analyze_resolved(resolved, decl, types, knowntypes) 49 for decl in unresolved: 50 resolved = analyze_decl(decl) 53 types[decl] = IGNORED [all …]
|
D | match.py | 53 def is_public(decl): argument 54 if not decl.filename.endswith('.h'): 56 if 'Include' not in decl.filename.split(os.path.sep): 107 def is_public_api(decl): argument 108 if not is_public(decl): 110 if decl.kind is _KIND.TYPEDEF: 112 elif _match.is_type_decl(decl): 113 return not _match.is_forward_decl(decl) 115 return _match.is_external_reference(decl) 118 def is_public_declaration(decl): argument [all …]
|
/third_party/python/Tools/c-analyzer/c_parser/ |
D | match.py | 10 def match_storage(decl, expected): argument 11 default = _info.get_default_storage(decl) 21 storage = _info.get_effective_storage(decl, default=default) 61 def is_forward_decl(decl): argument 62 if decl.kind is _KIND.TYPEDEF: 64 elif is_type_decl(decl): 65 return not decl.data 66 elif decl.kind is _KIND.FUNCTION: 68 return decl.signature.isforward 69 elif decl.kind is _KIND.VARIABLE: [all …]
|
/third_party/libabigail/src/ |
D | abg-writer.cc | 802 decl_is_emitted(const decl_base_sptr& decl) const in decl_is_emitted() 804 ABG_ASSERT(!is_type(decl)); in decl_is_emitted() 805 string repr = get_pretty_representation(decl, true); in decl_is_emitted() 806 interned_string irepr = decl->get_environment().intern(repr); in decl_is_emitted() 814 record_decl_as_emitted(const decl_base_sptr& decl) in record_decl_as_emitted() argument 816 string repr = get_pretty_representation(decl, true); in record_decl_as_emitted() 817 interned_string irepr = decl->get_environment().intern(repr); in record_decl_as_emitted() 995 annotate(const T& decl, in annotate() argument 999 if (!decl) in annotate() 1010 << xml::escape_xml_comment(decl->get_pretty_representation(/*internal=*/false)) in annotate() [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl_variable_ident_decl_test.cc | 25 auto decl = p->expect_variable_ident_decl("test"); in TEST_F() local 27 ASSERT_FALSE(decl.errored); in TEST_F() 28 ASSERT_EQ(decl->name, "my_var"); in TEST_F() 29 ASSERT_NE(decl->type, nullptr); in TEST_F() 30 ASSERT_TRUE(decl->type->Is<ast::F32>()); in TEST_F() 32 EXPECT_EQ(decl->source.range, (Source::Range{{1u, 1u}, {1u, 7u}})); in TEST_F() 33 EXPECT_EQ(decl->type->source.range, (Source::Range{{1u, 10u}, {1u, 13u}})); in TEST_F() 38 auto decl = p->expect_variable_ident_decl("test", /*allow_inferred = */ true); in TEST_F() local 40 ASSERT_FALSE(decl.errored); in TEST_F() 41 ASSERT_EQ(decl->name, "my_var"); in TEST_F() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_two_side.c | 72 struct tgsi_full_declaration *decl) in xform_decl() argument 75 unsigned range_end = decl->Range.Last + 1; in xform_decl() 77 if (decl->Declaration.File == TGSI_FILE_INPUT) { in xform_decl() 78 if (decl->Semantic.Name == TGSI_SEMANTIC_COLOR) { in xform_decl() 80 assert(decl->Semantic.Index < 2); in xform_decl() 81 ts->front_color_input[decl->Semantic.Index] = decl->Range.First; in xform_decl() 82 ts->front_color_interp[decl->Semantic.Index] = decl->Interp.Interpolate; in xform_decl() 84 else if (decl->Semantic.Name == TGSI_SEMANTIC_FACE) { in xform_decl() 85 ts->face_input = decl->Range.First; in xform_decl() 89 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in xform_decl() [all …]
|
D | tgsi_transform.h | 53 struct tgsi_full_declaration *decl); 83 const struct tgsi_full_declaration *decl); 104 struct tgsi_full_declaration decl; in tgsi_transform_temps_decl() local 106 decl = tgsi_default_full_declaration(); in tgsi_transform_temps_decl() 107 decl.Declaration.File = TGSI_FILE_TEMPORARY; in tgsi_transform_temps_decl() 108 decl.Range.First = firstIdx; in tgsi_transform_temps_decl() 109 decl.Range.Last = lastIdx; in tgsi_transform_temps_decl() 110 ctx->emit_declaration(ctx, &decl); in tgsi_transform_temps_decl() 124 struct tgsi_full_declaration decl; in tgsi_transform_const_decl() local 126 decl = tgsi_default_full_declaration(); in tgsi_transform_const_decl() [all …]
|
/third_party/vk-gl-cts/framework/opengl/simplereference/ |
D | sglrShaderProgram.cpp | 133 ShaderProgram::ShaderProgram (const pdec::ShaderProgramDeclaration& decl) in ShaderProgram() argument 134 : rr::VertexShader (decl.getVertexInputCount(), decl.getVertexOutputCount()) in ShaderProgram() 135 , rr::GeometryShader (decl.getGeometryInputCount(), in ShaderProgram() 136 decl.getGeometryOutputCount(), in ShaderProgram() 137 decl.m_geometryDecl.inputType, in ShaderProgram() 138 decl.m_geometryDecl.outputType, in ShaderProgram() 139 decl.m_geometryDecl.numOutputVertices, in ShaderProgram() 140 decl.m_geometryDecl.numInvocations) in ShaderProgram() 141 , rr::FragmentShader (decl.getFragmentInputCount(), decl.getFragmentOutputCount()) in ShaderProgram() 142 , m_attributeNames (decl.getVertexInputCount()) in ShaderProgram() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | staticPropertyNameConflictsInAmbientContext.symbols | 1 === tests/cases/conformance/classes/propertyMemberDeclarations/decl.d.ts === 4 >StaticName : Symbol(StaticName, Decl(decl.d.ts, 0, 0)) 7 >name : Symbol(StaticName.name, Decl(decl.d.ts, 1, 26)) 10 >name : Symbol(StaticName.name, Decl(decl.d.ts, 2, 24)) 14 >StaticNameFn : Symbol(StaticNameFn, Decl(decl.d.ts, 4, 1)) 17 >name : Symbol(StaticNameFn.name, Decl(decl.d.ts, 6, 28)) 20 >name : Symbol(StaticNameFn.name, Decl(decl.d.ts, 7, 26)) 25 >StaticLength : Symbol(StaticLength, Decl(decl.d.ts, 9, 1)) 28 >length : Symbol(StaticLength.length, Decl(decl.d.ts, 12, 28)) 31 >length : Symbol(StaticLength.length, Decl(decl.d.ts, 13, 26)) [all …]
|
/third_party/python/Tools/c-analyzer/cpython/ |
D | _analyzer.py | 125 for decl in decls: 126 if not decl.data: 129 yield decl 132 def analyze_resolved(resolved, decl, types, knowntypes, extra=None): argument 133 if decl.kind not in KINDS: 139 if decl.kind in (KIND.STRUCT, KIND.UNION): 140 typedeps = [typedeps] * len(decl.members) 148 raise NotImplementedError((decl, extra)) 150 unsupported = _check_unsupported(decl, typedeps, types, knowntypes) 156 def _check_unsupported(decl, typedeps, types, knowntypes): argument [all …]
|
/third_party/libabigail/tests/data/test-read-dwarf/ |
D | test-libaaudio.so.abi | 81 <type-decl name='__ARRAY_SIZE_TYPE__' size-in-bits='64' id='7ff19f0f'/> 82 <type-decl name='bool' size-in-bits='8' id='c894953d'/> 83 <type-decl name='char' size-in-bits='8' id='a84c031d'/> 84 <type-decl name='double' size-in-bits='64' id='a0eb0f08'/> 85 …<enum-decl name='audio_format_t' naming-typedef-id='aff86d3f' filepath='system/media/audio/include… 175 </enum-decl> 176 <type-decl name='float' size-in-bits='32' id='a6c45d85'/> 177 <type-decl name='int' size-in-bits='32' id='95e97e5e'/> 178 <type-decl name='long double' size-in-bits='128' id='a0eb0f09'/> 179 <type-decl name='long int' size-in-bits='64' id='95e97e5f'/> [all …]
|
D | libtest23.so.abi | 15 <type-decl name='bool' size-in-bits='8' id='type-id-1'/> 16 <type-decl name='char' size-in-bits='8' id='type-id-2'/> 17 <type-decl name='double' size-in-bits='64' id='type-id-3'/> 18 <type-decl name='float' size-in-bits='32' id='type-id-4'/> 19 <type-decl name='int' size-in-bits='32' id='type-id-5'/> 20 <type-decl name='long double' size-in-bits='128' id='type-id-6'/> 21 <type-decl name='long int' size-in-bits='64' id='type-id-7'/> 22 <type-decl name='long long int' size-in-bits='64' id='type-id-8'/> 23 …<class-decl name='__mbstate_t' size-in-bits='64' is-struct='yes' naming-typedef-id='type-id-9' vis… 25 …<union-decl name='__anonymous_union__' is-anonymous='yes' visibility='default' is-declaration-only… [all …]
|
D | PR22122-libftdc.so.abi | 248 <type-decl name='bool' size-in-bits='8' id='type-id-1'/> 249 <type-decl name='char' size-in-bits='8' id='type-id-2'/> 268 <type-decl name='double' size-in-bits='64' id='type-id-14'/> 269 <type-decl name='float' size-in-bits='32' id='type-id-15'/> 270 <type-decl name='int' size-in-bits='32' id='type-id-16'/> 271 <type-decl name='long double' size-in-bits='128' id='type-id-17'/> 272 <type-decl name='long int' size-in-bits='64' id='type-id-18'/> 273 <type-decl name='long long int' size-in-bits='64' id='type-id-19'/> 274 <type-decl name='sizetype' size-in-bits='64' id='type-id-4'/> 275 …<class-decl name='_G_fpos_t' size-in-bits='128' is-struct='yes' naming-typedef-id='type-id-20' vis… [all …]
|
D | PR22015-libboost_iostreams.so.abi | 139 <type-decl name='bool' size-in-bits='8' id='type-id-1'/> 140 <type-decl name='char' size-in-bits='8' id='type-id-2'/> 144 <type-decl name='double' size-in-bits='64' id='type-id-6'/> 145 <type-decl name='float' size-in-bits='32' id='type-id-7'/> 146 <type-decl name='int' size-in-bits='32' id='type-id-8'/> 147 <type-decl name='long double' size-in-bits='128' id='type-id-9'/> 148 <type-decl name='long int' size-in-bits='64' id='type-id-10'/> 149 <type-decl name='long long int' size-in-bits='64' id='type-id-11'/> 150 <type-decl name='sizetype' size-in-bits='64' id='type-id-4'/> 151 …<class-decl name='_G_fpos_t' size-in-bits='128' is-struct='yes' naming-typedef-id='type-id-12' vis… [all …]
|
D | libtest24-drop-fns-2.so.abi | 15 <type-decl name='bool' size-in-bits='8' id='type-id-1'/> 16 <type-decl name='char' size-in-bits='8' id='type-id-2'/> 20 <type-decl name='double' size-in-bits='64' id='type-id-6'/> 21 <type-decl name='float' size-in-bits='32' id='type-id-7'/> 22 <type-decl name='int' size-in-bits='32' id='type-id-8'/> 23 <type-decl name='long double' size-in-bits='128' id='type-id-9'/> 24 <type-decl name='long int' size-in-bits='64' id='type-id-10'/> 25 <type-decl name='long long int' size-in-bits='64' id='type-id-11'/> 26 <type-decl name='short int' size-in-bits='16' id='type-id-12'/> 27 <type-decl name='sizetype' size-in-bits='64' id='type-id-4'/> [all …]
|
D | libtest24-drop-fns.so.abi | 15 <type-decl name='bool' size-in-bits='8' id='type-id-1'/> 16 <type-decl name='char' size-in-bits='8' id='type-id-2'/> 20 <type-decl name='double' size-in-bits='64' id='type-id-6'/> 21 <type-decl name='float' size-in-bits='32' id='type-id-7'/> 22 <type-decl name='int' size-in-bits='32' id='type-id-8'/> 23 <type-decl name='long double' size-in-bits='128' id='type-id-9'/> 24 <type-decl name='long int' size-in-bits='64' id='type-id-10'/> 25 <type-decl name='long long int' size-in-bits='64' id='type-id-11'/> 26 <type-decl name='short int' size-in-bits='16' id='type-id-12'/> 27 <type-decl name='sizetype' size-in-bits='64' id='type-id-4'/> [all …]
|
D | test14-pr18893.so.abi | 77 …<class-decl name='OpenGLCurveEvaluator' size-in-bits='27584' visibility='default' filepath='libnur… 80 …<var-decl name='em_vertex' type-id='type-id-9' visibility='default' filepath='libnurbs/interface/g… 83 …<var-decl name='em_normal' type-id='type-id-9' visibility='default' filepath='libnurbs/interface/g… 86 …<var-decl name='em_color' type-id='type-id-9' visibility='default' filepath='libnurbs/interface/gl… 89 …<var-decl name='em_texcoord' type-id='type-id-9' visibility='default' filepath='libnurbs/interface… 92 …<var-decl name='vertex_flag' type-id='type-id-10' visibility='default' filepath='libnurbs/interfac… 95 …<var-decl name='normal_flag' type-id='type-id-10' visibility='default' filepath='libnurbs/interfac… 98 …<var-decl name='color_flag' type-id='type-id-10' visibility='default' filepath='libnurbs/interface… 101 …<var-decl name='texcoord_flag' type-id='type-id-10' visibility='default' filepath='libnurbs/interf… 104 …<var-decl name='global_grid_u0' type-id='type-id-1' visibility='default' filepath='libnurbs/interf… [all …]
|
D | test9-pr18818-clang.so.abi | 350 <type-decl name='bool' size-in-bits='8' id='type-id-1'/> 351 <type-decl name='char' size-in-bits='8' id='type-id-2'/> 355 <type-decl name='double' size-in-bits='64' id='type-id-6'/> 356 <type-decl name='float' size-in-bits='32' id='type-id-7'/> 357 <type-decl name='int' size-in-bits='32' id='type-id-8'/> 358 <type-decl name='long double' size-in-bits='128' id='type-id-9'/> 359 <type-decl name='long int' size-in-bits='64' id='type-id-10'/> 360 <type-decl name='long long int' size-in-bits='64' id='type-id-11'/> 361 <type-decl name='sizetype' size-in-bits='64' id='type-id-4'/> 362 …<class-decl name='__mbstate_t' size-in-bits='64' is-struct='yes' naming-typedef-id='type-id-12' vi… [all …]
|
/third_party/selinux/libsepol/src/ |
D | avrule_block.c | 55 avrule_decl_t *decl; in avrule_decl_create() local 57 if ((decl = calloc(1, sizeof(*decl))) == NULL) { in avrule_decl_create() 60 decl->decl_id = decl_id; in avrule_decl_create() 62 if (symtab_init(&decl->symtab[i], symtab_sizes[i])) { in avrule_decl_create() 63 avrule_decl_destroy(decl); in avrule_decl_create() 69 ebitmap_init(&decl->required.scope[i]); in avrule_decl_create() 70 ebitmap_init(&decl->declared.scope[i]); in avrule_decl_create() 72 return decl; in avrule_decl_create() 114 avrule_decl_t *decl; in avrule_block_destroy() local 118 decl = x->branch_list; in avrule_block_destroy() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_vs_draw.c | 80 struct tgsi_full_declaration decl; in emit_temp() local 82 decl = tgsi_default_full_declaration(); in emit_temp() 83 decl.Declaration.File = TGSI_FILE_TEMPORARY; in emit_temp() 84 decl.Range.First = decl.Range.Last = reg; in emit_temp() 85 ctx->emit_declaration(ctx, &decl); in emit_temp() 93 struct tgsi_full_declaration decl; in emit_output() local 95 decl = tgsi_default_full_declaration(); in emit_output() 96 decl.Declaration.File = TGSI_FILE_OUTPUT; in emit_output() 97 decl.Declaration.Interpolate = 1; in emit_output() 98 decl.Declaration.Semantic = TRUE; in emit_output() [all …]
|
/third_party/libabigail/tests/data/test-read-ctf/ |
D | test-linux-module.abi | 10 <type-decl name='int' size-in-bits='32' id='type-id-1'/> 11 …<class-decl name='__raw_tickets' size-in-bits='32' is-struct='yes' visibility='default' id='type-i… 13 <var-decl name='owner' type-id='type-id-3' visibility='default'/> 16 <var-decl name='next' type-id='type-id-3' visibility='default'/> 18 </class-decl> 19 …<class-decl name='arch_spinlock_t' size-in-bits='32' is-struct='yes' naming-typedef-id='type-id-4'… 21 <var-decl name='' type-id='type-id-6' visibility='default'/> 23 </class-decl> 24 …<class-decl name='raw_spinlock' size-in-bits='32' is-struct='yes' visibility='default' id='type-id… 26 <var-decl name='raw_lock' type-id='type-id-4' visibility='default'/> [all …]
|
D | test-struct-iteration.o.abi | 6 <type-decl name='char' size-in-bits='8' alignment-in-bits='8' id='type-id-1'/> 7 <class-decl name='' is-struct='yes' is-anonymous='yes' visibility='default' id='type-id-2'/> 8 …<class-decl name='' size-in-bits='128' alignment-in-bits='64' is-struct='yes' is-anonymous='yes' v… 10 <var-decl name='unnamed_sub_member' type-id='type-id-4' visibility='default'/> 13 <var-decl name='' type-id='type-id-5' visibility='default'/> 16 <var-decl name='one_more_level' type-id='type-id-6' visibility='default'/> 19 <var-decl name='yes_really_one_more' type-id='type-id-4' visibility='default'/> 21 </class-decl> 22 …<class-decl name='foo_t' size-in-bits='512' alignment-in-bits='32' is-struct='yes' visibility='def… 24 <var-decl name='foo' type-id='type-id-8' visibility='default'/> [all …]
|
/third_party/typescript/src/services/codefixes/ |
D | annotateWithTypeFromJSDoc.ts | 8 const decl = getDeclaration(context.sourceFile, context.span.start); constant 9 if (!decl) return; 10 …onst changes = textChanges.ChangeTracker.with(context, t => doChange(t, context.sourceFile, decl)); 15 const decl = getDeclaration(diag.file, diag.start); constant 16 if (decl) doChange(changes, diag.file, decl); 36 function hasUsableJSDoc(decl: DeclarationWithType | ParameterDeclaration): boolean { 37 return isFunctionLikeDeclaration(decl) 38 ? decl.parameters.some(hasUsableJSDoc) || (!decl.type && !!getJSDocReturnType(decl)) 39 : !decl.type && !!getJSDocType(decl); 42 …function doChange(changes: textChanges.ChangeTracker, sourceFile: SourceFile, decl: DeclarationWit… [all …]
|
/third_party/libabigail/tests/data/test-abidiff/ |
D | test-PR18791-v1.so.abi | 102 <namespace-decl name='std'> 103 <namespace-decl name='__cxx11'> 104 </namespace-decl> 105 <namespace-decl name='__debug'> 106 </namespace-decl> 107 <namespace-decl name='__detail'> 108 </namespace-decl> 109 </namespace-decl> 110 <namespace-decl name='__gnu_cxx'> 111 <namespace-decl name='__cxx11'> [all …]
|
D | test-PR18791-v0.so.abi | 102 <namespace-decl name='std'> 103 <namespace-decl name='__debug'> 104 </namespace-decl> 105 <namespace-decl name='__detail'> 106 </namespace-decl> 107 </namespace-decl> 108 <namespace-decl name='__gnu_cxx'> 109 <namespace-decl name='__ops'> 110 </namespace-decl> 111 </namespace-decl> [all …]
|