Home
last modified time | relevance | path

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

/external/vboot_reference/futility/
Ddump_kernel_config_lib.c31 ssize_t nr_read = 0; in ReadFullyWithRead() local
33 while (nr_read < count) { in ReadFullyWithRead()
34 ssize_t to_read = count - nr_read; in ReadFullyWithRead()
35 ssize_t chunk = read(fd, buf + nr_read, to_read); in ReadFullyWithRead()
41 nr_read += chunk; in ReadFullyWithRead()
43 return nr_read; in ReadFullyWithRead()
/external/vboot_reference/cgpt/
Dcgpt_nor.c119 ssize_t nr_read; in read_write() local
126 nr_read = read(source_fd, buf, to_read); in read_write()
127 if (nr_read < 0) { in read_write()
131 while (nr_write < nr_read) { in read_write()
132 ssize_t s = write(dest_fd, buf + nr_write, nr_read - nr_write); in read_write()
138 copied += nr_read; in read_write()
/external/usrsctp/fuzzer/
Dpcap2corpus.c45 static unsigned long nr_read = 0; variable
156 nr_read++; in packet_handler()
248 fprintf(stderr, "%lu packets processed\n", nr_read); in main()