Searched refs:MAGICNUMBER_SIZE (Results 1 – 1 of 1) sorted by relevance
96 #define MAGICNUMBER_SIZE 4 macro108 #define LZ4S_MAXHEADERSIZE (MAGICNUMBER_SIZE+2+8+4+1)297 unsigned long long compressedfilesize = MAGICNUMBER_SIZE; in LZ4IO_compressFilename_Legacy()320 sizeCheck = fwrite(out_buff, 1, MAGICNUMBER_SIZE, foutput); in LZ4IO_compressFilename_Legacy()321 if (sizeCheck!=MAGICNUMBER_SIZE) EXM_THROW(22, "Write error : cannot write header"); in LZ4IO_compressFilename_Legacy()546 outBuffSize = 0; inBuffSize = 0; sizeCheck = MAGICNUMBER_SIZE; in decodeLZ4S()597 unsigned char U32store[MAGICNUMBER_SIZE]; in selectDecoder()603 nbReadBytes = fread(U32store, 1, MAGICNUMBER_SIZE, finput); in selectDecoder()605 …if (nbReadBytes != MAGICNUMBER_SIZE) EXM_THROW(40, "Unrecognized header : Magic Number unreadable"… in selectDecoder()626 …if (ftell(finput) == MAGICNUMBER_SIZE) EXM_THROW(44,"Unrecognized header : file cannot be decoded"… in selectDecoder()