OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:inpFp
(Results
1 - 6
of
6
) sorted by null
/external/lz4/examples/
blockStreaming_lineByLine.c
39
FILE*
inpFp
,
56
const int inpBytes = (int) read_bin(
inpFp
, inpPtr, randomLength);
61
if (!fgets(inpPtr, (int) messageMaxBytes,
inpFp
))
88
FILE*
inpFp
,
101
if (read_uint16(
inpFp
, &cmpBytes) != 1) break;
103
if (read_bin(
inpFp
, cmpBuf, cmpBytes) != cmpBytes) break;
175
FILE*
inpFp
= fopen(inpFilename, "rb");
178
test_compress(outFp,
inpFp
, MESSAGE_MAX_BYTES, RING_BUFFER_BYTES);
181
fclose(
inpFp
);
186
FILE*
inpFp
= fopen(lz4Filename, "rb")
[
all
...]
HCStreaming_ringBuffer.c
54
void test_compress(FILE* outFp, FILE*
inpFp
)
66
const int inpBytes = (int) read_bin(
inpFp
, inpPtr, randomLength);
89
void test_decompress(FILE* outFp, FILE*
inpFp
)
100
{ const size_t r0 = read_int32(
inpFp
, &cmpBytes);
105
r1 = read_bin(
inpFp
, cmpBuf, cmpBytes);
188
{ FILE* const
inpFp
= fopen(inpFilename, "rb");
191
test_compress(outFp,
inpFp
);
194
fclose(
inpFp
);
198
{ FILE* const
inpFp
= fopen(lz4Filename, "rb");
201
test_decompress(outFp,
inpFp
);
[
all
...]
blockStreaming_doubleBuffer.c
39
void test_compress(FILE* outFp, FILE*
inpFp
)
51
const int inpBytes = (int) read_bin(
inpFp
, inpPtr, BLOCK_BYTES);
74
void test_decompress(FILE* outFp, FILE*
inpFp
)
89
const size_t readCount0 = read_int(
inpFp
, &cmpBytes);
94
const size_t readCount1 = read_bin(
inpFp
, cmpBuf, (size_t) cmpBytes);
160
FILE*
inpFp
= fopen(inpFilename, "rb");
164
test_compress(outFp,
inpFp
);
168
fclose(
inpFp
);
173
FILE*
inpFp
= fopen(lz4Filename, "rb");
177
test_decompress(outFp,
inpFp
);
[
all
...]
blockStreaming_ringBuffer.c
51
void test_compress(FILE* outFp, FILE*
inpFp
)
63
const int inpBytes = (int) read_bin(
inpFp
, inpPtr, randomLength);
85
void test_decompress(FILE* outFp, FILE*
inpFp
)
97
const size_t r0 = read_int32(
inpFp
, &cmpBytes);
100
const size_t r1 = read_bin(
inpFp
, cmpBuf, cmpBytes);
164
FILE*
inpFp
= fopen(inpFilename, "rb");
167
test_compress(outFp,
inpFp
);
170
fclose(
inpFp
);
175
FILE*
inpFp
= fopen(lz4Filename, "rb");
178
test_decompress(outFp,
inpFp
);
[
all
...]
dictionaryRandomAccess.c
56
void test_compress(FILE* outFp, FILE*
inpFp
, void *dict, int dictSize)
75
const int inpBytes = (int) read_bin(
inpFp
, inpBuf, BLOCK_BYTES);
105
void test_decompress(FILE* outFp, FILE*
inpFp
, void *dict, int dictSize, int offset, int length)
123
size_t read = read_bin(
inpFp
, magic, sizeof(magic));
133
seek_bin(
inpFp
, -4, SEEK_END);
134
read_int(
inpFp
, &numOffsets);
136
seek_bin(
inpFp
, -4 * (numOffsets + 1), SEEK_END);
138
read_int(
inpFp
, offsetsPtr++);
142
seek_bin(
inpFp
, offsets[currentBlock], SEEK_SET);
151
const size_t read = read_bin(
inpFp
, cmpBuf, (size_t)cmpBytes)
[
all
...]
frameCompress.c
258
{ FILE* const
inpFp
= fopen(inpFilename, "rb");
265
ret = compress_file(
inpFp
, outFp, &sizeIn, &sizeOut);
276
fclose(
inpFp
);
280
{ FILE* const
inpFp
= fopen(lz4Filename, "rb");
285
ret = decompress_file(
inpFp
, outFp);
293
fclose(
inpFp
);
297
{ FILE* const
inpFp
= fopen(inpFilename, "rb");
301
const int cmp = compare(
inpFp
, decFp);
309
fclose(
inpFp
);
Completed in 57 milliseconds