Home
last modified time | relevance | path

Searched refs:matchStart (Results 1 – 14 of 14) 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.java323 int matchStart = prev - str.length(); in containsSpanBackUTF16() local
324 if (matchStart == 0) { in containsSpanBackUTF16()
331 length = matchStart; // First match from prev. in containsSpanBackUTF16()
333 if (matchStart > length) { in containsSpanBackUTF16()
336 length = matchStart; in containsSpanBackUTF16()
337 matchStart = temp; in containsSpanBackUTF16()
340 int spanStart = containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16()
350 if (matchStart < length) { in containsSpanBackUTF16()
352 length = matchStart; in containsSpanBackUTF16()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java322 int matchStart = prev - str.length(); in containsSpanBackUTF16() local
323 if (matchStart == 0) { in containsSpanBackUTF16()
330 length = matchStart; // First match from prev. in containsSpanBackUTF16()
332 if (matchStart > length) { in containsSpanBackUTF16()
335 length = matchStart; in containsSpanBackUTF16()
336 matchStart = temp; in containsSpanBackUTF16()
339 int spanStart = containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16()
349 if (matchStart < length) { in containsSpanBackUTF16()
351 length = matchStart; in containsSpanBackUTF16()
/external/icu/icu4c/source/i18n/unicode/
Dusearch.h824 int32_t *matchStart,
884 int32_t *matchStart,
/external/skia/tools/flags/
DSkCommandLineFlags.cpp386 bool matchExclude, matchStart, matchEnd; in ShouldSkipImpl() local
392 if ((matchStart = matchName[0] == '^')) { in ShouldSkipImpl()
399 if (matchStart ? (!matchEnd || matchLen == testLen) in ShouldSkipImpl()
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp2625 int32_t matchStart=prev-str->length(); in containsSpanBackUTF16() local
2626 if(matchStart==0) { in containsSpanBackUTF16()
2633 length=matchStart; // First match from prev. in containsSpanBackUTF16()
2635 if(matchStart>length) { in containsSpanBackUTF16()
2638 length=matchStart; in containsSpanBackUTF16()
2639 matchStart=temp; in containsSpanBackUTF16()
2642 int32_t spanStart=containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16()
2652 if(matchStart<length) { in containsSpanBackUTF16()
2654 length=matchStart; in containsSpanBackUTF16()
2826 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()