Searched refs:bytes_read (Results 1 - 2 of 2) sorted by relevance

/system/extras/tests/directiotest/
H A Ddirectiotest.c73 size_t bytes_read = 0; local
78 ret = read(fd, (char *)buf + bytes_read, count - bytes_read);
86 bytes_read += ret;
87 } while (bytes_read < count);
89 return bytes_read;
/system/media/audio_route/
H A Daudio_route.c609 int bytes_read; local
659 bytes_read = fread(buf, 1, BUF_SIZE, file);
660 if (bytes_read < 0)
663 if (XML_ParseBuffer(parser, bytes_read,
664 bytes_read == 0) == XML_STATUS_ERROR) {
669 if (bytes_read == 0)

Completed in 241 milliseconds