Home
last modified time | relevance | path

Searched refs:contain32 (Results 1 – 5 of 5) sorted by relevance

/external/zstd/lib/legacy/
Dzstd_v01.c654 U32 contain32; in FSE_initDStream() local
658 contain32 = ((const BYTE*)srcBuffer)[srcSize-1]; in FSE_initDStream()
659 if (contain32 == 0) return (size_t)-FSE_ERROR_GENERIC; /* stop bit not present */ in FSE_initDStream()
660 bitD->bitsConsumed = 8 - FSE_highbit32(contain32); in FSE_initDStream()
664 U32 contain32; in FSE_initDStream() local
684 contain32 = ((const BYTE*)srcBuffer)[srcSize-1]; in FSE_initDStream()
685 if (contain32 == 0) return (size_t)-FSE_ERROR_GENERIC; /* stop bit not present */ in FSE_initDStream()
686 bitD->bitsConsumed = 8 - FSE_highbit32(contain32); in FSE_initDStream()
Dzstd_v03.c397 U32 contain32; in BIT_initDStream() local
401 contain32 = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream()
402 if (contain32 == 0) return ERROR(GENERIC); /* endMark not present */ in BIT_initDStream()
403 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()
407 U32 contain32; in BIT_initDStream() local
427 contain32 = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream()
428 if (contain32 == 0) return ERROR(GENERIC); /* endMark not present */ in BIT_initDStream()
429 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()
Dzstd_v04.c667 U32 contain32; in BIT_initDStream() local
671 contain32 = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream()
672 if (contain32 == 0) return ERROR(GENERIC); /* endMark not present */ in BIT_initDStream()
673 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()
677 U32 contain32; in BIT_initDStream() local
691 contain32 = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream()
692 if (contain32 == 0) return ERROR(GENERIC); /* endMark not present */ in BIT_initDStream()
693 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()
Dzstd_v02.c394 U32 contain32; in BIT_initDStream() local
398 contain32 = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream()
399 if (contain32 == 0) return ERROR(GENERIC); /* endMark not present */ in BIT_initDStream()
400 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()
404 U32 contain32; in BIT_initDStream() local
424 contain32 = ((const BYTE*)srcBuffer)[srcSize-1]; in BIT_initDStream()
425 if (contain32 == 0) return ERROR(GENERIC); /* endMark not present */ in BIT_initDStream()
426 bitD->bitsConsumed = 8 - BIT_highbit32(contain32); in BIT_initDStream()
Dzstd_v05.c795 U32 contain32; in BITv05_initDStream() local
799 contain32 = ((const BYTE*)srcBuffer)[srcSize-1]; in BITv05_initDStream()
800 if (contain32 == 0) return ERROR(GENERIC); /* endMark not present */ in BITv05_initDStream()
801 bitD->bitsConsumed = 8 - BITv05_highbit32(contain32); in BITv05_initDStream()
803 U32 contain32; in BITv05_initDStream() local
817 contain32 = ((const BYTE*)srcBuffer)[srcSize-1]; in BITv05_initDStream()
818 if (contain32 == 0) return ERROR(GENERIC); /* endMark not present */ in BITv05_initDStream()
819 bitD->bitsConsumed = 8 - BITv05_highbit32(contain32); in BITv05_initDStream()