Searched refs:rule (Results 101 - 125 of 1180) sorted by relevance

1234567891011>>

/external/bison/src/
H A Dderives.c31 /* Linked list of rule numbers. */
35 rule *value;
38 rule ***derives;
49 rule **rp;
67 rule **q;
73 /* DELTS[RULE] -- There are NRULES rule number to attach to nterms.
75 indexed by rule numbers. */
H A Dscan-code.l52 static void handle_action_dollar (symbol_list *rule, char *cp,
54 static void handle_action_at (symbol_list *rule, char *cp, location at_loc);
73 /* Whether in a rule or symbol action. Specifies the translation
202 handle_action_dollar (self->rule, yytext, *loc);
209 handle_action_at (self->rule, yytext, *loc);
472 _(", cannot be accessed from mid-rule action at $%d");
493 points to LHS ($$) of the current rule or midrule. */
500 parse_ref (char *cp, symbol_list *rule, int rule_length,
558 for (symbol_index = 0, l = rule; !symbol_list_null (l);
582 /* Check visibility from mid-rule action
[all...]
H A Dstate.h49 reductions (combine the last n things on the stack via a rule,
50 replace them with the symbol that the rule derives, and leave the
65 num rules. lookahead_tokens is an array of bitsets, one per rule.
186 /* Sorted ascendingly on rule number. */
187 rule *rules[1];
221 ascendingly on item index in RITEM, which is sorted on rule number. */
238 void state_reductions_set (state *s, int num, rule **reds);
240 int state_reduction_find (state *s, rule *r);
247 void state_rule_lookahead_tokens_print (state *s, rule *r, FILE *out);
248 void state_rule_lookahead_tokens_print_xml (state *s, rule *
[all...]
H A Dgram.c37 rule *rules = NULL;
50 rule_useful_in_grammar_p (rule *r)
56 rule_useless_in_grammar_p (rule *r)
62 rule_useless_in_parser_p (rule *r)
68 rule_lhs_print (rule *r, symbol *previous_lhs, FILE *out)
85 rule_lhs_print_xml (rule *r, FILE *out, int level)
91 rule_rhs_length (rule *r)
101 rule_rhs_print (rule *r, FILE *out)
117 rule_rhs_print_xml (rule *r, FILE *out, int level)
137 rule_print (rule *
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/first_run/
H A Dstep.js108 // and shelf alignment. Every rule has required field |position| with list
109 // of classes that should be applied to arrow element if this rule choosen.
110 // The rule is suitable if its |shelf| and |dir| fields are correspond
112 // '*' wildcard. The last suitable rule in list is choosen for arrow style.
185 var isSuitable = function(rule) {
186 var inputDirectionMatch = !rule.hasOwnProperty('dir') ||
187 rule.dir === inputDirection;
188 var shelfAlignmentMatch = !rule.hasOwnProperty('shelf') ||
189 rule.shelf === shelfAlignment;
194 rules.forEach(function(rule) {
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DPageRuleCollector.cpp110 StyleRulePage* rule = rules[i]; local
112 if (!checkPageSelectorComponents(rule->selector(), isLeftPage, isFirstPage, pageName))
115 // If the rule has no properties to apply, then ignore it.
116 const StylePropertySet& properties = rule->properties();
120 // Add this rule to our list of matched rules.
121 matchedRules.append(rule);
H A DCSSFilterRule.cpp79 void CSSFilterRule::reattach(StyleRuleBase* rule) argument
81 ASSERT(rule);
82 m_filterRule = toStyleRuleFilter(rule);
H A DCSSGroupingRule.cpp67 exceptionState.throwDOMException(IndexSizeError, "the index " + String::number(index) + " must be less than or equal to the length of the rule list.");
75 exceptionState.throwDOMException(SyntaxError, "the rule '" + ruleString + "' is invalid and cannot be parsed.");
81 // @media rule. They are currently not getting parsed, resulting in a SyntaxError
83 exceptionState.throwDOMException(HierarchyRequestError, "'@import' rules cannot be inserted inside a group rule.");
99 exceptionState.throwDOMException(IndexSizeError, "the index " + String::number(index) + " is greated than the length of the rule list.");
132 RefPtrWillBeMember<CSSRule>& rule = m_childRuleCSSOMWrappers[index]; local
133 if (!rule)
134 rule = m_groupRule->childRules()[index]->createCSSOMWrapper(const_cast<CSSGroupingRule*>(this));
135 return rule.get();
145 void CSSGroupingRule::reattach(StyleRuleBase* rule) argument
[all...]
H A DCSSKeyframesRule.cpp192 RefPtrWillBeMember<CSSKeyframeRule>& rule = m_childRuleCSSOMWrappers[index]; local
193 if (!rule)
194 rule = adoptRefWillBeNoop(new CSSKeyframeRule(m_keyframesRule->keyframes()[index].get(), const_cast<CSSKeyframesRule*>(this)));
196 return rule.get();
206 void CSSKeyframesRule::reattach(StyleRuleBase* rule) argument
208 ASSERT(rule);
209 m_keyframesRule = toStyleRuleKeyframes(rule);
H A DStyleRule.cpp207 RefPtrWillBeRawPtr<CSSRule> rule = nullptr; local
211 rule = CSSStyleRule::create(toStyleRule(self), parentSheet);
214 rule = CSSPageRule::create(toStyleRulePage(self), parentSheet);
217 rule = CSSFontFaceRule::create(toStyleRuleFontFace(self), parentSheet);
220 rule = CSSMediaRule::create(toStyleRuleMedia(self), parentSheet);
223 rule = CSSSupportsRule::create(toStyleRuleSupports(self), parentSheet);
226 rule = CSSImportRule::create(toStyleRuleImport(self), parentSheet);
229 rule = CSSKeyframesRule::create(toStyleRuleKeyframes(self), parentSheet);
232 rule = CSSViewportRule::create(toStyleRuleViewport(self), parentSheet);
235 rule
368 wrapperInsertRule(unsigned index, PassRefPtrWillBeRawPtr<StyleRuleBase> rule) argument
[all...]
H A DStyleSheetContents.cpp146 void StyleSheetContents::parserAppendRule(PassRefPtrWillBeRawPtr<StyleRuleBase> rule) argument
148 ASSERT(!rule->isCharsetRule());
149 if (rule->isImportRule()) {
152 StyleRuleImport* importRule = toStyleRuleImport(rule.get());
162 if (rule->isMediaRule()) {
164 reportMediaQueryWarningIfNeeded(singleOwnerDocument(), toStyleRuleMedia(rule.get())->mediaQueries());
167 m_childRules.append(rule);
226 bool StyleSheetContents::wrapperInsertRule(PassRefPtrWillBeRawPtr<StyleRuleBase> rule, unsigned index)
231 ASSERT(!rule->isCharsetRule());
243 if (childVectorIndex < m_importRules.size() || (childVectorIndex == m_importRules.size() && rule
[all...]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/speech_rules/
H A Dspeech_rule_engine.js6 * @fileoverview Implementation of the speech rule engine.
8 * The speech rule engine chooses and applies speech rules. Rules are chosen
9 * from a set of rule stores wrt. their applicability to a node in a particular
11 * recursively computing new nodes and applicable rules or, if no further rule
15 * Consequently the rule engine is parameterisable wrt. rule stores and
32 * The currently active speech rule store.
49 * Parameterizes the speech rule engine.
50 * @param {cvox.BaseRuleStore} store A speech rule store.
68 * Parameterizes the dynamic constraint annotation for the speech rule
[all...]
/external/chromium_org/chrome/tools/convert_dict/
H A Daff_reader.h27 // rule string will be specified literally in the .dic file. This must be
63 // command. The input rule may be modified arbitrarily by the function.
64 int AddAffixGroup(std::string* rule); // Returns the new affix group ID.
65 void AddAffix(std::string* rule); // SFX/PFX
66 void AddReplacement(std::string* rule);
67 // void HandleFlag(std::string* rule);
/external/jarjar/src/main/com/tonicsystems/jarjar/
H A DRulesFileParser.java55 if (type.equals("rule")) {
58 Rule rule = new Rule();
59 rule.setResult(parts[2]);
60 element = rule;
/external/chromium_org/third_party/freetype/src/truetype/
H A Dttsubpix.c54 /* The rule structure is designed so that entirely new rules can easily */
57 /* The rule structures could also use some enhancement to handle ranges. */
754 /* Does font name match rule family? */
789 /* Does font style match rule style? */
823 const SPH_TweakRule* rule,
829 /* rule checks may be able to be optimized further */
833 ( is_member_of_family_class ( family, rule[i].family ) ) )
834 if ( rule[i].ppem == 0 ||
835 rule[i].ppem == ppem )
837 is_member_of_style_class ( style, rule[
849 scale_test_tweak( TT_Face face, const FT_String* family, FT_UInt ppem, const FT_String* style, FT_UInt glyph_index, const SPH_ScaleRule* rule, FT_UInt num_rules ) argument
[all...]
/external/freetype/src/truetype/
H A Dttsubpix.c54 /* The rule structure is designed so that entirely new rules can easily */
57 /* The rule structures could also use some enhancement to handle ranges. */
754 /* Does font name match rule family? */
789 /* Does font style match rule style? */
823 const SPH_TweakRule* rule,
829 /* rule checks may be able to be optimized further */
833 ( is_member_of_family_class ( family, rule[i].family ) ) )
834 if ( rule[i].ppem == 0 ||
835 rule[i].ppem == ppem )
837 is_member_of_style_class ( style, rule[
849 scale_test_tweak( TT_Face face, const FT_String* family, FT_UInt ppem, const FT_String* style, FT_UInt glyph_index, const SPH_ScaleRule* rule, FT_UInt num_rules ) argument
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/
H A Dttsubpix.c54 /* The rule structure is designed so that entirely new rules can easily */
57 /* The rule structures could also use some enhancement to handle ranges. */
754 /* Does font name match rule family? */
789 /* Does font style match rule style? */
823 const SPH_TweakRule* rule,
829 /* rule checks may be able to be optimized further */
833 ( is_member_of_family_class ( family, rule[i].family ) ) )
834 if ( rule[i].ppem == 0 ||
835 rule[i].ppem == ppem )
837 is_member_of_style_class ( style, rule[
849 scale_test_tweak( TT_Face face, const FT_String* family, FT_UInt ppem, const FT_String* style, FT_UInt glyph_index, const SPH_ScaleRule* rule, FT_UInt num_rules ) argument
[all...]
/external/chromium_org/chrome/renderer/safe_browsing/
H A Dscorer.cc81 logodds += ComputeRuleScore(model_.rule(i), features);
114 double Scorer::ComputeRuleScore(const ClientSideModel::Rule& rule, argument
118 for (int i = 0; i < rule.feature_size(); ++i) {
120 model_.hashes(rule.feature(i)));
122 // If the feature of the rule does not exist in the given feature map the
124 // we leave early since we know that the rule score will be zero.
129 return rule_score * rule.weight();
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DScopedStyleResolver.cpp110 void ScopedStyleResolver::addKeyframeStyle(PassRefPtrWillBeRawPtr<StyleRuleKeyframes> rule) argument
112 AtomicString s(rule->name());
113 if (rule->isVendorPrefixed()) {
114 KeyframesRuleMap::iterator it = m_keyframesRuleMap.find(rule->name().impl());
116 m_keyframesRuleMap.set(s.impl(), rule);
118 m_keyframesRuleMap.set(s.impl(), rule);
120 m_keyframesRuleMap.set(s.impl(), rule);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
H A DASTParser.stg35 * token, set, rule, wildcard
42 @rule.setErrorReturnValue() ::= <<
123 /** rule when output=AST */
124 ruleRef(rule,label,elementIndex,args,scope) ::= <<
129 /** rule! is same as normal rule ref */
130 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>"
132 /** rule^ */
133 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= <<
138 /** x+=rule whe
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
H A DASTParser.stg35 * token, set, rule, wildcard
41 @rule.setErrorReturnValue() ::= <<
122 /** rule when output=AST */
123 ruleRef(rule,label,elementIndex,args,scope) ::= <<
128 /** rule! is same as normal rule ref */
129 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>"
131 /** rule^ */
132 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= <<
137 /** x+=rule whe
[all...]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
H A DASTParser.stg7 * token, set, rule, wildcard
14 @rule.setErrorReturnValue() ::= <<
94 /** rule when output=AST */
95 ruleRef(rule,label,elementIndex,args,scope) ::= <<
100 /** rule! is same as normal rule ref */
101 ruleRefBang(rule,label,elementIndex,args,scope) ::= "<super.ruleRef(...)>"
103 /** rule^ */
104 ruleRefRuleRoot(rule,label,elementIndex,args,scope) ::= <<
109 /** x+=rule whe
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dstrrepl.cpp240 UnicodeString& StringReplacer::toReplacerPattern(UnicodeString& rule, argument
242 rule.truncate(0);
250 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf);
257 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf);
263 ICU_Utility::appendToRule(rule, c, FALSE, escapeUnprintable, quoteBuf);
269 ICU_Utility::appendToRule(rule, buf,
280 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf);
282 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf);
285 ICU_Utility::appendToRule(rule, -1,
288 return rule;
[all...]
/external/chromium_org/third_party/libaddressinput/src/cpp/src/
H A Dvalidation_task.cc37 #include "rule.h"
80 } else if (hierarchy.rule[0] == NULL) {
161 hierarchy.rule[depth - 1] == NULL ||
162 hierarchy.rule[depth - 1]->GetSubKeys().empty() ||
163 hierarchy.rule[depth] != NULL)) {
172 assert(hierarchy.rule[0] != NULL);
173 const Rule& country_rule = *hierarchy.rule[0];
189 // Validate general postal code format. A country-level rule specifies the
205 if (hierarchy.rule[depth] != NULL) {
208 const RE2ptr* prefix_ptr = hierarchy.rule[dept
[all...]
/external/icu/icu4c/source/i18n/
H A Dstrrepl.cpp240 UnicodeString& StringReplacer::toReplacerPattern(UnicodeString& rule, argument
242 rule.truncate(0);
250 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf);
257 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf);
263 ICU_Utility::appendToRule(rule, c, FALSE, escapeUnprintable, quoteBuf);
269 ICU_Utility::appendToRule(rule, buf,
280 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf);
282 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf);
285 ICU_Utility::appendToRule(rule, -1,
288 return rule;
[all...]

Completed in 618 milliseconds

1234567891011>>