Searched refs:remaining (Results 1 – 5 of 5) sorted by relevance
/base/hiviewdfx/hilog/services/hilogd/ |
D | main.cpp | 66 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()
|
D | log_compress.cpp | 162 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/ |
D | utils.cpp | 312 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/ |
D | rbtree.c | 514 uint32_t remaining = size - off; in RbTreeDecode() local 517 if (remaining < headerSize) { in RbTreeDecode() 537 if (remaining < sz) { in RbTreeDecode()
|
/base/startup/hvb/tools/ |
D | hvbtool.py | 780 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)
|