Home
last modified time | relevance | path

Searched refs:outFp (Results 1 – 6 of 6) sorted by relevance

/lz4-3.4.0-2.7.6/examples/
DblockStreaming_ringBuffer.c48 void test_compress(FILE* outFp, FILE* inpFp) in test_compress() argument
68 write_int32(outFp, cmpBytes); in test_compress()
69 write_bin(outFp, cmpBuf, cmpBytes); in test_compress()
78 write_int32(outFp, 0); in test_compress()
82 void test_decompress(FILE* outFp, FILE* inpFp) in test_decompress() argument
105 write_bin(outFp, decPtr, decBytes); in test_decompress()
156 FILE* const outFp = fopen(lz4Filename, "wb"); in main() local
158 test_compress(outFp, inpFp); in main()
160 fclose(outFp); in main()
166 FILE* const outFp = fopen(decFilename, "wb"); in main() local
[all …]
DblockStreaming_doubleBuffer.c39 void test_compress(FILE* outFp, FILE* inpFp) in test_compress() argument
63 write_int(outFp, cmpBytes); in test_compress()
64 write_bin(outFp, cmpBuf, (size_t) cmpBytes); in test_compress()
70 write_int(outFp, 0); in test_compress()
74 void test_decompress(FILE* outFp, FILE* inpFp) in test_decompress() argument
107 write_bin(outFp, decPtr, (size_t) decBytes); in test_decompress()
161 FILE* outFp = fopen(lz4Filename, "wb"); in main() local
164 test_compress(outFp, inpFp); in main()
167 fclose(outFp); in main()
174 FILE* outFp = fopen(decFilename, "wb"); in main() local
[all …]
DblockStreaming_lineByLine.c38 FILE* outFp, in test_compress() argument
70 write_uint16(outFp, (uint16_t) cmpBytes); in test_compress()
71 write_bin(outFp, cmpBuf, cmpBytes); in test_compress()
78 write_uint16(outFp, 0); in test_compress()
87 FILE* outFp, in test_decompress() argument
110 write_bin(outFp, decPtr, decBytes); in test_decompress()
176 FILE* outFp = fopen(lz4Filename, "wb"); in main() local
178 test_compress(outFp, inpFp, MESSAGE_MAX_BYTES, RING_BUFFER_BYTES); in main()
180 fclose(outFp); in main()
187 FILE* outFp = fopen(decFilename, "wb"); in main() local
[all …]
DHCStreaming_ringBuffer.c57 void test_compress(FILE* outFp, FILE* inpFp) in test_compress() argument
77 write_int32(outFp, cmpBytes); in test_compress()
78 write_bin(outFp, cmpBuf, cmpBytes); in test_compress()
88 write_int32(outFp, 0); in test_compress()
92 void test_decompress(FILE* outFp, FILE* inpFp) in test_decompress() argument
120 write_bin(outFp, decPtr, decBytes); in test_decompress()
192 FILE* const outFp = fopen(lz4Filename, "wb"); in main() local
194 test_compress(outFp, inpFp); in main()
196 fclose(outFp); in main()
202 FILE* const outFp = fopen(decFilename, "wb"); in main() local
[all …]
DdictionaryRandomAccess.c56 void test_compress(FILE* outFp, FILE* inpFp, void *dict, int dictSize) in test_compress() argument
69 write_bin(outFp, kTestMagic, sizeof(kTestMagic)); in test_compress()
87 write_bin(outFp, cmpBuf, (size_t)cmpBytes); in test_compress()
98 write_int(outFp, *ptr++); in test_compress()
100 write_int(outFp, offsetsEnd - offsets); in test_compress()
105 void test_decompress(FILE* outFp, FILE* inpFp, void *dict, int dictSize, int offset, int length) in test_decompress() argument
164 write_bin(outFp, decBuf + offset, (size_t)blockLength); in test_decompress()
238 FILE* outFp = fopen(lz4Filename, "wb"); in main() local
241 test_compress(outFp, inpFp, dict, dictSize); in main()
244 fclose(outFp); in main()
[all …]
DframeCompress.c347 FILE* const outFp = fopen(lz4Filename, "wb"); in main() local
350 compressResult_t const ret = compress_file(inpFp, outFp); in main()
352 fclose(outFp); in main()
368 FILE* const outFp = fopen(decFilename, "wb"); in main() local
371 int const ret = decompress_file(inpFp, outFp); in main()
373 fclose(outFp); in main()