Home
last modified time | relevance | path

Searched refs:matchCount (Results 1 – 18 of 18) sorted by relevance

/external/webkit/Source/WebKit2/UIProcess/
DWebFindClient.cpp33 void WebFindClient::didFindString(WebPageProxy* page, const String& string, uint32_t matchCount) in didFindString() argument
38 m_client.didFindString(toAPI(page), toAPI(string.impl()), matchCount, m_client.clientInfo); in didFindString()
50 …WebFindClient::didCountStringMatches(WebPageProxy* page, const String& string, uint32_t matchCount) in didCountStringMatches() argument
55 …m_client.didCountStringMatches(toAPI(page), toAPI(string.impl()), matchCount, m_client.clientInfo); in didCountStringMatches()
DWebFindClient.h39 void didFindString(WebPageProxy*, const String&, uint32_t matchCount);
41 void didCountStringMatches(WebPageProxy*, const String&, uint32_t matchCount);
DWebPageProxy.messages.in156 DidCountStringMatches(WTF::String string, uint32_t matchCount)
158 DidFindString(WTF::String string, uint32_t matchCount)
DWebPageProxy.h363 void didCountStringMatches(const String&, uint32_t matchCount);
365 void didFindString(const String&, uint32_t matchCount);
DWebPageProxy.cpp2203 void WebPageProxy::didCountStringMatches(const String& string, uint32_t matchCount) in didCountStringMatches() argument
2205 m_findClient.didCountStringMatches(this, string, matchCount); in didCountStringMatches()
2214 void WebPageProxy::didFindString(const String& string, uint32_t matchCount) in didFindString() argument
2216 m_findClient.didFindString(this, string, matchCount); in didFindString()
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DFindController.cpp71 …unsigned matchCount = m_webPage->corePage()->markAllMatchesForText(string, core(options), false, m… in countStringMatches() local
75 if (matchCount > maxMatchCount) in countStringMatches()
76 matchCount = static_cast<unsigned>(kWKMoreThanMaximumMatchCount); in countStringMatches()
78 m_webPage->send(Messages::WebPageProxy::DidCountStringMatches(string, matchCount)); in countStringMatches()
116 …unsigned matchCount = m_webPage->corePage()->markAllMatchesForText(string, core(options), false, m… in findString() local
119 if (matchCount > maxMatchCount) { in findString()
121 matchCount = static_cast<unsigned>(kWKMoreThanMaximumMatchCount); in findString()
124 m_webPage->send(Messages::WebPageProxy::DidFindString(string, matchCount)); in findString()
/external/icu4c/samples/csdet/
Dcsdet.c29 int32_t inputLength, match, matchCount = 0; in main() local
54 csm = ucsdet_detectAll(csd, &matchCount, &status); in main()
56 for(match = 0; match < matchCount; match += 1) { in main()
/external/webkit/LayoutTests/dom/xhtml/level3/core/
Ddomconfigparameternames01.js107 var matchCount = 0;
134 matchCount += 1;
139 assertEquals("definedParameterCount",16,matchCount);
/external/icu4c/layout/
DContextualSubstSubtables.cpp212 le_uint16 matchCount = SWAPW(subRuleTable->glyphCount) - 1; in process() local
215 if (matchGlyphIDs(subRuleTable->inputGlyphArray, matchCount, glyphIterator)) { in process()
217 … (const SubstitutionLookupRecord *) &subRuleTable->inputGlyphArray[matchCount]; in process()
221 return matchCount + 1; in process()
264 le_uint16 matchCount = SWAPW(subClassRuleTable->glyphCount) - 1; in process() local
267 …if (matchGlyphClasses(subClassRuleTable->classArray, matchCount, glyphIterator, classDefinitionTab… in process()
269 … (const SubstitutionLookupRecord *) &subClassRuleTable->classArray[matchCount]; in process()
273 return matchCount + 1; in process()
/external/webkit/Source/JavaScriptCore/wtf/text/
DStringImpl.cpp826 unsigned matchCount = 0; in replace() local
830 ++matchCount; in replace()
835 if (!matchCount) in replace()
838 if (repStrLength && matchCount > numeric_limits<unsigned>::max() / repStrLength) in replace()
841 unsigned replaceSize = matchCount * repStrLength; in replace()
842 unsigned newSize = m_length - matchCount; in replace()
885 unsigned matchCount = 0; in replace() local
889 ++matchCount; in replace()
894 if (!matchCount) in replace()
897 unsigned newSize = m_length - matchCount * patternLength; in replace()
[all …]
/external/icu4c/test/intltest/
Dcsdetest.cpp171 int32_t matchCount = 0; in checkEncoding() local
172 const UCharsetMatch **matches = ucsdet_detectAll(csd.getAlias(), &matchCount, &status); in checkEncoding()
180 if (matchCount == 0) { in checkEncoding()
189 for (int32_t m = 0; m < matchCount; m += 1) { in checkEncoding()
728 int32_t matchCount = 0; in Ticket6394Test() local
729 const UCharsetMatch **matches = ucsdet_detectAll(csd, &matchCount, &status); in Ticket6394Test()
737 for (i=0; i<matchCount; i++) { in Ticket6394Test()
/external/webkit/Source/WebKit2/UIProcess/API/mac/
DPDFViewController.mm612 NSUInteger matchCount = [m_wkPDFView.get() _countMatches:string caseSensitive:caseFlag];
613 if (matchCount > maxMatchCount)
614 matchCount = maxMatchCount;
623 page()->didFindString(string, matchCount);
630 NSUInteger matchCount = [m_wkPDFView.get() _countMatches:string caseSensitive:caseFlag];
631 if (matchCount > maxMatchCount)
632 matchCount = maxMatchCount;
633 page()->didCountStringMatches(string, matchCount);
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DRedundentExprEliminator.java234 int matchCount = 0; in matchAndEliminatePartialPaths() local
260 diagnoseMultistepList(matchCount, lengthToTest, isGlobal); in matchAndEliminatePartialPaths()
416 int matchCount, in diagnoseMultistepList() argument
420 if (matchCount > 0) in diagnoseMultistepList()
423 "Found multistep matches: " + matchCount + ", " + lengthToTest + " length"); in diagnoseMultistepList()
/external/webkit/Source/WebKit/chromium/src/
DWebFrameImpl.cpp1635 int matchCount = 0; in scopeStringMatches() local
1659 ++matchCount; in scopeStringMatches()
1681 m_activeMatchIndex = matchCount - 1; in scopeStringMatches()
1713 if (matchCount > 0) { in scopeStringMatches()
1716 m_lastMatchCount += matchCount; in scopeStringMatches()
1719 mainFrameImpl->increaseMatchCount(matchCount, identifier); in scopeStringMatches()
1726 if (matchCount > 0) in scopeStringMatches()
/external/webkit/Source/JavaScriptCore/yarr/
DYarrJIT.cpp114 …cterRange* ranges, unsigned count, unsigned* matchIndex, const UChar* matches, unsigned matchCount) in matchCharacterClassRange() argument
124 if ((*matchIndex < matchCount) && (matches[*matchIndex] < lo)) { in matchCharacterClassRange()
129 …haracterClassRange(character, failures, matchDest, ranges, which, matchIndex, matches, matchCount); in matchCharacterClassRange()
131 while ((*matchIndex < matchCount) && (matches[*matchIndex] < lo)) { in matchCharacterClassRange()
141 …haracterClassRange(character, failures, matchDest, ranges, which, matchIndex, matches, matchCount); in matchCharacterClassRange()
148 while ((*matchIndex < matchCount) && (matches[*matchIndex] <= hi)) in matchCharacterClassRange()
/external/webkit/Source/WebKit2/UIProcess/API/C/
DWKPage.h231 typedef void (*WKPageDidFindStringCallback)(WKPageRef page, WKStringRef string, unsigned matchCount
233 …untStringMatchesCallback)(WKPageRef page, WKStringRef string, unsigned matchCount, const void* cli…
/external/webkit/Source/WebCore/editing/
DEditor.cpp3084 unsigned matchCount = 0; in countMatchesForText() local
3098 ++matchCount; in countMatchesForText()
3104 if (limit > 0 && matchCount >= limit) in countMatchesForText()
3135 return matchCount; in countMatchesForText()
/external/webkit/Source/WebKit/mac/WebView/
DWebView.mm4713 unsigned matchCount = 0;
4720 ASSERT(limit == 0 || matchCount < limit);
4721matchCount += [(NSView <WebMultipleTextMatches>*)view countMatchesForText:string inDOMRange:range …
4724 if (limit > 0 && matchCount >= limit)
4731 return matchCount;