HomeSort by relevance Sort by last modified time
    Searched defs:rules (Results 101 - 125 of 234) sorted by null

1 2 3 45 6 7 8 910

  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
recognizers.rb 73 set to a hash mapping previously parsed rules to cached indices
77 holds newly constructed tokens for lexer rules
184 recognizer base classes, providing the implementation of the grammar rules
203 @rules = {}
233 # rules with multiple return values. To avoid generating
235 # (where most rules have the same default set of return values),
237 # assigned to the constant +Return+. Rules which don't
298 def rules method in class:ANTLR3.Scope.Recognizer
303 @default_rule ||= rules.first
930 ANTLR parsers have a variety of entry points specified by parser rules, each o
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
CompositeGrammar.java 41 * Rules defined in delegates are "inherited" like multi-inheritance
43 * rules from all delegate grammars, so they must be stored here in one
65 /** The NFA states in the NFA built from rules across grammars in composite.
99 /** If combined or lexer grammar, track the rules.
100 * Track lexer rules so we can warn about undefined tokens.
101 * This is combined set of lexer rules from all lexer grammars
106 /** Rules are uniquely labeled from 1..n among all grammars */
246 /** Get set of rules for grammar g that need to have manual delegation
247 * methods. This is the list of rules collected from all direct/indirect
248 * delegates minus rules overridden in grammar g
259 Set<Rule> rules = getAllImportedRules(g); local
277 Set<Rule> rules = new HashSet(); local
    [all...]
GrammarReport.java 115 Collection rules = g.getRules(); local
116 for (Iterator it = rules.iterator(); it.hasNext();) {
375 buf.append("Rules: ");
427 // buf.append("Number of syntactic predicates available (including synpred rules): ");
430 buf.append("Decisions with available syntactic predicates (ignoring synpred rules): ");
433 buf.append("Decision DFAs using syntactic predicates (ignoring synpred rules): ");
Rule.java 137 * Rewrite rules force tracking of all tokens.
147 * Rewrite rules force tracking of all rule result ASTs. 1..n
268 * token IDs to check for token IDs without corresponding lexer rules.
308 /** For use with rewrite rules, we must track all tokens matched on the
339 /** For use with rewrite rules, we must track all rule AST results on the
344 Set rules = new HashSet(); local
348 rules.addAll(m.keySet());
351 return rules;
566 /** Used during grammar imports to see if sets of rules intersect... This
573 /** Used during grammar imports to see if sets of rules intersect..
    [all...]
  /external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestSymbolDefinitions.java 50 String rules = "a, b"; local
52 checkSymbols(g, rules, tokenNames);
64 String rules = "a, b"; local
66 checkSymbols(g, rules, tokenNames);
78 String rules = "A, C, Tokens"; local
80 checkSymbols(g, rules, tokenNames);
92 String rules = "a, b"; local
94 checkSymbols(g, rules, tokenNames);
105 String rules = "a, b"; local
107 checkSymbols(g, rules, tokenNames)
134 String rules = "a"; local
145 String rules = "a"; local
906 Collection rules = g.getRules(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/text/
TextBreakIteratorICU.cpp 745 Vector<UChar> rules; local
746 String(breakRules).appendTo(rules);
748 iterator = new icu::RuleBasedBreakIterator(icu::UnicodeString(rules.data(), rules.size()), parseStatus, openStatus);
760 // This rule set is based on character-break iterator rules of ICU 4.0
764 // * Removed rules that prevent a cursor from moving after prepend characters (Bug 24342);
765 // * Added rules that prevent a cursor from moving after virama signs of Indic languages except Tamil (Bug 15790), and;
766 // * Added rules that prevent a cursor from moving before Japanese half-width katakara voiced marks.
767 // * Added rules for regional indicator symbols.
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
rbtz.cpp 127 // Cannot handle more than two final rules
154 // Make sure either no final rules or a pair of AnnualTimeZoneRules
215 // Check if all historic rules are done
229 // Check if one of final rules has earlier transition date
287 // Should not happen, because both rules are permanent
586 // Transition rules
646 UVector *rules = new UVector(size, ec); local
652 rules->addElement(((TimeZoneRule*)source->elementAt(i))->clone(), ec);
659 for (i = 0; i < rules->size(); i++) {
660 TimeZoneRule *rule = (TimeZoneRule*)rules->orphanElementAt(i)
    [all...]
plurrule.cpp 111 RuleChain rules; local
118 newRules->parseDescription((UnicodeString &)description, rules, status);
120 newRules->addRules(rules);
282 PluralRules::parseDescription(UnicodeString& data, RuleChain& rules, UErrorCode &status)
311 lastChain = &rules;
356 ruleChain = &rules;
421 PluralRules::addRules(RuleChain& rules) {
422 RuleChain *newRule = new RuleChain(rules);
479 UResourceBundle *ruleRes=ures_getByKey(rb, "rules", NULL, &errCode);
  /external/chromium_org/third_party/icu/source/test/cintltst/
cbiapts.c 503 // Open a break iterator from char * rules. Take care of conversion
504 // of the rules and error checking.
506 static UBreakIterator * testOpenRules(char *rules) {
513 ruleSourceU = toUChar(rules, &strCleanUp);
515 bi = ubrk_openRules(ruleSourceU, -1, /* The rules */
530 * a set of source rules.
533 /* Rules will keep together any run of letters not including 'a', OR
537 char rules[] = "abc{666}/def;\n [\\p{L} - [a]]* {2}; . {1};"; local
550 UBreakIterator *bi = testOpenRules(rules);
584 * TestBreakIteratorRuleError - Try to create a BI from rules with syntax errors
587 char rules[] = " # This is a rule comment on line 1\\n" local
618 UChar rules[RULE_STRING_LENGTH]; local
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
itrbnf.cpp 200 errln("Unable to access the rules string!");
205 errln("Formatter constructed from the original rules should be semantically equivalent to the original!");
211 errln("Formatter constructed from the original rules should be semantically equivalent to the original!");
220 UnicodeString rules = formatter->getRules(); local
222 RuleBasedNumberFormat fromRulesResult(rules, Locale::getUS(), perror, status);
225 errln("Formatter constructed from rules obtained by getRules should be semantically equivalent to the original!");
362 // Since we only provide rules for the numbers from 2 to 10, we know
    [all...]
regcoll.cpp 83 // Collator -> rules -> Collator round-trip broken for expanding characters
96 UnicodeString rules; local
99 rules += "< o ";
100 rules += "& oe ,o";
101 rules += (UChar)0x3080;
102 rules += "& oe ,";
103 rules += (UChar)0x1530;
104 rules += " ,O";
105 rules += "& OE ,O";
106 rules += (UChar)0x3080
276 UnicodeString rules = "< a < b , c\/a < d < z"; local
302 UnicodeString rules; local
714 UnicodeString rules = "< a < b"; local
    [all...]
srchtest.cpp 66 UnicodeString rules; local
67 rules.setTo(((RuleBasedCollator *)m_de_)->getRules());
70 rules.append(extrarules, u_strlen(extrarules));
73 m_de_ = new RuleBasedCollator(rules, status);
75 rules.setTo(((RuleBasedCollator *)m_es_)->getRules());
76 rules.append(extrarules, u_strlen(extrarules));
80 m_es_ = new RuleBasedCollator(rules, status);
966 UnicodeString rules; local
967 rules.setTo(temp, u_strlen(temp));
968 RuleBasedCollator *tailored = new RuleBasedCollator(rules, status)
1506 UnicodeString rules; local
1542 UnicodeString rules; local
1830 UnicodeString rules; local
2109 UnicodeString rules; local
    [all...]
transapi.cpp 939 UnicodeString rules; local
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
code.c 360 genGoTo(o, a->state, a->d.Accept.rules[i], readCh, "\t");
388 a->d.Accept.rules = r;
769 State **rules; local
815 rules = malloc(sizeof(State*)*nRules);
816 memset(rules, 0, (nRules)*sizeof(State*));
822 if(!rules[s->rule->d.RuleOp.accept]){
825 rules[s->rule->d.RuleOp.accept] = n;
828 ow = rules[s->rule->d.RuleOp.accept];
834 Action_new_Accept(accept, nRules, saves, rules);
968 free(rules);
    [all...]
  /external/icu4c/i18n/
plurrule.cpp 116 RuleChain rules; local
123 newRules->parseDescription((UnicodeString &)description, rules, status);
125 newRules->addRules(rules);
345 PluralRules::parseDescription(UnicodeString& data, RuleChain& rules, UErrorCode &status)
375 lastChain = &rules;
426 ruleChain = &rules;
530 // Note, the original design let you have multiple rules with the same keyword. But
535 // you will get information about the first rule with that keyword, not all rules with
660 PluralRules::addRules(RuleChain& rules) {
661 RuleChain *newRule = new RuleChain(rules);
    [all...]
rbtz.cpp 128 // Cannot handle more than two final rules
174 // Make sure either no final rules or a pair of AnnualTimeZoneRules
235 // Check if all historic rules are done
249 // Check if one of final rules has earlier transition date
307 // Should not happen, because both rules are permanent
453 // no final rules or the given time is before the first transition
454 // specified by the final rules -> use the last rule
608 // Transition rules
668 UVector *rules = new UVector(size, ec); local
674 rules->addElement(((TimeZoneRule*)source->elementAt(i))->clone(), ec)
    [all...]
  /external/icu4c/test/cintltst/
cbiapts.c 509 // Open a break iterator from char * rules. Take care of conversion
510 // of the rules and error checking.
512 static UBreakIterator * testOpenRules(char *rules) {
519 ruleSourceU = toUChar(rules, &strCleanUp);
521 bi = ubrk_openRules(ruleSourceU, -1, /* The rules */
536 * a set of source rules.
539 /* Rules will keep together any run of letters not including 'a', OR
543 char rules[] = "abc{666}/def;\n [\\p{L} - [a]]* {2}; . {1};"; local
556 UBreakIterator *bi = testOpenRules(rules);
590 * TestBreakIteratorRuleError - Try to create a BI from rules with syntax errors
593 char rules[] = " # This is a rule comment on line 1\\n" local
624 UChar rules[RULE_STRING_LENGTH]; local
    [all...]
  /external/icu4c/test/intltest/
itrbnf.cpp 201 errln("Unable to access the rules string!");
206 errln("Formatter constructed from the original rules should be semantically equivalent to the original!");
212 errln("Formatter constructed from the original rules should be semantically equivalent to the original!");
221 UnicodeString rules = formatter->getRules(); local
223 RuleBasedNumberFormat fromRulesResult(rules, Locale::getUS(), perror, status);
226 errln("Formatter constructed from rules obtained by getRules should be semantically equivalent to the original!");
363 // Since we only provide rules for the numbers from 2 to 10, we know
    [all...]
rbbiapts.cpp 373 // Testing for correct operation of the break rules happens elsewhere.
613 // Single quotes within rules imply a grouping, so that a modifier
1108 const uint8_t *rules = rb->getBinaryRules(length); local
    [all...]
regcoll.cpp 83 // Collator -> rules -> Collator round-trip broken for expanding characters
96 UnicodeString rules; local
99 rules += "< o ";
100 rules += "& oe ,o";
101 rules += (UChar)0x3080;
102 rules += "& oe ,";
103 rules += (UChar)0x1530;
104 rules += " ,O";
105 rules += "& OE ,O";
106 rules += (UChar)0x3080
276 UnicodeString rules = "< a < b , c\/a < d < z"; local
302 UnicodeString rules; local
714 UnicodeString rules = "< a < b"; local
    [all...]
srchtest.cpp 66 UnicodeString rules; local
67 rules.setTo(((RuleBasedCollator *)m_de_)->getRules());
70 rules.append(extrarules, u_strlen(extrarules));
73 m_de_ = new RuleBasedCollator(rules, status);
75 rules.setTo(((RuleBasedCollator *)m_es_)->getRules());
76 rules.append(extrarules, u_strlen(extrarules));
80 m_es_ = new RuleBasedCollator(rules, status);
1069 UnicodeString rules; local
1599 UnicodeString rules; local
1635 UnicodeString rules; local
1923 UnicodeString rules; local
2202 UnicodeString rules; local
    [all...]
transapi.cpp 939 UnicodeString rules; local
    [all...]
  /external/sepolicy/tools/
check_seapp.c 15 #define KVP_NUM_OF_RULES (sizeof(rules) / sizeof(key_map))
70 * the encountered key value pairs in the rules file.
90 * from the rules files.
98 * Rules are made up of meta data and an associated set of kvp stored in a
157 key_map rules[] = { variable
231 * Validates a key_map against a set of enforcement rules, this
494 x = &(rules[j]);
  /ndk/sources/host-tools/make-3.81/
variable.c 1457 int rules = 0; local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
RulesEngine.java 58 * The rule engine manages the layout rules and interacts with them.
60 * Each instance has 2 sets of rules: the static ADT rules (shared across all instances)
61 * and the project specific rules (local to the current instance / layout editor).
71 * and we don't want to have the rules track them closely (and pass them back to us
78 * Per-project loader for custom view rules
91 * The rules engine will look in the project for a tools jar to load custom view rules.
498 * rules)
619 * Clear the Rules cache. Calls onDispose() on each rule
625 HashSet<IViewRule> rules = new HashSet<IViewRule>(mRulesCache.values()); local
    [all...]

Completed in 2282 milliseconds

1 2 3 45 6 7 8 910