Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 5 of 5) sorted by relevance

/base/hiviewdfx/hilog/services/hilogd/
Dmain.cpp66 size_t remaining = content.size(); in WriteStringToFile() local
67 while (remaining > 0) { in WriteStringToFile()
68 ssize_t n = write(fd, p, remaining); in WriteStringToFile()
73 remaining -= static_cast<size_t>(n); in WriteStringToFile()
Dlog_compress.cpp162 size_t const remaining = ZSTD_compressStream2(cctx, &output, &input, mode); in Compress() local
167 finished = flag ? (remaining == 0) : (input.pos == input.size); in Compress()
/base/update/updater/utils/
Dutils.cpp312 size_t remaining = size; in ReadFully() local
313 while (remaining > 0) { in ReadFully()
314 ssize_t sread = read(fd, p, remaining); in ReadFully()
320 remaining -= static_cast<size_t>(sread); in ReadFully()
332 auto remaining = static_cast<size_t>(sb.st_size); in ReadFileToString() local
334 while (remaining > 0) { in ReadFileToString()
335 n = read(fd, p, remaining); in ReadFileToString()
340 remaining -= static_cast<size_t>(n); in ReadFileToString()
348 size_t remaining = content.size(); in WriteStringToFile() local
349 while (remaining > 0) { in WriteStringToFile()
[all …]
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Drbtree.c514 uint32_t remaining = size - off; in RbTreeDecode() local
517 if (remaining < headerSize) { in RbTreeDecode()
537 if (remaining < sz) { in RbTreeDecode()
/base/startup/hvb/tools/
Dhvbtool.py780 remaining = hash_src_size
781 while remaining > 0:
784 begin = hash_src_offset + hash_src_size - remaining
785 end = min(remaining, self.block_size)
789 offset = hash_level_offsets[level_num - 1] + hash_src_size - remaining
793 remaining -= len(data)