Home
last modified time | relevance | path

Searched refs:matchStart (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/third_party/icu/source/i18n/
Dstrmatch.cpp33 matchStart(-1), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
46 matchStart(o.matchStart), in StringMatcher()
112 if (matchStart < 0) { in matches()
113 matchStart = cursor+1; in matches()
144 matchStart = offset; in matches()
224 if (matchStart >= 0) { in replace()
225 if (matchStart != matchLimit) { in replace()
226 text.copy(matchStart, matchLimit, dest); in replace()
227 outLen = matchLimit - matchStart; in replace()
253 matchStart = matchLimit = -1; in resetMatch()
Dstrmatch.h240 int32_t matchStart; variable
Duregex.cpp1373 int32_t matchStart; in appendReplacement() local
1377 matchStart = (int32_t)m->fMatchStart; in appendReplacement()
1383matchStart = lastMatchEnd + utext_extract(m->fInputText, m->fLastMatchEnd, m->fMatchStart, NULL, 0… in appendReplacement()
1385 for (i=lastMatchEnd; i<matchStart; i++) { in appendReplacement()
Dusearch.cpp3792 int32_t *matchStart, in usearch_search() argument
4028 if (matchStart != NULL) { in usearch_search()
4029 *matchStart= mStart; in usearch_search()
4042 int32_t *matchStart, in usearch_searchBackwards() argument
4262 if (matchStart != NULL) { in usearch_searchBackwards()
4263 *matchStart= mStart; in usearch_searchBackwards()
/external/icu4c/i18n/
Dstrmatch.cpp32 matchStart(-1), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
45 matchStart(o.matchStart), in StringMatcher()
117 if (matchStart < 0) { in matches()
118 matchStart = cursor+1; in matches()
149 matchStart = offset; in matches()
229 if (matchStart >= 0) { in replace()
230 if (matchStart != matchLimit) { in replace()
231 text.copy(matchStart, matchLimit, dest); in replace()
232 outLen = matchLimit - matchStart; in replace()
258 matchStart = matchLimit = -1; in resetMatch()
Dstrmatch.h236 int32_t matchStart; variable
Duregex.cpp1391 int32_t matchStart; in appendReplacement() local
1395 matchStart = (int32_t)m->fMatchStart; in appendReplacement()
1401matchStart = lastMatchEnd + utext_extract(m->fInputText, m->fLastMatchEnd, m->fMatchStart, NULL, 0… in appendReplacement()
1403 for (i=lastMatchEnd; i<matchStart; i++) { in appendReplacement()
Dusearch.cpp3805 int32_t *matchStart, in usearch_search() argument
4059 if (matchStart != NULL) { in usearch_search()
4060 *matchStart= mStart; in usearch_search()
4072 int32_t *matchStart, in usearch_searchBackwards() argument
4310 if (matchStart != NULL) { in usearch_searchBackwards()
4311 *matchStart= mStart; in usearch_searchBackwards()
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/
DTextHtmlFunction.java116 int matchStart; in splitAndConvert() local
122 matchStart = matcher.start(); in splitAndConvert()
127 htmlCharEscaper.filter(in.subSequence(regionStart, matchStart).toString(), out); in splitAndConvert()
135 formatEmail(in, matchStart, matchEnd, out); in splitAndConvert()
137 formatUrl(in, matchStart, matchEnd, in splitAndConvert()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DTextIterator.cpp1934 int matchStart = usearch_next(searcher, &status); in search() local
1938 if (!(matchStart >= 0 && static_cast<size_t>(matchStart) < size)) { in search()
1939 ASSERT(matchStart == USEARCH_DONE); in search()
1946 if (!m_atBreak && static_cast<size_t>(matchStart) >= size - m_overlap) { in search()
1951 int wordBoundaryContextStart = matchStart; in search()
1963 ASSERT_WITH_SECURITY_IMPLICATION(matchStart + matchedLength <= size); in search()
1966 …f (isBadMatch(m_buffer.data() + matchStart, matchedLength) || ((m_options & AtWordStarts) && !isWo… in search()
1967 matchStart = usearch_next(searcher, &status); in search()
1972 size_t newSize = size - (matchStart + 1); in search()
1973 memmove(m_buffer.data(), m_buffer.data() + matchStart + 1, newSize * sizeof(UChar)); in search()
[all …]
/external/skia/tools/flags/
DSkCommandLineFlags.cpp317 bool matchExclude, matchStart, matchEnd; in ShouldSkipImpl() local
323 if ((matchStart = matchName[0] == '^')) { in ShouldSkipImpl()
330 if (matchStart ? (!matchEnd || matchLen == testLen) in ShouldSkipImpl()
/external/chromium_org/third_party/icu/source/i18n/unicode/
Dusearch.h763 int32_t *matchStart,
823 int32_t *matchStart,
/external/icu4c/i18n/unicode/
Dusearch.h769 int32_t *matchStart,
829 int32_t *matchStart,
/external/v8/src/
Dregexp.js371 var matchStart = lastMatchInfo[CAPTURE(index)];
373 if (matchStart == -1 || matchEnd == -1) return '';
374 return SubString(LAST_SUBJECT(lastMatchInfo), matchStart, matchEnd);
/external/chromium_org/v8/src/
Dregexp.js370 var matchStart = lastMatchInfo[CAPTURE(index)];
372 if (matchStart == -1 || matchEnd == -1) return '';
373 return %_SubString(LAST_SUBJECT(lastMatchInfo), matchStart, matchEnd);
/external/chromium_org/third_party/icu/source/test/intltest/
Dusettest.cpp2572 int32_t matchStart=prev-str->length(); in containsSpanBackUTF16() local
2573 if(matchStart==0) { in containsSpanBackUTF16()
2580 length=matchStart; // First match from prev. in containsSpanBackUTF16()
2582 if(matchStart>length) { in containsSpanBackUTF16()
2585 length=matchStart; in containsSpanBackUTF16()
2586 matchStart=temp; in containsSpanBackUTF16()
2589 int32_t spanStart=containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16()
2599 if(matchStart<length) { in containsSpanBackUTF16()
2601 length=matchStart; in containsSpanBackUTF16()
2791 int32_t matchStart=prev-length8; in containsSpanBackUTF8() local
[all …]
Dssearch.cpp1959 …String &target, int32_t offset, const UnicodeString &pattern, int32_t &matchStart, int32_t &matchE… in simpleSearch() argument
1971 matchStart = matchEnd = -1; in simpleSearch()
1976 matchStart = matchEnd = -1; in simpleSearch()
2028 matchStart = start; in simpleSearch()
/external/icu4c/test/intltest/
Dusettest.cpp2572 int32_t matchStart=prev-str->length(); in containsSpanBackUTF16() local
2573 if(matchStart==0) { in containsSpanBackUTF16()
2580 length=matchStart; // First match from prev. in containsSpanBackUTF16()
2582 if(matchStart>length) { in containsSpanBackUTF16()
2585 length=matchStart; in containsSpanBackUTF16()
2586 matchStart=temp; in containsSpanBackUTF16()
2589 int32_t spanStart=containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16()
2599 if(matchStart<length) { in containsSpanBackUTF16()
2601 length=matchStart; in containsSpanBackUTF16()
2773 int32_t matchStart=prev-length8; in containsSpanBackUTF8() local
[all …]
Dssearch.cpp1180 …String &target, int32_t offset, const UnicodeString &pattern, int32_t &matchStart, int32_t &matchE… in simpleSearch() argument
1192 matchStart = matchEnd = -1; in simpleSearch()
1197 matchStart = matchEnd = -1; in simpleSearch()
1259 matchStart = start; in simpleSearch()