Home
last modified time | relevance | path

Searched refs:prefixStart (Results 1 – 16 of 16) sorted by relevance

/external/zstd/lib/decompress/
Dzstd_decompress_block.c675 const BYTE* prefixStart; member
768 … const BYTE* const prefixStart, const BYTE* const virtualStart, const BYTE* const dictEnd) in ZSTD_execSequenceEnd() argument
788 if (sequence.offset > (size_t)(oLitEnd - prefixStart)) { in ZSTD_execSequenceEnd()
791 match = dictEnd - (prefixStart-match); in ZSTD_execSequenceEnd()
801 match = prefixStart; in ZSTD_execSequenceEnd()
811 … const BYTE* const prefixStart, const BYTE* const virtualStart, const BYTE* const dictEnd) in ZSTD_execSequence() argument
831 …return ZSTD_execSequenceEnd(op, oend, sequence, litPtr, litLimit, prefixStart, virtualStart, dictE… in ZSTD_execSequence()
854 if (sequence.offset > (size_t)(oLitEnd - prefixStart)) { in ZSTD_execSequence()
857 match = dictEnd + (match - prefixStart); in ZSTD_execSequence()
867 match = prefixStart; in ZSTD_execSequence()
[all …]
Dzstd_ddict.c64 dctx->prefixStart = ddict->dictContent; in ZSTD_copyDDictParameters()
69 dctx->dictContentBeginForFuzzing = dctx->prefixStart; in ZSTD_copyDDictParameters()
Dzstd_decompress_internal.h111 const void* prefixStart; /* start of current segment */ member
Dzstd_decompress.c1054 …art = (const char*)dict - ((const char*)(dctx->previousDstEnd) - (const char*)(dctx->prefixStart)); in ZSTD_refDictContent()
1055 dctx->prefixStart = dict; in ZSTD_refDictContent()
1058 dctx->dictContentBeginForFuzzing = dctx->prefixStart; in ZSTD_refDictContent()
1183 dctx->prefixStart = NULL; in ZSTD_decompressBegin()
/external/zstd/lib/compress/
Dzstd_fast.c65 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_generic() local
73 ip0 += (ip0 == prefixStart); in ZSTD_compressBlock_fast_generic()
146 while (((ip0>anchor) & (match0>prefixStart)) in ZSTD_compressBlock_fast_generic()
221 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_dictMatchState_generic() local
235 const U32 dictAndPrefixLength = (U32)(ip - prefixStart + dictEnd - dictStart); in ZSTD_compressBlock_fast_dictMatchState_generic()
273 mLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixStart) + 4; in ZSTD_compressBlock_fast_dictMatchState_generic()
288 mLength = ZSTD_count_2segments(ip+4, dictMatch+4, iend, dictEnd, prefixStart) + 4; in ZSTD_compressBlock_fast_dictMatchState_generic()
306 while (((ip>anchor) & (match>prefixStart)) in ZSTD_compressBlock_fast_dictMatchState_generic()
333 … size_t const repLength2 = ZSTD_count_2segments(ip+4, repMatch2+4, iend, repEnd2, prefixStart) + 4; in ZSTD_compressBlock_fast_dictMatchState_generic()
395 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_fast_extDict_generic() local
[all …]
Dzstd_double_fast.c380 const BYTE* const prefixStart = base + prefixStartIndex; in ZSTD_compressBlock_doubleFast_extDict_generic() local
415 mLength = ZSTD_count_2segments(ip+1+4, repMatch+4, iend, repMatchEnd, prefixStart) + 4; in ZSTD_compressBlock_doubleFast_extDict_generic()
421 … const BYTE* const lowMatchPtr = matchLongIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic()
423 mLength = ZSTD_count_2segments(ip+8, matchLong+8, iend, matchEnd, prefixStart) + 8; in ZSTD_compressBlock_doubleFast_extDict_generic()
439 … const BYTE* const lowMatchPtr = matchIndex3 < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic()
440 mLength = ZSTD_count_2segments(ip+9, match3+8, iend, matchEnd, prefixStart) + 8; in ZSTD_compressBlock_doubleFast_extDict_generic()
446 … const BYTE* const lowMatchPtr = matchIndex < prefixStartIndex ? dictStart : prefixStart; in ZSTD_compressBlock_doubleFast_extDict_generic()
447 mLength = ZSTD_count_2segments(ip+4, match+4, iend, matchEnd, prefixStart) + 4; in ZSTD_compressBlock_doubleFast_extDict_generic()
483 … size_t const repLength2 = ZSTD_count_2segments(ip+4, repMatch2+4, iend, repEnd2, prefixStart) + 4; in ZSTD_compressBlock_doubleFast_extDict_generic()
Dzstd_lazy.c80 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertDUBT1() local
116 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertDUBT1()
170 const BYTE* const prefixStart = base + ms->window.dictLimit; in ZSTD_DUBT_findBetterDictMatch() local
192 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_DUBT_findBetterDictMatch()
302 const BYTE* const prefixStart = base + dictLimit; in ZSTD_DUBT_findBestMatch() local
322 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_DUBT_findBestMatch()
610 const BYTE* const prefixStart = base + dictLimit; in ZSTD_HcFindBestMatch_generic() local
649 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, dictEnd, prefixStart) + 4; in ZSTD_HcFindBestMatch_generic()
700 currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_HcFindBestMatch_generic()
737 … currentMl = ZSTD_count_2segments(ip+4, match+4, iLimit, ddsEnd, prefixStart) + 4; in ZSTD_HcFindBestMatch_generic()
[all …]
Dzstd_opt.c387 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertBt1() local
443 …matchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iend, dictEnd, prefixStart); in ZSTD_insertBt1()
535 const BYTE* const prefixStart = base + dictLimit; in ZSTD_insertBtAndGetAllMatches() local
587 …(U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dictEnd, prefixStart) + minMatch; in ZSTD_insertBtAndGetAllMatches()
593 … (U32)ZSTD_count_2segments(ip+minMatch, repMatch+minMatch, iLimit, dmsEnd, prefixStart) + minMatch; in ZSTD_insertBtAndGetAllMatches()
619 mlen = ZSTD_count_2segments(ip, match, iLimit, dictEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches()
656 …tchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iLimit, dictEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches()
704 …atchLength += ZSTD_count_2segments(ip+matchLength, match+matchLength, iLimit, dmsEnd, prefixStart); in ZSTD_insertBtAndGetAllMatches()
944 const BYTE* const prefixStart = base + ms->window.dictLimit; in ZSTD_compressBlock_opt_generic() local
965 ip += (ip==prefixStart); in ZSTD_compressBlock_opt_generic()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DCurrencySpacingEnabledModifier.java101 int prefixStart, in applyCurrencySpacing() argument
109 boolean hasNumber = (suffixStart - prefixStart - prefixLen > 0); // could be empty string in applyCurrencySpacing()
111 length += applyCurrencySpacingAffix(output, prefixStart + prefixLen, PREFIX, symbols); in applyCurrencySpacing()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCurrencySpacingEnabledModifier.java99 int prefixStart, in applyCurrencySpacing() argument
107 boolean hasNumber = (suffixStart - prefixStart - prefixLen > 0); // could be empty string in applyCurrencySpacing()
109 length += applyCurrencySpacingAffix(output, prefixStart + prefixLen, PREFIX, symbols); in applyCurrencySpacing()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DInternalLocaleBuilder.java517 int prefixStart = -1; in removePrivateuseVariant() local
520 if (prefixStart != -1) { in removePrivateuseVariant()
527 prefixStart = itr.currentStart(); in removePrivateuseVariant()
535 assert(prefixStart == 0 || prefixStart > 1); in removePrivateuseVariant()
536 return (prefixStart == 0) ? null : privuseVal.substring(0, prefixStart -1); in removePrivateuseVariant()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DInternalLocaleBuilder.java521 int prefixStart = -1; in removePrivateuseVariant() local
524 if (prefixStart != -1) { in removePrivateuseVariant()
531 prefixStart = itr.currentStart(); in removePrivateuseVariant()
539 assert(prefixStart == 0 || prefixStart > 1); in removePrivateuseVariant()
540 return (prefixStart == 0) ? null : privuseVal.substring(0, prefixStart -1); in removePrivateuseVariant()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
DDayPeriodsMapper.java34 .addSubprocessor("dayPeriodRules[@locales=*]", Ruleset::prefixStart)
73 private void prefixStart(CldrPath prefix) { in prefixStart() method in DayPeriodsMapper.Ruleset
/external/icu/icu4c/source/i18n/
Dnumber_modifiers.cpp406 …cySpacingEnabledModifier::applyCurrencySpacing(FormattedStringBuilder &output, int32_t prefixStart, in applyCurrencySpacing() argument
414 bool hasNumber = (suffixStart - prefixStart - prefixLen > 0); // could be empty string in applyCurrencySpacing()
416 … length += applyCurrencySpacingAffix(output, prefixStart + prefixLen, PREFIX, symbols, status); in applyCurrencySpacing()
Dnumber_modifiers.h202 applyCurrencySpacing(FormattedStringBuilder &output, int32_t prefixStart, int32_t prefixLen,
/external/icu/libicu/cts_headers/
Dnumber_modifiers.h202 applyCurrencySpacing(FormattedStringBuilder &output, int32_t prefixStart, int32_t prefixLen,