Home
last modified time | relevance | path

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

12345678910>>...14

/external/antlr/antlr-3.4/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/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/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/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()
112 avrule_decl_t *decl; in avrule_block_destroy() local
116 decl = x->branch_list; in avrule_block_destroy()
[all …]
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_dump.c242 struct tgsi_full_declaration *decl ) in iter_declaration() argument
248 ENM(decl->Declaration.File, tgsi_file_names); in iter_declaration()
251 if (decl->Declaration.File == TGSI_FILE_INPUT && in iter_declaration()
256 if (decl->Declaration.Dimension) { in iter_declaration()
258 SID(decl->Dim.Index2D); in iter_declaration()
263 SID(decl->Range.First); in iter_declaration()
264 if (decl->Range.First != decl->Range.Last) { in iter_declaration()
266 SID(decl->Range.Last); in iter_declaration()
272 decl->Declaration.UsageMask ); in iter_declaration()
274 if (decl->Declaration.Local) in iter_declaration()
[all …]
Dtgsi_parse.c105 struct tgsi_full_declaration *decl = &ctx->FullToken.FullDeclaration; in tgsi_parse_token() local
107 memset(decl, 0, sizeof *decl); in tgsi_parse_token()
108 copy_token(&decl->Declaration, &token); in tgsi_parse_token()
110 next_token( ctx, &decl->Range ); in tgsi_parse_token()
112 if (decl->Declaration.Dimension) { in tgsi_parse_token()
113 next_token(ctx, &decl->Dim); in tgsi_parse_token()
116 if( decl->Declaration.Interpolate ) { in tgsi_parse_token()
117 next_token( ctx, &decl->Interp ); in tgsi_parse_token()
120 if( decl->Declaration.Semantic ) { in tgsi_parse_token()
121 next_token( ctx, &decl->Semantic ); in tgsi_parse_token()
[all …]
Dtgsi_ureg.c47 struct tgsi_declaration decl; member
459 struct const_decl *decl = &ureg->const_decls2D[index2D]; in ureg_DECL_constant2D() local
463 if (decl->nr_constant_ranges < UREG_MAX_CONSTANT_RANGE) { in ureg_DECL_constant2D()
464 uint i = decl->nr_constant_ranges++; in ureg_DECL_constant2D()
466 decl->constant_range[i].first = first; in ureg_DECL_constant2D()
467 decl->constant_range[i].last = last; in ureg_DECL_constant2D()
481 struct const_decl *decl = &ureg->const_decls; in ureg_DECL_constant() local
487 for (i = 0; i < decl->nr_constant_ranges; i++) { in ureg_DECL_constant()
488 if (decl->constant_range[i].first <= index && in ureg_DECL_constant()
489 decl->constant_range[i].last >= index) { in ureg_DECL_constant()
[all …]
Dtgsi_text.c1067 struct tgsi_full_declaration decl; in parse_declaration() local
1086 decl = tgsi_default_full_declaration(); in parse_declaration()
1087 decl.Declaration.File = file; in parse_declaration()
1088 decl.Declaration.UsageMask = writemask; in parse_declaration()
1091 decl.Range.First = brackets[0].first; in parse_declaration()
1092 decl.Range.Last = brackets[0].last; in parse_declaration()
1094 decl.Range.First = brackets[1].first; in parse_declaration()
1095 decl.Range.Last = brackets[1].last; in parse_declaration()
1097 decl.Declaration.Dimension = 1; in parse_declaration()
1098 decl.Dim.Index2D = brackets[0].first; in parse_declaration()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c198 struct tgsi_full_declaration *decl) in pstip_transform_decl() argument
205 if (decl->Declaration.File == TGSI_FILE_SAMPLER) { in pstip_transform_decl()
207 for (i = decl->Range.First; i <= decl->Range.Last; i++) { in pstip_transform_decl()
211 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in pstip_transform_decl()
212 pctx->maxInput = MAX2(pctx->maxInput, (int) decl->Range.Last); in pstip_transform_decl()
213 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) in pstip_transform_decl()
214 pctx->wincoordInput = (int) decl->Range.First; in pstip_transform_decl()
216 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in pstip_transform_decl()
218 for (i = decl->Range.First; i <= decl->Range.Last; i++) { in pstip_transform_decl()
223 ctx->emit_declaration(ctx, decl); in pstip_transform_decl()
[all …]
/external/deqp/framework/opengl/
DgluVarType.cpp327 std::ostream& operator<< (std::ostream& str, const VariableDeclaration& decl) in operator <<() argument
329 if (decl.layout != Layout()) in operator <<()
330 str << decl.layout << " "; in operator <<()
333 if (decl.memoryAccessQualifierBits & (1 << bitNdx)) in operator <<()
336 if (decl.interpolation != INTERPOLATION_LAST) in operator <<()
337 str << getInterpolationName(decl.interpolation) << " "; in operator <<()
339 if (decl.storage != STORAGE_LAST) in operator <<()
340 str << getStorageName(decl.storage) << " "; in operator <<()
342 str << declare(decl.varType, decl.name); in operator <<()
347 namespace decl namespace
[all …]
DgluVarType.hpp285 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);
326 inline decl::Indent indent (int indentLevel) { return decl::Indent(indentLevel);… in indent()
327 inline decl::DeclareStructTypePtr declare (const StructType* structPtr, int indentLevel = 0) … in declare()
328 inline decl::DeclareStructType declare (const StructType& structType, int indentLevel = 0) {… in declare()
329 inline decl::DeclareVariable declare (const VarType& varType, const std::string& name, int inden… in declare()
331 std::ostream& operator<< (std::ostream& str, const Layout& decl);
332 std::ostream& operator<< (std::ostream& str, const VariableDeclaration& decl);
/external/boringssl/src/util/
Ddoc.go141 func extractDecl(lines []string, lineNo int) (decl string, rest []string, restLineNo int, err error…
179 if len(decl) > 0 {
180 decl += "\n"
182 decl += line
186 if len(stack) == 0 && (len(decl) == 0 || decl[len(decl)-1] != '\\') {
202 func getNameFromDecl(decl string) (string, bool) {
203 for strings.HasPrefix(decl, "#if") || strings.HasPrefix(decl, "#elif") {
204 decl = skipLine(decl)
206 if strings.HasPrefix(decl, "struct ") {
209 if strings.HasPrefix(decl, "#define ") {
[all …]
/external/selinux/checkpolicy/
Dmodule_compiler.c32 avrule_decl_t *decl; /* if in an avrule block, which member
131 avrule_decl_t *decl = stack_top->decl; in declare_symbol() local
139 SCOPE_DECL, decl->decl_id, dest_value); in declare_symbol()
159 if (ebitmap_set_bit(decl->declared.scope + symbol_type, in declare_symbol()
245 roles_tab = stack_top->decl->p_roles.table; in declare_role()
450 users_tab = stack_top->decl->p_users.table; in declare_user()
524 types_tab = stack_top->decl->p_types.table; in get_local_type()
572 roles_tab = stack_top->decl->p_roles.table; in get_local_role()
626 avrule_decl_t *decl = stack_top->decl; in require_symbol() local
634 SCOPE_REQ, decl->decl_id, dest_value); in require_symbol()
[all …]
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.py52 def __init__(self, instance = '', decl = None): argument
55 self.decl = decl
58 return decl_dumper_t(self._instance, self.decl)
61 class_ = self.decl
62 assert self.decl.class_type in ('struct', 'union')
72 for name, value in self.decl.values:
84 def dump_decl(instance, decl): argument
85 dumper = decl_dumper_t(instance, decl)
86 algorithm.apply_visitor(dumper, decl)
153 decl = type_traits.remove_declarated(self.type)
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_pstipple.c140 struct tgsi_full_declaration *decl) in pstip_transform_decl() argument
144 if (decl->Declaration.File == TGSI_FILE_SAMPLER) { in pstip_transform_decl()
146 for (i = decl->Range.First; in pstip_transform_decl()
147 i <= decl->Range.Last; i++) { in pstip_transform_decl()
151 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in pstip_transform_decl()
152 pctx->maxInput = MAX2(pctx->maxInput, (int) decl->Range.Last); in pstip_transform_decl()
153 if (decl->Semantic.Name == TGSI_SEMANTIC_POSITION) in pstip_transform_decl()
154 pctx->wincoordInput = (int) decl->Range.First; in pstip_transform_decl()
156 else if (decl->Declaration.File == TGSI_FILE_TEMPORARY) { in pstip_transform_decl()
158 for (i = decl->Range.First; in pstip_transform_decl()
[all …]
Ddraw_pipe_aaline.c153 struct tgsi_full_declaration *decl) in aa_transform_decl() argument
157 if (decl->Declaration.File == TGSI_FILE_OUTPUT && in aa_transform_decl()
158 decl->Semantic.Name == TGSI_SEMANTIC_COLOR && in aa_transform_decl()
159 decl->Semantic.Index == 0) { in aa_transform_decl()
160 aactx->colorOutput = decl->Range.First; in aa_transform_decl()
162 else if (decl->Declaration.File == TGSI_FILE_SAMPLER) { in aa_transform_decl()
164 for (i = decl->Range.First; in aa_transform_decl()
165 i <= decl->Range.Last; i++) { in aa_transform_decl()
169 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in aa_transform_decl()
170 if ((int) decl->Range.Last > aactx->maxInput) in aa_transform_decl()
[all …]
Ddraw_pipe_aapoint.c134 struct tgsi_full_declaration *decl) in aa_transform_decl() argument
138 if (decl->Declaration.File == TGSI_FILE_OUTPUT && in aa_transform_decl()
139 decl->Semantic.Name == TGSI_SEMANTIC_COLOR && in aa_transform_decl()
140 decl->Semantic.Index == 0) { in aa_transform_decl()
141 aactx->colorOutput = decl->Range.First; in aa_transform_decl()
143 else if (decl->Declaration.File == TGSI_FILE_INPUT) { in aa_transform_decl()
144 if ((int) decl->Range.Last > aactx->maxInput) in aa_transform_decl()
145 aactx->maxInput = decl->Range.Last; in aa_transform_decl()
146 if (decl->Semantic.Name == TGSI_SEMANTIC_GENERIC && in aa_transform_decl()
147 (int) decl->Semantic.Index > aactx->maxGeneric) { in aa_transform_decl()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_vdecl.c49 SVGA3dVertexDecl decl; in emit_hw_vs_vdecl() local
107 decl.identity.type = svga->state.sw.ve_format[i]; in emit_hw_vs_vdecl()
108 decl.identity.method = SVGA3D_DECLMETHOD_DEFAULT; in emit_hw_vs_vdecl()
109 decl.identity.usage = usage; in emit_hw_vs_vdecl()
110 decl.identity.usageIndex = index; in emit_hw_vs_vdecl()
111 decl.array.stride = vb->stride; in emit_hw_vs_vdecl()
116 decl.array.offset = (vb->buffer_offset in emit_hw_vs_vdecl()
121 assert(decl.array.offset >= 0); in emit_hw_vs_vdecl()
125 &decl, in emit_hw_vs_vdecl()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemTemplateElement.java871 XMLNSDecl decl = new XMLNSDecl(prefix, uri, false); in setPrefixes() local
873 m_declaredPrefixes.add(decl); in setPrefixes()
927 XMLNSDecl decl = (XMLNSDecl) nsDecls.get(i); in getNamespaceForPrefix() local
929 if (prefix.equals(decl.getPrefix())) in getNamespaceForPrefix()
930 return decl.getURI(); in getNamespaceForPrefix()
1048 XMLNSDecl decl = (XMLNSDecl) m_declaredPrefixes.get(i); in resolvePrefixTables() local
1049 String prefix = decl.getPrefix(); in resolvePrefixTables()
1050 String uri = decl.getURI(); in resolvePrefixTables()
1068 decl = new XMLNSDecl(nsAlias.getStylesheetPrefix(), in resolvePrefixTables()
1072 decl = new XMLNSDecl(prefix, uri, shouldExclude); in resolvePrefixTables()
[all …]
/external/v8/test/mjsunit/harmony/
Dblock-const-assign-sloppy.js121 function(decl) { return decl; },
122 function(decl) { return "eval(\'" + decl + "\')"; },
123 function(decl) { return "{ " + decl + " }"; },
124 function(decl) { return "(function() { " + decl + " })()"; },
/external/v8/test/mjsunit/es6/
Dblock-const-assign.js121 function(decl) { return decl; },
122 function(decl) { return "eval(\'" + decl + "\')"; },
123 function(decl) { return "{ " + decl + " }"; },
124 function(decl) { return "(function() { " + decl + " })()"; },
/external/selinux/libsepol/tests/
Dtest-deps.c143 avrule_decl_t *decl; in do_deps_modreq_global() local
173 decl = test_find_decl_by_sym(base, SYM_TYPES, decl_type); in do_deps_modreq_global()
174 CU_ASSERT_FATAL(decl != NULL); in do_deps_modreq_global()
176 CU_ASSERT(decl->enabled == 1); in do_deps_modreq_global()
225 avrule_decl_t *decl; in do_deps_modreq_opt() local
252 decl = test_find_decl_by_sym(base, SYM_TYPES, decl_type); in do_deps_modreq_opt()
253 CU_ASSERT_FATAL(decl != NULL); in do_deps_modreq_opt()
256 CU_ASSERT(decl->enabled == 1); in do_deps_modreq_opt()
258 CU_ASSERT(decl->enabled == 0); in do_deps_modreq_opt()
/external/opencv3/modules/python/src2/
Dhdr_parser.py215 decl = []
227 decl.append(["const " + self.get_dotted_name(pv[0].strip()), val, [], []])
228 return decl
300 decl = [fname, rettype, [], []]
355 decl[3].append([atype, aname, defval, []])
358 decl[2].append("/S")
360 decl[2].append("/V")
362 decl[2].append("/E")
364 decl[2].append("/A")
366 decl[2].append("/C")
[all …]
/external/boringssl/linux-x86/crypto/bn/
Dbn-586.S211 decl %ecx
222 decl %ecx
233 decl %ecx
244 decl %ecx
255 decl %ecx
266 decl %ecx
409 decl %ebp
418 decl %ebp
427 decl %ebp
436 decl %ebp
[all …]
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp281 ostringstream decl; in specializeVertexShader() local
295 decl << vtxIn << " highp vec4 dEQP_Position;\n"; in specializeVertexShader()
307 decl << vtxIn << " " << floatTypeStr << " " << val.name << ";\n"; in specializeVertexShader()
311 decl << vtxIn << " " << floatTypeStr << " a_" << val.name << ";\n"; in specializeVertexShader()
327 decl << vtxOut << " " << floatTypeStr << " " << val.name << ";\n"; in specializeVertexShader()
330 decl << vtxOut << " " << floatTypeStr << " v_" << val.name << ";\n"; in specializeVertexShader()
331 decl << refTypeStr << " " << val.name << ";\n"; in specializeVertexShader()
339 params.insert(pair<string, string>("DECLARATIONS", decl.str())); in specializeVertexShader()
354 ostringstream decl; in specializeFragmentShader() local
366 genCompareFunctions(decl, spec.values, false); in specializeFragmentShader()
[all …]

12345678910>>...14