Home | History | Annotate | Download | only in examples

Lines Matching refs:outFp

56 void test_compress(FILE* outFp, FILE* inpFp, void *dict, int dictSize)
69 write_bin(outFp, kTestMagic, sizeof(kTestMagic));
87 write_bin(outFp, cmpBuf, (size_t)cmpBytes);
98 write_int(outFp, *ptr++);
100 write_int(outFp, offsetsEnd - offsets);
105 void test_decompress(FILE* outFp, FILE* inpFp, void *dict, int dictSize, int offset, int length)
164 write_bin(outFp, decBuf + offset, (size_t)blockLength);
238 FILE* outFp = fopen(lz4Filename, "wb");
241 test_compress(outFp, inpFp, dict, dictSize);
244 fclose(outFp);
251 FILE* outFp = fopen(decFilename, "wb");
254 test_decompress(outFp, inpFp, dict, DICTIONARY_BYTES, offset, length);
257 fclose(outFp);