Home
last modified time | relevance | path

Searched refs:StringTemplate (Results 1 – 25 of 104) sorted by relevance

12345

/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DDOTTreeGenerator.java30 import org.antlr.stringtemplate.StringTemplate;
55 public static StringTemplate _treeST =
56 new StringTemplate(
67 public static StringTemplate _nodeST =
68 new StringTemplate("$name$ [label=\"$text$\"];\n");
70 public static StringTemplate _edgeST =
71 new StringTemplate("$parent$ -> $child$ // \"$parentText$\" -> \"$childText$\"\n");
79 public StringTemplate toDOT(Object tree, in toDOT()
81 StringTemplate _treeST, in toDOT()
82 StringTemplate _edgeST) in toDOT()
[all …]
/external/deqp/framework/common/
DtcuStringTemplate.hpp32 class StringTemplate class
35 StringTemplate (void);
36 StringTemplate (const std::string& str);
37 ~StringTemplate (void);
44 StringTemplate (const StringTemplate&); // not allowed!
45 StringTemplate& operator= (const StringTemplate&); // not allowed!
DtcuStringTemplate.cpp36 StringTemplate::StringTemplate (void) in StringTemplate() function in tcu::StringTemplate
40 StringTemplate::StringTemplate (const std::string& str) in StringTemplate() function in tcu::StringTemplate
45 StringTemplate::~StringTemplate (void) in ~StringTemplate()
49 void StringTemplate::setString (const std::string& str) in setString()
54 string StringTemplate::specialize (const map<string, string>& params) const in specialize()
/external/deqp/modules/gles31/functional/
Des31fNegativeTessellationTests.cpp121 makeTessPipelineSources(tcu::StringTemplate(vertexShaderSource).specialize(args), in single_tessellation_stage()
122 tcu::StringTemplate(fragmentShaderSource).specialize(args), in single_tessellation_stage()
123 tcu::StringTemplate(tessControlShaderSource).specialize(args), in single_tessellation_stage()
140 makeTessPipelineSources(tcu::StringTemplate(vertexShaderSource).specialize(args), in single_tessellation_stage()
141 tcu::StringTemplate(fragmentShaderSource).specialize(args), in single_tessellation_stage()
142 tcu::StringTemplate(tessControlShaderSource).specialize(args), in single_tessellation_stage()
164 makeTessPipelineSources(tcu::StringTemplate(vertexShaderSource).specialize(args), in single_tessellation_stage()
165 tcu::StringTemplate(fragmentShaderSource).specialize(args), in single_tessellation_stage()
167 tcu::StringTemplate(tessEvalShaderSource).specialize(args))); in single_tessellation_stage()
181 makeTessPipelineSources(tcu::StringTemplate(vertexShaderSource).specialize(args), in single_tessellation_stage()
[all …]
Des31fProgramStateQueryTests.cpp133 << glu::VertexSource(tcu::StringTemplate(s_vtxFragTemplate).specialize(args)) in iterate()
134 << glu::FragmentSource(tcu::StringTemplate(s_vtxFragTemplate).specialize(args)) in iterate()
135 << glu::GeometrySource(tcu::StringTemplate(s_geometryTemplate1).specialize(args))); in iterate()
150 << glu::VertexSource(tcu::StringTemplate(s_vtxFragTemplate).specialize(args)) in iterate()
151 << glu::FragmentSource(tcu::StringTemplate(s_vtxFragTemplate).specialize(args)) in iterate()
152 << glu::GeometrySource(tcu::StringTemplate(s_geometryTemplate2).specialize(args))); in iterate()
166 << glu::VertexSource(tcu::StringTemplate(s_vtxFragTemplate).specialize(args)) in iterate()
167 << glu::FragmentSource(tcu::StringTemplate(s_vtxFragTemplate).specialize(args)) in iterate()
168 << glu::GeometrySource(tcu::StringTemplate(s_geometryTemplate3).specialize(args))); in iterate()
259 << glu::VertexSource(tcu::StringTemplate(s_vtxFragTemplate).specialize(args)) in iterate()
[all …]
Des31fNegativeShaderFramebufferFetchTests.cpp136 << glu::VertexSource(tcu::StringTemplate(vertexShaderSource).specialize(args)) in last_frag_data_not_defined()
137 << glu::FragmentSource(tcu::StringTemplate(fragShaderSource).specialize(args))); in last_frag_data_not_defined()
161 << glu::VertexSource(tcu::StringTemplate(vertexShaderSource).specialize(args)) in last_frag_data_readonly()
162 << glu::FragmentSource(tcu::StringTemplate(fragShaderSource).specialize(args))); in last_frag_data_readonly()
187 << glu::VertexSource(tcu::StringTemplate(vertexShaderSource).specialize(args)) in invalid_inout_version()
188 << glu::FragmentSource(tcu::StringTemplate(fragShaderSource).specialize(args))); in invalid_inout_version()
215 << glu::VertexSource(tcu::StringTemplate(vertexShaderSource).specialize(args)) in invalid_redeclaration_inout()
216 << glu::FragmentSource(tcu::StringTemplate(fragShaderSource).specialize(args))); in invalid_redeclaration_inout()
240 << glu::VertexSource(tcu::StringTemplate(vertShaderSource).specialize(args)) in invalid_vertex_inout()
241 << glu::FragmentSource(tcu::StringTemplate(fragmentShaderSource).specialize(args))); in invalid_vertex_inout()
Des31fNegativeVertexArrayApiTests.cpp395 …Context(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu:: in draw_arrays()
455 …Context(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu:: in draw_arrays_incomplete_primitive()
492 …Context(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu:: in draw_elements()
602 …Context(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu:: in draw_elements_incomplete_primitive()
730 …amSources() << glu::ProgramSeparable(true) << glu::VertexSource(tcu::StringTemplate(vertexShaderSo… in draw_elements_base_vertex_primitive_mode_mismatch()
747 …Context(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu:: in draw_arrays_instanced()
815 …Context(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu:: in draw_arrays_instanced_incomplete_primitive()
854 …Context(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu:: in draw_elements_instanced()
971 …Context(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu:: in draw_elements_instanced_incomplete_primitive()
1050 …Context(), glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu:: in draw_elements_instanced_base_vertex()
[all …]
Des31fNegativeComputeTests.cpp389 const glu::VertexSource vertSource(tcu::StringTemplate(vertexShaderSource).specialize(args)); in program_not_active()
390 const glu::FragmentSource fragSource(tcu::StringTemplate(fragmentShaderSource).specialize(args)); in program_not_active()
454 …const glu::ComputeSource compSource(tcu::StringTemplate(invalidComputeShaderSource).specialize(arg… in invalid_program_query()
474 const glu::VertexSource vertSource(tcu::StringTemplate(vertexShaderSource).specialize(args)); in invalid_program_query()
475 const glu::FragmentSource fragSource(tcu::StringTemplate(fragmentShaderSource).specialize(args)); in invalid_program_query()
500 const glu::ComputeSource compSource(tcu::StringTemplate(computeShaderSource).specialize(args)); in invalid_dispatch_compute_indirect()
591 const glu::ComputeSource compSource(tcu::StringTemplate(computeShaderSource).specialize(args)); in invalid_maximum_work_group_counts()
823 …const glu::VertexSource vertSource (tcu::StringTemplate(genBuiltInSource(glu::SHADERTYPE_VERT… in invalid_write_built_in_constants()
824 …const glu::FragmentSource fragSource (tcu::StringTemplate(genBuiltInSource(glu::SHADERTYPE_FRA… in invalid_write_built_in_constants()
825 …const glu::TessellationControlSource tessCtrlSource (tcu::StringTemplate(genBuiltInSource(glu::SHA… in invalid_write_built_in_constants()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsm16bitStorageTests.cpp100 using tcu::StringTemplate;
454 const StringTemplate shaderTemplate ( in addCompute16bitStorageUniform16To32Group()
724 const StringTemplate shaderTemplate ( in addCompute16bitStoragePushConstant16To32Group()
971 const StringTemplate capabilities ("OpCapability ${cap}\n"); in addGraphics16BitStorageUniformInt32To16Group()
1006 const StringTemplate scalarPreMain( in addGraphics16BitStorageUniformInt32To16Group()
1020 const StringTemplate scalarDecoration( in addGraphics16BitStorageUniformInt32To16Group()
1032 const StringTemplate scalarTestFunc( in addGraphics16BitStorageUniformInt32To16Group()
1067 const StringTemplate vecPreMain( in addGraphics16BitStorageUniformInt32To16Group()
1083 const StringTemplate vecDecoration( in addGraphics16BitStorageUniformInt32To16Group()
1095 const StringTemplate vecTestFunc( in addGraphics16BitStorageUniformInt32To16Group()
[all …]
DvktSpvAsmGraphicsShaderTestUtil.cpp56 using tcu::StringTemplate;
294 return StringTemplate(failMessageTemplate).specialize(parameters); in getSpecializedFailMessage()
523 return tcu::StringTemplate(vertexShaderBoilerplate).specialize(fragments); in makeVertexShaderAssembly()
664 return tcu::StringTemplate(tessControlShaderBoilerplate).specialize(fragments); in makeTessControlShaderAssembly()
827 return tcu::StringTemplate(tessEvalBoilerplate).specialize(fragments); in makeTessEvalShaderAssembly()
971 return tcu::StringTemplate(geometryShaderBoilerplate).specialize(fragments); in makeGeometryShaderAssembly()
1039 return tcu::StringTemplate(fragmentShaderBoilerplate).specialize(fragments); in makeFragmentShaderAssembly()
1272 …dst.spirvAsmSources.add("vert") << StringTemplate(makeVertexShaderAssembly(fillInterfacePlaceholde… in addShaderCodeCustomVertex()
1273 …dst.spirvAsmSources.add("frag") << StringTemplate(makeFragmentShaderAssembly(fillInterfacePlacehol… in addShaderCodeCustomVertex()
1292 …dst.spirvAsmSources.add("vert") << StringTemplate(makeVertexShaderAssembly(fillInterfacePlaceholde… in addShaderCodeCustomTessControl()
[all …]
DvktSpvAsmVariablePointersTests.cpp75 using tcu::StringTemplate;
219 const StringTemplate shaderTemplate ( in addVariablePointersComputeGroup()
748 const StringTemplate shaderTemplate ( in addComplexTypesVariablePointersComputeGroup()
1139 const StringTemplate shaderTemplate ( in addNullptrVariablePointersComputeGroup()
1264 const StringTemplate preMain ( in addVariablePointersGraphicsGroup()
1295 const StringTemplate decoration ( in addVariablePointersGraphicsGroup()
1309 const StringTemplate testFunction ( in addVariablePointersGraphicsGroup()
1658 const StringTemplate decoration ( in addTwoInputBufferReadOnlyVariablePointersGraphicsGroup()
1679 const StringTemplate preMain ( in addTwoInputBufferReadOnlyVariablePointersGraphicsGroup()
1727 const StringTemplate selectorFunctions ( in addTwoInputBufferReadOnlyVariablePointersGraphicsGroup()
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DST.stg37 using Antlr.StringTemplate;
38 using Antlr.StringTemplate.Language;
47 private StringTemplate _st;
48 public StringTemplate Template { get { return _st; } set { _st = value; } }
153 new StringTemplate(templateLib, "<template>"<if(args)>,
170 new StringTemplate(templateLib,<stringExpr>)
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtestdottreegen.py29 treeST = stringtemplate3.StringTemplate(
37 edgeST = stringtemplate3.StringTemplate(
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Ddottreegen.py51 _treeST = stringtemplate3.StringTemplate(
64 _nodeST = stringtemplate3.StringTemplate(
68 _edgeST = stringtemplate3.StringTemplate(
/external/deqp/modules/gles3/functional/
Des3fShaderReturnTests.cpp32 using tcu::StringTemplate;
129 StringTemplate tmpl( in makeConditionalReturnInFuncCase()
169 StringTemplate tmpl( in makeOutputWriteReturnCase()
225 StringTemplate tmpl( in makeReturnInLoopCase()
Des3fShaderIndexingTests.cpp327 StringTemplate vertTemplate(vtx.str().c_str()); in createVaryingArrayCase()
328 StringTemplate fragTemplate(frag.str().c_str()); in createVaryingArrayCase()
433 StringTemplate vertTemplate(vtx.str().c_str()); in createUniformArrayCase()
434 StringTemplate fragTemplate(frag.str().c_str()); in createUniformArrayCase()
577 StringTemplate vertTemplate(vtx.str().c_str()); in createTmpArrayCase()
578 StringTemplate fragTemplate(frag.str().c_str()); in createTmpArrayCase()
759 StringTemplate vertTemplate(vtx.str().c_str()); in createVectorSubscriptCase()
760 StringTemplate fragTemplate(frag.str().c_str()); in createVectorSubscriptCase()
946 StringTemplate vertTemplate(vtx.str().c_str()); in createMatrixSubscriptCase()
947 StringTemplate fragTemplate(frag.str().c_str()); in createMatrixSubscriptCase()
/external/deqp/modules/gles2/functional/
Des2fShaderReturnTests.cpp32 using tcu::StringTemplate;
156 StringTemplate tmpl( in makeConditionalReturnInFuncCase()
196 StringTemplate tmpl( in makeOutputWriteReturnCase()
250 StringTemplate tmpl( in makeReturnInLoopCase()
Des2fShaderIndexingTests.cpp354 StringTemplate vertTemplate(vtx.str().c_str()); in createVaryingArrayCase()
355 StringTemplate fragTemplate(frag.str().c_str()); in createVaryingArrayCase()
467 StringTemplate vertTemplate(vtx.str().c_str()); in createUniformArrayCase()
468 StringTemplate fragTemplate(frag.str().c_str()); in createUniformArrayCase()
615 StringTemplate vertTemplate(vtx.str().c_str()); in createTmpArrayCase()
616 StringTemplate fragTemplate(frag.str().c_str()); in createTmpArrayCase()
801 StringTemplate vertTemplate(vtx.str().c_str()); in createVectorSubscriptCase()
802 StringTemplate fragTemplate(frag.str().c_str()); in createVectorSubscriptCase()
973 StringTemplate vertTemplate(vtx.str().c_str()); in createMatrixSubscriptCase()
974 StringTemplate fragTemplate(frag.str().c_str()); in createMatrixSubscriptCase()
Des2fLightAmountTest.cpp157 …tcu::StringTemplate vertexTemplate(hasAnyLights ? s_vertexShaderTemplate : s_noLightsVertexShader); in iterate()
158 tcu::StringTemplate fragmentTemplate(s_fragmentShaderTemplate); in iterate()
/external/antlr/antlr-3.4/runtime/CSharp2/
DREADME.TXT45 StringTemplate.dll
49 StringTemplate.dll
61 If you are using StringTemplate out in your grammar, add the following
63 - StringTemplate.dll
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DST.stg54 Template<if(TREE_PARSER)>Tree<else>Parser<endif>RuleReturnScope\<StringTemplate, <labelType>>
60 <listLabelElem(elem={<label>.Template},elemType="StringTemplate",...)>
127 new StringTemplate(TemplateGroup, "<template>"<optionalArguments(args)>)
152 new StringTemplate(TemplateGroup,<stringExpr>)
/external/antlr/antlr-3.4/runtime/Perl5/
DREADME13 * Perl's syntax clashes with ANTLR's StringTemplate ('%') and variable ('$')
16 error(146): Expr.g:10:10: invalid StringTemplate % shorthand syntax: '%memory'
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ANTLR.xcodeproj/
Dproject.pbxproj2852 1A0F343E12EA425700496BB8 /* Debug with StringTemplate Debug */ = {
2857 name = "Debug with StringTemplate Debug";
3036 1A0F346412EA42D800496BB8 /* Debug with StringTemplate Debug */ = {
3202 name = "Debug with StringTemplate Debug";
3399 1A1210FE11D3A5DB00F27B38 /* Debug with StringTemplate Debug */ = {
3421 name = "Debug with StringTemplate Debug";
3478 1A1211D411D3BF4700F27B38 /* Debug with StringTemplate Debug */ = {
3500 name = "Debug with StringTemplate Debug";
3557 1A12122711D3C92500F27B38 /* Debug with StringTemplate Debug */ = {
3579 name = "Debug with StringTemplate Debug";
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderIndexingTests.cpp375 StringTemplate vertTemplate(vtx.str()); in createVaryingArrayCase()
376 StringTemplate fragTemplate(frag.str()); in createVaryingArrayCase()
491 StringTemplate vertTemplate(vtx.str()); in createUniformArrayCase()
492 StringTemplate fragTemplate(frag.str()); in createUniformArrayCase()
646 StringTemplate vertTemplate(vtx.str()); in createTmpArrayCase()
647 StringTemplate fragTemplate(frag.str()); in createTmpArrayCase()
833 StringTemplate vertTemplate(vtx.str()); in createVectorSubscriptCase()
834 StringTemplate fragTemplate(frag.str()); in createVectorSubscriptCase()
1025 StringTemplate vertTemplate(vtx.str()); in createMatrixSubscriptCase()
1026 StringTemplate fragTemplate(frag.str()); in createMatrixSubscriptCase()
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
DgUnitBaseTest.java36 import org.antlr.stringtemplate.StringTemplate;
230 StringTemplate st = (StringTemplate) returnName.invoke(ruleReturn); in execParser()
402 StringTemplate st = (StringTemplate) treeReturnName.invoke(treeRuleReturn); in execTreeParser()

12345