OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cmpBytes
(Results
1 - 4
of
4
) sorted by null
/external/lz4/examples/
HCStreaming_ringBuffer.c
72
const int
cmpBytes
= LZ4_compressHC_continue(lz4Stream, inpPtr, cmpBuf, inpBytes);
74
if(
cmpBytes
<= 0) break;
75
write_int32(outFp,
cmpBytes
);
76
write_bin(outFp, cmpBuf,
cmpBytes
);
99
int
cmpBytes
= 0;
103
const size_t r0 = read_int32(inpFp, &
cmpBytes
);
105
if(r0 != 1 ||
cmpBytes
<= 0)
108
r1 = read_bin(inpFp, cmpBuf,
cmpBytes
);
109
if(r1 != (size_t)
cmpBytes
)
116
lz4StreamDecode, cmpBuf, decPtr,
cmpBytes
, MESSAGE_MAX_BYTES)
[
all
...]
blockStreaming_doubleBuffer.c
53
const int
cmpBytes
= LZ4_compress_continue(
55
if(
cmpBytes
<= 0) {
58
write_int(outFp,
cmpBytes
);
59
write_bin(outFp, cmpBuf, (size_t)
cmpBytes
);
79
int
cmpBytes
= 0;
82
const size_t readCount0 = read_int(inpFp, &
cmpBytes
);
83
if(readCount0 != 1 ||
cmpBytes
<= 0) {
87
const size_t readCount1 = read_bin(inpFp, cmpBuf, (size_t)
cmpBytes
);
88
if(readCount1 != (size_t)
cmpBytes
) {
96
lz4StreamDecode, cmpBuf, decPtr,
cmpBytes
, BLOCK_BYTES)
[
all
...]
blockStreaming_lineByLine.c
63
const int
cmpBytes
= LZ4_compress_continue(
65
if (
cmpBytes
<= 0) break;
66
write_uint16(outFp, (uint16_t)
cmpBytes
);
67
write_bin(outFp, cmpBuf,
cmpBytes
);
95
uint16_t
cmpBytes
= 0;
97
if (read_uint16(inpFp, &
cmpBytes
) != 1) break;
98
if (
cmpBytes
<= 0) break;
99
if (read_bin(inpFp, cmpBuf,
cmpBytes
) !=
cmpBytes
) break;
104
lz4StreamDecode, cmpBuf, decPtr,
cmpBytes
, (int) messageMaxBytes)
[
all
...]
blockStreaming_ringBuffer.c
68
const int
cmpBytes
= LZ4_compress_continue(lz4Stream, inpPtr, cmpBuf, inpBytes);
69
if(
cmpBytes
<= 0) break;
70
write_int32(outFp,
cmpBytes
);
71
write_bin(outFp, cmpBuf,
cmpBytes
);
92
int
cmpBytes
= 0;
96
const size_t r0 = read_int32(inpFp, &
cmpBytes
);
97
if(r0 != 1 ||
cmpBytes
<= 0) break;
99
const size_t r1 = read_bin(inpFp, cmpBuf,
cmpBytes
);
100
if(r1 != (size_t)
cmpBytes
) break;
106
lz4StreamDecode, cmpBuf, decPtr,
cmpBytes
, MESSAGE_MAX_BYTES)
[
all
...]
Completed in 53 milliseconds