Searched refs:bytes_read (Results 1 – 2 of 2) sorted by relevance
73 size_t bytes_read = 0; in do_read() local78 ret = read(fd, (char *)buf + bytes_read, count - bytes_read); in do_read()86 bytes_read += ret; in do_read()87 } while (bytes_read < count); in do_read()89 return bytes_read; in do_read()
652 int bytes_read; in audio_route_init() local702 bytes_read = fread(buf, 1, BUF_SIZE, file); in audio_route_init()703 if (bytes_read < 0) in audio_route_init()706 if (XML_ParseBuffer(parser, bytes_read, in audio_route_init()707 bytes_read == 0) == XML_STATUS_ERROR) { in audio_route_init()712 if (bytes_read == 0) in audio_route_init()