Home
last modified time | relevance | path

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

123456

/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()
DTestRewriteAST.java31 import org.antlr.codegen.CodeGenerator;
877 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testWeirdRuleRef()
1172 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testUnknownRule()
1201 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testKnownRuleButNotInLHS()
1229 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testUnknownToken()
1257 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testUnknownLabel()
1285 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testUnknownCharLiteralToken()
1313 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testUnknownStringLiteralToken()
DTestMessages.java31 import org.antlr.codegen.CodeGenerator;
62 CodeGenerator generator = new CodeGenerator(antlr, g, "Java"); in testMessageStringificationIsConsistent()
DTestSemanticPredicates.java33 import org.antlr.codegen.CodeGenerator;
258 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in testLeftRecursivePred()
367 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in testPredsUsedAfterRecursionOverflow()
401 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in testPredsUsedAfterK2FailsNoRecursionOverflow()
803 CodeGenerator generator = new CodeGenerator(newTool(), g, "Java"); in checkDecision()
/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 …]
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()
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()
DActionScriptTarget.java38 CodeGenerator generator, in getTargetCharLiteralFromANTLRCharLiteral()
46 public String getTokenTypeAsTargetLabel(CodeGenerator generator, in getTokenTypeAsTargetLabel()
130 CodeGenerator generator, in chooseWhereCyclicDFAsGo()
DDelphiTarget.java50 CodeGenerator generator, in chooseWhereCyclicDFAsGo()
72 CodeGenerator generator, in getTargetCharLiteralFromANTLRCharLiteral()
121 CodeGenerator generator, in getTargetStringLiteralFromANTLRStringLiteral()
/external/v8/src/compiler/
Dcode-generator.cc24 class CodeGenerator::JumpTable final : public ZoneObject {
41 CodeGenerator::CodeGenerator( in CodeGenerator() function in v8::internal::compiler::CodeGenerator
99 bool CodeGenerator::wasm_runtime_exception_support() const { in wasm_runtime_exception_support()
104 void CodeGenerator::AddProtectedInstructionLanding(uint32_t instr_offset, in AddProtectedInstructionLanding()
109 void CodeGenerator::CreateFrameAccessState(Frame* frame) { in CreateFrameAccessState()
114 CodeGenerator::CodeGenResult CodeGenerator::AssembleDeoptimizerCall( in AssembleDeoptimizerCall()
130 void CodeGenerator::AssembleCode() { in AssembleCode()
320 void CodeGenerator::TryInsertBranchPoisoning(const InstructionBlock* block) { in TryInsertBranchPoisoning()
352 void CodeGenerator::AssembleArchBinarySearchSwitchRange( in AssembleArchBinarySearchSwitchRange()
371 OwnedVector<byte> CodeGenerator::GetSourcePositionTable() { in GetSourcePositionTable()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dcode_generator.h55 class CodeGenerator; variable
61 class LIBPROTOC_EXPORT CodeGenerator {
63 inline CodeGenerator() {} in CodeGenerator() function
64 virtual ~CodeGenerator();
114 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(CodeGenerator);
Dcommand_line_interface.h60 class CodeGenerator; // code_generator.h variable
114 CodeGenerator* generator,
127 CodeGenerator* generator,
303 CodeGenerator* generator;
354 CodeGenerator* generator; // NULL for plugins
Dplugin.h72 class CodeGenerator; // code_generator.h variable
77 LIBPROTOC_EXPORT int PluginMain(int argc, char* argv[], const CodeGenerator* generator);
83 const CodeGenerator& generator, CodeGeneratorResponse* response,
/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/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/antlr/tool/src/main/java/org/antlr/
DTool.java31 import org.antlr.codegen.CodeGenerator;
278 CodeGenerator.LAUNCH_ST_INSPECTOR = true; in processArgs()
288 CodeGenerator.MAX_ACYCLIC_DFA_STATES_INLINE = Integer.parseInt(args[i]); in processArgs()
297 CodeGenerator.MAX_SWITCH_CASE_LABELS = Integer.parseInt(args[i]); in processArgs()
306 CodeGenerator.MIN_SWITCH_ALTS = Integer.parseInt(args[i]); in processArgs()
589 … if ( vocabName!=null ) g.addEdge(gfile, vocabName+CodeGenerator.VOCAB_FILE_EXTENSION); in sortGrammarFiles()
591 g.addEdge(grammarName+CodeGenerator.VOCAB_FILE_EXTENSION, gfile); in sortGrammarFiles()
662 CodeGenerator generator = new CodeGenerator(this, grammar, language); in generateRecognizer()
781 …es m max DFA states before table used rather than inlining [" + CodeGenerator.MADSI_DEFAULT … in Xhelp()
782 …els m don't generate switch() statements for dfas bigger than m [" + CodeGenerator.MSCL_DEFAULT +… in Xhelp()
[all …]
/external/skia/src/sksl/
DSkSLCodeGenerator.h20 class CodeGenerator {
22 CodeGenerator(const Program* program, ErrorReporter* errors, OutputStream* out) in CodeGenerator() function
29 virtual ~CodeGenerator() {} in ~CodeGenerator()
/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()
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_builtins_test.cpp67 class CodeGenerator { class
81 std::string CodeGenerator::Build() const { in Build()
204 CodeGenerator GetDefaultShaderCodeGenerator() { in GetDefaultShaderCodeGenerator()
205 CodeGenerator generator; in GetDefaultShaderCodeGenerator()
219 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_P()
286 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_P()
361 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_P()
1559 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_P()
1686 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_F()
1708 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_F()
[all …]
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_builtins_test.cpp67 class CodeGenerator { class
81 std::string CodeGenerator::Build() const { in Build()
204 CodeGenerator GetDefaultShaderCodeGenerator() { in GetDefaultShaderCodeGenerator()
205 CodeGenerator generator; in GetDefaultShaderCodeGenerator()
219 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_P()
286 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_P()
361 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_P()
1559 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_P()
1686 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_F()
1708 CodeGenerator generator = GetDefaultShaderCodeGenerator(); in TEST_F()
[all …]
/external/grpc-grpc/src/compiler/
Dconfig.h26 #define GRPC_CUSTOM_CODEGENERATOR ::google::protobuf::compiler::CodeGenerator
64 typedef GRPC_CUSTOM_CODEGENERATOR CodeGenerator; typedef
67 const CodeGenerator* generator) { in PluginMain()
/external/antlr/tool/src/main/java/org/antlr/tool/
DBuildDependencyGenerator.java31 import org.antlr.codegen.CodeGenerator;
81 protected CodeGenerator generator;
90 generator = new CodeGenerator(tool, grammar, language); in BuildDependencyGenerator()
220 public CodeGenerator getGenerator() { in getGenerator()

123456