Searched defs:total_read (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/
H A Dglcpp.c49 size_t total_read = 0; local
53 if (total_read + CHUNK + 1 > text_size) {
61 bytes = fread (text + total_read, 1, CHUNK, fp);
62 total_read += bytes;
69 text[total_read] = '\0';
/external/mesa3d/src/glsl/glcpp/
H A Dglcpp.c49 size_t total_read = 0; local
53 if (total_read + CHUNK + 1 > text_size) {
61 bytes = fread (text + total_read, 1, CHUNK, fp);
62 total_read += bytes;
69 text[total_read] = '\0';
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dmain.cpp69 size_t total_read = 0; local
83 size_t bytes = fread(text + total_read,
84 1, size - total_read, fp);
85 if (bytes < size - total_read) {
95 total_read += bytes;
96 } while (total_read < size);
98 text[total_read] = '\0';
/external/mesa3d/src/glsl/
H A Dmain.cpp69 size_t total_read = 0; local
83 size_t bytes = fread(text + total_read,
84 1, size - total_read, fp);
85 if (bytes < size - total_read) {
95 total_read += bytes;
96 } while (total_read < size);
98 text[total_read] = '\0';
/external/chromium_org/chrome/app/
H A Dimage_pre_reader_win.cc360 size_t total_read = 0; local
363 (size_to_read ? total_read < size_to_read : true)) {
364 total_read += static_cast<size_t>(len);
/external/chromium_org/third_party/zlib/contrib/minizip/
H A Dminizip.c178 unsigned long total_read = 0; local
198 total_read += size_read;
/external/opencv/otherlibs/highgui/
H A Dcvcap_socket.cpp247 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 Dminizip.c192 unsigned long total_read = 0; local
212 total_read += size_read;
/external/qemu/distrib/sdl-1.2.15/src/file/
H A DSDL_rwops.c225 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_org/base/files/
H A Dfile_util_posix.cc373 size_t total_read = 0; local
374 while (total_read < bytes) {
376 HANDLE_EINTR(read(fd, buffer + total_read, bytes - total_read));
379 total_read += bytes_read;
381 return total_read == bytes;
/external/chromium_org/third_party/webrtc/base/
H A Dstream.cc60 size_t total_read = 0, current_read; local
61 while (total_read < buffer_len) {
62 result = Read(static_cast<char*>(buffer) + total_read,
63 buffer_len - total_read, &current_read, error);
66 total_read += current_read;
69 *read = total_read;

Completed in 4833 milliseconds