Home
last modified time | relevance | path

Searched refs:decl (Results 1 – 25 of 1170) sorted by relevance

12345678910>>...47

/external/llvm-project/polly/lib/External/isl/
Disl_arg.c289 static int print_arg_help(struct isl_arg *decl, struct isl_prefixes *prefixes, in print_arg_help() argument
294 if (!decl->long_name) { in print_arg_help()
295 printf(" -%c", decl->short_name); in print_arg_help()
299 if (decl->short_name) { in print_arg_help()
300 printf(" -%c, --", decl->short_name); in print_arg_help()
302 } else if (decl->flags & ISL_ARG_SINGLE_DASH) { in print_arg_help()
315 printf("%s", decl->long_name); in print_arg_help()
316 len += strlen(decl->long_name); in print_arg_help()
318 while ((++decl)->type == isl_arg_alias) { in print_arg_help()
325 printf("%s", decl->long_name); in print_arg_help()
[all …]
/external/python/pycparser/examples/
Dcdecl.py91 def _explain_type(decl): argument
94 typ = type(decl)
97 quals = ' '.join(decl.quals) + ' ' if decl.quals else ''
98 return quals + _explain_type(decl.type)
100 return _explain_type(decl.type)
102 return ' '.join(decl.names)
104 quals = ' '.join(decl.quals) + ' ' if decl.quals else ''
105 return quals + 'pointer to ' + _explain_type(decl.type)
108 if decl.dim: arr += '[%s]' % decl.dim.value
110 return arr + " of " + _explain_type(decl.type)
[all …]
/external/antlr/tool/src/main/java/org/antlr/tool/
DAttribute.java36 public String decl; field in Attribute
47 public Attribute(String decl) { in Attribute() argument
48 extractAttribute(decl); in Attribute()
51 public Attribute(String name, String decl) { in Attribute() argument
53 this.decl = decl; in Attribute()
64 protected void extractAttribute(String decl) { in extractAttribute() argument
65 if ( decl==null ) { in extractAttribute()
70 int rightEdgeOfDeclarator = decl.length()-1; in extractAttribute()
71 int equalsIndex = decl.indexOf('='); in extractAttribute()
74 this.initValue = decl.substring(equalsIndex+1,decl.length()); in extractAttribute()
[all …]
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_two_side.c72 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 …]
Dtgsi_transform.h52 struct tgsi_full_declaration *decl);
81 const struct tgsi_full_declaration *decl);
101 struct tgsi_full_declaration decl; in tgsi_transform_temps_decl() local
103 decl = tgsi_default_full_declaration(); in tgsi_transform_temps_decl()
104 decl.Declaration.File = TGSI_FILE_TEMPORARY; in tgsi_transform_temps_decl()
105 decl.Range.First = firstIdx; in tgsi_transform_temps_decl()
106 decl.Range.Last = lastIdx; in tgsi_transform_temps_decl()
107 ctx->emit_declaration(ctx, &decl); in tgsi_transform_temps_decl()
121 struct tgsi_full_declaration decl; in tgsi_transform_const_decl() local
123 decl = tgsi_default_full_declaration(); in tgsi_transform_const_decl()
[all …]
Dtgsi_dump.c300 struct tgsi_full_declaration *decl ) in iter_declaration() argument
303 boolean patch = decl->Semantic.Name == TGSI_SEMANTIC_PATCH || in iter_declaration()
304 decl->Semantic.Name == TGSI_SEMANTIC_TESSINNER || in iter_declaration()
305 decl->Semantic.Name == TGSI_SEMANTIC_TESSOUTER || in iter_declaration()
306 decl->Semantic.Name == TGSI_SEMANTIC_PRIMID; in iter_declaration()
310 TXT(tgsi_file_name(decl->Declaration.File)); in iter_declaration()
315 if (decl->Declaration.File == TGSI_FILE_INPUT && in iter_declaration()
324 if (decl->Declaration.File == TGSI_FILE_OUTPUT && in iter_declaration()
330 if (decl->Declaration.Dimension) { in iter_declaration()
332 SID(decl->Dim.Index2D); in iter_declaration()
[all …]
Dtgsi_emulate.c48 struct tgsi_full_declaration *decl) in transform_decl() argument
53 decl->Declaration.File == TGSI_FILE_INPUT) { in transform_decl()
54 assert(decl->Declaration.Interpolate); in transform_decl()
55 decl->Interp.Location = TGSI_INTERPOLATE_LOC_SAMPLE; in transform_decl()
58 tctx->emit_declaration(tctx, decl); in transform_decl()
65 struct tgsi_full_declaration decl; in passthrough_edgeflag() local
69 decl = tgsi_default_full_declaration(); in passthrough_edgeflag()
70 decl.Declaration.File = TGSI_FILE_INPUT; in passthrough_edgeflag()
71 decl.Range.First = decl.Range.Last = ctx->info.num_inputs; in passthrough_edgeflag()
72 tctx->emit_declaration(tctx, &decl); in passthrough_edgeflag()
[all …]
/external/deqp/framework/opengl/simplereference/
DsglrShaderProgram.cpp133 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 …]
/external/libabigail/src/
Dabg-writer.cc744 decl_is_emitted(decl_base_sptr& decl) const in decl_is_emitted()
746 if (is_type(decl)) in decl_is_emitted()
749 string repr = get_pretty_representation(decl, true); in decl_is_emitted()
750 interned_string irepr = decl->get_environment()->intern(repr); in decl_is_emitted()
808 record_decl_as_emitted(const decl_base_sptr &decl)const in record_decl_as_emitted()
810 string repr = get_pretty_representation(decl, true); in record_decl_as_emitted()
811 interned_string irepr = decl->get_environment()->intern(repr); in record_decl_as_emitted()
983 annotate(const T& decl, in annotate() argument
987 if (!decl) in annotate()
998 << xml::escape_xml_comment(decl->get_pretty_representation()) in annotate()
[all …]
/external/python/pybind11/docs/
Dbenchmark.py12 decl = ""
16 decl += "class cl%03i;\n" % cl
17 decl += "\n"
20 decl += "class cl%03i {\n" % cl
21 decl += "public:\n"
26 decl += " cl%03i *fn_%03i(" % (ret, fn)
27 decl += ", ".join("cl%03i *" % p for p in params)
28 decl += ");\n"
30 decl += "};\n\n"
35 result += decl + "\n"
[all …]
/external/selinux/libsepol/src/
Davrule_block.c55 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 …]
/external/libabigail/tests/data/test-read-dwarf/
DPR22122-libftdc.so.abi248 <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='long long unsigned int' size-in-bits='64' id='type-id-20'/>
275 <type-decl name='sizetype' size-in-bits='64' id='type-id-4'/>
[all …]
Dlibtest24-drop-fns.so.abi15 <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 …<class-decl name='typedef __va_list_tag __va_list_tag' size-in-bits='192' is-struct='yes' visibili…
22 <var-decl name='gp_offset' type-id='type-id-7' visibility='default'/>
25 <var-decl name='fp_offset' type-id='type-id-7' visibility='default'/>
28 <var-decl name='overflow_arg_area' type-id='type-id-8' visibility='default'/>
31 <var-decl name='reg_save_area' type-id='type-id-8' visibility='default'/>
33 </class-decl>
34 <type-decl name='double' size-in-bits='64' id='type-id-9'/>
35 <type-decl name='float' size-in-bits='32' id='type-id-10'/>
[all …]
DPR22015-libboost_iostreams.so.abi139 <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 …<class-decl name='__va_list_tag' size-in-bits='192' is-struct='yes' visibility='default' id='type-…
146 <var-decl name='gp_offset' type-id='type-id-7' visibility='default'/>
149 <var-decl name='fp_offset' type-id='type-id-7' visibility='default'/>
152 <var-decl name='overflow_arg_area' type-id='type-id-8' visibility='default'/>
155 <var-decl name='reg_save_area' type-id='type-id-8' visibility='default'/>
157 </class-decl>
158 <type-decl name='double' size-in-bits='64' id='type-id-9'/>
159 <type-decl name='float' size-in-bits='32' id='type-id-10'/>
[all …]
Dlibtest23.so.abi15 <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 …<class-decl name='typedef __va_list_tag __va_list_tag' size-in-bits='192' is-struct='yes' visibili…
19 <var-decl name='gp_offset' type-id='type-id-4' visibility='default'/>
22 <var-decl name='fp_offset' type-id='type-id-4' visibility='default'/>
25 <var-decl name='overflow_arg_area' type-id='type-id-5' visibility='default'/>
28 <var-decl name='reg_save_area' type-id='type-id-5' visibility='default'/>
30 </class-decl>
31 …<class-decl name='__anonymous_struct__1' is-struct='yes' is-anonymous='yes' visibility='default' i…
32 <type-decl name='double' size-in-bits='64' id='type-id-7'/>
[all …]
Dlibtest24-drop-fns-2.so.abi15 <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 …<class-decl name='typedef __va_list_tag __va_list_tag' size-in-bits='192' is-struct='yes' visibili…
22 <var-decl name='gp_offset' type-id='type-id-7' visibility='default'/>
25 <var-decl name='fp_offset' type-id='type-id-7' visibility='default'/>
28 <var-decl name='overflow_arg_area' type-id='type-id-8' visibility='default'/>
31 <var-decl name='reg_save_area' type-id='type-id-8' visibility='default'/>
33 </class-decl>
34 <type-decl name='double' size-in-bits='64' id='type-id-9'/>
35 <type-decl name='float' size-in-bits='32' id='type-id-10'/>
[all …]
/external/bcc/src/cc/frontends/b/
Dparser.cc30 bool Parser::variable_exists(VariableDeclStmtNode *decl) const { in variable_exists()
31 if (scopes_->current_var()->lookup(decl->id_->name_, SCOPE_LOCAL) == NULL) { in variable_exists()
37 VariableDeclStmtNode *Parser::variable_add(vector<int> *types, VariableDeclStmtNode *decl) { in variable_add() argument
39 if (variable_exists(decl)) { in variable_add()
40 fprintf(stderr, "redeclaration of variable %s", decl->id_->name_.c_str()); in variable_add()
43 decl->scope_id_ = string("v") + std::to_string(scopes_->current_var()->id_) + string("_"); in variable_add()
44 scopes_->current_var()->add(decl->id_->name_, decl); in variable_add()
45 return decl; in variable_add()
48 VariableDeclStmtNode *Parser::variable_add(vector<int> *types, VariableDeclStmtNode *decl, ExprNode… in variable_add() argument
49 AssignExprNode::Ptr assign(new AssignExprNode(decl->id_->copy(), ExprNode::Ptr(init_expr))); in variable_add()
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_vs_draw.c80 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 …]
/external/python/pycparser/utils/internal/
Dmemprofiling.py8 def expand_decl(decl): argument
11 typ = type(decl)
14 return ['TypeDecl', expand_decl(decl.type)]
16 return ['IdentifierType', decl.names]
18 return ['ID', decl.name]
20 decls = [expand_decl(d) for d in decl.decls or []]
21 return [typ.__name__, decl.name, decls]
23 nested = expand_decl(decl.type)
26 if decl.quals:
27 return ['Decl', decl.quals, decl.name, nested]
[all …]
/external/libabigail/tests/data/test-abidiff/
Dtest-PR18791-v1.so.abi102 <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 …]
Dtest-PR18791-v0.so.abi102 <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 …]
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangASTImporter.cpp67 clang::Decl *decl) { in CopyDecl() argument
70 clang::ASTContext *src_ast = &decl->getASTContext(); in CopyDecl()
78 llvm::Expected<clang::Decl *> result = delegate_sp->Import(decl); in CopyDecl()
84 ClangASTMetadata *metadata = GetDeclMetadata(decl); in CopyDecl()
88 if (NamedDecl *named_decl = dyn_cast<NamedDecl>(decl)) in CopyDecl()
92 decl->getDeclKindName(), named_decl->getNameAsString(), in CopyDecl()
98 decl->getDeclKindName(), user_id); in CopyDecl()
115 void OverrideOne(clang::Decl *decl) { in OverrideOne() argument
116 if (m_backups.find(decl) != m_backups.end()) { in OverrideOne()
120 m_backups[decl] = {decl->getDeclContext(), decl->getLexicalDeclContext()}; in OverrideOne()
[all …]
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_dump.c282 struct tgsi_full_declaration *decl ) in iter_declaration() argument
285 boolean patch = decl->Semantic.Name == TGSI_SEMANTIC_PATCH || in iter_declaration()
286 decl->Semantic.Name == TGSI_SEMANTIC_TESSINNER || in iter_declaration()
287 decl->Semantic.Name == TGSI_SEMANTIC_TESSOUTER || in iter_declaration()
288 decl->Semantic.Name == TGSI_SEMANTIC_PRIMID; in iter_declaration()
292 TXT(tgsi_file_name(decl->Declaration.File)); in iter_declaration()
297 if (decl->Declaration.File == TGSI_FILE_INPUT && in iter_declaration()
306 if (decl->Declaration.File == TGSI_FILE_OUTPUT && in iter_declaration()
312 if (decl->Declaration.Dimension) { in iter_declaration()
314 SID(decl->Dim.Index2D); in iter_declaration()
[all …]
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi7 <type-decl name="__ARRAY_SIZE_TYPE__" size-in-bits="64" id="7ff19f0f"/>
17 <type-decl name="bool" size-in-bits="8" id="c894953d"/>
39 …<class-decl name="address_space" is-struct="yes" visibility="default" is-declaration-only="yes" id…
40 …<class-decl name="anon_vma" size-in-bits="704" is-struct="yes" visibility="default" filepath="incl…
42 …<var-decl name="root" type-id="a8f86cda" visibility="default" filepath="include/linux/rmap.h" line…
45 …<var-decl name="rwsem" type-id="f19fdb93" visibility="default" filepath="include/linux/rmap.h" lin…
48 …<var-decl name="refcount" type-id="49178f86" visibility="default" filepath="include/linux/rmap.h" …
51 …<var-decl name="degree" type-id="f0981eeb" visibility="default" filepath="include/linux/rmap.h" li…
54 …<var-decl name="parent" type-id="a8f86cda" visibility="default" filepath="include/linux/rmap.h" li…
57 …<var-decl name="rb_root" type-id="6fe1603d" visibility="default" filepath="include/linux/rmap.h" l…
[all …]
Dtest-PR27569-v0.abi7 <type-decl name="__ARRAY_SIZE_TYPE__" size-in-bits="64" id="7ff19f0f"/>
17 <type-decl name="bool" size-in-bits="8" id="c894953d"/>
39 …<class-decl name="address_space" is-struct="yes" visibility="default" is-declaration-only="yes" id…
40 …<class-decl name="anon_vma" size-in-bits="704" is-struct="yes" visibility="default" filepath="incl…
42 …<var-decl name="root" type-id="a8f86cda" visibility="default" filepath="include/linux/rmap.h" line…
45 …<var-decl name="rwsem" type-id="f19fdb93" visibility="default" filepath="include/linux/rmap.h" lin…
48 …<var-decl name="refcount" type-id="49178f86" visibility="default" filepath="include/linux/rmap.h" …
51 …<var-decl name="degree" type-id="f0981eeb" visibility="default" filepath="include/linux/rmap.h" li…
54 …<var-decl name="parent" type-id="a8f86cda" visibility="default" filepath="include/linux/rmap.h" li…
57 …<var-decl name="rb_root" type-id="6fe1603d" visibility="default" filepath="include/linux/rmap.h" l…
[all …]

12345678910>>...47