Home
last modified time | relevance | path

Searched refs:ruleData (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
DElementRuleCollector.cpp237 ensureStyleRuleList()->m_list.append(matchedRules[i].ruleData()->rule()); in sortAndTransferMatchedRules()
243 …onst_cast<CSSStyleSheet*>(matchedRules[i].parentStyleSheet()), matchedRules[i].ruleData()->rule()); in sortAndTransferMatchedRules()
250 const RuleData* ruleData = matchedRules[i].ruleData(); in sortAndTransferMatchedRules() local
251 if (m_style && ruleData->containsUncommonAttributeSelector()) in sortAndTransferMatchedRules()
253 …m_result.addMatchedProperties(&ruleData->rule()->properties(), ruleData->linkMatchType(), ruleData in sortAndTransferMatchedRules()
257 inline bool ElementRuleCollector::ruleMatches(const RuleData& ruleData, const ContainerNode* scope,… in ruleMatches() argument
260 …SelectorChecker::SelectorCheckingContext context(ruleData.selector(), m_context.element(), Selecto… in ruleMatches()
276 void ElementRuleCollector::collectRuleIfMatches(const RuleData& ruleData, SelectorChecker::ContextF… in collectRuleIfMatches() argument
278 …& m_selectorFilter.fastRejectSelector<RuleData::maximumIdentifierCount>(ruleData.descendantSelecto… in collectRuleIfMatches()
281 StyleRule* rule = ruleData.rule(); in collectRuleIfMatches()
[all …]
DRuleSet.cpp144 void RuleSet::addToRuleSet(const AtomicString& key, PendingRuleMap& map, const RuleData& ruleData) in addToRuleSet() argument
149 rules->push(ruleData); in addToRuleSet()
172 bool RuleSet::findBestRuleSetAndAdd(const CSSSelector& component, RuleData& ruleData) in findBestRuleSetAndAdd() argument
180 m_allRules.append(ruleData); in findBestRuleSetAndAdd()
193 addToRuleSet(id, ensurePendingRules()->idRules, ruleData); in findBestRuleSetAndAdd()
197 addToRuleSet(className, ensurePendingRules()->classRules, ruleData); in findBestRuleSetAndAdd()
205 … addToRuleSet(customPseudoElementName, ensurePendingRules()->shadowPseudoElementRules, ruleData); in findBestRuleSetAndAdd()
210 m_cuePseudoRules.append(ruleData); in findBestRuleSetAndAdd()
219 m_linkPseudoClassRules.append(ruleData); in findBestRuleSetAndAdd()
222 m_focusPseudoClassRules.append(ruleData); in findBestRuleSetAndAdd()
[all …]
DElementRuleCollector.h51 …MatchedRule(const RuleData* ruleData, unsigned specificity, CascadeScope cascadeScope, CascadeOrde… in MatchedRule() argument
52 : m_ruleData(ruleData) in MatchedRule()
63 const RuleData* ruleData() const { return m_ruleData; } in ruleData() function
66 unsigned specificity() const { return ruleData()->specificity() + m_specificity; } in specificity()
DRuleFeature.cpp351 void RuleFeatureSet::collectFeaturesFromRuleData(const RuleData& ruleData) in collectFeaturesFromRuleData() argument
354 InvalidationSetMode mode = updateInvalidationSets(ruleData.selector()); in collectFeaturesFromRuleData()
356 collectFeaturesFromSelector(ruleData.selector(), metadata, mode); in collectFeaturesFromRuleData()
360 …siblingRules.append(RuleFeature(ruleData.rule(), ruleData.selectorIndex(), ruleData.hasDocumentSec… in collectFeaturesFromRuleData()
361 if (ruleData.containsUncommonAttributeSelector()) in collectFeaturesFromRuleData()
362 …uncommonAttributeRules.append(RuleFeature(ruleData.rule(), ruleData.selectorIndex(), ruleData.hasD… in collectFeaturesFromRuleData()
/external/chromium_org/third_party/icu/source/i18n/
Dolsontz.cpp207 const int32_t *ruleData = ures_getIntVector(rule, &len, &ec); in OlsonTimeZone() local
213 (int8_t)ruleData[0], (int8_t)ruleData[1], (int8_t)ruleData[2], in OlsonTimeZone()
214 ruleData[3] * U_MILLIS_PER_SECOND, in OlsonTimeZone()
215 (SimpleTimeZone::TimeMode) ruleData[4], in OlsonTimeZone()
216 (int8_t)ruleData[5], (int8_t)ruleData[6], (int8_t)ruleData[7], in OlsonTimeZone()
217 ruleData[8] * U_MILLIS_PER_SECOND, in OlsonTimeZone()
218 (SimpleTimeZone::TimeMode) ruleData[9], in OlsonTimeZone()
219 ruleData[10] * U_MILLIS_PER_SECOND, ec); in OlsonTimeZone()
Dplurrule.cpp374 PluralRuleParser::parse(const UnicodeString& ruleData, PluralRules *prules, UErrorCode &status) in parse() argument
380 ruleSrc = &ruleData; in parse()
/external/icu/icu4c/source/i18n/
Dolsontz.cpp207 const int32_t *ruleData = ures_getIntVector(rule, &len, &ec); in OlsonTimeZone() local
213 (int8_t)ruleData[0], (int8_t)ruleData[1], (int8_t)ruleData[2], in OlsonTimeZone()
214 ruleData[3] * U_MILLIS_PER_SECOND, in OlsonTimeZone()
215 (SimpleTimeZone::TimeMode) ruleData[4], in OlsonTimeZone()
216 (int8_t)ruleData[5], (int8_t)ruleData[6], (int8_t)ruleData[7], in OlsonTimeZone()
217 ruleData[8] * U_MILLIS_PER_SECOND, in OlsonTimeZone()
218 (SimpleTimeZone::TimeMode) ruleData[9], in OlsonTimeZone()
219 ruleData[10] * U_MILLIS_PER_SECOND, ec); in OlsonTimeZone()
Dplurrule.cpp477 PluralRuleParser::parse(const UnicodeString& ruleData, PluralRules *prules, UErrorCode &status) in parse() argument
483 ruleSrc = &ruleData; in parse()
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dplurrule.h468 void parseDescription(const UnicodeString& ruleData, UErrorCode &status);
/external/icu/icu4c/source/i18n/unicode/
Dplurrule.h488 void parseDescription(const UnicodeString& ruleData, UErrorCode &status);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorStyleSheet.cpp203 …tic inline void fixUnparsedProperties(const CharacterType* characters, CSSRuleSourceData* ruleData) in fixUnparsedProperties() argument
205 WillBeHeapVector<CSSPropertySourceData>& propertyData = ruleData->styleSourceData->propertyData; in fixUnparsedProperties()
222 propertyEnd = ruleData->ruleBodyRange.end - 1; in fixUnparsedProperties()
246 void StyleSheetHandler::fixUnparsedPropertyRanges(CSSRuleSourceData* ruleData) in fixUnparsedPropertyRanges() argument
248 if (!ruleData->styleSourceData) in fixUnparsedPropertyRanges()
252 fixUnparsedProperties<LChar>(m_parsedText.characters8(), ruleData); in fixUnparsedPropertyRanges()
256 fixUnparsedProperties<UChar>(m_parsedText.characters16(), ruleData); in fixUnparsedPropertyRanges()