Lines Matching refs:in_buff

298     char* in_buff;  in LZ4IO_compressFilename_Legacy()  local
314 in_buff = (char*)malloc(LEGACY_BLOCKSIZE); in LZ4IO_compressFilename_Legacy()
316 if (!in_buff || !out_buff) EXM_THROW(21, "Allocation error : not enough memory"); in LZ4IO_compressFilename_Legacy()
328 int inSize = (int) fread(in_buff, (size_t)1, (size_t)LEGACY_BLOCKSIZE, finput); in LZ4IO_compressFilename_Legacy()
333 outSize = compressionFunction(in_buff, out_buff+4, inSize); in LZ4IO_compressFilename_Legacy()
354 free(in_buff); in LZ4IO_compressFilename_Legacy()
371 char* in_buff; in LZ4IO_compressFilename() local
399 in_buff = (char*)malloc(blockSize); in LZ4IO_compressFilename()
402 if (!in_buff || !out_buff) EXM_THROW(31, "Allocation error : not enough memory"); in LZ4IO_compressFilename()
412 readSize = fread(in_buff, (size_t)1, (size_t)blockSize, finput); in LZ4IO_compressFilename()
421 outSize = LZ4F_compressUpdate(ctx, out_buff, outBuffSize, in_buff, readSize, NULL); in LZ4IO_compressFilename()
431 readSize = fread(in_buff, (size_t)1, (size_t)blockSize, finput); in LZ4IO_compressFilename()
444 free(in_buff); in LZ4IO_compressFilename()
482 char* in_buff; in decodeLegacyStream() local
486 in_buff = (char*)malloc(LZ4_compressBound(LEGACY_BLOCKSIZE)); in decodeLegacyStream()
488 if (!in_buff || !out_buff) EXM_THROW(51, "Allocation error : not enough memory"); in decodeLegacyStream()
498 sizeCheck = fread(in_buff, 1, 4, finput); in decodeLegacyStream()
500 blockSize = LZ4IO_readLE32(in_buff); /* Convert to Little Endian */ in decodeLegacyStream()
508 sizeCheck = fread(in_buff, 1, blockSize, finput); in decodeLegacyStream()
511 decodeSize = LZ4_decompress_safe(in_buff, out_buff, blockSize, LEGACY_BLOCKSIZE); in decodeLegacyStream()
521 free(in_buff); in decodeLegacyStream()