Home
last modified time | relevance | path

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

/ohos5.0/base/startup/hvb/test/
H A Dhvb_main.c35 uint64_t num_bytes, in hvb_read_partition() argument
72 num_read = read(fd, buffer, num_bytes); in hvb_read_partition()
96 uint64_t num_bytes, in hvb_write_partition() argument
123 num_written = write(fd, buffer, num_bytes); in hvb_write_partition()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dzip_writer.cpp56 uint32_t num_bytes; in AddFileContentToZip() local
58 num_bytes = fread(buf, 1, kZipBufSize, fp); in AddFileContentToZip()
59 if (num_bytes > 0) { in AddFileContentToZip()
60 if (zipWriteInFileInZip(zip_file, buf, num_bytes) != ZIP_OK) { in AddFileContentToZip()
/ohos5.0/base/startup/hvb/libhvb/include/
H A Dhvb_ops.h41 uint64_t num_bytes, void *buffer, uint64_t *out_num_read);
43 uint64_t num_bytes, const void *buffer);
/ohos5.0/base/startup/hvb/tools/
H A Dhvbtool.py422 def append_dont_care(self, num_bytes): argument
431 if num_bytes % self.block_size != 0:
438 self.img_handler.truncate(self.img_handler.tell() + num_bytes)
443 self.total_blks += num_bytes // self.block_size
450 num_bytes // self.block_size,