Lines Matching full:if
35 if (nbElt>0) assert(expectedSize / nbElt == eltSize); /* check overflow */ in safe_fwrite()
36 if (writtenSize < expectedSize) { in safe_fwrite()
37 if (ferror(f)) /* note : ferror() must follow fwrite */ in safe_fwrite()
72 if (LZ4F_isError(headerSize)) { in compress_file_internal()
85 if (readSize == 0) break; /* nothing left to read from input file */ in compress_file_internal()
92 if (LZ4F_isError(compressedSize)) { in compress_file_internal()
106 if (LZ4F_isError(compressedSize)) { in compress_file_internal()
136 if (!LZ4F_isError(ctxCreation) && src && outbuff) { in compress_file()
190 if (readSize == 0 || ferror(f_in)) { in decompress_file_internal()
204 if (LZ4F_isError(ret)) { in decompress_file_internal()
209 if (dstSize != 0) safe_fwrite(dst, 1, dstSize, f_out); in decompress_file_internal()
220 if (srcPtr < srcEnd) { in decompress_file_internal()
231 if (readSize != 0 || !feof(f_in)) { in decompress_file_internal()
253 if (readSize == 0 || ferror(f_in)) { in decompress_file_allocDst()
261 if (LZ4F_isError(fires)) { in decompress_file_allocDst()
271 if (!dst) { perror("decompress_file(dst)"); return 1; } in decompress_file_allocDst()
291 if (!src) { perror("decompress_file(src)"); return 1; } in decompress_file()
295 if (LZ4F_isError(dctxStatus)) { in decompress_file()
319 if (!r0 || !r1) break; in compareFiles()
320 if (!result) result = memcmp(b0, b1, r0); in compareFiles()
332 if (argc < 2) { in main()
355 if (ret.error) { in main()
376 if (ret) { in main()
393 if (cmp) { in main()