Searched refs:read_count (Results 1 – 2 of 2) sorted by relevance
40 size_t read_count = 0; in readExactBytes() local41 while (read_count < count) { in readExactBytes()42 int result = read(fd, static_cast<int8_t*>(buf) + read_count, count - read_count); in readExactBytes()47 read_count += result; in readExactBytes()49 return read_count == count ? count : -1; in readExactBytes()
312 optional int32 read_count = 17; field