Home
last modified time | relevance | path

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

/system/core/libdiskconfig/
Ddiskutils.c39 ssize_t nr_bytes; in write_raw_image() local
63 if ((nr_bytes = read(src_fd, buffer, sizeof(buffer))) < 0) { in write_raw_image()
71 if (!nr_bytes) { in write_raw_image()
77 total += nr_bytes; in write_raw_image()
81 nr_bytes = 0; in write_raw_image()
83 while (nr_bytes > 0) { in write_raw_image()
84 if ((tmp = write(dst_fd, buffer, nr_bytes)) < 0) { in write_raw_image()
93 nr_bytes -= tmp; in write_raw_image()