Home
last modified time | relevance | path

Searched refs:CodeGenerator (Results 1 – 25 of 194) sorted by relevance

12345678

/external/antlr/tool/src/test/java/org/antlr/test/
DTestAttributes.java31 import org.antlr.codegen.CodeGenerator;
59 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testEscapedLessThanInAction()
84 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testEscaped$InAction()
106 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testArguments()
131 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testComplicatedArgParsing()
153 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testBracketArgParsing()
184 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testStringArgParsing()
200 List<String> actualArgs = CodeGenerator.getListOfArgumentsFromAction(action, ','); in testStringArgParsing()
220 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testComplicatedSingleArgParsing()
245 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testArgWithLT()
[all …]
DTestTemplates.java31 import org.antlr.codegen.CodeGenerator;
68 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testTemplateConstructor()
105 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testTemplateConstructorNoArgs()
143 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testIndirectTemplateConstructor()
179 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testStringConstructor()
214 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testSetAttr()
250 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testSetAttrOfExpr()
284 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testSetAttrOfExprInMembers()
308 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testCannotHaveSpaceBeforeDot()
336 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testCannotHaveSpaceAfterDot()
DTestRewriteTemplates.java31 import org.antlr.codegen.CodeGenerator;
252 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testRewriteRuleAndRewriteModeOnSimpleElements()
274 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testRewriteRuleAndRewriteModeIgnoreActionsPredicates()
293 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testRewriteRuleAndRewriteModeNotSimple()
313 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testRewriteRuleAndRewriteModeRefRule()
/external/antlr/tool/src/main/java/org/antlr/codegen/
DCTarget.java44 CodeGenerator generator, in genRecognizerFile()
59 CodeGenerator generator, in genRecognizerHeaderFile()
75 CodeGenerator generator, in chooseWhereCyclicDFAsGo()
168 CodeGenerator generator, in getTargetCharLiteralFromANTLRCharLiteral()
194 CodeGenerator generator, in getTargetStringLiteralFromANTLRStringLiteral()
292 protected void performGrammarAnalysis(CodeGenerator generator, Grammar grammar) { in performGrammarAnalysis()
298 if (CodeGenerator.MAX_ACYCLIC_DFA_STATES_INLINE == CodeGenerator.MADSI_DEFAULT ) { in performGrammarAnalysis()
300 CodeGenerator.MAX_ACYCLIC_DFA_STATES_INLINE = 65535; in performGrammarAnalysis()
309 if (CodeGenerator.MAX_SWITCH_CASE_LABELS == CodeGenerator.MSCL_DEFAULT) { in performGrammarAnalysis()
311 CodeGenerator.MAX_SWITCH_CASE_LABELS = 3000; in performGrammarAnalysis()
[all …]
DCppTarget.java50 CodeGenerator generator, in genRecognizerFile()
65 CodeGenerator generator, in genRecognizerHeaderFile()
106 CodeGenerator generator, in chooseWhereCyclicDFAsGo()
214 CodeGenerator generator, in getTargetCharLiteralFromANTLRCharLiteral()
240 CodeGenerator generator, in getTargetStringLiteralFromANTLRStringLiteral()
338 protected void performGrammarAnalysis(CodeGenerator generator, Grammar grammar) { in performGrammarAnalysis()
344 if (CodeGenerator.MAX_ACYCLIC_DFA_STATES_INLINE == CodeGenerator.MADSI_DEFAULT ) { in performGrammarAnalysis()
346 CodeGenerator.MAX_ACYCLIC_DFA_STATES_INLINE = 65535; in performGrammarAnalysis()
355 if (CodeGenerator.MAX_SWITCH_CASE_LABELS == CodeGenerator.MSCL_DEFAULT) { in performGrammarAnalysis()
357 CodeGenerator.MAX_SWITCH_CASE_LABELS = 3000; in performGrammarAnalysis()
[all …]
DObjCTarget.java41 CodeGenerator generator, in genRecognizerHeaderFile()
51 public String getTargetCharLiteralFromANTLRCharLiteral(CodeGenerator generator, in getTargetCharLiteralFromANTLRCharLiteral()
73 public String getTargetStringLiteralFromANTLRStringLiteral(CodeGenerator generator, in getTargetStringLiteralFromANTLRStringLiteral()
86 public String getTokenTypeAsTargetLabel(CodeGenerator generator, int ttype) { in getTokenTypeAsTargetLabel()
99 …public String getTokenTextAndTypeAsTargetLabel(CodeGenerator generator, String text, int tokenType… in getTokenTextAndTypeAsTargetLabel()
DTarget.java91 CodeGenerator generator, in genRecognizerFile()
102 CodeGenerator generator, in genRecognizerHeaderFile()
111 protected void performGrammarAnalysis(CodeGenerator generator, in performGrammarAnalysis()
147 public String getTokenTypeAsTargetLabel(CodeGenerator generator, int ttype) { in getTokenTypeAsTargetLabel()
166 CodeGenerator generator, in getTargetCharLiteralFromANTLRCharLiteral()
212 CodeGenerator generator, in getTargetStringLiteralFromANTLRStringLiteral()
353 public int getMaxCharValue(CodeGenerator generator) { in getMaxCharValue()
/external/skia/src/sksl/codegen/
DSkSLCodeGenerator.h20 class CodeGenerator {
22 CodeGenerator(const Program* program, ErrorReporter* errors, OutputStream* out) in CodeGenerator() function
27 virtual ~CodeGenerator() {} in ~CodeGenerator()
44 AutoOutputStream(CodeGenerator* codeGen, OutputStream* newOutput) in AutoOutputStream()
50 AutoOutputStream(CodeGenerator* codeGen, OutputStream* newOutput, int *indentationPtr) in AutoOutputStream()
66 CodeGenerator* fCodeGen = nullptr;
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_small_type_uses_test.cpp35 CodeGenerator GetSmallTypesGenerator() { in GetSmallTypesGenerator()
36 CodeGenerator generator; in GetSmallTypesGenerator()
174 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_F()
188 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_F()
202 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_F()
219 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_P()
283 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_P()
Dval_builtins_test.cpp81 CodeGenerator GetInMainCodeGenerator(const char* const built_in, in GetInMainCodeGenerator()
87 CodeGenerator generator = CodeGenerator::GetDefaultShaderCodeGenerator(); in GetInMainCodeGenerator()
162 CodeGenerator generator = GetInMainCodeGenerator( in TEST_P()
191 CodeGenerator generator = in TEST_P()
222 CodeGenerator generator = in TEST_P()
239 CodeGenerator GetInFunctionCodeGenerator(const char* const built_in, in GetInFunctionCodeGenerator()
245 CodeGenerator generator = CodeGenerator::GetDefaultShaderCodeGenerator(); in GetInFunctionCodeGenerator()
330 CodeGenerator generator = GetInFunctionCodeGenerator( in TEST_P()
359 CodeGenerator generator = in TEST_P()
377 CodeGenerator GetVariableCodeGenerator(const char* const built_in, in GetVariableCodeGenerator()
[all …]
Dval_code_generator.cpp125 CodeGenerator CodeGenerator::GetDefaultShaderCodeGenerator() { in GetDefaultShaderCodeGenerator()
126 CodeGenerator generator; in GetDefaultShaderCodeGenerator()
133 std::string CodeGenerator::Build() const { in Build()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_small_type_uses_test.cpp35 CodeGenerator GetSmallTypesGenerator() { in GetSmallTypesGenerator()
36 CodeGenerator generator; in GetSmallTypesGenerator()
174 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_F()
188 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_F()
202 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_F()
219 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_P()
283 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_P()
Dval_builtins_test.cpp81 CodeGenerator GetInMainCodeGenerator(const char* const built_in, in GetInMainCodeGenerator()
87 CodeGenerator generator = CodeGenerator::GetDefaultShaderCodeGenerator(); in GetInMainCodeGenerator()
162 CodeGenerator generator = GetInMainCodeGenerator( in TEST_P()
191 CodeGenerator generator = in TEST_P()
222 CodeGenerator generator = in TEST_P()
239 CodeGenerator GetInFunctionCodeGenerator(const char* const built_in, in GetInFunctionCodeGenerator()
245 CodeGenerator generator = CodeGenerator::GetDefaultShaderCodeGenerator(); in GetInFunctionCodeGenerator()
330 CodeGenerator generator = GetInFunctionCodeGenerator( in TEST_P()
359 CodeGenerator generator = in TEST_P()
377 CodeGenerator GetVariableCodeGenerator(const char* const built_in, in GetVariableCodeGenerator()
[all …]
Dval_code_generator.cpp125 CodeGenerator CodeGenerator::GetDefaultShaderCodeGenerator() { in GetDefaultShaderCodeGenerator()
126 CodeGenerator generator; in GetDefaultShaderCodeGenerator()
133 std::string CodeGenerator::Build() const { in Build()
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_small_type_uses_test.cpp35 CodeGenerator GetSmallTypesGenerator() { in GetSmallTypesGenerator()
36 CodeGenerator generator; in GetSmallTypesGenerator()
174 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_F()
188 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_F()
202 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_F()
219 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_P()
283 CodeGenerator generator = GetSmallTypesGenerator(); in TEST_P()
Dval_builtins_test.cpp81 CodeGenerator GetInMainCodeGenerator(const char* const built_in, in GetInMainCodeGenerator()
87 CodeGenerator generator = CodeGenerator::GetDefaultShaderCodeGenerator(); in GetInMainCodeGenerator()
162 CodeGenerator generator = GetInMainCodeGenerator( in TEST_P()
191 CodeGenerator generator = in TEST_P()
222 CodeGenerator generator = in TEST_P()
239 CodeGenerator GetInFunctionCodeGenerator(const char* const built_in, in GetInFunctionCodeGenerator()
245 CodeGenerator generator = CodeGenerator::GetDefaultShaderCodeGenerator(); in GetInFunctionCodeGenerator()
330 CodeGenerator generator = GetInFunctionCodeGenerator( in TEST_P()
359 CodeGenerator generator = in TEST_P()
377 CodeGenerator GetVariableCodeGenerator(const char* const built_in, in GetVariableCodeGenerator()
[all …]
Dval_code_generator.cpp125 CodeGenerator CodeGenerator::GetDefaultShaderCodeGenerator() { in GetDefaultShaderCodeGenerator()
126 CodeGenerator generator; in GetDefaultShaderCodeGenerator()
133 std::string CodeGenerator::Build() const { in Build()
/external/protobuf/src/google/protobuf/compiler/
Dcode_generator.h62 class CodeGenerator; variable
68 class PROTOC_EXPORT CodeGenerator {
70 inline CodeGenerator() {} in CodeGenerator() function
71 virtual ~CodeGenerator();
112 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(CodeGenerator);
Dplugin.h73 class CodeGenerator; // code_generator.h variable
79 const CodeGenerator* generator);
85 const CodeGenerator& generator,
/external/tflite-support/tensorflow_lite_support/codegen/
Dcode_generator.cc56 CodeGenerator::CodeGenerator() {} in CodeGenerator() function in tflite::support::codegen::CodeGenerator
58 bool CodeGenerator::VerifyMetadata(const ModelMetadata* metadata, in VerifyMetadata()
72 CodeGenerator::NameInputsAndOutputs(const TensorMetadataList* inputs, in NameInputsAndOutputs()
93 std::string CodeGenerator::ConvertToValidName(const std::string& name) { in ConvertToValidName()
123 std::string CodeGenerator::NameTensor(const TensorMetadata& tensor, in NameTensor()
146 void CodeGenerator::ResolveConflictedInputAndOutputNames( in ResolveConflictedInputAndOutputNames()
/external/llvm-project/clang/lib/CodeGen/
DModuleBuilder.cpp32 class CodeGeneratorImpl : public CodeGenerator {
306 void CodeGenerator::anchor() { } in anchor()
308 CodeGenModule &CodeGenerator::CGM() { in CGM()
312 llvm::Module *CodeGenerator::GetModule() { in GetModule()
316 llvm::Module *CodeGenerator::ReleaseModule() { in ReleaseModule()
320 CGDebugInfo *CodeGenerator::getCGDebugInfo() { in getCGDebugInfo()
324 const Decl *CodeGenerator::GetDeclForMangledName(llvm::StringRef name) { in GetDeclForMangledName()
328 llvm::Constant *CodeGenerator::GetAddrOfGlobal(GlobalDecl global, in GetAddrOfGlobal()
334 llvm::Module *CodeGenerator::StartModule(llvm::StringRef ModuleName, in StartModule()
339 CodeGenerator *clang::CreateLLVMCodeGen( in CreateLLVMCodeGen()
/external/clang/lib/CodeGen/
DModuleBuilder.cpp33 class CodeGeneratorImpl : public CodeGenerator {
288 void CodeGenerator::anchor() { } in anchor()
290 CodeGenModule &CodeGenerator::CGM() { in CGM()
294 llvm::Module *CodeGenerator::GetModule() { in GetModule()
298 llvm::Module *CodeGenerator::ReleaseModule() { in ReleaseModule()
302 const Decl *CodeGenerator::GetDeclForMangledName(llvm::StringRef name) { in GetDeclForMangledName()
306 llvm::Constant *CodeGenerator::GetAddrOfGlobal(GlobalDecl global, in GetAddrOfGlobal()
312 CodeGenerator *clang::CreateLLVMCodeGen( in CreateLLVMCodeGen()
/external/python/jinja/src/jinja2/
Dmeta.py5 from .compiler import CodeGenerator
8 class TrackingCodeGenerator(CodeGenerator):
12 CodeGenerator.__init__(self, environment, "<introspection>", "<introspection>")
20 CodeGenerator.enter_frame(self, frame)
/external/libchrome/third_party/jinja2/
Dmeta.py13 from jinja2.compiler import CodeGenerator
17 class TrackingCodeGenerator(CodeGenerator):
21 CodeGenerator.__init__(self, environment, '<introspection>',
30 CodeGenerator.enter_frame(self, frame)
/external/skqp/src/sksl/
DSkSLCodeGenerator.h20 class CodeGenerator {
22 CodeGenerator(const Program* program, ErrorReporter* errors, OutputStream* out) in CodeGenerator() function
29 virtual ~CodeGenerator() {} in ~CodeGenerator()

12345678