Searched refs:rule (Results 226 - 250 of 1180) sorted by relevance

1234567891011>>

/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
H A DAST.stg58 /** Add a variable to track rule's return AST */
72 :{it | RewriteRuleSubtreeStream stream_<it>=new RewriteRuleSubtreeStream(adaptor,"rule <it>");}; separator="\n">
77 * as a rule could have both rewrite and AST within the same alternative
92 /** ID and track it for use in a rewrite rule */
98 /** ids+=ID and track it for use in a rewrite rule; adds to ids *and*
118 /** rule when output=AST and tracking for rewrite */
119 ruleRefTrack(rule,label,elementIndex,args,scope) ::= <<
121 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule.name>.add(<label>.getTree());
124 /** x+=rule when output=AST and tracking for rewrite */
125 ruleRefTrackAndListLabel(rule,labe
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
H A DAST.stg55 /** Add a variable to track rule's return AST */
68 :{var stream_<it>=new org.antlr.runtime.tree.RewriteRuleSubtreeStream(this.adaptor,"rule <it>");}; separator="\n">
73 * as a rule could have both rewrite and AST within the same alternative
88 /** ID and track it for use in a rewrite rule */
94 /** ids+=ID and track it for use in a rewrite rule; adds to ids *and*
118 /** rule when output=AST and tracking for rewrite */
119 ruleRefTrack(rule,label,elementIndex,args,scope) ::= <<
121 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule.name>.add(<label>.getTree());
124 /** x+=rule when output=AST and tracking for rewrite */
125 ruleRefTrackAndListLabel(rule,labe
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
H A DAST.stg164 /** Add a variable to track rule's return AST */
182 description:@"rule <it>"] retain];}; separator="\n">
214 * as a rule could have both rewrite and AST within the same alternative
229 /** ID and track it for use in a rewrite rule */
238 /** ids+=ID and track it for use in a rewrite rule; adds to ids *and*
261 /** rule when output=AST and tracking for rewrite */
262 ruleRefTrack(rule,label,elementIndex,args,scope) ::= <<
265 [stream_<rule.name> addElement:[<label> getTree]];
268 /** x+=rule when output=AST and tracking for rewrite */
269 ruleRefTrackAndListLabel(rule,labe
[all...]
H A DASTTreeParser.stg35 * token, set, rule, wildcard
92 /** What to emit when there is no rewrite rule. For auto build
122 <if(root.el.rule)>
276 /** rule auto construct */
277 ruleRef(rule,label,elementIndex,args,scope) ::= <<
289 /** x+=rule auto construct */
290 ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= <<
297 /** ^(rule ...) auto construct */
298 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= <<
308 /** ^(x+=rule
[all...]
/external/chromium_org/native_client_sdk/src/build_tools/
H A Dverify_filelist.py65 for line_no, rule in enumerate(contents.split('\n')):
66 rule = rule.strip()
67 if rule:
68 self.ParsePattern(line_no + 1, rule)
99 # Won't work properly. A file "foo/bar/baz" will match the first rule,
185 parser = optparse.OptionParser(usage='%prog <rule file> <directory>')
197 parser.error('Expected rule file.')
/external/chromium_org/third_party/boringssl/src/ssl/
H A Dssl_ciph.c526 int rule, int strength_bits, int in_group,
534 printf("Applying rule %d with %08lx/%08lx/%08lx/%08lx/%08lx %08lx (%d) in_group:%d\n",
535 rule, alg_mkey, alg_auth, alg_enc, alg_mac, alg_ssl, algo_strength, strength_bits, in_group);
538 if (rule == CIPHER_DEL)
601 printf("Action = %d\n", rule);
605 if (rule == CIPHER_ADD)
616 else if (rule == CIPHER_ORD)
625 else if (rule == CIPHER_DEL)
638 else if (rule == CIPHER_KILL)
718 int j, multi, found, rule, retva local
521 ssl_cipher_apply_rule(unsigned long cipher_id, unsigned long alg_mkey, unsigned long alg_auth, unsigned long alg_enc, unsigned long alg_mac, unsigned long alg_ssl, unsigned long algo_strength, int rule, int strength_bits, int in_group, CIPHER_ORDER **head_p, CIPHER_ORDER **tail_p) argument
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dstrmatch.cpp244 UnicodeString& StringMatcher::toReplacerPattern(UnicodeString& rule, argument
247 rule.truncate(0);
248 rule.append((UChar)0x0024 /*$*/);
249 ICU_Utility::appendNumber(rule, segmentNumber, 10, 1);
250 return rule;
H A Dnfrs.cpp141 // 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
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
224 switch (rule
340 NFRule *rule = findNormalRule(number); local
356 NFRule *rule = findDoubleRule(number); local
[all...]
/external/icu/icu4c/source/i18n/
H A Dstrmatch.cpp244 UnicodeString& StringMatcher::toReplacerPattern(UnicodeString& rule, argument
247 rule.truncate(0);
248 rule.append((UChar)0x0024 /*$*/);
249 ICU_Utility::appendNumber(rule, segmentNumber, 10, 1);
250 return rule;
/external/chromium_org/tools/gyp/pylib/gyp/generator/
H A Dninja.py49 # Special variables that may be used by gyp 'rule' targets.
51 # rule.
164 """Return true if the target should produce a restat rule based on a TOC
197 # sources as well as the starting directory a given gyp rule/action
412 # any of its action/rule/copy steps.
507 """Handle the implicit VS .idl rule for one source file. Fills |outputs|
593 # First write out a rule for the action.
613 # Then write out an edge using the rule.
626 for rule in rules:
627 # Skip a rule wit
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorCSSAgent.cpp373 CSSStyleRule* InspectorCSSAgent::asCSSStyleRule(CSSRule* rule) argument
375 if (!rule || rule->type() != CSSRule::STYLE_RULE)
377 return toCSSStyleRule(rule);
644 CSSRule* rule = flatRules.at(i).get(); local
645 if (rule->type() == CSSRule::MEDIA_RULE)
646 collectMediaQueriesFromRule(rule, medias.get());
909 *errorString = "Source range didn't match any rule selector source range";
916 CSSStyleRule* rule = inspectorStyleSheet->ruleForId(compoundId); local
917 result = inspectorStyleSheet->buildObjectForRule(rule, buildMediaListChai
965 CSSStyleRule* rule = inspectorStyleSheet->ruleForId(ruleId); local
1091 collectMediaQueriesFromRule(CSSRule* rule, TypeBuilder::Array<TypeBuilder::CSS::CSSMedia>* mediaArray) argument
1126 buildMediaListChain(CSSRule* rule) argument
1197 CSSRule* rule = styleSheet->item(i); local
1313 buildObjectForRule(CSSStyleRule* rule) argument
1347 CSSStyleRule* rule = asCSSStyleRule(ruleList->item(i)); local
[all...]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DRecognizerSharedState.as11 /** Track the set of token types that can follow any rule invocation.
32 /** In lieu of a return value, this indicates that a rule or token
46 * the stop token index for each rule. ruleMemo[ruleIndex] is
48 * get back the stop token for associated rule or MEMO_RULE_FAILED.
50 * This is only used if rule memoization is on (which it is by default).
62 * matching lexer rule(s). If you subclass to allow multiple token
/external/bison/src/
H A Dprint_graph.c42 /* Print the lhs of a rule in such a manner that there is no vertical
46 print_lhs (struct obstack *oout, rule *previous_rule, rule *r)
66 rule *previous_rule = NULL;
/external/chromium_org/build/android/gyp/
H A Djarjar_resources.py22 rule = line.split()
23 if rule[0] != 'rule':
25 _, src, dest = rule
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
H A Ddfa.h37 RegExp *rule; /* RuleOp */ member in union:Action::__anon16379
57 RegExp *rule; /* RuleOp */ member in struct:State
149 a->d.rule = r;
/external/chromium_org/tools/gyp/pylib/gyp/
H A Dninja_syntax.py41 def rule(self, name, command, description=None, depfile=None, member in class:Writer
44 self._line('rule %s' % name)
63 def build(self, outputs, rule, inputs=None, implicit=None, order_only=None,
80 ' '.join([rule] + all_inputs)))
/external/chromium_org/chrome/common/extensions/features/
H A Dchrome_channel_feature_filter_unittest.cc179 scoped_ptr<base::DictionaryValue> rule(
191 new BaseFeatureProvider(*rule, CreateFeature<SimpleFeature>));
236 scoped_ptr<base::DictionaryValue> rule(
241 simple_feature->Parse(rule.get());
246 rule =
251 simple_feature->Parse(rule.get());
256 // Test match 1st rule.
268 // Test match 2nd rule.
/external/chromium_org/net/proxy/
H A Dproxy_bypass_rules.cc84 // within a certain numeric range. For example, you could use this rule to
154 bool ProxyBypassRules::Rule::Equals(const Rule& rule) const {
155 return ToString() == rule.ToString();
229 for (RuleList::const_iterator rule(rules_.begin());
230 rule != rules_.end();
231 ++rule) {
232 result += (*rule)->ToString();
H A Dproxy_script_decider_unittest.cc59 Rule rule(GURL(url), OK /*fetch_error*/, true);
60 rules_.push_back(rule);
61 return rule;
111 const Rules::Rule& rule = rules_->GetRuleByUrl(url); variable
112 int rv = rule.fetch_error;
115 *text = rule.text();
188 Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac"); local
195 EXPECT_EQ(rule.text(), decider.script_data()->utf16());
295 Rules::Rule rule = rules.AddSuccessRule("http://wpad/wpad.dat"); local
301 EXPECT_EQ(rule
422 Rules::Rule rule = rules_.AddSuccessRule(kCustomUrl); local
442 Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac"); local
467 Rules::Rule rule = rules.AddSuccessRule("http://custom/proxy.pac"); local
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
H A DASTTreeParser.stg38 * token, set, rule, wildcard
51 /** What to emit when there is no rewrite rule. For auto build
79 <if(root.el.rule)>
223 /** rule auto construct */
224 ruleRef(rule,label,elementIndex,args,scope) ::= <<
235 /** x+=rule auto construct */
236 ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= <<
241 /** ^(rule ...) auto construct */
242 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= <<
250 /** ^(x+=rule
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
H A DASTTreeParser.stg39 * token, set, rule, wildcard
52 /** What to emit when there is no rewrite rule. For auto build
80 <if(root.el.rule)>
224 /** rule auto construct */
225 ruleRef(rule,label,elementIndex,args,scope) ::= <<
236 /** x+=rule auto construct */
237 ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= <<
242 /** ^(rule ...) auto construct */
243 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= <<
251 /** ^(x+=rule
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSStyleSheet.cpp149 // For style rules outside the document, .parentStyleSheet can become null even if the style rule
206 // because StyleSheetCollection::analyzeStyleSheetChange cannot detect partial rule update.
296 CSSRule* rule = item(i); local
297 if (rule->type() == CSSRule::CHARSET_RULE)
299 nonCharsetRules->rules().append(rule);
313 RefPtrWillBeRawPtr<StyleRuleBase> rule = CSSParser::parseRule(context, m_contents.get(), ruleString); local
315 if (!rule) {
316 exceptionState.throwDOMException(SyntaxError, "Failed to parse the rule '" + ruleString + "'.");
321 bool success = m_contents->wrapperInsertRule(rule, index);
323 exceptionState.throwDOMException(HierarchyRequestError, "Failed to insert the rule
332 insertRule(const String& rule, ExceptionState& exceptionState) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPageSerializer.cpp264 CSSRule* rule = styleSheet.item(i); local
265 String itemText = rule->cssText();
274 if (rule->type() == CSSRule::IMPORT_RULE) {
275 CSSImportRule* importRule = toCSSImportRule(rule);
281 } else if (rule->type() == CSSRule::FONT_FACE_RULE) {
282 retrieveResourcesForProperties(&toCSSFontFaceRule(rule)->styleRule()->properties(), document);
283 } else if (rule->type() == CSSRule::STYLE_RULE) {
284 retrieveResourcesForProperties(&toCSSStyleRule(rule)->styleRule()->properties(), document);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGraphicsContextState.h104 // Path fill rule
106 void setFillRule(WindRule rule) { m_fillRule = rule; } argument
/external/deqp/framework/egl/
H A DegluConfigFilter.cpp89 FilterList& FilterList::operator<< (const ConfigFilter& rule) argument
91 m_rules.push_back(rule);

Completed in 2511 milliseconds

1234567891011>>