Home
last modified time | relevance | path

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

/external/lz4/examples/
DblockStreaming_doubleBuffer.c36 void test_compress(FILE* outFp, FILE* inpFp) in test_compress() argument
58 write_int(outFp, cmpBytes); in test_compress()
59 write_bin(outFp, cmpBuf, (size_t) cmpBytes); in test_compress()
65 write_int(outFp, 0); in test_compress()
69 void test_decompress(FILE* outFp, FILE* inpFp) in test_decompress() argument
100 write_bin(outFp, decPtr, (size_t) decBytes); in test_decompress()
154 FILE* outFp = fopen(lz4Filename, "wb"); in main() local
157 test_compress(outFp, inpFp); in main()
160 fclose(outFp); in main()
167 FILE* outFp = fopen(decFilename, "wb"); in main() local
[all …]
DblockStreaming_ringBuffer.c51 void test_compress(FILE* outFp, FILE* inpFp) in test_compress() argument
70 write_int32(outFp, cmpBytes); in test_compress()
71 write_bin(outFp, cmpBuf, cmpBytes); in test_compress()
80 write_int32(outFp, 0); in test_compress()
84 void test_decompress(FILE* outFp, FILE* inpFp) in test_decompress() argument
109 write_bin(outFp, decPtr, decBytes); in test_decompress()
164 FILE* outFp = fopen(lz4Filename, "wb"); in main() local
166 test_compress(outFp, inpFp); in main()
168 fclose(outFp); in main()
175 FILE* outFp = fopen(decFilename, "wb"); in main() local
[all …]
DHCStreaming_ringBuffer.c54 void test_compress(FILE* outFp, FILE* inpFp) in test_compress() argument
75 write_int32(outFp, cmpBytes); in test_compress()
76 write_bin(outFp, cmpBuf, cmpBytes); in test_compress()
86 write_int32(outFp, 0); in test_compress()
90 void test_decompress(FILE* outFp, FILE* inpFp) in test_decompress() argument
121 write_bin(outFp, decPtr, decBytes); in test_decompress()
197 FILE* outFp = fopen(lz4Filename, "wb"); in main() local
199 test_compress(outFp, inpFp); in main()
201 fclose(outFp); in main()
208 FILE* outFp = fopen(decFilename, "wb"); in main() local
[all …]
DblockStreaming_lineByLine.c35 FILE* outFp, in test_compress() argument
66 write_uint16(outFp, (uint16_t) cmpBytes); in test_compress()
67 write_bin(outFp, cmpBuf, cmpBytes); in test_compress()
74 write_uint16(outFp, 0); in test_compress()
83 FILE* outFp, in test_decompress() argument
106 write_bin(outFp, decPtr, decBytes); in test_decompress()
172 FILE* outFp = fopen(lz4Filename, "wb"); in main() local
174 test_compress(outFp, inpFp, MESSAGE_MAX_BYTES, RING_BUFFER_BYTES); in main()
176 fclose(outFp); in main()
183 FILE* outFp = fopen(decFilename, "wb"); in main() local
[all …]