HomeSort by relevance Sort by last modified time
    Searched defs:rule (Results 26 - 50 of 132) sorted by null

12 3 4 5 6

  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
GrammarSerializerFoo.java 41 * rule ::= R<rulename:string>;B<nalts:short><alts>.
93 public void rule(String name) { method in class:GrammarSerializerFoo
NameSpaceChecker.java 46 Rule r = grammar.composite.ruleIndexToRuleList.elementAt(i);
50 // walk all labels for Rule r
58 // walk rule scope attributes for Rule r
75 // check for missing rule, tokens
79 protected void checkForRuleArgumentAndReturnValueConflicts(Rule r) {
96 protected void checkForRuleDefinitionProblems(Rule r) {
119 /** If ref to undefined rule, give error at first occurrence.
121 * Give error if you cannot find the scope override on a rule reference.
123 * If you ref ID in a combined grammar and don't define ID as a lexer rule
133 Rule rule = grammar.getRule(ruleName); local
175 Rule rule = grammar.getRule(scopeG.name, ruleName); local
    [all...]
Strip.java 81 wiz.visit(t, ANTLRv3Parser.AT, // ^('@' id ACTION) rule actions
95 wiz.visit(t, ANTLRv3Parser.ARG, // wipe rule arguments
104 wiz.visit(t, ANTLRv3Parser.RET, // wipe rule return declarations
210 CommonTree root = (CommonTree)t.getAncestor(ANTLRv3Parser.RULE);
212 CommonTree rule = (CommonTree)root.getChild(0); local
213 //System.out.println("rule: "+rule);
214 if ( !Character.isUpperCase(rule.getText().charAt(0)) ) {
  /external/chromium/net/proxy/
init_proxy_resolver_unittest.cc 29 struct Rule {
30 Rule(const GURL& url,
51 Rule AddSuccessRule(const char* url) {
52 Rule rule(GURL(url), OK /*fetch_error*/, OK /*set_pac_error*/);
53 rules_.push_back(rule);
54 return rule;
58 rules_.push_back(Rule(GURL(url), kFailedDownloading /*fetch_error*/,
63 rules_.push_back(Rule(GURL(url), OK /*fetch_error*/,
67 const Rule& GetRuleByUrl(const GURL& url) const
100 const Rules::Rule& rule = rules_->GetRuleByUrl(url); local
147 const Rules::Rule& rule = expects_pac_bytes() ? local
181 Rules::Rule rule = rules.AddSuccessRule("http:\/\/custom\/proxy.pac"); local
283 Rules::Rule rule = rules.AddSuccessRule("http:\/\/wpad\/wpad.dat"); local
302 Rules::Rule rule = rules.AddSuccessRule("http:\/\/custom\/proxy.pac"); local
322 Rules::Rule rule = rules.AddSuccessRule("http:\/\/custom\/proxy.pac"); local
424 Rules::Rule rule = rules.AddSuccessRule("http:\/\/custom\/proxy.pac"); local
    [all...]
  /external/chromium/net/tools/tld_cleanup/
tld_cleanup.cc 18 // * Strips a single leading and/or trailing dot from each rule, if present.
19 // * Logs a warning if a rule contains '!' or '*.' other than at the beginning
20 // of the rule. (This also catches multiple ! or *. at the start of a rule.)
21 // * Logs a warning if GURL reports a rule as invalid, but keeps the rule.
22 // * Canonicalizes each rule's domain by converting it to a GURL and back.
23 // * Adds explicit rules for true TLDs found in any rule.
43 struct Rule {
48 typedef std::map<std::string, Rule> RuleMap
195 Rule rule; local
230 Rule rule; local
    [all...]
  /external/icu4c/i18n/
cpdtrans.cpp 395 // general. If we have several rule-based transliterators, this
408 UnicodeString rule; local
415 trans[i]->toRules(rule, escapeUnprintable);
417 rule = UNICODE_STRING_SIMPLE("::Null;") + rule;
424 trans[i]->toRules(rule, escapeUnprintable);
428 trans[i]->Transliterator::toRules(rule, escapeUnprintable);
431 rulesSource.append(rule);
nfrs.cpp 141 // throw new IllegalArgumentException("Empty rule set description");
146 // if the description begins with a rule set name (the rule set
148 // of only one rule set), copy it out into our "name" member
153 // throw new IllegalArgumentException("Rule set name doesn't end in colon");
166 // throw new IllegalArgumentException("Empty rule set description");
185 // the descriptions of the rules (one rule per element). The rules
187 // semicolons are rule delimiters)
193 // ensure we are starting with an empty rule list
222 NFRule* rule = rules[i] local
340 NFRule *rule = findNormalRule(number); local
356 NFRule *rule = findDoubleRule(number); local
    [all...]
  /external/libppp/src/
filter.h 47 * There's a struct filterent for each possible filter rule. The
75 /* f_action values [0..MAXFILTERS) specify the next filter rule, others are: */
81 struct filterent rule[MAXFILTERS]; /* incoming packet filter */ member in struct:filter
  /external/v8/test/cctest/
test-date.cc 38 struct Rule {
42 DateCacheMock(int local_offset, Rule* rules, int rules_count)
51 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec); local
52 return rule == NULL ? 0 : rule->offset_sec * 1000;
61 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) {
62 Rule* result = NULL;
71 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec)
    [all...]
  /external/webkit/Source/WebCore/css/
CSSStyleSheet.cpp 95 unsigned CSSStyleSheet::insertRule(const String& rule, unsigned index, ExceptionCode& ec)
103 RefPtr<CSSRule> r = p.parseRule(this, rule);
110 // Throw a HIERARCHY_REQUEST_ERR exception if the rule cannot be inserted at the specified index. The best
111 // example of this is an @import rule inserted after regular rules.
122 // The @charset rule has to come first and there can be only one.
212 StyleBase* rule = item(i); local
213 if (rule->isImportRule() && static_cast<CSSImportRule*>(rule)->isLoading())
290 CSSRule* rule = static_cast<CSSRule*>(styleBase); local
291 if (rule->isImportRule())
    [all...]
  /external/webkit/Source/WebCore/xml/
XSLStyleSheetLibxslt.cpp 87 StyleBase* rule = item(i); local
88 if (rule->isImportRule()) {
89 XSLImportRule* import = static_cast<XSLImportRule*>(rule);
119 StyleBase* rule = item(i); local
120 if (rule->isImportRule()) {
121 XSLImportRule* import = static_cast<XSLImportRule*>(rule);
276 StyleBase* rule = item(i); local
277 if (rule->isImportRule()) {
278 XSLImportRule* import = static_cast<XSLImportRule*>(rule);
288 // string from the import rule and canonicalize it using libxml before comparing i
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
CollatorTest.java 91 String rule = "< a < b < c < d < e"; local
92 RuleBasedCollator coll = new RuleBasedCollator(rule);
96 RuleBasedCollator other = new RuleBasedCollator(rule);
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
WorkSpaceController.java 158 private void OnSelectRule(Rule rule) {
159 if(rule == null) throw new IllegalArgumentException("Null");
160 this.view.paneEditor.OnLoadRule(rule);
161 this.view.paneStatus.setRule(rule.getName());
164 this.runner.OnShowRuleResult(rule);
217 /** Event handler for rule list selection. */
222 final Rule rule = (Rule) list.getSelectedValue() local
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
RuleBasedCollatorTest.java 49 String rule = "< a < b < c < d"; local
50 RuleBasedCollator coll = new RuleBasedCollator(rule);
51 assertEquals(rule.hashCode(), coll.hashCode());
55 String rule = "< a < b < c < d < e"; local
56 RuleBasedCollator coll = new RuleBasedCollator(rule);
57 assertEquals(rule.hashCode(), coll.hashCode());
76 String rule = "< a < b < c < d < e"; local
77 RuleBasedCollator coll = new RuleBasedCollator(rule);
81 RuleBasedCollator other = new RuleBasedCollator(rule);
96 String rule = "< c < b < a" local
116 String rule = "< a = b < c"; local
    [all...]
  /frameworks/base/services/java/com/android/server/firewall/
IntentFirewall.java 124 List<Rule> matchingRules = mActivityResolver.queryIntent(intent, resolvedType, false, 0);
129 Rule rule = matchingRules.get(i); local
130 if (rule.matches(this, intent, callerApp, callerUid, callerPid, resolvedType,
132 block |= rule.getBlock();
133 log |= rule.getLog();
266 Rule rule = new Rule(); local
270 // if we get an error while parsing a particular rule, we'll just ignor
388 private final Rule rule; field in class:IntentFirewall.FirewallIntentFilter
    [all...]
  /external/icu4c/test/intltest/
thcoll.cpp 457 const char *rule = "& c < ab"; local
460 parseChars(rules, rule);
  /external/smack/src/org/jivesoftware/smack/packet/
PrivacyItem.java 21 * A privacy item acts a rule that when matched defines if a packet should be blocked or not.
38 /** rule hold the kind of communication ([jid|group|subscription]) it will allow or block and
45 private PrivacyRule rule; field in class:PrivacyItem
259 return rule;
262 private void setRule(PrivacyRule rule) {
263 this.rule = rule;
308 * Privacy Rule represents the kind of action to apply.
315 * Type defines if the rule is based on JIDs, roster groups or presence subscription types.
345 PrivacyRule rule = new PrivacyRule(); local
    [all...]
  /external/srec/srec/ca/
syn_srec.c 311 const char* rule = "ROOT"; local
312 rc = activate_grammar_for_recognition(hRecog->recm, hSyntax->synx, rule);
  /external/webkit/Source/WebCore/inspector/
InspectorCSSAgent.cpp 150 CSSRule* rule = static_cast<CSSRule*>(styleBase);
151 if (rule->type() != CSSRule::STYLE_RULE)
153 return static_cast<CSSStyleRule*>(rule);
509 CSSStyleRule* rule = asCSSStyleRule(ruleList->item(i)); local
510 if (!rule)
513 InspectorStyleSheet* styleSheet = bindStyleSheet(parentStyleSheet(rule));
515 result->pushObject(styleSheet->buildObjectForRule(rule));
  /ndk/sources/host-tools/make-3.81/
implicit.c 1 /* Implicit rule searching for GNU Make.
21 #include "rule.h"
35 Returns 1 if a suitable implicit rule was found,
37 or returns 0 if no implicit rule was found. */
42 DBF (DB_IMPLICIT, _("Looking for an implicit rule for `%s'.\n"));
58 _("Looking for archive-member implicit rule for `%s'.\n"));
187 /* Search the pattern rules for a rule with an existing dependency to make
188 FILE. If a rule is found, the appropriate commands and deps are put in FILE
191 If ARCHIVE is nonzero, FILE->name is of the form "LIB(MEMBER)". A rule for
205 /* Filename we are searching for a rule for. *
262 struct rule *rule; local
    [all...]
rule.c 1 /* Pattern and suffix rule internals for GNU Make.
25 #include "rule.h"
27 static void freerule PARAMS ((struct rule *rule, struct rule *lastrule));
32 struct rule *pattern_rules;
34 /* Pointer to last rule in the chain, so we can add onto the end. */
36 struct rule *last_pattern_rule;
42 /* Maximum number of target patterns of any pattern rule. */
46 /* Maximum number of dependencies of any pattern rule. *
72 register struct rule *rule, *lastrule; local
    [all...]
  /external/icu4c/test/cintltst/
utransts.c 343 UChar rule[]={ 0x0061, 0x003c, 0x003e, 0x0063}; /*a<>b*/ local
363 rules=utrans_open("TestA-TestB",UTRANS_FORWARD, rule, 4, NULL, &status);
439 * [e]|abcd match rule 1 - copy output & adjust cursor
440 * [ex|y]cd match rule 2 - copy output & adjust cursor
454 * []|ab Rule 1
456 * [xy|zacw] Rule 2
457 * [xyq|cw] Rule 4
  /system/core/libcorkscrew/arch-x86/
dwarf.h 113 char rule; // rule: o - offset(value); r - register(value) member in struct:__anon43927
  /system/netd/
CommandListener.cpp 110 // -D to delete any pre-existing jump rule (removes references
1258 FirewallRule rule = parseRule(argv[3]); local
1273 FirewallRule rule = parseRule(argv[3]); local
1289 FirewallRule rule = parseRule(argv[4]); local
1306 FirewallRule rule = parseRule(argv[3]); local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.jobs_3.5.1.R36x_v20100824.jar 

Completed in 3200 milliseconds

12 3 4 5 6