Searched refs:read_sz (Results 1 – 2 of 2) sorted by relevance
39 ssize_t read_sz; in ReadFromFd() local44 read_sz = read(fd, output->data() + read_off, kReadSize); in ReadFromFd()45 } while (read_sz < 0 && errno == EINTR); in ReadFromFd()46 if (read_sz < 0) { in ReadFromFd()50 read_off += read_sz; in ReadFromFd()51 } while (read_sz > 0); in ReadFromFd()
220 unsigned int size, read_sz; in play_sample() local264 read_sz = size < data_sz ? size : data_sz; in play_sample()265 num_read = fread(buffer, 1, read_sz, file); in play_sample()