/external/freetype/src/truetype/ |
ttsubpix.c | 54 /* 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[i].style ) [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/ |
ttsubpix.c | 54 /* 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[i].style ) [all...] |
/external/bison/src/ |
state.h | 49 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 *r [all...] |
gram.c | 37 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 *r, FILE *out [all...] |
/external/chromium_org/chrome/renderer/safe_browsing/ |
scorer.cc | 81 logodds += ComputeRuleScore(model_.rule(i), features); 114 double Scorer::ComputeRuleScore(const ClientSideModel::Rule& rule, 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/ |
CSSGroupingRule.cpp | 67 exceptionState.throwDOMException(IndexSizeError, "the index " + String::number(index) + " must be less than or equal to the length of the rule list."); 76 exceptionState.throwDOMException(SyntaxError, "the rule '" + ruleString + "' is invalid and cannot be parsed."); 82 // @media rule. They are currently not getting parsed, resulting in a SyntaxError 84 exceptionState.throwDOMException(HierarchyRequestError, "'@import' rules cannot be inserted inside a group rule."); 100 exceptionState.throwDOMException(IndexSizeError, "the index " + String::number(index) + " is greated than the length of the rule list."); 133 RefPtrWillBeMember<CSSRule>& rule = m_childRuleCSSOMWrappers[index]; local 134 if (!rule) 135 rule = m_groupRule->childRules()[index]->createCSSOMWrapper(const_cast<CSSGroupingRule*>(this)); 136 return rule.get(); 146 void CSSGroupingRule::reattach(StyleRuleBase* rule) [all...] |
CSSKeyframesRule.cpp | 193 RefPtrWillBeMember<CSSKeyframeRule>& rule = m_childRuleCSSOMWrappers[index]; local 194 if (!rule) 195 rule = adoptRefWillBeNoop(new CSSKeyframeRule(m_keyframesRule->keyframes()[index].get(), const_cast<CSSKeyframesRule*>(this))); 197 return rule.get(); 207 void CSSKeyframesRule::reattach(StyleRuleBase* rule) 209 ASSERT(rule); 210 m_keyframesRule = toStyleRuleKeyframes(rule);
|
StyleRule.cpp | 207 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 = CSSFilterRule::create(toStyleRuleFilter(self), parentSheet) [all...] |
StyleSheetContents.cpp | 146 void StyleSheetContents::parserAppendRule(PassRefPtrWillBeRawPtr<StyleRuleBase> rule) 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->isImportRule())) [all...] |
ElementRuleCollector.cpp | 81 inline void ElementRuleCollector::addMatchedRule(const RuleData* rule, unsigned specificity, CascadeScope cascadeScope, CascadeOrder cascadeOrder, unsigned styleSheetIndex, const CSSStyleSheet* parentStyleSheet) 85 m_matchedRules->append(MatchedRule(rule, specificity, cascadeScope, cascadeOrder, styleSheetIndex, parentStyleSheet)); 125 // [skipped, because already checked] a) it's a UA rule 153 // a) it's a UA rule 179 CSSRuleList* ElementRuleCollector::nestedRuleList(CSSRule* rule) 181 switch (rule->type()) { 183 return toCSSMediaRule(rule)->cssRules(); 185 return toCSSKeyframesRule(rule)->cssRules(); 187 return toCSSSupportsRule(rule)->cssRules(); 216 void ElementRuleCollector::appendCSSOMWrapperForRule(CSSStyleSheet* parentStyleSheet, StyleRule* rule) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
ScopedStyleResolver.cpp | 101 void ScopedStyleResolver::addKeyframeStyle(PassRefPtrWillBeRawPtr<StyleRuleKeyframes> rule) 103 AtomicString s(rule->name()); 104 if (rule->isVendorPrefixed()) { 105 KeyframesRuleMap::iterator it = m_keyframesRuleMap.find(rule->name().impl()); 107 m_keyframesRuleMap.set(s.impl(), rule); 109 m_keyframesRuleMap.set(s.impl(), rule); 111 m_keyframesRuleMap.set(s.impl(), rule);
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
ASTParser.stg | 35 * token, set, rule, wildcard 42 @rule.setErrorReturnValue() ::= << 121 // RULE REF AST 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) ::= < [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
ASTParser.stg | 35 * token, set, rule, wildcard 41 @rule.setErrorReturnValue() ::= << 120 // RULE REF AST 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) ::= < [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
ASTParser.stg | 7 * token, set, rule, wildcard 14 @rule.setErrorReturnValue() ::= << 92 // RULE REF AST 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) ::= < [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
RuleBasedCollatorTest.java | 44 String rule = "&9 < a < b < c < d"; local 45 RuleBasedCollator coll = new RuleBasedCollator(rule); 46 assertEquals(rule.hashCode(), coll.hashCode()); 50 String rule = "&9 < a < b < c < d < e"; local 51 RuleBasedCollator coll = new RuleBasedCollator(rule); 52 assertEquals(rule.hashCode(), coll.hashCode()); 66 String rule = "&9 < a < b < c < d < e"; local 67 RuleBasedCollator coll = new RuleBasedCollator(rule); 71 RuleBasedCollator other = new RuleBasedCollator(rule); 83 String rule = "&9 < c < b < a" local 101 String rule = "&9 < a = b < c"; local [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
strrepl.cpp | 241 UnicodeString& StringReplacer::toReplacerPattern(UnicodeString& rule, 243 rule.truncate(0); 251 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf); 258 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf); 264 ICU_Utility::appendToRule(rule, c, FALSE, escapeUnprintable, quoteBuf); 270 ICU_Utility::appendToRule(rule, buf, 281 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf); 283 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf); 286 ICU_Utility::appendToRule(rule, -1, 289 return rule; [all...] |
/external/chromium_org/third_party/libaddressinput/src/cpp/src/ |
validation_task.cc | 34 #include "rule.h" 79 } else if (hierarchy.rule[0] == NULL) { 158 hierarchy.rule[depth - 1] == NULL || 159 hierarchy.rule[depth - 1]->GetSubKeys().empty() || 160 hierarchy.rule[depth] != NULL)) { 169 assert(hierarchy.rule[0] != NULL); 170 const Rule& country_rule = *hierarchy.rule[0]; 186 // Validate general postal code format. A country-level rule specifies the 202 if (hierarchy.rule[depth] != NULL) [all...] |
address_formatter.cc | 30 #include "rule.h" 137 Rule rule; local 138 rule.CopyFrom(Rule::GetDefault()); 139 // TODO: Eventually, we should get the best rule for this country and 141 rule.ParseSerializedRule(RegionDataConstants::GetRegionData( 149 language.has_latin_script && !rule.GetLatinFormat().empty() 150 ? rule.GetLatinFormat() : rule.GetFormat() [all...] |
localization.cc | 27 #include "rule.h" 69 Rule rule; local 70 rule.CopyFrom(Rule::GetDefault()); 72 if (rule.ParseSerializedRule( 76 SplitString(rule.GetPostalCodeExample(), ',', &examples_list); 82 post_service_url = rule.GetPostServiceUrl(); 87 // If we can't parse the serialized rule |uses_postal_code_as_label| will be 88 // determined from the default rule [all...] |
/external/icu/icu4c/source/i18n/ |
strrepl.cpp | 240 UnicodeString& StringReplacer::toReplacerPattern(UnicodeString& rule, 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/chrome/browser/extensions/api/declarative_content/ |
content_rules_registry.cc | 131 ContentRule* rule = rule_iter->second; local 132 if (rule->conditions().IsFulfilled(*url_match, renderer_data)) 133 result.insert(rule); 140 const std::vector<linked_ptr<RulesRegistry::Rule> >& rules) { 152 for (std::vector<linked_ptr<RulesRegistry::Rule> >::const_iterator rule = 153 rules.begin(); rule != rules.end(); ++rule) { 154 ContentRule::GlobalRuleId rule_id(extension_id, *(*rule)->id); 161 *rule, 219 ContentRule* rule = content_rules_entry->second.get(); local 275 ContentRule& rule = *i->second; local [all...] |
/external/chromium_org/chrome/browser/content_settings/ |
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/svox/pico/tts/ |
Android.mk | 5 # to the rule below / except that it builds a shared 32 # Build Pico Shared Library. This rule is used by the 34 # using dlsym. This is essentially the same as the rule
|
/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/ObjC/Framework/ |
ANTLRTreeRewriter.h | 43 - (id)rule; 53 ANTLRfptr *rule; variable 62 - (id) applyOnce:(ANTLRCommonTree *)t Rule:(ANTLRfptr *)whichRule; 63 - (id) applyRepeatedly:(ANTLRCommonTree *)t Rule:(ANTLRfptr *)whichRule; 77 @property (retain) ANTLRfptr *rule; variable
|