Searched refs:matchIndex (Results 1 – 7 of 7) sorted by relevance
/external/webkit/Source/JavaScriptCore/runtime/ |
D | StringPrototype.cpp | 335 int matchIndex; in stringProtoFuncReplace() local 338 … regExpConstructor->performMatch(reg, source, startPosition, matchIndex, matchLen, &ovector); in stringProtoFuncReplace() 339 if (matchIndex < 0) in stringProtoFuncReplace() 342 sourceRanges.append(StringRange(lastIndex, matchIndex - lastIndex)); in stringProtoFuncReplace() 368 lastIndex = matchIndex + matchLen; in stringProtoFuncReplace() 380 int matchIndex; in stringProtoFuncReplace() local 383 … regExpConstructor->performMatch(reg, source, startPosition, matchIndex, matchLen, &ovector); in stringProtoFuncReplace() 384 if (matchIndex < 0) in stringProtoFuncReplace() 388 sourceRanges.append(StringRange(lastIndex, matchIndex - lastIndex)); in stringProtoFuncReplace() 411 if (lastIndex < matchIndex || replLen) { in stringProtoFuncReplace() [all …]
|
/external/webkit/Source/JavaScriptCore/yarr/ |
D | YarrJIT.cpp | 114 …st& matchDest, const CharacterRange* ranges, unsigned count, unsigned* matchIndex, const UChar* ma… in matchCharacterClassRange() argument 124 if ((*matchIndex < matchCount) && (matches[*matchIndex] < lo)) { in matchCharacterClassRange() 129 …atchCharacterClassRange(character, failures, matchDest, ranges, which, matchIndex, matches, matchC… in matchCharacterClassRange() 131 while ((*matchIndex < matchCount) && (matches[*matchIndex] < lo)) { in matchCharacterClassRange() 132 … matchDest.append(branch32(Equal, character, Imm32((unsigned short)matches[*matchIndex]))); in matchCharacterClassRange() 133 ++*matchIndex; in matchCharacterClassRange() 141 …matchCharacterClassRange(character, failures, matchDest, ranges, which, matchIndex, matches, match… in matchCharacterClassRange() 148 while ((*matchIndex < matchCount) && (matches[*matchIndex] <= hi)) in matchCharacterClassRange() 149 ++*matchIndex; in matchCharacterClassRange() 195 unsigned matchIndex = 0; in matchCharacterClass() local [all …]
|
/external/icu4c/i18n/ |
D | ucurr.cpp | 1167 int32_t matchIndex = -1; in searchCurrencyName() local 1187 matchIndex = binarySearch(currencyNames, index, in searchCurrencyName() 1193 if (matchIndex != -1) { in searchCurrencyName() 1197 *maxMatchIndex = matchIndex; in searchCurrencyName() 1372 int32_t matchIndex = -1; in uprv_parseCurrency() local 1375 upperText, textLen, &max, &matchIndex); in uprv_parseCurrency() 1378 printf("search in names, max = %d, matchIndex = %d\n", max, matchIndex); in uprv_parseCurrency() 1394 if (max >= maxInSymbol && matchIndex != -1) { in uprv_parseCurrency() 1395 u_charsToUChars(currencyNames[matchIndex].IsoCode, result, 4); in uprv_parseCurrency()
|
D | rematch.cpp | 2671 UBool RegexMatcher::ReportFindProgress(int64_t matchIndex, UErrorCode &status) { in ReportFindProgress() argument 2673 if ((*fFindProgressCallbackFn)(fFindProgressCallbackContext, matchIndex) == FALSE) { in ReportFindProgress()
|
/external/icu4c/i18n/unicode/ |
D | uregex.h | 1566 int64_t matchIndex);
|
D | regex.h | 1766 UBool ReportFindProgress(int64_t matchIndex, UErrorCode &status);
|
/external/icu4c/test/intltest/ |
D | regextst.cpp | 4805 testProgressCallBackFn(const void *context, int64_t matchIndex) { in testProgressCallBackFn() argument 4808 info->lastIndex = matchIndex; in testProgressCallBackFn()
|