Home
last modified time | relevance | path

Searched refs:src_pos (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_compress.cpp67 size_t src_pos = 0; in Compress() local
72 bool flag = read - src_pos < toRead; in Compress()
75 if (memmove_s(buffIn, CHUNK, inBuffer.content + src_pos, read - src_pos) != 0) { in Compress()
78 cStream.avail_in = read - src_pos; in Compress()
79 src_pos += read - src_pos; in Compress()
85 src_pos += toRead; in Compress()
137 auto src_pos = 0; in Compress() local
142 bool flag = read - src_pos < toRead; in Compress()
145 if (memmove_s(buffIn, CHUNK, inBuffer.content + src_pos, read - src_pos) != 0) { in Compress()
149 src_pos += read - src_pos; in Compress()
[all …]
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/src/util/
H A Ddump_compressor.cpp93 size_t const toRead, size_t& src_pos, size_t srcBufferOffset) in FillBuffer() argument
95 bool flag = (srcBufferOffset - src_pos) < toRead; in FillBuffer()
99 … if (memmove_s(buffIn, CHUNK, srcBuffer->content + src_pos, srcBufferOffset - src_pos) != EOK) { in FillBuffer()
103 zStream_.avail_in = srcBufferOffset - src_pos; in FillBuffer()
104 src_pos += srcBufferOffset - src_pos; in FillBuffer()
106 if (memmove_s(buffIn, CHUNK, srcBuffer->content + src_pos, toRead) != EOK) { in FillBuffer()
111 src_pos += toRead; in FillBuffer()
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/include/util/
H A Ddump_compressor.h52 size_t const toRead, size_t& src_pos, size_t srcBufferOffset);