/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
gUnitExecutor.java | 164 private gUnitTestResult runCorrectParser(String parserName, String lexerName, String rule, String lexicalRule, String treeRule, gUnitTestInput input) throws Exception 167 else if ( treeRule!=null ) return runTreeParser(parserName, lexerName, rule, treeRule, input); 168 else return runParser(parserName, lexerName, rule, input); 173 String rule = ts.getRuleName(); local 176 for ( gUnitTestInput input: ts.testSuites.keySet() ) { // each rule may contain multiple tests 183 //System.out.print(numOfTest + ". Running rule: " + rule + "; input: '" + input.testInput + "'"); 184 result = runCorrectParser(parserName, lexerName, rule, lexicalRule, treeRule, input); 189 test.setHeader(rule, lexicalRule, treeRule, numOfTest, input.line); 201 test.setHeader(rule, lexicalRule, treeRule, numOfTest, input.line) [all...] |
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestSymbolDefinitions.java | 111 // 'x' is token and char in lexer rule 154 String rule = "a"; local 157 checkPlusEqualsLabels(g, rule, tokenLabels, ruleLabels); 167 String rule = "a"; local 170 checkPlusEqualsLabels(g, rule, tokenLabels, ruleLabels); 185 // this must return A not I to the parser; calling a nonfragment rule 186 // from a nonfragment rule does not set the overall token. 200 // this must return A not I to the parser; calling a nonfragment rule 201 // from a nonfragment rule does not set the overall token. 843 Rule r = g.getRule(ruleName) [all...] |
/external/icu4c/i18n/ |
olsontz.cpp | 113 * to lookup the rule that `res' may refer to, if there is one. 197 // Process final rule and data, if any 205 UResourceBundle *rule = TimeZone::loadRule(top, ruleID, NULL, ec); local 206 const int32_t *ruleData = ures_getIntVector(rule, &len, &ec); 246 ures_close(rule); 511 // Interprets the time with rule before the transition, 526 // Interprets the time with rule after the transition, 700 // Create initial rule 728 // Build historic rule array 790 // Get the first occurence of final rule start [all...] |
rbtz.cpp | 114 RuleBasedTimeZone::addTransitionRule(TimeZoneRule* rule, UErrorCode& status) { 118 AnnualTimeZoneRule* atzrule = dynamic_cast<AnnualTimeZoneRule*>(rule); 120 // A final rule 131 fFinalRules->addElement((void*)rule, status); 133 // Non-final rule 140 fHistoricRules->addElement((void*)rule, status); 198 // No more transitions from this rule - skip this rule next time 416 const TimeZoneRule *rule = NULL; local 418 rule = fInitialRule 662 TimeZoneRule *rule = (TimeZoneRule*)rules->orphanElementAt(i); local [all...] |
/external/webkit/Source/WebCore/css/ |
CSSGrammar.y | 69 CSSRule* rule; 202 %type <rule> charset 203 %type <rule> ignored_charset 204 %type <rule> ruleset 205 %type <rule> media 206 %type <rule> import 207 %type <rule> namespace 208 %type <rule> page 209 %type <rule> margin_box 210 %type <rule> font_fac 413 rule: label [all...] |
/external/webkit/Source/WebKit/qt/Api/ |
qwebelement.cpp | 828 In CSS, the cascading part depends on which CSS rule has priority and is 829 thus applied. Generally, the last defined rule has priority. Thus, an 830 inline style rule has priority over an embedded block style rule, which 831 in return has priority over an external style rule. 871 CSSStyleRule* rule = static_cast<CSSStyleRule*>(rules->item(i - 1)); local 873 if (rule->style()->getPropertyPriority(propID)) 874 return rule->style()->getPropertyValue(propID); 877 style = rule->style(); [all...] |
/external/harfbuzz/src/ |
harfbuzz-shaper.cpp | 705 BreakRule rule = (BreakRule)wordbreakTable[brk][nbrk]; local 706 if (rule == Middle) { 707 rule = Break; 716 rule = NoBreak; 724 attributes[i].wordBoundary = (rule == Break); [all...] |
/external/icu4c/test/cintltst/ |
callcoll.c | 80 /* Test [variable top] in the rule syntax */ 747 log_err_status(status, "ERROR: in creation of rule based collator :%s\n", myErrorName(status)); 772 log_err_status(status, "ERROR: in creation of rule based collator :%s\n", myErrorName(status)); 799 log_err_status(status, "ERROR: in creation of rule based collator :%s\n", myErrorName(status)); 824 log_err_status(status, "ERROR: in creation of rule based collator :%s\n", myErrorName(status)); 848 log_err_status(status, "ERROR: in creation of rule based collator :%s\n", myErrorName(status)); 1204 UChar rule[1000]; local [all...] |
citertst.c | 357 UChar rule[50]; local 358 int rulelen = u_unescape(str, rule, 50); 372 coll = ucol_openRules(rule, rulelen, UCOL_ON, UCOL_TERTIARY, NULL, &status); 425 UChar rule[50]; local 451 u_uastrcpy(rule, "&a,A < b,B < c,C, d,D < z,Z < ch,cH,Ch,CH"); 452 c1 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status); 454 log_verbose("Contraction rule testing back and forth with no normalization\n"); 475 u_uastrcpy(rule, "&a < b < c/abd < d"); 476 c2 = ucol_openRules(rule, u_strlen(rule), UCOL_OFF, UCOL_DEFAULT_STRENGTH, NULL, &status) 798 UChar rule[256]; local 1365 UChar rule[50]; local 1473 UChar rule[10]; local [all...] |
/external/icu4c/tools/dumpce/ |
dumpce.cpp | 57 /* 07 */ {"rule", NULL, NULL, NULL, 'r', UOPT_REQUIRES_ARG, 0}, 235 * Serializes the contraction within the given argument rule 237 * @param r rule 238 * @param rlen rule length 243 void serialize(FILE *f, UChar *rule, int rlen, UBool contractiononly, 262 src.source = rule; 263 src.current = rule; 264 src.end = rule + rlen; 275 ucol_setText(iter, rule + chOffset, chLen, &error); 589 UChar rule[1024] local 1157 const UChar *rule = ucol_getRules(COLLATOR_, &rulelength); local [all...] |
/external/libxml2/ |
schematron.c | 97 * A Schematrons rule 102 xmlSchematronRulePtr next; /* the next rule in the list */ 103 xmlSchematronRulePtr patnext;/* the next rule in the pattern list */ 105 xmlChar *context; /* the context evaluation rule */ 295 * @rule: the parent rule 307 xmlSchematronRulePtr rule, 313 if ((ctxt == NULL) || (rule == NULL) || (node == NULL) || 341 if (rule->tests == NULL) { 342 rule->tests = ret 1668 xmlSchematronRulePtr rule; local [all...] |
/external/openssl/ssl/ |
ssl_ciph.c | 925 int rule, int strength_bits, 933 printf("Applying rule %d with %08lx/%08lx/%08lx/%08lx/%08lx %08lx (%d)\n", 934 rule, alg_mkey, alg_auth, alg_enc, alg_mac, alg_ssl, algo_strength, strength_bits); 937 if (rule == CIPHER_DEL) 995 printf("Action = %d\n", rule); 999 if (rule == CIPHER_ADD) 1009 else if (rule == CIPHER_ORD) 1017 else if (rule == CIPHER_DEL) 1029 else if (rule == CIPHER_KILL) 1109 int j, multi, found, rule, retval, ok, buflen; local [all...] |
/external/srec/tools/grxmlcompile/ |
grxmldoc.cpp | 92 m_NodeKeyWords.insert(make_pair("rule", NodeTypeRule)); 135 //Print the root rule. 144 // We will create a new subgraph for each rule node. 364 m_RootRule = GETATTR("root"); // The root rule name 366 DEBUG_PRINT("Root rule = " + m_RootRule); 412 DEBUG_PRINT ( "---- Rule\n" ); 419 // Rule name must be unique within scope of entire grammar. 420 // Put rule on stack - for context 423 // Check whether a ruleref placeholder exists for this rule. 427 // Rule is already declared; it must have been forward reference 957 std::string rule; local [all...] |
/external/webkit/Source/WebCore/inspector/ |
InspectorStyleSheet.cpp | 251 *errorString = "Internal error: no CSS rule source found"; 672 CSSStyleRule* rule = ruleForId(id); local 673 if (!rule) 675 CSSStyleSheet* styleSheet = InspectorCSSAgent::parentStyleSheet(rule); 679 rule->setSelectorText(selector); 680 RefPtr<CSSRuleSourceData> sourceData = ruleSourceDataFor(rule->style()); 703 CSSStyleRule* rule = InspectorCSSAgent::asCSSStyleRule(rules->item(rules->length() - 1)); local 704 ASSERT(rule); 711 // Using setText() as this operation changes the style sheet rule set. 714 return rule; 865 CSSStyleRule* rule = ruleForId(id); local 1161 CSSRule* rule = ruleList->item(i); local [all...] |
/frameworks/base/core/java/android/animation/ |
AnimatorSet.java | 523 new DependencyListener(this, node, dependency.rule)); 640 dependency.rule); 661 // The Dependency rule (WITH or AFTER) that the listener should wait for on 665 public DependencyListener(AnimatorSet animatorSet, Node node, int rule) { 668 this.mRule = rule; 718 if (dependency.rule == mRule && 720 // rule fired - remove the dependency and listener and check to 890 public int rule; field in class:AnimatorSet.Dependency [all...] |
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 854 int rule = 0; local [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 864 int rule = 0; local [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
pretty-print.h | 114 /* Current prefixing rule. */ 115 diagnostic_prefixing_rule_t rule; member in struct:__anon22655 126 /* Prefixing rule used in formatting a diagnostic message. */ 127 #define pp_prefixing_rule(PP) pp_base (PP)->wrapping.rule
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
pretty-print.h | 114 /* Current prefixing rule. */ 115 diagnostic_prefixing_rule_t rule; member in struct:__anon23384 126 /* Prefixing rule used in formatting a diagnostic message. */ 127 #define pp_prefixing_rule(PP) pp_base (PP)->wrapping.rule
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
pretty-print.h | 114 /* Current prefixing rule. */ 115 diagnostic_prefixing_rule_t rule; member in struct:__anon24215 126 /* Prefixing rule used in formatting a diagnostic message. */ 127 #define pp_prefixing_rule(PP) pp_base (PP)->wrapping.rule
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
pretty-print.h | 114 /* Current prefixing rule. */ 115 diagnostic_prefixing_rule_t rule; member in struct:__anon24944 126 /* Prefixing rule used in formatting a diagnostic message. */ 127 #define pp_prefixing_rule(PP) pp_base (PP)->wrapping.rule
|
/bionic/libc/tzcode/ |
localtime.c | 184 struct rule { struct 185 int r_type; /* type of rule--see below */ 186 int r_day; /* day number of rule */ 187 int r_week; /* week number of rule */ 188 int r_mon; /* month number of rule */ 189 long r_time; /* transition time of rule */ 212 static const char * getrule P((const char * strp, struct rule * rulep)); 243 const struct rule * rulep, long offset)); 803 ** Given a pointer into a time zone string, extract a rule in the form 805 ** If a valid rule is not found, return NULL [all...] |
/external/checkpolicy/ |
policy_define.c | 1423 yyerror("* not allowed in this type of rule"); 1435 yyerror("~ not allowed in this type of rule"); 1479 int define_compute_type_helper(int which, avrule_t ** rule) 1545 *rule = avrule; 2301 struct role_trans_rule *rule = NULL; local 4585 range_trans_rule_t *rule; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/59/1/.cp/ |
jdtCompilerAdapter.jar | |
/external/harfbuzz_ng/src/ |
hb-ot-layout-gsubgpos-private.hh | 1205 rule; \/* Array of Rule tables member in struct:OT::RuleSet 1766 rule; \/* Array of ChainRule tables member in struct:OT::ChainRuleSet [all...] |