Lines Matching refs:inpFp
39 FILE* inpFp, in test_compress() argument
56 const int inpBytes = (int) read_bin(inpFp, inpPtr, randomLength); in test_compress()
61 if (!fgets(inpPtr, (int) messageMaxBytes, inpFp)) in test_compress()
88 FILE* inpFp, in test_decompress() argument
101 if (read_uint16(inpFp, &cmpBytes) != 1) break; in test_decompress()
103 if (read_bin(inpFp, cmpBuf, cmpBytes) != cmpBytes) break; in test_decompress()
175 FILE* inpFp = fopen(inpFilename, "rb"); in main() local
178 test_compress(outFp, inpFp, MESSAGE_MAX_BYTES, RING_BUFFER_BYTES); in main()
181 fclose(inpFp); in main()
186 FILE* inpFp = fopen(lz4Filename, "rb"); in main() local
189 test_decompress(outFp, inpFp, MESSAGE_MAX_BYTES, RING_BUFFER_BYTES); in main()
192 fclose(inpFp); in main()
197 FILE* inpFp = fopen(inpFilename, "rb"); in main() local
200 const int cmp = compare(inpFp, decFp); in main()
207 fclose(inpFp); in main()