Home
last modified time | relevance | path

Searched refs:matchIndex (Results 1 – 7 of 7) sorted by relevance

/external/webkit/JavaScriptCore/wrec/
DWRECGenerator.cpp337 …st& matchDest, const CharacterRange* ranges, unsigned count, unsigned* matchIndex, const UChar* ma… in generateCharacterClassInvertedRange() argument
347 if ((*matchIndex < matchCount) && (matches[*matchIndex] < lo)) { in generateCharacterClassInvertedRange()
352 …generateCharacterClassInvertedRange(failures, matchDest, ranges, which, matchIndex, matches, match… in generateCharacterClassInvertedRange()
354 while ((*matchIndex < matchCount) && (matches[*matchIndex] < lo)) { in generateCharacterClassInvertedRange()
355 … matchDest.append(branch32(Equal, character, Imm32((unsigned short)matches[*matchIndex]))); in generateCharacterClassInvertedRange()
356 ++*matchIndex; in generateCharacterClassInvertedRange()
364 …generateCharacterClassInvertedRange(failures, matchDest, ranges, which, matchIndex, matches, match… in generateCharacterClassInvertedRange()
371 while ((*matchIndex < matchCount) && (matches[*matchIndex] <= hi)) in generateCharacterClassInvertedRange()
372 ++*matchIndex; in generateCharacterClassInvertedRange()
413 unsigned matchIndex = 0; in generateCharacterClassInverted() local
[all …]
DWRECGenerator.h102 …st& matchDest, const CharacterRange* ranges, unsigned count, unsigned* matchIndex, const UChar* ma…
/external/webkit/JavaScriptCore/yarr/
DRegexJIT.cpp99 …st& matchDest, const CharacterRange* ranges, unsigned count, unsigned* matchIndex, const UChar* ma… in matchCharacterClassRange() argument
109 if ((*matchIndex < matchCount) && (matches[*matchIndex] < lo)) { in matchCharacterClassRange()
114 …atchCharacterClassRange(character, failures, matchDest, ranges, which, matchIndex, matches, matchC… in matchCharacterClassRange()
116 while ((*matchIndex < matchCount) && (matches[*matchIndex] < lo)) { in matchCharacterClassRange()
117 … matchDest.append(branch32(Equal, character, Imm32((unsigned short)matches[*matchIndex]))); in matchCharacterClassRange()
118 ++*matchIndex; in matchCharacterClassRange()
126 …matchCharacterClassRange(character, failures, matchDest, ranges, which, matchIndex, matches, match… in matchCharacterClassRange()
133 while ((*matchIndex < matchCount) && (matches[*matchIndex] <= hi)) in matchCharacterClassRange()
134 ++*matchIndex; in matchCharacterClassRange()
175 unsigned matchIndex = 0; in matchCharacterClass() local
[all …]
/external/webkit/JavaScriptCore/runtime/
DStringPrototype.cpp346 int matchIndex; in stringProtoFuncReplace() local
349 … regExpConstructor->performMatch(reg, source, startPosition, matchIndex, matchLen, &ovector); in stringProtoFuncReplace()
350 if (matchIndex < 0) in stringProtoFuncReplace()
353 sourceRanges.append(StringRange(lastIndex, matchIndex - lastIndex)); in stringProtoFuncReplace()
376 lastIndex = matchIndex + matchLen; in stringProtoFuncReplace()
388 int matchIndex; in stringProtoFuncReplace() local
391 … regExpConstructor->performMatch(reg, source, startPosition, matchIndex, matchLen, &ovector); in stringProtoFuncReplace()
392 if (matchIndex < 0) in stringProtoFuncReplace()
395 sourceRanges.append(StringRange(lastIndex, matchIndex - lastIndex)); in stringProtoFuncReplace()
420 lastIndex = matchIndex + matchLen; in stringProtoFuncReplace()
/external/webkit/WebKit/android/nav/
DFindCanvas.cpp356 int matchIndex = index - remaining + 1; in findHelper() local
358 const uint16_t* glyphs = chars + matchIndex; in findHelper()
359 SkRect rect = (this->*addMatch)(matchIndex, paint, in findHelper()
399 index = matchIndex; in findHelper()
404 index = matchIndex; in findHelper()
/external/chromium/third_party/icu/source/i18n/
Ducurr.cpp1132 int32_t matchIndex = -1; in searchCurrencyName() local
1152 matchIndex = binarySearch(currencyNames, index, in searchCurrencyName()
1158 if (matchIndex != -1) { in searchCurrencyName()
1162 *maxMatchIndex = matchIndex; in searchCurrencyName()
1342 int32_t matchIndex = -1; in uprv_parseCurrency() local
1345 upperText, textLen, &max, &matchIndex); in uprv_parseCurrency()
1348 printf("search in names, max = %d, matchIndex = %d\n", max, matchIndex); in uprv_parseCurrency()
1364 if (max >= maxInSymbol && matchIndex != -1) { in uprv_parseCurrency()
1365 u_charsToUChars(currencyNames[matchIndex].IsoCode, result, 4); in uprv_parseCurrency()
/external/icu4c/i18n/
Ducurr.cpp1118 int32_t matchIndex = -1; in searchCurrencyName() local
1138 matchIndex = binarySearch(currencyNames, index, in searchCurrencyName()
1144 if (matchIndex != -1) { in searchCurrencyName()
1148 *maxMatchIndex = matchIndex; in searchCurrencyName()
1323 int32_t matchIndex = -1; in uprv_parseCurrency() local
1326 upperText, textLen, &max, &matchIndex); in uprv_parseCurrency()
1329 printf("search in names, max = %d, matchIndex = %d\n", max, matchIndex); in uprv_parseCurrency()
1345 if (max >= maxInSymbol && matchIndex != -1) { in uprv_parseCurrency()
1346 u_charsToUChars(currencyNames[matchIndex].IsoCode, result, 4); in uprv_parseCurrency()