Home
last modified time | relevance | path

Searched refs:matchStart (Results 1 – 23 of 23) 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/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/
DLZ77Compressor.java245 private int matchStart = NO_MATCH; field in LZ77Compressor
399 matchStart -= wSize; in slide()
476 final int prevMatchStart = matchStart; in longestMatchForNextPosition()
488 matchStart = prevMatchStart; in longestMatchForNextPosition()
517 callback.accept(new BackReference(currentPosition - matchStart, matchLength)); in flushBackReference()
549 matchStart = matchHead; in longestMatch()
/external/skia/tools/bookmaker/
DtextParser.h63 const char* matchStart = fChar; in anyWord() local
66 while (matchStart < fEnd && !isalpha(matchStart[0])) { in anyWord()
67 ++matchStart; in anyWord()
69 const char* matchEnd = matchStart; in anyWord()
82 size_t matchLen = matchEnd - matchStart; in anyWord()
88 if (tolower(matchStart[index]) != word[index]) { in anyWord()
95 matchStart = nextWord ? nextWord : matchEnd; in anyWord()
96 } while (matchStart < fEnd); in anyWord()
/external/skqp/tools/bookmaker/
DtextParser.h63 const char* matchStart = fChar; in anyWord() local
66 while (matchStart < fEnd && !isalpha(matchStart[0])) { in anyWord()
67 ++matchStart; in anyWord()
69 const char* matchEnd = matchStart; in anyWord()
82 size_t matchLen = matchEnd - matchStart; in anyWord()
88 if (tolower(matchStart[index]) != word[index]) { in anyWord()
95 matchStart = nextWord ? nextWord : matchEnd; in anyWord()
96 } while (matchStart < fEnd); in anyWord()
/external/skqp/tools/skqp/src/
Dskqp_main.cpp52 bool matchExclude, matchStart, matchEnd; in should_skip() local
58 if ((matchStart = matchName[0] == '^')) { in should_skip()
65 if (matchStart ? (!matchEnd || matchLen == testLen) in should_skip()
/external/skia/tools/skqp/src/
Dskqp_main.cpp52 bool matchExclude, matchStart, matchEnd; in should_skip() local
58 if ((matchStart = matchName[0] == '^')) { in should_skip()
65 if (matchStart ? (!matchEnd || matchLen == testLen) in should_skip()
/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.h823 int32_t *matchStart,
883 int32_t *matchStart,
/external/icu/libandroidicu/include/unicode/
Dusearch.h823 int32_t *matchStart,
883 int32_t *matchStart,
/external/skia/tools/flags/
DSkCommandLineFlags.cpp379 bool matchExclude, matchStart, matchEnd; in ShouldSkipImpl() local
385 if ((matchStart = matchName[0] == '^')) { in ShouldSkipImpl()
392 if (matchStart ? (!matchEnd || matchLen == testLen) in ShouldSkipImpl()
/external/skqp/tools/flags/
DSkCommandLineFlags.cpp379 bool matchExclude, matchStart, matchEnd; in ShouldSkipImpl() local
385 if ((matchStart = matchName[0] == '^')) { in ShouldSkipImpl()
392 if (matchStart ? (!matchEnd || matchLen == testLen) in ShouldSkipImpl()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIMonkeyTest.java572 int matchStart = 0; in set() local
584 matchStart = strIdx; in set()
588 … (matchStart < fString.length() && fString.offsetByCodePoints(matchStart, 1) < matchEnd)) { in set()
612 for (int i = matchStart; i < matchEnd; i++) { in set()
635 if (updatedStrIdx == matchStart) { in set()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIMonkeyTest.java569 int matchStart = 0; in set() local
581 matchStart = strIdx; in set()
585 … (matchStart < fString.length() && fString.offsetByCodePoints(matchStart, 1) < matchEnd)) { in set()
609 for (int i = matchStart; i < matchEnd; i++) { in set()
632 if (updatedStrIdx == matchStart) { in set()
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp2622 int32_t matchStart=prev-str->length(); in containsSpanBackUTF16() local
2623 if(matchStart==0) { in containsSpanBackUTF16()
2630 length=matchStart; // First match from prev. in containsSpanBackUTF16()
2632 if(matchStart>length) { in containsSpanBackUTF16()
2635 length=matchStart; in containsSpanBackUTF16()
2636 matchStart=temp; in containsSpanBackUTF16()
2639 int32_t spanStart=containsSpanBackUTF16(set, s, matchStart, in containsSpanBackUTF16()
2649 if(matchStart<length) { in containsSpanBackUTF16()
2651 length=matchStart; in containsSpanBackUTF16()
2823 int32_t matchStart=prev-length8; in containsSpanBackUTF8() local
[all …]
Drbbimonkeytest.cpp459 int32_t matchStart = 0; in set() local
472 matchStart = rule->fRuleMatcher->start(status); in set()
479 if (hasBreak || fString.moveIndex32(matchStart, 1) < matchEnd) { in set()
502 for (int i = matchStart; i < matchEnd; i++) { in set()
535 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()