Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/css/
DRuleSet.cpp210 static void collectFeaturesFromRuleData(RuleFeatureSet& features, const RuleData& ruleData) in collectFeaturesFromRuleData() argument
214 …for (const CSSSelector* selector = ruleData.selector(); selector; selector = selector->tagHistory(… in collectFeaturesFromRuleData()
235 …features.siblingRules.append(RuleFeature(ruleData.rule(), ruleData.selectorIndex(), ruleData.hasDo… in collectFeaturesFromRuleData()
236 if (ruleData.containsUncommonAttributeSelector()) in collectFeaturesFromRuleData()
237 …features.uncommonAttributeRules.append(RuleFeature(ruleData.rule(), ruleData.selectorIndex(), rule… in collectFeaturesFromRuleData()
240 void RuleSet::addToRuleSet(StringImpl* key, PendingRuleMap& map, const RuleData& ruleData) in addToRuleSet() argument
247 rules->push(ruleData); in addToRuleSet()
250 bool RuleSet::findBestRuleSetAndAdd(const CSSSelector* component, RuleData& ruleData) in findBestRuleSetAndAdd() argument
253 addToRuleSet(component->value().impl(), ensurePendingRules()->idRules, ruleData); in findBestRuleSetAndAdd()
257 addToRuleSet(component->value().impl(), ensurePendingRules()->classRules, ruleData); in findBestRuleSetAndAdd()
[all …]
DElementRuleCollector.cpp239 ensureStyleRuleList()->m_list.append(matchedRules[i].ruleData()->rule()); in sortAndTransferMatchedRules()
245 appendCSSOMWrapperForRule(matchedRules[i].ruleData()->rule()); in sortAndTransferMatchedRules()
252 const RuleData* ruleData = matchedRules[i].ruleData(); in sortAndTransferMatchedRules() local
253 if (m_style && ruleData->containsUncommonAttributeSelector()) in sortAndTransferMatchedRules()
255 …m_result.addMatchedProperties(ruleData->rule()->properties(), ruleData->rule(), ruleData->linkMatc… in sortAndTransferMatchedRules()
259 inline bool ElementRuleCollector::ruleMatches(const RuleData& ruleData, const ContainerNode* scope,… in ruleMatches() argument
263 if (ruleData.hasFastCheckableSelector() && !scope) { in ruleMatches()
270 …if (ruleData.hasRightmostSelectorMatchingHTMLBasedOnRuleHash() && m_context.element()->isHTMLEleme… in ruleMatches()
271 if (!ruleData.hasMultipartSelector()) in ruleMatches()
274 …if (ruleData.selector()->m_match == CSSSelector::Tag && !SelectorChecker::tagMatches(*m_context.el… in ruleMatches()
[all …]
DElementRuleCollector.h53 …explicit MatchedRule(const RuleData* ruleData, unsigned specificity, CascadeScope cascadeScope, Ca… in MatchedRule() argument
54 : m_ruleData(ruleData) in MatchedRule()
64 const RuleData* ruleData() const { return m_ruleData; } in ruleData() function
67 unsigned specificity() const { return ruleData()->specificity() + m_specificity; } in specificity()
/external/chromium_org/third_party/icu/source/i18n/
Dolsontz.cpp202 const int32_t *ruleData = ures_getIntVector(rule, &len, &ec); in OlsonTimeZone() local
208 (int8_t)ruleData[0], (int8_t)ruleData[1], (int8_t)ruleData[2], in OlsonTimeZone()
209 ruleData[3] * U_MILLIS_PER_SECOND, in OlsonTimeZone()
210 (SimpleTimeZone::TimeMode) ruleData[4], in OlsonTimeZone()
211 (int8_t)ruleData[5], (int8_t)ruleData[6], (int8_t)ruleData[7], in OlsonTimeZone()
212 ruleData[8] * U_MILLIS_PER_SECOND, in OlsonTimeZone()
213 (SimpleTimeZone::TimeMode) ruleData[9], in OlsonTimeZone()
214 ruleData[10] * U_MILLIS_PER_SECOND, ec); in OlsonTimeZone()
Dplurrule.cpp296 UnicodeString ruleData = data.toLower(); in parseDescription() local
297 while (ruleIndex< ruleData.length()) { in parseDescription()
298 mParser->getNextToken(ruleData, &ruleIndex, token, type, status); in parseDescription()
960 RuleParser::getNextToken(const UnicodeString& ruleData, in getNextToken() argument
973 while (curIndex<ruleData.length()) { in getNextToken()
974 ch = ruleData.charAt(curIndex); in getNextToken()
982 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex); in getNextToken()
995 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex); in getNextToken()
1027 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex); in getNextToken()
1045 if ( curIndex>=ruleData.length() ) { in getNextToken()
[all …]
Dplurrule_impl.h137 void getNextToken(const UnicodeString& ruleData, int32_t *ruleIndex, UnicodeString& token,
/external/icu4c/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.cpp359 UnicodeString ruleData = data.toLower(""); in parseDescription() local
360 while (ruleIndex< ruleData.length()) { in parseDescription()
361 mParser->getNextToken(ruleData, &ruleIndex, token, type, status); in parseDescription()
1216 RuleParser::getNextToken(const UnicodeString& ruleData, in getNextToken() argument
1229 while (curIndex<ruleData.length()) { in getNextToken()
1230 ch = ruleData.charAt(curIndex); in getNextToken()
1238 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex); in getNextToken()
1251 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex); in getNextToken()
1283 token=UnicodeString(ruleData, *ruleIndex, curIndex-*ruleIndex); in getNextToken()
1300 if ( curIndex>=ruleData.length() ) { in getNextToken()
[all …]
Dplurrule_impl.h132 void getNextToken(const UnicodeString& ruleData, int32_t *ruleIndex, UnicodeString& token,
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dplurrule.h286 void parseDescription(UnicodeString& ruleData, RuleChain& rules, UErrorCode &status);
/external/icu4c/i18n/unicode/
Dplurrule.h380 void parseDescription(UnicodeString& ruleData, RuleChain& rules, UErrorCode &status);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorStyleSheet.cpp279 …tic inline void fixUnparsedProperties(const CharacterType* characters, CSSRuleSourceData* ruleData) in fixUnparsedProperties() argument
281 Vector<CSSPropertySourceData>& propertyData = ruleData->styleSourceData->propertyData; in fixUnparsedProperties()
286 unsigned styleStart = ruleData->ruleBodyRange.start; in fixUnparsedProperties()
299 propertyEndInStyleSheet = ruleData->ruleBodyRange.end - 1; in fixUnparsedProperties()
323 void StyleSheetHandler::fixUnparsedPropertyRanges(CSSRuleSourceData* ruleData) in fixUnparsedPropertyRanges() argument
325 if (!ruleData->styleSourceData) in fixUnparsedPropertyRanges()
329 fixUnparsedProperties<LChar>(m_parsedText.characters8(), ruleData); in fixUnparsedPropertyRanges()
333 fixUnparsedProperties<UChar>(m_parsedText.characters16(), ruleData); in fixUnparsedPropertyRanges()