Lines Matching refs:maxMatchCount
66 void FindController::countStringMatches(const String& string, FindOptions options, unsigned maxMatchCount)
68 if (maxMatchCount == numeric_limits<unsigned>::max())
69 --maxMatchCount;
71 unsigned matchCount = m_webPage->corePage()->markAllMatchesForText(string, core(options), false, maxMatchCount + 1);
75 if (matchCount > maxMatchCount)
91 void FindController::findString(const String& string, FindOptions options, unsigned maxMatchCount)
113 if (maxMatchCount == numeric_limits<unsigned>::max())
114 --maxMatchCount;
116 unsigned matchCount = m_webPage->corePage()->markAllMatchesForText(string, core(options), false, maxMatchCount + 1);
119 if (matchCount > maxMatchCount) {