• Home
  • Raw
  • Download

Lines Matching refs:srcSize

324 …e_t FSE_count_simple(unsigned *count, unsigned *maxSymbolValuePtr, const void *src, size_t srcSize)  in FSE_count_simple()  argument
327 const BYTE *const end = ip + srcSize; in FSE_count_simple()
332 if (srcSize == 0) { in FSE_count_simple()
485 static unsigned FSE_minTableLog(size_t srcSize, unsigned maxSymbolValue) in FSE_minTableLog() argument
487 U32 minBitsSrc = BIT_highbit32((U32)(srcSize - 1)) + 1; in FSE_minTableLog()
493 unsigned FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue… in FSE_optimalTableLog_internal() argument
495 U32 maxBitsSrc = BIT_highbit32((U32)(srcSize - 1)) - minus; in FSE_optimalTableLog_internal()
497 U32 minBits = FSE_minTableLog(srcSize, maxSymbolValue); in FSE_optimalTableLog_internal()
511 unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) in FSE_optimalTableLog() argument
513 return FSE_optimalTableLog_internal(maxTableLog, srcSize, maxSymbolValue, 2); in FSE_optimalTableLog()
724 …s_usingCTable_generic(void *dst, size_t dstSize, const void *src, size_t srcSize, const FSE_CTable… in FSE_compress_usingCTable_generic() argument
727 const BYTE *const iend = istart + srcSize; in FSE_compress_usingCTable_generic()
734 if (srcSize <= 2) in FSE_compress_usingCTable_generic()
744 if (srcSize & 1) { in FSE_compress_usingCTable_generic()
755 srcSize -= 2; in FSE_compress_usingCTable_generic()
756 if ((sizeof(bitC.bitContainer) * 8 > FSE_MAX_TABLELOG * 4 + 7) && (srcSize & 2)) { /* test bit 2 */ in FSE_compress_usingCTable_generic()
785 size_t FSE_compress_usingCTable(void *dst, size_t dstSize, const void *src, size_t srcSize, const F… in FSE_compress_usingCTable() argument
787 unsigned const fast = (dstSize >= FSE_BLOCKBOUND(srcSize)); in FSE_compress_usingCTable()
790 return FSE_compress_usingCTable_generic(dst, dstSize, src, srcSize, ct, 1); in FSE_compress_usingCTable()
792 return FSE_compress_usingCTable_generic(dst, dstSize, src, srcSize, ct, 0); in FSE_compress_usingCTable()