Home
last modified time | relevance | path

Searched refs:ruleCount (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSStyleSheet.cpp241 return m_contents->ruleCount(); in length()
246 unsigned ruleCount = length(); in item() local
247 if (index >= ruleCount) in item()
251 m_childRuleCSSOMWrappers.grow(ruleCount); in item()
252 ASSERT(m_childRuleCSSOMWrappers.size() == ruleCount); in item()
294 unsigned ruleCount = length(); in rules() local
295 for (unsigned i = 0; i < ruleCount; ++i) { in rules()
306 …(m_childRuleCSSOMWrappers.isEmpty() || m_childRuleCSSOMWrappers.size() == m_contents->ruleCount()); in insertRule()
341 …(m_childRuleCSSOMWrappers.isEmpty() || m_childRuleCSSOMWrappers.size() == m_contents->ruleCount()); in deleteRule()
DCSSSelectorTest.cpp52 EXPECT_EQ(30u, helper.ruleSet().ruleCount()); // .a, .b counts as two rules. in TEST()
DStyleSheetContents.cpp50 size += ruleCount() * StyleRule::averageSizeInBytes(); in estimatedSizeInBytes()
179 ASSERT_WITH_SECURITY_IMPLICATION(index < ruleCount()); in ruleAt()
194 unsigned StyleSheetContents::ruleCount() const in ruleCount() function in WebCore::StyleSheetContents
229 ASSERT_WITH_SECURITY_IMPLICATION(index <= ruleCount()); in wrapperInsertRule()
276 ASSERT_WITH_SECURITY_IMPLICATION(index < ruleCount()); in wrapperDeleteRule()
DStyleSheetContents.h124 unsigned ruleCount() const;
DRuleSet.h153 unsigned ruleCount() const { return m_ruleCount; } in ruleCount() function
/external/icu/icu4c/source/i18n/
Dbasictz.cpp298 int32_t ruleCount; in getTimeZoneRulesAfter() local
311 ruleCount = countTransitionRules(status); in getTimeZoneRulesAfter()
315 orgRules = new UVector(ruleCount, status); in getTimeZoneRulesAfter()
319 orgtrs = (const TimeZoneRule**)uprv_malloc(sizeof(TimeZoneRule*)*ruleCount); in getTimeZoneRulesAfter()
324 getTimeZoneRules(orgini, orgtrs, ruleCount, status); in getTimeZoneRulesAfter()
328 for (i = 0; i < ruleCount; i++) { in getTimeZoneRulesAfter()
345 done = (UBool*)uprv_malloc(sizeof(UBool)*ruleCount); in getTimeZoneRulesAfter()
361 for (i = 0; i < ruleCount; i++) { in getTimeZoneRulesAfter()
384 for (i = 0; i < ruleCount; i++) { in getTimeZoneRulesAfter()
390 if (i >= ruleCount) { in getTimeZoneRulesAfter()
Drbt_pars.cpp893 int32_t ruleCount = 0; in parseRules() local
905 ruleCount = 0; in parseRules()
956 ++ruleCount; in parseRules()
1011 compoundFilterOffset = ruleCount; in parseRules()
1127 (direction == UTRANS_REVERSE && compoundFilterOffset != ruleCount)) { in parseRules()
/external/chromium_org/third_party/icu/source/i18n/
Dbasictz.cpp298 int32_t ruleCount; in getTimeZoneRulesAfter() local
311 ruleCount = countTransitionRules(status); in getTimeZoneRulesAfter()
315 orgRules = new UVector(ruleCount, status); in getTimeZoneRulesAfter()
319 orgtrs = (const TimeZoneRule**)uprv_malloc(sizeof(TimeZoneRule*)*ruleCount); in getTimeZoneRulesAfter()
324 getTimeZoneRules(orgini, orgtrs, ruleCount, status); in getTimeZoneRulesAfter()
328 for (i = 0; i < ruleCount; i++) { in getTimeZoneRulesAfter()
345 done = (UBool*)uprv_malloc(sizeof(UBool)*ruleCount); in getTimeZoneRulesAfter()
361 for (i = 0; i < ruleCount; i++) { in getTimeZoneRulesAfter()
384 for (i = 0; i < ruleCount; i++) { in getTimeZoneRulesAfter()
390 if (i >= ruleCount) { in getTimeZoneRulesAfter()
Drbt_pars.cpp887 int32_t ruleCount = 0; in parseRules() local
899 ruleCount = 0; in parseRules()
950 ++ruleCount; in parseRules()
1005 compoundFilterOffset = ruleCount; in parseRules()
1121 (direction == UTRANS_REVERSE && compoundFilterOffset != ruleCount)) { in parseRules()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/extensions/
DExtensionAuditCategory.js39 WebInspector.ExtensionAuditCategory = function(extensionOrigin, id, displayName, ruleCount) argument
44 this._ruleCount = ruleCount;
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorStyleSheet.h180 virtual unsigned ruleCount() = 0;
228 virtual unsigned ruleCount() OVERRIDE;
277 virtual unsigned ruleCount() OVERRIDE { return 1; } in ruleCount() function
DInspectorStyleSheet.cpp368 unsigned ruleCount() { return m_sourceData->size(); } in ruleCount() function in ParsedStyleSheet
914 for (size_t i = 0; i < ruleCount(); ++i) { in findPropertyByRange()
1269 if (index == kNotFound || index >= m_parsedStyleSheet->ruleCount()) in ruleHeaderSourceRange()
1284 unsigned InspectorStyleSheet::ruleCount() in ruleCount() function in WebCore::InspectorStyleSheet
1286 return m_parsedStyleSheet->ruleCount(); in ruleCount()
1376 for (size_t i = 0; i < ruleCount(); ++i) { in findRuleBySelectorRange()
/external/chromium_org/third_party/icu/source/test/intltest/
Dtzrulets.cpp658 int32_t ruleCount = tz->countTransitionRules(status); in TestRBTZTransition() local
661 const TimeZoneRule **trsrules = new const TimeZoneRule*[ruleCount]; in TestRBTZTransition()
662 tz->getTimeZoneRules(initial, trsrules, ruleCount, status); in TestRBTZTransition()
670 for (int32_t i = 0; i < ruleCount; i++) { in TestRBTZTransition()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp657 int32_t ruleCount = tz->countTransitionRules(status); in TestRBTZTransition() local
660 const TimeZoneRule **trsrules = new const TimeZoneRule*[ruleCount]; in TestRBTZTransition()
661 tz->getTimeZoneRules(initial, trsrules, ruleCount, status); in TestRBTZTransition()
669 for (int32_t i = 0; i < ruleCount; i++) { in TestRBTZTransition()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocument.cpp2856 ASSERT(!m_elemSheet->contents()->ruleCount()); in updateBaseURL()