Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringMatcher.java40 private int matchStart; field in StringMatcher
73 matchStart = matchLimit = -1; in StringMatcher()
135 if (matchStart < 0) { in matches()
136 matchStart = cursor[0]+1; in matches()
167 matchStart = offset[0]; in matches()
252 if (matchStart >= 0) { in replace()
253 if (matchStart != matchLimit) { in replace()
254 text.copy(matchStart, matchLimit, dest); in replace()
255 outLen = matchLimit - matchStart; in replace()
280 matchStart = matchLimit = -1; in resetMatch()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringMatcher.java41 private int matchStart; field in StringMatcher
74 matchStart = matchLimit = -1; in StringMatcher()
136 if (matchStart < 0) { in matches()
137 matchStart = cursor[0]+1; in matches()
168 matchStart = offset[0]; in matches()
253 if (matchStart >= 0) { in replace()
254 if (matchStart != matchLimit) { in replace()
255 text.copy(matchStart, matchLimit, dest); in replace()
256 outLen = matchLimit - matchStart; in replace()
281 matchStart = matchLimit = -1; in resetMatch()
/external/icu/icu4c/source/i18n/
Dstrmatch.cpp34 matchStart(-1), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
47 matchStart(o.matchStart), in StringMatcher()
119 if (matchStart < 0) { in matches()
120 matchStart = cursor+1; in matches()
151 matchStart = offset; in matches()
231 if (matchStart >= 0) { in replace()
232 if (matchStart != matchLimit) { in replace()
233 text.copy(matchStart, matchLimit, dest); in replace()
234 outLen = matchLimit - matchStart; in replace()
260 matchStart = matchLimit = -1; in resetMatch()
Dstrmatch.h238 int32_t matchStart; variable
Duregex.cpp1389 int32_t matchStart; in appendReplacement() local
1393 matchStart = (int32_t)m->fMatchStart; in appendReplacement()
1399matchStart = lastMatchEnd + utext_extract(m->fInputText, m->fLastMatchEnd, m->fMatchStart, NULL, 0… in appendReplacement()
1401 for (i=lastMatchEnd; i<matchStart; i++) { in appendReplacement()
Dusearch.cpp3838 int32_t *matchStart, in usearch_search() argument
4125 if (matchStart != NULL) { in usearch_search()
4126 *matchStart= mStart; in usearch_search()
4138 int32_t *matchStart, in usearch_searchBackwards() argument
4408 if (matchStart != NULL) { in usearch_searchBackwards()
4409 *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/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java328 int matchStart = prev - str.length(); in containsSpanBackUTF16() local
329 if (matchStart == 0) { in containsSpanBackUTF16()
336 length = matchStart; // First match from prev. in containsSpanBackUTF16()
338 if (matchStart > length) { in containsSpanBackUTF16()
341 length = matchStart; in containsSpanBackUTF16()
342 matchStart = temp; in containsSpanBackUTF16()
345 int spanStart = containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16()
355 if (matchStart < length) { in containsSpanBackUTF16()
357 length = matchStart; in containsSpanBackUTF16()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java325 int matchStart = prev - str.length(); in containsSpanBackUTF16() local
326 if (matchStart == 0) { in containsSpanBackUTF16()
333 length = matchStart; // First match from prev. in containsSpanBackUTF16()
335 if (matchStart > length) { in containsSpanBackUTF16()
338 length = matchStart; in containsSpanBackUTF16()
339 matchStart = temp; in containsSpanBackUTF16()
342 int spanStart = containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16()
352 if (matchStart < length) { in containsSpanBackUTF16()
354 length = matchStart; in containsSpanBackUTF16()
/external/icu/icu4c/source/i18n/unicode/
Dusearch.h824 int32_t *matchStart,
884 int32_t *matchStart,
/external/skqp/tools/flags/
DSkCommandLineFlags.cpp381 bool matchExclude, matchStart, matchEnd; in ShouldSkipImpl() local
387 if ((matchStart = matchName[0] == '^')) { in ShouldSkipImpl()
394 if (matchStart ? (!matchEnd || matchLen == testLen) in ShouldSkipImpl()
/external/skia/tools/flags/
DSkCommandLineFlags.cpp381 bool matchExclude, matchStart, matchEnd; in ShouldSkipImpl() local
387 if ((matchStart = matchName[0] == '^')) { in ShouldSkipImpl()
394 if (matchStart ? (!matchEnd || matchLen == testLen) in ShouldSkipImpl()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIMonkeyTest.java569 int matchStart = 0; in set() local
577 matchStart = strIdx; in set()
581 … (matchStart < fString.length() && fString.offsetByCodePoints(matchStart, 1) < matchEnd)) { in set()
605 for (int i = matchStart; i < matchEnd; i++) { in set()
627 if (updatedStrIdx == matchStart) { in set()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIMonkeyTest.java572 int matchStart = 0; in set() local
580 matchStart = strIdx; in set()
584 … (matchStart < fString.length() && fString.offsetByCodePoints(matchStart, 1) < matchEnd)) { in set()
608 for (int i = matchStart; i < matchEnd; i++) { in set()
630 if (updatedStrIdx == matchStart) { in set()
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp2630 int32_t matchStart=prev-str->length(); in containsSpanBackUTF16() local
2631 if(matchStart==0) { in containsSpanBackUTF16()
2638 length=matchStart; // First match from prev. in containsSpanBackUTF16()
2640 if(matchStart>length) { in containsSpanBackUTF16()
2643 length=matchStart; in containsSpanBackUTF16()
2644 matchStart=temp; in containsSpanBackUTF16()
2647 int32_t spanStart=containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16()
2657 if(matchStart<length) { in containsSpanBackUTF16()
2659 length=matchStart; in containsSpanBackUTF16()
2831 int32_t matchStart=prev-length8; in containsSpanBackUTF8() local
[all …]
Drbbimonkeytest.cpp449 int32_t matchStart = 0; in set() local
458 matchStart = rule->fRuleMatcher->start(status); in set()
465 if (hasBreak || fString.moveIndex32(matchStart, 1) < matchEnd) { in set()
488 for (int i = matchStart; i < matchEnd; i++) { in set()
519 if (strIdx == matchStart) { in set()
Dssearch.cpp1177 …String &target, int32_t offset, const UnicodeString &pattern, int32_t &matchStart, int32_t &matchE… in simpleSearch() argument
1189 matchStart = matchEnd = -1; in simpleSearch()
1194 matchStart = matchEnd = -1; in simpleSearch()
1256 matchStart = start; in simpleSearch()