Searched refs:matchIndex (Results 1 – 9 of 9) sorted by relevance
/external/lz4/lib/ |
D | lz4opt.h | 99 U32 matchIndex; in LZ4HC_BinTree_InsertAndGetAllMatches() local 107 matchIndex = *HashPos; in LZ4HC_BinTree_InsertAndGetAllMatches() 112 delta0 = delta1 = (U16)(current - matchIndex); in LZ4HC_BinTree_InsertAndGetAllMatches() 114 while ((matchIndex < current) && (matchIndex>=lowLimit) && (nbAttempts)) { in LZ4HC_BinTree_InsertAndGetAllMatches() 116 if (matchIndex >= dictLimit) { in LZ4HC_BinTree_InsertAndGetAllMatches() 117 match = base + matchIndex; in LZ4HC_BinTree_InsertAndGetAllMatches() 120 const BYTE* vLimit = ip + (dictLimit - matchIndex); in LZ4HC_BinTree_InsertAndGetAllMatches() 121 match = dictBase + matchIndex; in LZ4HC_BinTree_InsertAndGetAllMatches() 131 if (matchIndex >= dictLimit) in LZ4HC_BinTree_InsertAndGetAllMatches() 134 matches[mnum].off = (int)(ip - (base + matchIndex)); /* virtual matchpos */ in LZ4HC_BinTree_InsertAndGetAllMatches() [all …]
|
D | lz4hc.c | 143 U32 matchIndex; in LZ4HC_InsertAndFindBestMatch() local 149 matchIndex = HashTable[LZ4HC_hashPtr(ip)]; in LZ4HC_InsertAndFindBestMatch() 151 while ((matchIndex>=lowLimit) && (nbAttempts)) { in LZ4HC_InsertAndFindBestMatch() 153 if (matchIndex >= dictLimit) { in LZ4HC_InsertAndFindBestMatch() 154 const BYTE* const match = base + matchIndex; in LZ4HC_InsertAndFindBestMatch() 162 const BYTE* const match = dictBase + matchIndex; in LZ4HC_InsertAndFindBestMatch() 165 const BYTE* vLimit = ip + (dictLimit - matchIndex); in LZ4HC_InsertAndFindBestMatch() 170 if (mlt > ml) { ml = mlt; *matchpos = base + matchIndex; } /* virtual matchpos */ in LZ4HC_InsertAndFindBestMatch() 173 matchIndex -= DELTANEXTU16(matchIndex); in LZ4HC_InsertAndFindBestMatch() 197 U32 matchIndex; in LZ4HC_InsertAndGetWiderMatch() local [all …]
|
/external/icu/icu4c/source/common/ |
D | ucurr.cpp | 1312 int32_t matchIndex = -1; in searchCurrencyName() local 1332 matchIndex = binarySearch(currencyNames, index, in searchCurrencyName() 1338 if (matchIndex != -1) { in searchCurrencyName() 1342 *maxMatchIndex = matchIndex; in searchCurrencyName() 1518 int32_t matchIndex = -1; in uprv_parseCurrency() local 1521 upperText, textLen, &max, &matchIndex); in uprv_parseCurrency() 1524 printf("search in names, max = %d, matchIndex = %d\n", max, matchIndex); in uprv_parseCurrency() 1543 if (max >= maxInSymbol && matchIndex != -1) { in uprv_parseCurrency() 1544 u_charsToUChars(currencyNames[matchIndex].IsoCode, result, 4); in uprv_parseCurrency()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | uregex.h | 1575 int64_t matchIndex);
|
D | regex.h | 1792 inline UBool findProgressInterrupt(int64_t matchIndex, UErrorCode &status);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1996 … int matchIndex = matchString("Monday March 28, 2016", 0, Calendar.DAY_OF_WEEK, matchData, cal); in TestSimpleDateFormatCoverage() local 1997 …assertEquals("matchData for Monday", 6, matchIndex); // Position of the pointer after the matched … in TestSimpleDateFormatCoverage() 1998 … matchIndex = matchString("Monday March 28, 2016 AD", 17, Calendar.YEAR, matchData, cal); in TestSimpleDateFormatCoverage() 1999 …assertEquals("matchData for 2016", 21, matchIndex); // Position of the pointer after the matched s… in TestSimpleDateFormatCoverage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 1993 … int matchIndex = matchString("Monday March 28, 2016", 0, Calendar.DAY_OF_WEEK, matchData, cal); in TestSimpleDateFormatCoverage() local 1994 …assertEquals("matchData for Monday", 6, matchIndex); // Position of the pointer after the matched … in TestSimpleDateFormatCoverage() 1995 … matchIndex = matchString("Monday March 28, 2016 AD", 17, Calendar.YEAR, matchData, cal); in TestSimpleDateFormatCoverage() 1996 …assertEquals("matchData for 2016", 21, matchIndex); // Position of the pointer after the matched s… in TestSimpleDateFormatCoverage()
|
/external/icu/icu4c/source/test/cintltst/ |
D | reapits.c | 2254 static UBool U_CALLCONV FindCallback(const void* context , int64_t matchIndex) { in FindCallback() argument
|
/external/icu/icu4c/source/test/intltest/ |
D | regextst.cpp | 4867 testProgressCallBackFn(const void *context, int64_t matchIndex) { in testProgressCallBackFn() argument 4870 info->lastIndex = matchIndex; in testProgressCallBackFn()
|