Searched defs:total_read (Results 1 - 9 of 9) sorted by relevance
/external/mesa3d/src/glsl/glcpp/ |
H A D | glcpp.c | 51 ssize_t total_read = 0; local 55 if (total_read + CHUNK + 1 > text_size) { 63 bytes = read (fd, text + total_read, CHUNK); 75 total_read += bytes; 78 text[total_read] = '\0';
|
/external/mesa3d/src/glsl/ |
H A D | glsl_compiler.cpp | 80 ssize_t total_read = 0; local 91 ssize_t bytes = read(fd, text + total_read, 92 st.st_size - total_read); 103 total_read += bytes; 104 } while (total_read < st.st_size); 106 text[total_read] = '\0';
|
/external/opencv/otherlibs/highgui/ |
H A D | cvcap_socket.cpp | 247 long read_count, total_read = 0; local 248 while (total_read < readBufSize) 250 read_count = read(sockd, &readBuf[total_read], readBufSize); 258 total_read += read_count; 262 if (total_read == readBufSize)
|
/external/zlib/src/contrib/minizip/ |
H A D | minizip.c | 192 unsigned long total_read = 0; local 212 total_read += size_read;
|
/external/qemu/distrib/sdl-1.2.15/src/file/ |
H A D | SDL_rwops.c | 225 int total_read = 0; local 247 total_read += read_ahead; 259 total_read += read_ahead; 265 total_read += byte_read; 267 return (total_read/size);
|
/external/chromium/base/ |
H A D | file_util_posix.cc | 365 size_t total_read = 0; local 366 while (total_read < bytes) { 368 HANDLE_EINTR(read(fd, buffer + total_read, bytes - total_read)); 371 total_read += bytes_read; 373 return total_read == bytes;
|
H A D | file_util_win.cc | 1136 size_t total_read = 0; local 1139 (size_to_read ? total_read < size_to_read : true)) { 1140 total_read += static_cast<size_t>(len);
|
/external/chromium/net/socket/ |
H A D | ssl_client_socket_mac.cc | 1313 size_t total_read = us->recv_buffer_.size(); local 1316 while (rv > 0 && total_read < *data_length) { 1317 us->read_io_buf_ = new IOBuffer(*data_length - total_read); 1319 *data_length - total_read, 1327 total_read += rv; 1331 *data_length = total_read; 1332 if (total_read) { 1333 memcpy(data, &us->recv_buffer_[0], total_read);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | stream.cc | 85 size_t total_read = 0, current_read; local 86 while (total_read < buffer_len) { 87 result = Read(static_cast<char*>(buffer) + total_read, 88 buffer_len - total_read, ¤t_read, error); 91 total_read += current_read; 94 *read = total_read;
|
Completed in 1160 milliseconds