OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:nr_bytes
(Results
1 - 2
of
2
) sorted by null
/bootable/diskinstaller/libdiskconfig/
diskutils.c
38
int
nr_bytes
;
local
62
if ((
nr_bytes
= read(src_fd, buffer, sizeof(buffer))) < 0) {
70
if (!
nr_bytes
) {
76
total +=
nr_bytes
;
80
nr_bytes
= 0;
82
while (
nr_bytes
> 0) {
83
if ((tmp = write(dst_fd, buffer,
nr_bytes
)) < 0) {
92
nr_bytes
-= tmp;
/system/core/libdiskconfig/
diskutils.c
38
int
nr_bytes
;
local
62
if ((
nr_bytes
= read(src_fd, buffer, sizeof(buffer))) < 0) {
70
if (!
nr_bytes
) {
76
total +=
nr_bytes
;
80
nr_bytes
= 0;
82
while (
nr_bytes
> 0) {
83
if ((tmp = write(dst_fd, buffer,
nr_bytes
)) < 0) {
92
nr_bytes
-= tmp;
Completed in 172 milliseconds