HomeSort by relevance Sort by last modified time
    Searched full:rule (Results 376 - 400 of 4107) sorted by null

<<11121314151617181920>>

  /external/icu/icu4c/source/common/
util.cpp 278 * Append a character to a rule that is being built up. To flush
279 * the quoteBuf to rule, make one final call with isLiteral == TRUE.
281 * @param rule the string to append the character to
295 void ICU_Utility::appendToRule(UnicodeString& rule,
316 rule.append(BACKSLASH).append(APOSTROPHE);
329 rule.append(APOSTROPHE);
330 rule.append(quoteBuf);
331 rule.append(APOSTROPHE);
335 rule.append(BACKSLASH).append(APOSTROPHE);
342 * rule
    [all...]
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
BaseRecognizer.as 60 * in a rule will cause an exception and immediate exit from
61 * rule. Rule would recover by resynchronizing to the set of
62 * symbols that can follow rule ref.
272 msg = "rule "+fpe.ruleName+" failed predicate: {"+
353 /* Compute the error recovery set for the current rule. During
354 * rule invocation, the parser pushes the set of tokens that can
355 * follow that rule reference on the stack; this amounts to
356 * computing FIRST of what follows the rule reference in the
357 * enclosing rule. This local follow set only includes token
    [all...]
TokenConstants.as 18 /** In an action, a lexer rule can set token to this SKIP_TOKEN and ANTLR
23 /** All tokens go to the parser (unless skip() is called in that rule)
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
NFAContext.java 78 * sequence you can recurse to same rule such as e above. You'd have a
83 * max=0 implies you cannot ever jump to another rule during closure.
85 * can't ever visit a state that is on your rule invocation stack.
87 * max=2 implies you are able to recurse once (i.e., call a rule twice
90 * This tracks recursion to a rule specific to an invocation site!
91 * It does not detect multiple calls to a rule from different rule
103 /** The NFA state that invoked another rule's start state is recorded
104 * on the rule invocation context stack.
178 * is the case when closure falls off end of rule without a call stac
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
webrequest_rules_registry.cc 125 const WebRequestRule* rule = local
127 CHECK(rule);
129 // Skip rule if a previous rule of this extension instructed to ignore
135 if (!rule->tags().empty() && !ignore_tags[extension_id].empty()) {
137 const WebRequestRule::Tags& tags = rule->tags();
152 rule->Apply(&apply_info);
156 rule->GetMinimumPriority());
163 const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) {
178 for (std::vector<linked_ptr<RulesRegistry::Rule> >::const_iterator rule
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
rbt_set.cpp 23 static void U_CALLCONV _deleteRule(void *rule) {
24 delete (U_NAMESPACE_QUALIFIER TransliterationRule *)rule;
109 inline void _debugOut(const char* msg, TransliterationRule* rule,
112 if (rule) {
114 rule->toRule(r, TRUE);
127 #define _debugOut(msg, rule, theText, pos)
161 * Construct a new empty rule set.
236 * Add a rule to this set. Rules are added in order, and order is
238 * a call to <code>freeze()</code> before the rule set is used.
243 * @param adoptedRule the rule to ad
    [all...]
nfsubs.h 58 const NFRule* rule,
111 * @param pos The position in toInsertInto where the owning rule's
112 * rule text begins (this value is added to this substitution's
123 * @param pos The position in toInsertInto where the owning rule's
124 * rule text begins (this value is added to this substitution's
133 * is formatted using the rule set or DecimalFormat that this
144 * is formatted using the rule set or DecimalFormat that this
158 * Parses a string using the rule set or DecimalFormat belonging
170 * @param upperBound When searching the rule set for a rule
    [all...]
basictz.cpp 168 // Create DOW rule
173 // So we always use raw offset of the given time for the rule,
177 // transition for another rule.
195 // Generate another DOW rule
201 // Make sure this rule can be applied to the specified date
206 // We cannot use this rule as the second transition rule
222 // Generate another DOW rule
229 // second rule raw/dst offsets should match raw/dst offsets
234 // Check if this rule start after the first rule after the specified dat
    [all...]
nfsubs.cpp 329 const NFRule* rule,
344 // throw an exception if the rule is a negative number
345 // rule
346 if (rule->getBaseValue() == NFRule::kNegativeNumberRule) {
347 // throw new IllegalArgumentException("<< not allowed in negative-number rule");
352 // if the rule is a fraction rule, return an
354 else if (rule->getBaseValue() == NFRule::kImproperFractionRule
355 || rule->getBaseValue() == NFRule::kProperFractionRule
356 || rule->getBaseValue() == NFRule::kMasterRule)
    [all...]
  /external/icu/icu4c/source/i18n/
rbt_set.cpp 24 static void U_CALLCONV _deleteRule(void *rule) {
25 delete (icu::TransliterationRule *)rule;
110 inline void _debugOut(const char* msg, TransliterationRule* rule,
113 if (rule) {
115 rule->toRule(r, TRUE);
128 #define _debugOut(msg, rule, theText, pos)
162 * Construct a new empty rule set.
237 * Add a rule to this set. Rules are added in order, and order is
239 * a call to <code>freeze()</code> before the rule set is used.
244 * @param adoptedRule the rule to ad
    [all...]
nfsubs.h 58 const NFRule* rule,
111 * @param pos The position in toInsertInto where the owning rule's
112 * rule text begins (this value is added to this substitution's
123 * @param pos The position in toInsertInto where the owning rule's
124 * rule text begins (this value is added to this substitution's
133 * is formatted using the rule set or DecimalFormat that this
144 * is formatted using the rule set or DecimalFormat that this
158 * Parses a string using the rule set or DecimalFormat belonging
170 * @param upperBound When searching the rule set for a rule
    [all...]
basictz.cpp 168 // Create DOW rule
173 // So we always use raw offset of the given time for the rule,
177 // transition for another rule.
195 // Generate another DOW rule
201 // Make sure this rule can be applied to the specified date
206 // We cannot use this rule as the second transition rule
222 // Generate another DOW rule
229 // second rule raw/dst offsets should match raw/dst offsets
234 // Check if this rule start after the first rule after the specified dat
    [all...]
nfsubs.cpp 355 const NFRule* rule,
370 // throw an exception if the rule is a negative number
371 // rule
372 if (rule->getBaseValue() == NFRule::kNegativeNumberRule) {
373 // throw new IllegalArgumentException("<< not allowed in negative-number rule");
378 // if the rule is a fraction rule, return an
380 else if (rule->getBaseValue() == NFRule::kImproperFractionRule
381 || rule->getBaseValue() == NFRule::kProperFractionRule
382 || rule->getBaseValue() == NFRule::kMasterRule)
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/templates/intros/
events.html 62 <p>The simplest possible rule consists of one or more conditions and one or more
65 var rule = {
73 <p>In addition to conditions and actions you may give each rule an identifier,
80 var rule = {
81 id: "my rule", // optional, will be generated if not set.
93 registered rule has at least one fulfilled condition and execute the actions
94 associated with this rule. Event objects supporting the declarative API have
104 takes an array of rule instances as its first parameter and a callback function
117 <code>priority</code> were filled with the generated values. If any rule is
121 the callback function is called. Each rule in <code>rule_list</code> mus
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorStyleSheet.cpp 117 // Pop off data for a previous invalid rule.
169 ++offset; // Skip the rule body opening brace.
178 RefPtrWillBeRawPtr<CSSRuleSourceData> rule = popRuleData(); local
182 fixUnparsedPropertyRanges(rule.get());
183 addNewRuleToSourceTree(rule.release());
186 void StyleSheetHandler::addNewRuleToSourceTree(PassRefPtrWillBeRawPtr<CSSRuleSourceData> rule)
189 m_result->append(rule);
191 m_currentRuleDataStack.last()->childRules.append(rule);
322 // The lexer is not inside a property AND it is scanning a declaration-aware rule body.
335 // FIXME: Use the actual rule type rather than STYLE_RULE
    [all...]
  /external/chromium_org/chrome/browser/content_settings/
content_settings_policy_provider_unittest.cc 31 typedef std::vector<Rule> Rules;
72 Rule rule = rule_iterator->Next(); local
75 EXPECT_EQ(ContentSettingsPattern::Wildcard(), rule.primary_pattern);
76 EXPECT_EQ(ContentSettingsPattern::Wildcard(), rule.secondary_pattern);
77 EXPECT_EQ(CONTENT_SETTING_BLOCK, ValueToContentSetting(rule.value.get()));
96 Rule rule = rule_iterator->Next(); local
99 EXPECT_EQ(ContentSettingsPattern::Wildcard(), rule.primary_pattern);
100 EXPECT_EQ(ContentSettingsPattern::Wildcard(), rule.secondary_pattern)
    [all...]
content_settings_utils.cc 136 // |RuleIterator| gets out of scope before we get a rule iterator for the
161 const Rule& rule = rule_iterator->Next(); local
162 if (rule.primary_pattern.Matches(primary_url) &&
163 rule.secondary_pattern.Matches(secondary_url)) {
165 *primary_pattern = rule.primary_pattern;
167 *secondary_pattern = rule.secondary_pattern;
168 return rule.value.get()->DeepCopy();
  /external/chromium_org/third_party/WebKit/Source/core/css/invalidation/
StyleSheetInvalidationAnalysis.cpp 81 const StyleRuleBase* rule = rules[i].get(); local
82 if (!rule->isStyleRule())
85 const StyleRule* styleRule = toStyleRule(rule);
110 static bool ruleAdditionMightRequireDocumentStyleRecalc(StyleRuleBase* rule)
113 // the added @rule can't require style recalcs.
114 switch (rule->type()) {
120 case StyleRule::Media: // If the media rule doesn't apply, we could avoid recalc.
163 StyleRuleBase* rule = rules[i].get(); local
164 if (!rule->isStyleRule()) {
165 if (ruleAdditionMightRequireDocumentStyleRecalc(rule)) {
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
ObjC.stg 250 #pragma mark Rule return scopes Interface start
251 <rules:{rule |
252 <rule.ruleDescriptor:{ruleDescriptor | <returnScopeInterface(scope=ruleDescriptor.returnScope)>}>}>
253 #pragma mark Rule return scopes Interface end
272 <rules:{rule |
273 - (<rule.ruleDescriptor:{ruleDescriptor|<returnType()>}>) <if(!rule.ruleDescriptor.isSynPred)>m<rule.ruleName><else><rule.ruleName>_fragment<endif> <if(rule.ruleDescriptor.parameterScope)><rule.ruleDescriptor.parameterScope:parameterScope()><endif>; }; se (…)
    [all...]
  /art/test/
Android.run-test.mk 503 # Define a phony rule whose purpose is to test its prerequisites.
504 # $(1): rule name, e.g. test-art-host-run-test32
506 define define-test-art-run-test-group-rule
511 endef # define-test-art-run-test-group-rule
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
Token.js 27 /** In an action, a lexer rule can set token to this SKIP_TOKEN and ANTLR
32 /** All tokens go to the parser (unless skip() is called in that rule)
  /external/antlr/antlr-3.4/runtime/Python/
ChangeLog 29 * Python.stg (rule): Added support for @decorate {...} action for
30 parser rules to add decorators to the rule method.
  /external/antlr/antlr-3.4/runtime/Python/tests/
t035ruleLabelPropertyRef.py 37 # first token of rule b is the 2nd token (counting hidden tokens)
40 # first token of rule b is the 7th token (counting hidden tokens)
t037rulePropertyRef.py 37 # first token of rule b is the 2nd token (counting hidden tokens)
40 # first token of rule b is the 7th token (counting hidden tokens)
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
Rule.java 38 /** Combine the info associated with a rule. */
39 public class Rule {
46 /** This rule's options */
57 /** The AST representing the whole rule */
68 /** The return values of a rule and predefined rule attributes */
73 /** the attributes defined with "scope {...}" inside a rule */
76 /** A list of scope names (String) used by this rule */
79 /** Exceptions that this rule can throw */
94 /** A list of all LabelElementPair attached to rule references like f=field *
    [all...]

Completed in 417 milliseconds

<<11121314151617181920>>