/freebsd/sys/contrib/zstd/lib/legacy/ |
H A D | zstd_v04.c | 2504 size_t headerSize; member 2553 zc->headerSize = ZSTD_frameHeaderSize_min; in ZSTD_decodeFrameHeader_Part1() 2554 return zc->headerSize; in ZSTD_decodeFrameHeader_Part1() 2577 if (srcSize != zc->headerSize) return ERROR(srcSize_wrong); in ZSTD_decodeFrameHeader_Part2() 2728 size_t headerSize; in ZSTD_decodeSeqHeaders() local 2741 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders() 2742 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders() 2744 ip += headerSize; in ZSTD_decodeSeqHeaders() 2760 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTD_decodeSeqHeaders() 2761 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders() [all …]
|
H A D | zstd_v05.c | 2654 size_t headerSize; member 2798 zc->headerSize = ZSTDv05_frameHeaderSize_min; in ZSTDv05_decodeFrameHeader_Part1() 2799 return zc->headerSize; in ZSTDv05_decodeFrameHeader_Part1() 2822 if (srcSize != zc->headerSize) in ZSTDv05_decodeFrameHeader_Part2() 3045 size_t headerSize; in ZSTDv05_decodeSeqHeaders() local 3064 headerSize = FSEv05_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTDv05_decodeSeqHeaders() 3065 if (FSEv05_isError(headerSize)) return ERROR(GENERIC); in ZSTDv05_decodeSeqHeaders() 3067 ip += headerSize; in ZSTDv05_decodeSeqHeaders() 3088 headerSize = FSEv05_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTDv05_decodeSeqHeaders() 3089 if (FSEv05_isError(headerSize)) return ERROR(GENERIC); in ZSTDv05_decodeSeqHeaders() [all …]
|
H A D | zstd_v01.c | 1613 size_t headerSize; in ZSTDv01_decodeSeqHeaders() local 1626 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTDv01_decodeSeqHeaders() 1627 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTDv01_decodeSeqHeaders() 1629 ip += headerSize; in ZSTDv01_decodeSeqHeaders() 1644 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTDv01_decodeSeqHeaders() 1645 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTDv01_decodeSeqHeaders() 1647 ip += headerSize; in ZSTDv01_decodeSeqHeaders() 1662 headerSize = FSE_readNCount(norm, &max, &MLlog, ip, iend-ip); in ZSTDv01_decodeSeqHeaders() 1663 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTDv01_decodeSeqHeaders() 1665 ip += headerSize; in ZSTDv01_decodeSeqHeaders()
|
H A D | zstd_v03.c | 2602 size_t headerSize; in ZSTD_decodeSeqHeaders() local 2615 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders() 2616 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders() 2618 ip += headerSize; in ZSTD_decodeSeqHeaders() 2634 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTD_decodeSeqHeaders() 2635 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders() 2637 ip += headerSize; in ZSTD_decodeSeqHeaders() 2652 headerSize = FSE_readNCount(norm, &max, &MLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders() 2653 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders() 2655 ip += headerSize; in ZSTD_decodeSeqHeaders()
|
H A D | zstd_v02.c | 2961 size_t headerSize; in ZSTD_decodeSeqHeaders() local 2974 headerSize = FSE_readNCount(norm, &max, &LLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders() 2975 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders() 2977 ip += headerSize; in ZSTD_decodeSeqHeaders() 2993 headerSize = FSE_readNCount(norm, &max, &Offlog, ip, iend-ip); in ZSTD_decodeSeqHeaders() 2994 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders() 2996 ip += headerSize; in ZSTD_decodeSeqHeaders() 3011 headerSize = FSE_readNCount(norm, &max, &MLlog, ip, iend-ip); in ZSTD_decodeSeqHeaders() 3012 if (FSE_isError(headerSize)) return ERROR(GENERIC); in ZSTD_decodeSeqHeaders() 3014 ip += headerSize; in ZSTD_decodeSeqHeaders()
|
H A D | zstd_v06.c | 2815 size_t headerSize; member 3209 size_t const headerSize = FSEv06_readNCount(norm, &max, &tableLog, src, srcSize); in ZSTDv06_buildSeqTable() local 3210 if (FSEv06_isError(headerSize)) return ERROR(corruption_detected); in ZSTDv06_buildSeqTable() 3213 return headerSize; in ZSTDv06_buildSeqTable() 3736 dctx->headerSize = ZSTDv06_frameHeaderSize(src, ZSTDv06_frameHeaderSize_min); in ZSTDv06_decompressContinue() 3737 if (ZSTDv06_isError(dctx->headerSize)) return dctx->headerSize; in ZSTDv06_decompressContinue() 3739 if (dctx->headerSize > ZSTDv06_frameHeaderSize_min) { in ZSTDv06_decompressContinue() 3740 dctx->expected = dctx->headerSize - ZSTDv06_frameHeaderSize_min; in ZSTDv06_decompressContinue() 3749 result = ZSTDv06_decodeFrameHeader(dctx, dctx->headerBuffer, dctx->headerSize); in ZSTDv06_decompressContinue()
|
H A D | zstd_v07.c | 2947 size_t headerSize; member 3439 size_t const headerSize = FSEv07_readNCount(norm, &max, &tableLog, src, srcSize); in ZSTDv07_buildSeqTable() local 3440 if (FSEv07_isError(headerSize)) return ERROR(corruption_detected); in ZSTDv07_buildSeqTable() 3443 return headerSize; in ZSTDv07_buildSeqTable() 4001 dctx->headerSize = ZSTDv07_frameHeaderSize(src, ZSTDv07_frameHeaderSize_min); in ZSTDv07_decompressContinue() 4002 if (ZSTDv07_isError(dctx->headerSize)) return dctx->headerSize; in ZSTDv07_decompressContinue() 4004 if (dctx->headerSize > ZSTDv07_frameHeaderSize_min) { in ZSTDv07_decompressContinue() 4005 dctx->expected = dctx->headerSize - ZSTDv07_frameHeaderSize_min; in ZSTDv07_decompressContinue() 4014 result = ZSTDv07_decodeFrameHeader(dctx, dctx->headerBuffer, dctx->headerSize); in ZSTDv07_decompressContinue()
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | Target.h | 50 headerSize = sizeof(typename LP::mach_header); in TargetInfo() 118 size_t headerSize; variable
|
H A D | InputFiles.h | 339 reinterpret_cast<const uint8_t *>(hdr) + target->headerSize; in findCommands()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/decompress/ |
H A D | zstd_decompress.c | 270 zfhPtr->headerSize = (U32)fhsize; in ZSTD_getFrameHeader_advanced() 437 static size_t ZSTD_decodeFrameHeader(ZSTD_DCtx* dctx, const void* src, size_t headerSize) in ZSTD_decodeFrameHeader() argument 439 …size_t const result = ZSTD_getFrameHeader_advanced(&(dctx->fParams), src, headerSize, dctx->format… in ZSTD_decodeFrameHeader() 492 ip += zfh.headerSize; in ZSTD_findFrameSizeInfo() 493 remainingSize -= zfh.headerSize; in ZSTD_findFrameSizeInfo() 907 dctx->headerSize = ZSTD_frameHeaderSize_internal(src, srcSize, dctx->format); in ZSTD_decompressContinue() 908 if (ZSTD_isError(dctx->headerSize)) return dctx->headerSize; in ZSTD_decompressContinue() 910 dctx->expected = dctx->headerSize - srcSize; in ZSTD_decompressContinue() 916 memcpy(dctx->headerBuffer + (dctx->headerSize - srcSize), src, srcSize); in ZSTD_decompressContinue() 917 FORWARD_IF_ERROR(ZSTD_decodeFrameHeader(dctx, dctx->headerBuffer, dctx->headerSize), ""); in ZSTD_decompressContinue()
|
H A D | zstd_decompress_internal.h | 123 size_t headerSize; member
|
H A D | zstd_decompress_block.c | 467 size_t const headerSize = FSE_readNCount(norm, &max, &tableLog, src, srcSize); in ZSTD_buildSeqTable() local 468 RETURN_ERROR_IF(FSE_isError(headerSize), corruption_detected, ""); in ZSTD_buildSeqTable() 472 return headerSize; in ZSTD_buildSeqTable()
|
/freebsd/sys/contrib/openzfs/lib/libefi/ |
H A D | rdwr_efi.c | 611 len_t headerSize = (len_t)LE_32(efi->efi_gpt_HeaderSize); in check_label() local 613 if (headerSize < EFI_MIN_LABEL_SIZE || headerSize > EFI_LABEL_SIZE) { in check_label() 617 headerSize, EFI_MIN_LABEL_SIZE); in check_label() 620 if ((headerSize > dk_ioc->dki_length) || in check_label() 621 crc != LE_32(efi_crc32((unsigned char *)efi, headerSize))) { in check_label() 626 headerSize))); in check_label()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
H A D | MachOWriter.h | 33 size_t headerSize() const;
|
H A D | MachOWriter.cpp | 28 size_t MachOWriter::headerSize() const { in headerSize() function in MachOWriter 132 return headerSize() + loadCommandsSize(); in totalSize() 157 reinterpret_cast<uint8_t *>(Buf->getBufferStart()) + headerSize(); in writeLoadCommands()
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | fileio.c | 1271 size_t headerSize = LZ4F_compressBegin(ctx, ress->dstBuffer, ress->dstBufferSize, &prefs); in FIO_compressLz4Frame() local 1272 if (LZ4F_isError(headerSize)) in FIO_compressLz4Frame() 1274 LZ4F_getErrorName(headerSize)); in FIO_compressLz4Frame() 1275 if (fwrite(ress->dstBuffer, 1, headerSize, ress->dstFile) != headerSize) in FIO_compressLz4Frame() 1277 outFileSize += headerSize; in FIO_compressLz4Frame() 1315 headerSize = LZ4F_compressEnd(ctx, ress->dstBuffer, ress->dstBufferSize, NULL); in FIO_compressLz4Frame() 1316 if (LZ4F_isError(headerSize)) in FIO_compressLz4Frame() 1318 srcFileName, LZ4F_getErrorName(headerSize)); in FIO_compressLz4Frame() 1320 { size_t const sizeCheck = fwrite(ress->dstBuffer, 1, headerSize, ress->dstFile); in FIO_compressLz4Frame() 1321 if (sizeCheck != headerSize) in FIO_compressLz4Frame() [all …]
|
/freebsd/sys/contrib/zstd/lib/decompress/ |
H A D | zstd_decompress.c | 468 zfhPtr->headerSize = (U32)fhsize; in ZSTD_getFrameHeader_advanced() 670 static size_t ZSTD_decodeFrameHeader(ZSTD_DCtx* dctx, const void* src, size_t headerSize) in ZSTD_decodeFrameHeader() argument 672 …size_t const result = ZSTD_getFrameHeader_advanced(&(dctx->fParams), src, headerSize, dctx->format… in ZSTD_decodeFrameHeader() 690 dctx->processedCSize += headerSize; in ZSTD_decodeFrameHeader() 733 ip += zfh.headerSize; in ZSTD_findFrameSizeInfo() 734 remainingSize -= zfh.headerSize; in ZSTD_findFrameSizeInfo() 1180 dctx->headerSize = ZSTD_frameHeaderSize_internal(src, srcSize, dctx->format); in ZSTD_decompressContinue() 1181 if (ZSTD_isError(dctx->headerSize)) return dctx->headerSize; in ZSTD_decompressContinue() 1183 dctx->expected = dctx->headerSize - srcSize; in ZSTD_decompressContinue() 1189 ZSTD_memcpy(dctx->headerBuffer + (dctx->headerSize - srcSize), src, srcSize); in ZSTD_decompressContinue() [all …]
|
H A D | zstd_decompress_internal.h | 146 size_t headerSize; member
|
H A D | zstd_decompress_block.c | 640 size_t const headerSize = FSE_readNCount(norm, &max, &tableLog, src, srcSize); in ZSTD_buildSeqTable() local 641 RETURN_ERROR_IF(FSE_isError(headerSize), corruption_detected, ""); in ZSTD_buildSeqTable() 645 return headerSize; in ZSTD_buildSeqTable()
|
/freebsd/sys/contrib/zstd/lib/dictBuilder/ |
H A D | zdict.c | 111 size_t headerSize; in ZDICT_getDictHeaderSize() local 117 headerSize = ERROR(memory_allocation); in ZDICT_getDictHeaderSize() 120 headerSize = ZSTD_loadCEntropy(bs, wksp, dictBuffer, dictSize); in ZDICT_getDictHeaderSize() 127 return headerSize; in ZDICT_getDictHeaderSize()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | SyntheticSections.h | 155 static const unsigned headerSize = 16; variable 161 size_t getSize() const override { return headerSize + hashSize; } in getSize() 750 size_t headerSize; variable
|
H A D | LinkerScript.cpp | 1358 uint64_t headerSize = getHeaderSize(); in allocateHeaders() local 1360 headerSize <= min - computeBase(min, hasExplicitHeaders)) { in allocateHeaders() 1361 min = alignDown(min - headerSize, config->maxPageSize); in allocateHeaders()
|
H A D | Symbols.cpp | 188 : in.plt->getVA() + in.plt->headerSize + in getPltVA()
|
/freebsd/contrib/llvm-project/lld/ELF/Arch/ |
H A D | PPC.cpp | 195 write32(buf, in.plt->getVA() + in.plt->headerSize + 4 * s.getPltIdx()); in writeGotPlt()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/ |
H A D | zstd.h | 2016 unsigned headerSize; member
|