Home
last modified time | relevance | path

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

/base/hiviewdfx/hilog/services/hilogd/
Dlog_compress.cpp66 size_t const toRead = CHUNK; in Compress()
74 (void)memset_s(buffIn, CHUNK, 0, CHUNK); in Compress()
75 if (memmove_s(buffIn, CHUNK, inBuffer.content + src_pos, read - src_pos) != 0) { in Compress()
81 (void)memset_s(buffIn, CHUNK, 0, CHUNK); in Compress()
82 if (memmove_s(buffIn, CHUNK, inBuffer.content + src_pos, toRead) != 0) { in Compress()
93 cStream.avail_out = CHUNK; in Compress()
98 unsigned have = CHUNK - cStream.avail_out; in Compress()
136 size_t const toRead = CHUNK; in Compress()
144 (void)memset_s(buffIn, CHUNK, 0, CHUNK); in Compress()
145 if (memmove_s(buffIn, CHUNK, inBuffer.content + src_pos, read - src_pos) != 0) { in Compress()
[all …]
/base/hiviewdfx/hidumper/frameworks/native/src/util/
Ddump_compressor.cpp35 char buffIn[CHUNK] = { 0 }; in Compress()
36 char buffOut[CHUNK] = { 0 }; in Compress()
42 zDataSize_ = (bound < CHUNK) ? CHUNK : bound; in Compress()
52 size_t const toRead = CHUNK; in Compress()
96 (void)memset_s(buffIn, CHUNK, 0, CHUNK); in FillBuffer()
99 … if (memmove_s(buffIn, CHUNK, srcBuffer->content + src_pos, srcBufferOffset - src_pos) != EOK) { in FillBuffer()
106 if (memmove_s(buffIn, CHUNK, srcBuffer->content + src_pos, toRead) != EOK) { in FillBuffer()
123 zStream_.avail_out = CHUNK; in DeflateBuffer()
129 unsigned have = CHUNK - zStream_.avail_out; in DeflateBuffer()
/base/hiviewdfx/hilog/services/hilogd/include/
Dlog_compress.h64 static const uint16_t CHUNK = 16384;
65 char buffIn[CHUNK] = {0};
66 char buffOut[CHUNK] = {0};
76 static const uint16_t CHUNK = 16384;
77 char buffIn[CHUNK] = {0};
78 char buffOut[CHUNK] = {0};
/base/hiviewdfx/hidumper/frameworks/native/include/util/
Ddump_compressor.h32 const uint16_t CHUNK = 16384; variable