Home
last modified time | relevance | path

Searched refs:matchEnd (Results 1 – 20 of 20) sorted by relevance

/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/
DTextHtmlFunction.java117 int matchEnd; in splitAndConvert() local
123 matchEnd = matcher.end(); in splitAndConvert()
130 if (in.charAt(matchEnd - 1) == ',' || in.charAt(matchEnd - 1) == '.') { in splitAndConvert()
131 matchEnd--; in splitAndConvert()
135 formatEmail(in, matchStart, matchEnd, out); in splitAndConvert()
137 formatUrl(in, matchStart, matchEnd, in splitAndConvert()
142 regionStart = matchEnd; in splitAndConvert()
/external/cldr/tools/java/org/unicode/cldr/util/
DDictionary.java126 protected int matchEnd; field in Dictionary.Matcher
191 matchEnd = offset; in setOffset()
219 return matchEnd; in getMatchEnd()
228 return text.sublist(offset, matchEnd); in getMatchText()
326 matchEnd = lastEnd; in next()
333 … || filter == Filter.LONGEST_WITH_FINAL_PARTIAL && !text.hasCharAt(matchEnd)))) { in next()
339 lastEnd = matchEnd; in next()
429 … return "{offset: " + offset + ", end: " + matchEnd + ", value: " + matchValue + ", text: \"" in toString()
497 final int matchEnd = matcher.getMatchEnd(); in growToOffset() local
500 setOffsets(length + 1, replacement.length(), matchEnd); in growToOffset()
[all …]
DSimpleDictionary.java123 while (text.hasCharAt(matchEnd)) { in next()
125 ++matchEnd; in next()
126 CharSequence probe = text.subSequence(offset, matchEnd); in next()
151 --matchEnd; // backup in next()
159 if (matchEnd == offset || possibleMatchesBefore.size() == 0) { in next()
DTestStateDictionaryBuilder.java371 int matchEnd = -1; in checkSimpleMatches() local
377 matchEnd = matcher.getMatchEnd(); in checkSimpleMatches()
383 …assert matchEnd == myText.length() : "failed to find end of <" + myText + "> got instead " + match… in checkSimpleMatches() local
DStateDictionary.java354 matchEnd = myMatchEnd; in next()
376 matchEnd = myMatchEnd; in next()
416 matchEnd = myMatchEnd; in nextUniquePartial()
/external/skqp/tools/skqp/src/
Dskqp_main.cpp52 bool matchExclude, matchStart, matchEnd; in should_skip() local
62 if ((matchEnd = matchName[matchLen - 1] == '$')) { in should_skip()
65 if (matchStart ? (!matchEnd || matchLen == testLen) in should_skip()
67 : matchEnd ? matchLen <= testLen in should_skip()
/external/skia/tools/skqp/src/
Dskqp_main.cpp52 bool matchExclude, matchStart, matchEnd; in should_skip() local
62 if ((matchEnd = matchName[matchLen - 1] == '$')) { in should_skip()
65 if (matchStart ? (!matchEnd || matchLen == testLen) in should_skip()
67 : matchEnd ? matchLen <= testLen in should_skip()
/external/skqp/tools/bookmaker/
DtextParser.h69 const char* matchEnd = matchStart; in anyWord() local
71 while (matchEnd < fEnd) { in anyWord()
72 if (isalpha(matchEnd[0])) { in anyWord()
73 } else if (' ' == matchEnd[0] && --count >= 0) { in anyWord()
75 nextWord = matchEnd; in anyWord()
80 ++matchEnd; in anyWord()
82 size_t matchLen = matchEnd - matchStart; in anyWord()
95 matchStart = nextWord ? nextWord : matchEnd; in anyWord()
/external/libxaac/decoder/drc_src/
Dimpd_drc_loudness_control.c512 if (err || *info_count) goto matchEnd; in impd_check_loud_payload()
516 if (err || *info_count) goto matchEnd; in impd_check_loud_payload()
520 if (err || *info_count) goto matchEnd; in impd_check_loud_payload()
524 if (err || *info_count) goto matchEnd; in impd_check_loud_payload()
528 if (err || *info_count) goto matchEnd; in impd_check_loud_payload()
532 if (err || *info_count) goto matchEnd; in impd_check_loud_payload()
536 if (err || *info_count) goto matchEnd; in impd_check_loud_payload()
540 if (err || *info_count) goto matchEnd; in impd_check_loud_payload()
544 if (err || *info_count) goto matchEnd; in impd_check_loud_payload()
545 matchEnd: in impd_check_loud_payload()
/external/skia/tools/flags/
DCommandLineFlags.cpp368 bool matchExclude, matchStart, matchEnd; in ShouldSkipImpl() local
378 if ((matchEnd = matchName[matchLen - 1] == '$')) { in ShouldSkipImpl()
382 ? (!matchEnd || matchLen == testLen) && strncmp(name, matchName, matchLen) == 0 in ShouldSkipImpl()
383 : matchEnd in ShouldSkipImpl()
/external/skqp/tools/flags/
DSkCommandLineFlags.cpp379 bool matchExclude, matchStart, matchEnd; in ShouldSkipImpl() local
389 if ((matchEnd = matchName[matchLen - 1] == '$')) { in ShouldSkipImpl()
392 if (matchStart ? (!matchEnd || matchLen == testLen) in ShouldSkipImpl()
394 : matchEnd ? matchLen <= testLen in ShouldSkipImpl()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIMonkeyTest.java573 int matchEnd = 0; in set() local
585 matchEnd = strIdx + rule.fRuleMatcher.end(); in set()
588 … (matchStart < fString.length() && fString.offsetByCodePoints(matchStart, 1) < matchEnd)) { in set()
612 for (int i = matchStart; i < matchEnd; i++) { in set()
634 int updatedStrIdx = fString.offsetByCodePoints(matchEnd, -1); in set()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIMonkeyTest.java570 int matchEnd = 0; in set() local
582 matchEnd = strIdx + rule.fRuleMatcher.end(); in set()
585 … (matchStart < fString.length() && fString.offsetByCodePoints(matchStart, 1) < matchEnd)) { in set()
609 for (int i = matchStart; i < matchEnd; i++) { in set()
631 int updatedStrIdx = fString.offsetByCodePoints(matchEnd, -1); in set()
/external/v8/src/builtins/
Dregexp-replace.tq143 const matchEnd: Smi = match.GetEndOfCapture(0);
148 lastMatchEnd = matchEnd;
156 if (matchEnd == matchStart) {
/external/icu/icu4c/source/test/intltest/
Drbbimonkeytest.cpp460 int32_t matchEnd = 0; in set() local
473 matchEnd = rule->fRuleMatcher->end(status); in set()
479 if (hasBreak || fString.moveIndex32(matchStart, 1) < matchEnd) { in set()
502 for (int i = matchStart; i < matchEnd; i++) { in set()
533 strIdx = fString.moveIndex32(matchEnd, -1); in set()
Dssearch.cpp1187 …ring &target, int32_t offset, const UnicodeString &pattern, int32_t &matchStart, int32_t &matchEnd) in simpleSearch() argument
1199 matchStart = matchEnd = -1; in simpleSearch()
1204 matchStart = matchEnd = -1; in simpleSearch()
1267 matchEnd = mend; in simpleSearch()
/external/cldr/tools/java/org/unicode/cldr/util/props/
DBagFormatter.java212 int matchEnd = NameIterator.findMatchingEnd(src, pattern); in getAbbreviatedName() local
213 int sdiv = src.length() - matchEnd; in getAbbreviatedName()
214 int pdiv = pattern.length() - matchEnd; in getAbbreviatedName()
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DPhoneNumberUtil.java2845 int matchEnd = m.end();
2848 Matcher digitMatcher = CAPTURING_DIGIT_PATTERN.matcher(number.substring(matchEnd));
2855 number.delete(0, matchEnd);
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DPhoneNumberUtil.java2889 int matchEnd = m.end();
2892 Matcher digitMatcher = CAPTURING_DIGIT_PATTERN.matcher(number.substring(matchEnd));
2899 number.delete(0, matchEnd);
/external/lz4/lib/
Dlz4.c1594 const BYTE* const matchEnd = match + mlen; in LZ4_decompress_generic() local
1596 if (matchEnd > op) { /* overlap copy */ in LZ4_decompress_generic()