Home
last modified time | relevance | path

Searched refs:bpPtr (Results 1 – 9 of 9) sorted by relevance

/external/zstd/lib/decompress/
Dzstd_decompress_block.c57 blockProperties_t* bpPtr) in ZSTD_getcBlockSize() argument
63 bpPtr->lastBlock = cBlockHeader & 1; in ZSTD_getcBlockSize()
64 bpPtr->blockType = (blockType_e)((cBlockHeader >> 1) & 3); in ZSTD_getcBlockSize()
65 bpPtr->origSize = cSize; /* only useful for RLE */ in ZSTD_getcBlockSize()
66 if (bpPtr->blockType == bt_rle) return 1; in ZSTD_getcBlockSize()
67 RETURN_ERROR_IF(bpPtr->blockType == bt_reserved, corruption_detected, ""); in ZSTD_getcBlockSize()
/external/zstd/lib/legacy/
Dzstd_v01.c1467 static size_t ZSTDv01_getcBlockSize(const void* src, size_t srcSize, blockProperties_t* bpPtr) in ZSTDv01_getcBlockSize() argument
1478 bpPtr->blockType = (blockType_t)(headerFlags >> 6); in ZSTDv01_getcBlockSize()
1479 bpPtr->origSize = (bpPtr->blockType == bt_rle) ? cSize : 0; in ZSTDv01_getcBlockSize()
1481 if (bpPtr->blockType == bt_end) return 0; in ZSTDv01_getcBlockSize()
1482 if (bpPtr->blockType == bt_rle) return 1; in ZSTDv01_getcBlockSize()
Dzstd_v03.c2462 static size_t ZSTD_getcBlockSize(const void* src, size_t srcSize, blockProperties_t* bpPtr) in ZSTD_getcBlockSize() argument
2473 bpPtr->blockType = (blockType_t)(headerFlags >> 6); in ZSTD_getcBlockSize()
2474 bpPtr->origSize = (bpPtr->blockType == bt_rle) ? cSize : 0; in ZSTD_getcBlockSize()
2476 if (bpPtr->blockType == bt_end) return 0; in ZSTD_getcBlockSize()
2477 if (bpPtr->blockType == bt_rle) return 1; in ZSTD_getcBlockSize()
Dzstd_v04.c2588 static size_t ZSTD_getcBlockSize(const void* src, size_t srcSize, blockProperties_t* bpPtr) in ZSTD_getcBlockSize() argument
2599 bpPtr->blockType = (blockType_t)(headerFlags >> 6); in ZSTD_getcBlockSize()
2600 bpPtr->origSize = (bpPtr->blockType == bt_rle) ? cSize : 0; in ZSTD_getcBlockSize()
2602 if (bpPtr->blockType == bt_end) return 0; in ZSTD_getcBlockSize()
2603 if (bpPtr->blockType == bt_rle) return 1; in ZSTD_getcBlockSize()
Dzstd_v02.c2821 static size_t ZSTD_getcBlockSize(const void* src, size_t srcSize, blockProperties_t* bpPtr) in ZSTD_getcBlockSize() argument
2832 bpPtr->blockType = (blockType_t)(headerFlags >> 6); in ZSTD_getcBlockSize()
2833 bpPtr->origSize = (bpPtr->blockType == bt_rle) ? cSize : 0; in ZSTD_getcBlockSize()
2835 if (bpPtr->blockType == bt_end) return 0; in ZSTD_getcBlockSize()
2836 if (bpPtr->blockType == bt_rle) return 1; in ZSTD_getcBlockSize()
Dzstd_v05.c2834 static size_t ZSTDv05_getcBlockSize(const void* src, size_t srcSize, blockProperties_t* bpPtr) in ZSTDv05_getcBlockSize() argument
2846 bpPtr->blockType = (blockType_t)(headerFlags >> 6); in ZSTDv05_getcBlockSize()
2847 bpPtr->origSize = (bpPtr->blockType == bt_rle) ? cSize : 0; in ZSTDv05_getcBlockSize()
2849 if (bpPtr->blockType == bt_end) return 0; in ZSTDv05_getcBlockSize()
2850 if (bpPtr->blockType == bt_rle) return 1; in ZSTDv05_getcBlockSize()
Dzstd_v06.c3030 static size_t ZSTDv06_getcBlockSize(const void* src, size_t srcSize, blockProperties_t* bpPtr) in ZSTDv06_getcBlockSize() argument
3037 bpPtr->blockType = (blockType_t)((*in) >> 6); in ZSTDv06_getcBlockSize()
3039 bpPtr->origSize = (bpPtr->blockType == bt_rle) ? cSize : 0; in ZSTDv06_getcBlockSize()
3041 if (bpPtr->blockType == bt_end) return 0; in ZSTDv06_getcBlockSize()
3042 if (bpPtr->blockType == bt_rle) return 1; in ZSTDv06_getcBlockSize()
Dzstd_v07.c3259 static size_t ZSTDv07_getcBlockSize(const void* src, size_t srcSize, blockProperties_t* bpPtr) in ZSTDv07_getcBlockSize() argument
3266 bpPtr->blockType = (blockType_t)((*in) >> 6); in ZSTDv07_getcBlockSize()
3268 bpPtr->origSize = (bpPtr->blockType == bt_rle) ? cSize : 0; in ZSTDv07_getcBlockSize()
3270 if (bpPtr->blockType == bt_end) return 0; in ZSTDv07_getcBlockSize()
3271 if (bpPtr->blockType == bt_rle) return 1; in ZSTDv07_getcBlockSize()
/external/zstd/lib/common/
Dzstd_internal.h465 blockProperties_t* bpPtr);