Home
last modified time | relevance | path

Searched refs:numRules (Results 1 – 25 of 29) sorted by relevance

12

/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DSerializedGrammar.java116 int numRules = in.readShort(); in readFile() local
117 System.out.println("num rules = "+numRules); in readFile()
118 rules = readRules(in, numRules); in readFile()
121 protected List<? extends Rule> readRules(DataInputStream in, int numRules) throws IOException { in readRules() argument
123 for (int i=0; i<numRules; i++) { in readRules()
/external/fonttools/Lib/fontTools/ttLib/tables/
DS__i_l_f.py716 self.ruleSortKeys = struct.unpack((">%dH" % self.numRules), data[:2 * self.numRules])
717 data = data[2*self.numRules:]
718 self.rulePreContexts = struct.unpack(("%dB" % self.numRules), data[:self.numRules])
719 data = data[self.numRules:]
721 oConstraints = list(struct.unpack((">%dH" % (self.numRules + 1)),
722 data[3:5 + self.numRules * 2]))
723 data = data[5 + self.numRules * 2:]
724 oActions = list(struct.unpack((">%dH" % (self.numRules + 1)),
725 data[:2 + self.numRules * 2]))
726 data = data[2 * self.numRules + 2:]
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DEraRulesTest.java71 int numRules = rules.getNumberOfEras(); in testJapanese() local
72 if (numRules <= JapaneseCalendar.HEISEI) { in testJapanese()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DEraRulesTest.java68 int numRules = rules.getNumberOfEras(); in testJapanese() local
69 if (numRules <= JapaneseCalendar.HEISEI) { in testJapanese()
/external/icu/icu4c/source/test/intltest/
Derarulestest.cpp116 int32_t numRules = rules->getNumberOfEras(); in testJapanese() local
117 if (numRules <= HEISEI) { in testJapanese()
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammarReport.java50 int numRules; field in GrammarReport.ReportData
125 data.numRules = totalNonSynPredRules; in getReportData()
374 buf.append(data.numRules); in toString()
/external/icu/icu4c/source/common/
Drbbiscan.h76 … int32_t numRules(); // Return the number of rules that have been seen.
Drbbitblb.cpp709 fLookAheadRuleMap = new UVector32(fRB->fScanner->numRules() + 1, *fStatus); in mapLookAheadRules()
716 fLookAheadRuleMap->setSize(fRB->fScanner->numRules() + 1); in mapLookAheadRules()
/external/icu/libicu/cts_headers/
Drbbiscan.h76 … int32_t numRules(); // Return the number of rules that have been seen.
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg111 numRules,
183 numRules,
238 numRules,
309 numRules,
343 …CharStream:anInput State:[RecognizerSharedState newRecognizerSharedStateWithRuleLen:<numRules>+1]];
347 state.ruleMemo = [[RuleStack newRuleStackWithSize:<numRules>+1] retain];
352 for (NSInteger i = 0; i \< <numRules>; i++) {
474 numRules,
505 numRules,
536 numRules,
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg58 backtracking, synpreds, memoize, numRules,
85 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="CommonToken",
111 state.ruleMemo = new HashMap[<numRules>+1];<\n><! index from 1..n !>
204 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
277 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets,
280 <genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
290 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
294 <genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg44 backtracking, synpreds, memoize, numRules,
63 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="Token",
83 this.state.ruleMemo = new Array(<numRules>+1);<\n> <! index from 1..n !>
169 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
234 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, ASTLabelType="Object", …
235 <genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
245 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
247 <genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DPython3.stg41 backtracking, synpreds, memoize, numRules,
103 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode,
226 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
312 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets,
317 <genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
327 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
332 <genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg51 backtracking, synpreds, memoize, numRules,
107 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode,
223 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
305 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets,
310 <genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
320 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
325 <genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg49 backtracking, synpreds, memoize, numRules,
67 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="CommonToken",
94 state.ruleMemo = new Array[java.util.Map[_,_]](<numRules>+1)<\n> <! index from 1..n !>
181 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
254 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets,
264 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="Object",
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg72 * numRules (Integer): number of rules
85 backtracking, synpreds, memoize, numRules,
117 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token",
195 State.RuleMemoCount := <numRules>+1;<\n> <! index from 1..n !>
306 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
485 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, ASTLabelType, superClas…
492 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, label…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg10 backtracking, synpreds, memoize, numRules,
26 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token",
150 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
239 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, ASTLabelType="Object", …
246 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, label…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg39 backtracking, synpreds, memoize, numRules,
57 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="Token",
188 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
250 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, ASTLabelType, superClas…
257 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, label…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DRuby.stg20 profile, backtracking, synpreds, memoize, numRules, fileName, ANTLRVersion, generatedTimestamp,
167 grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets,
185 treeParser(grammar, name, scopes, tokens, tokenNames, globalAction, rules, numRules, bitsets, filte…
197 parserBody(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets, inputStreamType, su…
1131 lexer(grammar, name, tokens, scopes, rules, numRules, labelType="ANTLR3::Token", filterMode, superC…
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg48 backtracking, synpreds, memoize, numRules,
100 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="CommonToken",
134 …state.ruleMemo = new System.Collections.Generic.Dictionary\<int, int>[<numRules>+1];<\n><! index f…
275 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
409 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets,
419 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="object",
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg47 backtracking, synpreds, memoize, numRules,
102 lexer(grammar, name, tokens, scopes, rules, numRules, filterMode, labelType="CommonToken",
135 …state.ruleMemo = new System.Collections.Generic.Dictionary\<int, int>[<numRules>+1];<\n><! index f…
280 genericParser(grammar, name, scopes, tokens, tokenNames, rules, numRules,
427 parser(grammar, name, scopes, tokens, tokenNames, rules, numRules, bitsets,
437 numRules, bitsets, filterMode, labelType={<ASTLabelType>}, ASTLabelType="object",
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/
DCpp.stg92 numRules,
224 numRules,
540 numRules,
808 genericParser( grammar, name, scopes, tokens, tokenNames, rules, numRules,
1006 numRules,
1028 numRules,
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBIRuleScanner.java1100 int numRules() { in numRules() method in RBBIRuleScanner
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBIRuleScanner.java1101 int numRules() { in numRules() method in RBBIRuleScanner
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DCodeGenTreeWalker.g327 $recognizerST.add("numRules", grammar.getRules().size());
328 $outputFileST.add("numRules", grammar.getRules().size());
329 $headerFileST.add("numRules", grammar.getRules().size());

12