Lines Matching full:if

18     with this program; if not, write to the Free Software Foundation, Inc.,
27 #if defined(_MSC_VER) || defined(_WIN32)
130 return clock() - clockStart; /* works even if overflow; max span ~30 mn */ in BMK_GetClockSpan()
141 if (requiredMem > MAX_MEM) requiredMem = MAX_MEM; in BMK_findMaxMem()
144 if (requiredMem > step) requiredMem -= step; in BMK_findMaxMem()
151 if (requiredMem > step) requiredMem -= step; in BMK_findMaxMem()
234 #if defined (__cplusplus)
241 #if defined (__cplusplus)
316 #if defined (__cplusplus)
322 #if defined (__cplusplus)
337 if (result < 0) return result; in local_LZ4_decompress_safe_partial()
359 if (result!=0) { DISPLAY("Error decompressing frame : unfinished frame \n"); exit(8); } in local_LZ4F_decompress()
360if (srcSize != (size_t)inSize) { DISPLAY("Error decompressing frame : read size incorrect \n"); ex… in local_LZ4F_decompress()
384 if (!sizeHint) break; in local_LZ4F_decompress_followHint()
388 if (inPos != totalInSize) { in local_LZ4F_decompress_followHint()
418 if (!sizeHint) break; in local_LZ4F_decompress_noHint()
422 if (inPos != totalInSize) { in local_LZ4F_decompress_noHint()
439 if (LZ4F_isError(errorCode)) { DISPLAY("dctx allocation issue \n"); return 10; } } in fullSpeedBench()
457 if (inFile==NULL) { DISPLAY("Pb opening %s \n", inFileName); return 11; } in fullSpeedBench()
458 if (inFileSize==0) { DISPLAY("file is empty \n"); fclose(inFile); return 11; } in fullSpeedBench()
459 if (benchedSize==0) { DISPLAY("not enough memory \n"); fclose(inFile); return 11; } in fullSpeedBench()
462 if ((U64)benchedSize > inFileSize) benchedSize = (size_t)inFileSize; in fullSpeedBench()
463 if (benchedSize < inFileSize) { in fullSpeedBench()
475 if(!chunkP || !orig_buff || !compressed_buff) { in fullSpeedBench()
489 if (readSize != benchedSize) { in fullSpeedBench()
517 if ((g_compressionAlgo != ALL_COMPRESSORS) && (g_compressionAlgo != cAlgNb)) continue; in fullSpeedBench()
529 if (remaining > (size_t)g_chunkSize) { in fullSpeedBench()
564if (chunkP[0].origSize < 8) { DISPLAY(" cannot bench %s with less then 8 bytes \n", compressorName… in fullSpeedBench()
568if (chunkP[0].origSize < 8) { DISPLAY(" cannot bench %s with less then 8 bytes \n", compressorName… in fullSpeedBench()
587 if (initFunction!=NULL) initFunction(); in fullSpeedBench()
590 if (chunkP[chunkNb].compressedSize==0) { in fullSpeedBench()
600 if (averageTime < bestTime) bestTime = averageTime; in fullSpeedBench()
606 if (ratio<100.) in fullSpeedBench()
623 if ((int)remaining > g_chunkSize) { in fullSpeedBench()
636 if (chunkP[chunkNb].compressedSize==0) { in fullSpeedBench()
648if ((g_decompressionAlgo != ALL_DECOMPRESSORS) && (g_decompressionAlgo != dAlgNb)) continue; in fullSpeedBench()
666if (dAlgNb == 10) { decompressionFunction = local_LZ4F_decompress; dName = "LZ4F_decompress"; } /… in fullSpeedBench()
667if (dAlgNb == 11) { decompressionFunction = local_LZ4F_decompress_followHint; dName = "LZ4F_decomp… in fullSpeedBench()
668if (dAlgNb == 12) { decompressionFunction = local_LZ4F_decompress_noHint; dName = "LZ4F_decompress… in fullSpeedBench()
678 continue; /* skip if unknown ID */ in fullSpeedBench()
701 if (chunkP[chunkNb].origSize != decodedSize) { in fullSpeedBench()
712 if (averageTime < bestTime) bestTime = averageTime; in fullSpeedBench()
718 if (checkResult && (crcOriginal!=crcDecoded)) { in fullSpeedBench()
733 if (g_pause) { printf("press enter...\n"); (void)getchar(); } in fullSpeedBench()
777 if (argc<2) { badusage(exename); return 1; } in main()
782 if(!argument) continue; // Protection if argument empty in main()
783 if (!strcmp(argument, "--no-prompt")) { in main()
789 if (argument[0]=='-') { in main()
842 if ((argument[1] >='0') && (argument[1] <='9')) { in main()
860 if (!input_filename) { input_filename=argument; filenamesStart=i; continue; } in main()
865 if(!input_filename) { badusage(exename); return 1; } in main()