Home
last modified time | relevance | path

Searched refs:matchIndex (Results 1 - 17 of 17) sorted by relevance

/third_party/lz4/lib/
H A 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 in LZ4HC_InsertAndGetWiderMatch()
[all...]
H A 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()
1038 matchIndex += 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, startInde in LZ4_compress_generic_validated()
1222 U32 matchIndex = LZ4_getIndexOnHash(h, cctx->hashTable, tableType); LZ4_compress_generic_validated() local
[all...]
/third_party/node/deps/npm/node_modules/diff/lib/patch/
H A 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/icu/icu4c/source/common/
H A Ducurr.cpp1325 int32_t matchIndex = -1; in searchCurrencyName() local
1343 // matchIndex saves the one with exact match till the current point. in searchCurrencyName()
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 ! in uprv_parseCurrency()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Ducurr.cpp1351 int32_t matchIndex = -1; in searchCurrencyName() local
1369 // matchIndex saves the one with exact match till the current point. in searchCurrencyName()
1371 matchIndex = binarySearch(currencyNames, index, in searchCurrencyName()
1378 if (matchIndex != -1) { in searchCurrencyName()
1382 *maxMatchIndex = matchIndex; in searchCurrencyName()
1581 int32_t matchIndex = -1; in uprv_parseCurrency() local
1584 upperText, textLen, partialMatchLen, &max, &matchIndex); in uprv_parseCurrency()
1587 printf("search in names, max = %d, matchIndex = %d\n", max, matchIndex); in uprv_parseCurrency()
1607 if (max >= maxInSymbol && matchIndex ! in uprv_parseCurrency()
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Ducurr.cpp1302 int32_t matchIndex = -1; in searchCurrencyName() local
1320 // matchIndex saves the one with exact match till the current point. in searchCurrencyName()
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 ! in uprv_parseCurrency()
[all...]
/third_party/node/deps/npm/node_modules/diff/lib/
H A Dindex.es6.js1500 matchIndex = 0,
1504 while (matchIndex < matchChanges.length && state.index < state.lines.length) {
1506 match = matchChanges[matchIndex]; // Once we've hit our add, then we are done
1514 matchIndex++; // Consume any additions in the other block as a conflict to attempt
1534 if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) {
1542 while (matchIndex < matchChanges.length) {
1543 merged.push(matchChanges[matchIndex++]);
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DIBMCalendarTest.java1990 int matchIndex = matchString("Monday March 28, 2016", 0, Calendar.DAY_OF_WEEK, matchData, cal); in TestSimpleDateFormatCoverage()
1991 assertEquals("matchData for Monday", 6, matchIndex); // Position of the pointer after the matched string. in TestSimpleDateFormatCoverage()
1992 matchIndex = 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 string. in TestSimpleDateFormatCoverage()
/third_party/icu/icu4c/source/i18n/unicode/
H A Dregex.h1785 inline UBool findProgressInterrupt(int64_t matchIndex, UErrorCode &status);
H A Duregex.h1568 * @param matchIndex the next index at which a match attempt will be attempted for this
1578 int64_t matchIndex);
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Duregex.h1568 * @param matchIndex the next index at which a match attempt will be attempted for this
1578 int64_t matchIndex);
H A Dregex.h1785 inline UBool findProgressInterrupt(int64_t matchIndex, UErrorCode &status);
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Dregex.h1785 inline UBool findProgressInterrupt(int64_t matchIndex, UErrorCode &status);
H A Duregex.h1568 * @param matchIndex the next index at which a match attempt will be attempted for this
1578 int64_t matchIndex);
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DIBMCalendarTest.java1990 int matchIndex = matchString("Monday March 28, 2016", 0, Calendar.DAY_OF_WEEK, matchData, cal); in TestSimpleDateFormatCoverage()
1991 assertEquals("matchData for Monday", 6, matchIndex); // Position of the pointer after the matched string. in TestSimpleDateFormatCoverage()
1992 matchIndex = 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 string. in TestSimpleDateFormatCoverage()
/third_party/icu/icu4c/source/test/cintltst/
H A 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/
H A Dregextst.cpp4805 testProgressCallBackFn(const void *context, int64_t matchIndex) { in testProgressCallBackFn() argument
4808 info->lastIndex = matchIndex; in testProgressCallBackFn()
4809 // info->test->infoln("ProgressCallback - matchIndex = %d, numCalls = %d\n", matchIndex, info->numCalls); in testProgressCallBackFn()

Completed in 47 milliseconds