Home
last modified time | relevance | path

Searched refs:zdlen (Results 1 - 1 of 1) sorted by relevance

/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_compress.cpp59 uint32_t zdlen = deflateBound(&cStream, inBuffer.offset); in Compress() local
60 std::vector<char> zdataBuf(zdlen, 0); in Compress()
99 if (memmove_s(zdata + dst_pos, zdlen - dst_pos, buffOut, have) != 0) { in Compress()
103 if (unlikely(zdlen < dst_pos)) { // zdataBuf is not long enough, shoudn't happen in Compress()
121 uint32_t zdlen = ZSTD_CStreamOutSize();
122 std::vector<char> zdataBuf(zdlen, 0);
163 if (memmove_s(zdata + dst_pos, zdlen, reinterpret_cast<Bytef*>(buffOut), output.pos) != 0) {

Completed in 1 milliseconds