Lines Matching refs:read_so_far
132 size_t read_so_far=0;158 read_so_far = 0;164 while ((r = read(fd, mem+read_so_far, N_TO_READ(st.st_size - read_so_far))) > 0) {165 read_so_far += r;166 if (read_so_far >= (size_t)st.st_size)168 EVUTIL_ASSERT(read_so_far < (size_t)st.st_size);175 mem[read_so_far] = 0;177 *len_out = read_so_far;