Home
last modified time | relevance | path

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

/external/lz4/examples/
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_ringBuffer.c51 void test_compress(FILE* outFp, FILE* inpFp) in test_compress() argument
71 write_int32(outFp, cmpBytes); in test_compress()
72 write_bin(outFp, cmpBuf, cmpBytes); in test_compress()
81 write_int32(outFp, 0); in test_compress()
85 void test_decompress(FILE* outFp, FILE* inpFp) in test_decompress() argument
110 write_bin(outFp, decPtr, decBytes); in test_decompress()
165 FILE* outFp = fopen(lz4Filename, "wb"); in main() local
167 test_compress(outFp, inpFp); in main()
169 fclose(outFp); in main()
176 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.c54 void test_compress(FILE* outFp, FILE* inpFp) in test_compress() argument
74 write_int32(outFp, cmpBytes); in test_compress()
75 write_bin(outFp, cmpBuf, cmpBytes); in test_compress()
85 write_int32(outFp, 0); in test_compress()
89 void test_decompress(FILE* outFp, FILE* inpFp) in test_decompress() argument
117 write_bin(outFp, decPtr, decBytes); in test_decompress()
189 FILE* const outFp = fopen(lz4Filename, "wb"); in main() local
191 test_compress(outFp, inpFp); in main()
193 fclose(outFp); in main()
199 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.c259 FILE* const outFp = fopen(lz4Filename, "wb"); in main() local
265 ret = compress_file(inpFp, outFp, &sizeIn, &sizeOut); in main()
275 fclose(outFp); in main()
281 FILE* const outFp = fopen(decFilename, "wb"); in main() local
285 ret = decompress_file(inpFp, outFp); in main()
292 fclose(outFp); in main()