Home
last modified time | relevance | path

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

/third_party/lz4/lib/
Dlz4hc.c231 static int LZ4HC_protectDictEnd(U32 const dictLimit, U32 const matchIndex) in LZ4HC_protectDictEnd() argument
233 return ((U32)((dictLimit - 1) - matchIndex) >= 3); in LZ4HC_protectDictEnd()
267 U32 matchIndex; in LZ4HC_InsertAndGetWiderMatch() local
274 matchIndex = HashTable[LZ4HC_hashPtr(ip)]; in LZ4HC_InsertAndGetWiderMatch()
276 matchIndex, lowestMatchIndex); in LZ4HC_InsertAndGetWiderMatch()
278 while ((matchIndex>=lowestMatchIndex) && (nbAttempts>0)) { in LZ4HC_InsertAndGetWiderMatch()
281 assert(matchIndex < ipIndex); in LZ4HC_InsertAndGetWiderMatch()
282 if (favorDecSpeed && (ipIndex - matchIndex < 8)) { in LZ4HC_InsertAndGetWiderMatch()
284 } else if (matchIndex >= prefixIdx) { /* within current Prefix */ in LZ4HC_InsertAndGetWiderMatch()
285 const BYTE* const matchPtr = prefixPtr + matchIndex - prefixIdx; in LZ4HC_InsertAndGetWiderMatch()
[all …]
Dlz4.c1022 U32 matchIndex = LZ4_getIndexOnHash(h, cctx->hashTable, tableType); in LZ4_compress_generic_validated() local
1023 assert(matchIndex <= current); in LZ4_compress_generic_validated()
1033 if (matchIndex < startIndex) { in LZ4_compress_generic_validated()
1036 matchIndex = LZ4_getIndexOnHash(h, dictCtx->hashTable, byU32); in LZ4_compress_generic_validated()
1037 match = dictBase + matchIndex; in LZ4_compress_generic_validated()
1038matchIndex += dictDelta; /* make dictCtx index comparable with current context */ in LZ4_compress_generic_validated()
1041 match = base + matchIndex; in LZ4_compress_generic_validated()
1045 if (matchIndex < startIndex) { in LZ4_compress_generic_validated()
1046 … DEBUGLOG(7, "extDict candidate: matchIndex=%5u < startIndex=%5u", matchIndex, startIndex); in LZ4_compress_generic_validated()
1047 assert(startIndex - matchIndex >= MINMATCH); in LZ4_compress_generic_validated()
[all …]
/third_party/node/deps/npm/node_modules/diff/lib/patch/
Dmerge.js504 matchIndex = 0,
508 while (matchIndex < matchChanges.length && state.index < state.lines.length) {
510 match = matchChanges[matchIndex]; // Once we've hit our add, then we are done
518 matchIndex++; // Consume any additions in the other block as a conflict to attempt
538 if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) {
546 while (matchIndex < matchChanges.length) {
547 merged.push(matchChanges[matchIndex++]);
/third_party/node/deps/npm/node_modules/diff/lib/
Dindex.es6.js1395 matchIndex = 0,
1399 while (matchIndex < matchChanges.length && state.index < state.lines.length) {
1401 match = matchChanges[matchIndex]; // Once we've hit our add, then we are done
1409 matchIndex++; // Consume any additions in the other block as a conflict to attempt
1429 if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) {
1437 while (matchIndex < matchChanges.length) {
1438 merged.push(matchChanges[matchIndex++]);
Dindex.mjs1395 matchIndex = 0,
1399 while (matchIndex < matchChanges.length && state.index < state.lines.length) {
1401 match = matchChanges[matchIndex]; // Once we've hit our add, then we are done
1409 matchIndex++; // Consume any additions in the other block as a conflict to attempt
1429 if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) {
1437 while (matchIndex < matchChanges.length) {
1438 merged.push(matchChanges[matchIndex++]);
/third_party/node/deps/npm/node_modules/diff/dist/
Ddiff.js1438 matchIndex = 0,
1442 while (matchIndex < matchChanges.length && state.index < state.lines.length) {
1444 match = matchChanges[matchIndex]; // Once we've hit our add, then we are done
1452 matchIndex++; // Consume any additions in the other block as a conflict to attempt
1472 if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) {
1480 while (matchIndex < matchChanges.length) {
1481 merged.push(matchChanges[matchIndex++]);
/third_party/icu/icu4c/source/common/
Ducurr.cpp1325 int32_t matchIndex = -1; in searchCurrencyName() local
1345 matchIndex = binarySearch(currencyNames, index, in searchCurrencyName()
1352 if (matchIndex != -1) { in searchCurrencyName()
1356 *maxMatchIndex = matchIndex; in searchCurrencyName()
1555 int32_t matchIndex = -1; in uprv_parseCurrency() local
1558 upperText, textLen, partialMatchLen, &max, &matchIndex); in uprv_parseCurrency()
1561 printf("search in names, max = %d, matchIndex = %d\n", max, matchIndex); in uprv_parseCurrency()
1581 if (max >= maxInSymbol && matchIndex != -1) { in uprv_parseCurrency()
1582 u_charsToUChars(currencyNames[matchIndex].IsoCode, result, 4); in uprv_parseCurrency()
/third_party/node/deps/icu-small/source/common/
Ducurr.cpp1325 int32_t matchIndex = -1; in searchCurrencyName() local
1345 matchIndex = binarySearch(currencyNames, index, in searchCurrencyName()
1352 if (matchIndex != -1) { in searchCurrencyName()
1356 *maxMatchIndex = matchIndex; in searchCurrencyName()
1555 int32_t matchIndex = -1; in uprv_parseCurrency() local
1558 upperText, textLen, partialMatchLen, &max, &matchIndex); in uprv_parseCurrency()
1561 printf("search in names, max = %d, matchIndex = %d\n", max, matchIndex); in uprv_parseCurrency()
1581 if (max >= maxInSymbol && matchIndex != -1) { in uprv_parseCurrency()
1582 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/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.c2263 static UBool U_CALLCONV FindCallback(const void* context , int64_t matchIndex) { in FindCallback() argument
2266 (void)matchIndex; in FindCallback()
/third_party/icu/icu4c/source/test/intltest/
Dregextst.cpp4805 testProgressCallBackFn(const void *context, int64_t matchIndex) { in testProgressCallBackFn() argument
4808 info->lastIndex = matchIndex; in testProgressCallBackFn()