Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4hc.c227 static int LZ4HC_protectDictEnd(U32 const dictLimit, U32 const matchIndex) in LZ4HC_protectDictEnd() argument
229 return ((U32)((dictLimit - 1) - matchIndex) >= 3); in LZ4HC_protectDictEnd()
263 U32 matchIndex; in LZ4HC_InsertAndGetWiderMatch() local
270 matchIndex = HashTable[LZ4HC_hashPtr(ip)]; in LZ4HC_InsertAndGetWiderMatch()
272 matchIndex, lowestMatchIndex); in LZ4HC_InsertAndGetWiderMatch()
274 while ((matchIndex>=lowestMatchIndex) && (nbAttempts>0)) { in LZ4HC_InsertAndGetWiderMatch()
277 assert(matchIndex < ipIndex); in LZ4HC_InsertAndGetWiderMatch()
278 if (favorDecSpeed && (ipIndex - matchIndex < 8)) { in LZ4HC_InsertAndGetWiderMatch()
280 } else if (matchIndex >= dictLimit) { /* within current Prefix */ in LZ4HC_InsertAndGetWiderMatch()
281 const BYTE* const matchPtr = base + matchIndex; in LZ4HC_InsertAndGetWiderMatch()
[all …]
Dlz4.c962 U32 matchIndex = LZ4_getIndexOnHash(h, cctx->hashTable, tableType); in LZ4_compress_generic_validated() local
963 assert(matchIndex <= current); in LZ4_compress_generic_validated()
973 if (matchIndex < startIndex) { in LZ4_compress_generic_validated()
976 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32); in LZ4_compress_generic_validated()
977 match = dictBase + matchIndex; in LZ4_compress_generic_validated()
978matchIndex += dictDelta; /* make dictCtx index comparable with current context */ in LZ4_compress_generic_validated()
981 match = base + matchIndex; in LZ4_compress_generic_validated()
985 if (matchIndex < startIndex) { in LZ4_compress_generic_validated()
986 … DEBUGLOG(7, "extDict candidate: matchIndex=%5u < startIndex=%5u", matchIndex, startIndex); in LZ4_compress_generic_validated()
987 assert(startIndex - matchIndex >= MINMATCH); in LZ4_compress_generic_validated()
[all …]
/third_party/icu/icu4c/source/common/
Ducurr.cpp1302 int32_t matchIndex = -1; in searchCurrencyName() local
1322 matchIndex = binarySearch(currencyNames, index, in searchCurrencyName()
1329 if (matchIndex != -1) { in searchCurrencyName()
1333 *maxMatchIndex = matchIndex; in searchCurrencyName()
1532 int32_t matchIndex = -1; in uprv_parseCurrency() local
1535 upperText, textLen, partialMatchLen, &max, &matchIndex); in uprv_parseCurrency()
1538 printf("search in names, max = %d, matchIndex = %d\n", max, matchIndex); in uprv_parseCurrency()
1558 if (max >= maxInSymbol && matchIndex != -1) { in uprv_parseCurrency()
1559 u_charsToUChars(currencyNames[matchIndex].IsoCode, result, 4); in uprv_parseCurrency()
/third_party/skia/third_party/externals/icu/source/common/
Ducurr.cpp1302 int32_t matchIndex = -1; in searchCurrencyName() local
1322 matchIndex = binarySearch(currencyNames, index, in searchCurrencyName()
1329 if (matchIndex != -1) { in searchCurrencyName()
1333 *maxMatchIndex = matchIndex; in searchCurrencyName()
1532 int32_t matchIndex = -1; in uprv_parseCurrency() local
1535 upperText, textLen, partialMatchLen, &max, &matchIndex); in uprv_parseCurrency()
1538 printf("search in names, max = %d, matchIndex = %d\n", max, matchIndex); in uprv_parseCurrency()
1558 if (max >= maxInSymbol && matchIndex != -1) { in uprv_parseCurrency()
1559 u_charsToUChars(currencyNames[matchIndex].IsoCode, result, 4); in uprv_parseCurrency()
/third_party/node/deps/icu-small/source/common/
Ducurr.cpp1302 int32_t matchIndex = -1; in searchCurrencyName() local
1322 matchIndex = binarySearch(currencyNames, index, in searchCurrencyName()
1329 if (matchIndex != -1) { in searchCurrencyName()
1333 *maxMatchIndex = matchIndex; in searchCurrencyName()
1532 int32_t matchIndex = -1; in uprv_parseCurrency() local
1535 upperText, textLen, partialMatchLen, &max, &matchIndex); in uprv_parseCurrency()
1538 printf("search in names, max = %d, matchIndex = %d\n", max, matchIndex); in uprv_parseCurrency()
1558 if (max >= maxInSymbol && matchIndex != -1) { in uprv_parseCurrency()
1559 u_charsToUChars(currencyNames[matchIndex].IsoCode, result, 4); in uprv_parseCurrency()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducurr.cpp1329 int32_t matchIndex = -1; in searchCurrencyName() local
1349 matchIndex = binarySearch(currencyNames, index, in searchCurrencyName()
1356 if (matchIndex != -1) { in searchCurrencyName()
1360 *maxMatchIndex = matchIndex; in searchCurrencyName()
1559 int32_t matchIndex = -1; in uprv_parseCurrency() local
1562 upperText, textLen, partialMatchLen, &max, &matchIndex); in uprv_parseCurrency()
1565 printf("search in names, max = %d, matchIndex = %d\n", max, matchIndex); in uprv_parseCurrency()
1585 if (max >= maxInSymbol && matchIndex != -1) { in uprv_parseCurrency()
1586 u_charsToUChars(currencyNames[matchIndex].IsoCode, result, 4); in uprv_parseCurrency()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Duregex.h1575 int64_t matchIndex);
Dregex.h1792 inline UBool findProgressInterrupt(int64_t matchIndex, UErrorCode &status);
/third_party/node/deps/icu-small/source/i18n/unicode/
Duregex.h1578 int64_t matchIndex);
Dregex.h1785 inline UBool findProgressInterrupt(int64_t matchIndex, UErrorCode &status);
/third_party/icu/icu4c/source/i18n/unicode/
Duregex.h1578 int64_t matchIndex);
Dregex.h1785 inline UBool findProgressInterrupt(int64_t matchIndex, UErrorCode &status);
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Duregex.h1578 int64_t matchIndex);
Dregex.h1785 inline UBool findProgressInterrupt(int64_t matchIndex, UErrorCode &status);
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DIBMCalendarTest.java1990 … int matchIndex = matchString("Monday March 28, 2016", 0, Calendar.DAY_OF_WEEK, matchData, cal); in TestSimpleDateFormatCoverage() local
1991 …assertEquals("matchData for Monday", 6, matchIndex); // Position of the pointer after the matched … in TestSimpleDateFormatCoverage()
1992matchIndex = matchString("Monday March 28, 2016 AD", 17, Calendar.YEAR, matchData, cal); in TestSimpleDateFormatCoverage()
1993 …assertEquals("matchData for 2016", 21, matchIndex); // Position of the pointer after the matched s… in TestSimpleDateFormatCoverage()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java1990 … int matchIndex = matchString("Monday March 28, 2016", 0, Calendar.DAY_OF_WEEK, matchData, cal); in TestSimpleDateFormatCoverage() local
1991 …assertEquals("matchData for Monday", 6, matchIndex); // Position of the pointer after the matched … in TestSimpleDateFormatCoverage()
1992matchIndex = matchString("Monday March 28, 2016 AD", 17, Calendar.YEAR, matchData, cal); in TestSimpleDateFormatCoverage()
1993 …assertEquals("matchData for 2016", 21, matchIndex); // Position of the pointer after the matched s… in TestSimpleDateFormatCoverage()
/third_party/icu/icu4c/source/test/cintltst/
Dreapits.c2262 static UBool U_CALLCONV FindCallback(const void* context , int64_t matchIndex) { in FindCallback() argument
2265 (void)matchIndex; in FindCallback()
/third_party/icu/icu4c/source/test/intltest/
Dregextst.cpp4914 testProgressCallBackFn(const void *context, int64_t matchIndex) { in testProgressCallBackFn() argument
4917 info->lastIndex = matchIndex; in testProgressCallBackFn()