Home
last modified time | relevance | path

Searched refs:matchLimit (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringMatcher.java46 private int matchLimit; field in StringMatcher
73 matchStart = matchLimit = -1; in StringMatcher()
137 matchLimit = offset[0]+1; in matches()
168 matchLimit = cursor[0]; in matches()
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.java47 private int matchLimit; field in StringMatcher
74 matchStart = matchLimit = -1; in StringMatcher()
138 matchLimit = offset[0]+1; in matches()
169 matchLimit = cursor[0]; in matches()
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.cpp35 matchLimit(-1) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
48 matchLimit(o.matchLimit) in StringMatcher()
121 matchLimit = offset+1; in matches()
152 matchLimit = cursor; in matches()
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.h244 int32_t matchLimit; variable
Dusearch.cpp3839 int32_t *matchLimit, in usearch_search() argument
4129 if (matchLimit != NULL) { in usearch_search()
4130 *matchLimit = mLimit; in usearch_search()
4139 int32_t *matchLimit, in usearch_searchBackwards() argument
4412 if (matchLimit != NULL) { in usearch_searchBackwards()
4413 *matchLimit = mLimit; in usearch_searchBackwards()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java225 int matchLimit = start + str.length(); in containsSpanUTF16() local
226 if (matchLimit == length) { in containsSpanUTF16()
233 next = matchLimit; // First match from start. in containsSpanUTF16()
235 if (matchLimit < next) { in containsSpanUTF16()
238 next = matchLimit; in containsSpanUTF16()
239 matchLimit = temp; in containsSpanUTF16()
242 int spanLength = containsSpanUTF16(set, s.substring(matchLimit), in containsSpanUTF16()
244 if ((matchLimit + spanLength) > maxSpanLimit) { in containsSpanUTF16()
245 maxSpanLimit = matchLimit + spanLength; in containsSpanUTF16()
252 if (matchLimit > next) { in containsSpanUTF16()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetStringSpanTest.java224 int matchLimit = start + str.length(); in containsSpanUTF16() local
225 if (matchLimit == length) { in containsSpanUTF16()
232 next = matchLimit; // First match from start. in containsSpanUTF16()
234 if (matchLimit < next) { in containsSpanUTF16()
237 next = matchLimit; in containsSpanUTF16()
238 matchLimit = temp; in containsSpanUTF16()
241 int spanLength = containsSpanUTF16(set, s.substring(matchLimit), in containsSpanUTF16()
243 if ((matchLimit + spanLength) > maxSpanLimit) { in containsSpanUTF16()
244 maxSpanLimit = matchLimit + spanLength; in containsSpanUTF16()
251 if (matchLimit > next) { in containsSpanUTF16()
[all …]
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp2525 int32_t matchLimit=start+str->length(); in containsSpanUTF16() local
2526 if(matchLimit==length) { in containsSpanUTF16()
2533 next=matchLimit; // First match from start. in containsSpanUTF16()
2535 if(matchLimit<next) { in containsSpanUTF16()
2538 next=matchLimit; in containsSpanUTF16()
2539 matchLimit=temp; in containsSpanUTF16()
2542 … int32_t spanLength=containsSpanUTF16(set, s+matchLimit, length-matchLimit, in containsSpanUTF16()
2544 if((matchLimit+spanLength)>maxSpanLimit) { in containsSpanUTF16()
2545 maxSpanLimit=matchLimit+spanLength; in containsSpanUTF16()
2552 if(matchLimit>next) { in containsSpanUTF16()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dusearch.h825 int32_t *matchLimit,
885 int32_t *matchLimit,
/external/icu/icu4c/source/common/
Dustring.cpp42 isMatchAtCPBoundary(const UChar *start, const UChar *match, const UChar *matchLimit, const UChar *l… in isMatchAtCPBoundary() argument
47 if(U16_IS_LEAD(*(matchLimit-1)) && match!=limit && U16_IS_TRAIL(*matchLimit)) { in isMatchAtCPBoundary()