Searched refs:U64 (Results 1 – 6 of 6) sorted by relevance
/lib/zstd/ |
D | mem.h | 40 typedef uint64_t U64; typedef 63 ZSTD_STATIC U64 ZSTD_read64(const void *memPtr) { return get_unaligned((const U64 *)memPtr); } in ZSTD_read64() 71 ZSTD_STATIC void ZSTD_write64(void *memPtr, U64 value) { put_unaligned(value, (U64 *)memPtr); } in ZSTD_write64() 91 ZSTD_STATIC U64 ZSTD_readLE64(const void *memPtr) { return get_unaligned_le64(memPtr); } in ZSTD_readLE64() 93 ZSTD_STATIC void ZSTD_writeLE64(void *memPtr, U64 val64) { put_unaligned_le64(val64, memPtr); } in ZSTD_writeLE64() 108 ZSTD_writeLE64(memPtr, (U64)val); in ZSTD_writeLEST() 117 ZSTD_STATIC U64 ZSTD_readBE64(const void *memPtr) { return get_unaligned_be64(memPtr); } in ZSTD_readBE64() 119 ZSTD_STATIC void ZSTD_writeBE64(void *memPtr, U64 val64) { put_unaligned_be64(val64, memPtr); } in ZSTD_writeBE64() 134 ZSTD_writeBE64(memPtr, (U64)val); in ZSTD_writeBEST()
|
D | fse_compress.c | 587 U64 const vStepLog = 62 - tableLog; in FSE_normalizeM2() 588 U64 const mid = (1ULL << (vStepLog - 1)) - 1; in FSE_normalizeM2() 589 …U64 const rStep = div_u64((((U64)1 << vStepLog) * ToDistribute) + mid, (U32)total); /* scale on re… in FSE_normalizeM2() 590 U64 tmpTotal = mid; in FSE_normalizeM2() 593 U64 const end = tmpTotal + (count[s] * rStep); in FSE_normalizeM2() 622 U64 const scale = 62 - tableLog; in FSE_normalizeCount() 623 U64 const step = div_u64((U64)1 << 62, (U32)total); /* <== here, one division ! */ in FSE_normalizeCount() 624 U64 const vStep = 1ULL << (scale - 20); in FSE_normalizeCount() 644 U64 restToBeat = vStep * rtbTable[proba]; in FSE_normalizeCount() 645 proba += (count[s] * step) - ((U64)proba << scale) > restToBeat; in FSE_normalizeCount()
|
D | compress.c | 73 U64 frameContentSize; 188 U64 const rSize = srcSize + dictSize + minSrcSize; in ZSTD_adjustCParams() 189 if (rSize < ((U64)1 << ZSTD_WINDOWLOG_MAX)) { in ZSTD_adjustCParams() 217 static size_t ZSTD_continueCCtx(ZSTD_CCtx *cctx, ZSTD_parameters params, U64 frameContentSize) in ZSTD_continueCCtx() 242 static size_t ZSTD_resetCCtx_advanced(ZSTD_CCtx *zc, ZSTD_parameters params, U64 frameContentSize, … in ZSTD_resetCCtx_advanced() 894 return (__builtin_ctzll((U64)val) >> 3); in ZSTD_NbCommonBytes() 960 static const U64 prime5bytes = 889523592379ULL; 961 static size_t ZSTD_hash5(U64 u, U32 h) { return (size_t)(((u << (64 - 40)) * prime5bytes) >> (64 - … in ZSTD_hash5() 964 static const U64 prime6bytes = 227718039650203ULL; 965 static size_t ZSTD_hash6(U64 u, U32 h) { return (size_t)(((u << (64 - 48)) * prime6bytes) >> (64 - … in ZSTD_hash6() [all …]
|
D | decompress.c | 73 U64 workspace[HUF_DECOMPRESS_WORKSPACE_SIZE_U32 / 2]; 242 U64 frameContentSize = 0; in ZSTD_getFrameParams() 2335 && (U64)(size_t)(oend - op) >= zds->fParams.frameContentSize) { in ZSTD_decompressStream()
|
/lib/lz4/ |
D | lz4defs.h | 52 typedef uint64_t U64; typedef 143 U64 a = get_unaligned((const U64 *)src); in LZ4_copy8() 145 put_unaligned(a, (U64 *)dst); in LZ4_copy8()
|
D | lz4_compress.c | 61 U64 sequence, in LZ4_hash5() 69 static const U64 prime5bytes = 889523592379ULL; in LZ4_hash5() 73 static const U64 prime8bytes = 11400714785074694791ULL; in LZ4_hash5()
|