Lines Matching refs:MAGICNUMBER_SIZE
76 #define MAGICNUMBER_SIZE 4 macro
418 unsigned long long compressedfilesize = MAGICNUMBER_SIZE; in LZ4IO_compressFilename_Legacy()
445 if (fwrite(out_buff, 1, MAGICNUMBER_SIZE, foutput) != MAGICNUMBER_SIZE) in LZ4IO_compressFilename_Legacy()
1081 { size_t inSize = MAGICNUMBER_SIZE; in LZ4IO_decompressLZ4F()
1147 unsigned char MNstore[MAGICNUMBER_SIZE], in LZ4IO_passThrough() argument
1152 unsigned long long total = MAGICNUMBER_SIZE; in LZ4IO_passThrough()
1155 if (fwrite(MNstore, 1, MAGICNUMBER_SIZE, foutput) != MAGICNUMBER_SIZE) { in LZ4IO_passThrough()
1213 unsigned char MNstore[MAGICNUMBER_SIZE]; in selectDecoder()
1225 size_t const nbReadBytes = fread(MNstore, 1, MAGICNUMBER_SIZE, finput); in selectDecoder()
1227 if (nbReadBytes != MAGICNUMBER_SIZE) in selectDecoder()
1498 LZ4IO_STATIC_ASSERT(LZ4IO_LEGACY_BLOCK_HEADER_SIZE == MAGICNUMBER_SIZE); in LZ4IO_skipLegacyBlocksData()
1582 { size_t const nbReadBytes = fread(buffer, 1, MAGICNUMBER_SIZE, finput); in LZ4IO_getCompressedFileInfo()
1585 if (nbReadBytes != MAGICNUMBER_SIZE) { in LZ4IO_getCompressedFileInfo()
1596 …{ const size_t readBytes = fread(buffer + MAGICNUMBER_SIZE, 1, LZ4F_HEADER_SIZE_MIN - MAGICNUMBE… in LZ4IO_getCompressedFileInfo()
1601 if (hSize > (LZ4F_HEADER_SIZE_MIN + MAGICNUMBER_SIZE)) { in LZ4IO_getCompressedFileInfo()