/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/ |
D | glcpp.c | 49 size_t total_read = 0; in load_text_fp() local 53 if (total_read + CHUNK + 1 > text_size) { in load_text_fp() 61 bytes = fread (text + total_read, 1, CHUNK, fp); in load_text_fp() 62 total_read += bytes; in load_text_fp() 69 text[total_read] = '\0'; in load_text_fp()
|
/external/mesa3d/src/glsl/glcpp/ |
D | glcpp.c | 49 size_t total_read = 0; in load_text_fp() local 53 if (total_read + CHUNK + 1 > text_size) { in load_text_fp() 61 bytes = fread (text + total_read, 1, CHUNK, fp); in load_text_fp() 62 total_read += bytes; in load_text_fp() 69 text[total_read] = '\0'; in load_text_fp()
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
D | main.cpp | 69 size_t total_read = 0; in load_text_file() local 83 size_t bytes = fread(text + total_read, in load_text_file() 84 1, size - total_read, fp); in load_text_file() 85 if (bytes < size - total_read) { in load_text_file() 95 total_read += bytes; in load_text_file() 96 } while (total_read < size); in load_text_file() 98 text[total_read] = '\0'; in load_text_file()
|
/external/mesa3d/src/glsl/ |
D | main.cpp | 69 size_t total_read = 0; in load_text_file() local 83 size_t bytes = fread(text + total_read, in load_text_file() 84 1, size - total_read, fp); in load_text_file() 85 if (bytes < size - total_read) { in load_text_file() 95 total_read += bytes; in load_text_file() 96 } while (total_read < size); in load_text_file() 98 text[total_read] = '\0'; in load_text_file()
|
/external/opencv/otherlibs/highgui/ |
D | cvcap_socket.cpp | 247 long read_count, total_read = 0; in grabFrame() local 248 while (total_read < readBufSize) in grabFrame() 250 read_count = read(sockd, &readBuf[total_read], readBufSize); in grabFrame() 258 total_read += read_count; in grabFrame() 262 if (total_read == readBufSize) in grabFrame()
|
/external/chromium_org/ppapi/tests/ |
D | test_broker.cc | 92 size_t total_read = 0; in ReadMessage() 93 while (total_read < message_len) { in ReadMessage() 94 ssize_t read = HANDLE_EINTR(::read(file, message + total_read, in ReadMessage() 95 message_len - total_read)); in ReadMessage() 98 total_read += read; in ReadMessage() 100 return total_read == message_len; in ReadMessage()
|
/external/chromium_org/chrome/app/ |
D | image_pre_reader_win.cc | 360 size_t total_read = 0; in PreReadImage() local 363 (size_to_read ? total_read < size_to_read : true)) { in PreReadImage() 364 total_read += static_cast<size_t>(len); in PreReadImage()
|
/external/chromium_org/base/files/ |
D | file_util_posix.cc | 373 size_t total_read = 0; in ReadFromFD() local 374 while (total_read < bytes) { in ReadFromFD() 376 HANDLE_EINTR(read(fd, buffer + total_read, bytes - total_read)); in ReadFromFD() 379 total_read += bytes_read; in ReadFromFD() 381 return total_read == bytes; in ReadFromFD()
|
/external/qemu/distrib/sdl-1.2.15/src/file/ |
D | SDL_rwops.c | 225 int total_read = 0; in win32_file_read() local 247 total_read += read_ahead; in win32_file_read() 259 total_read += read_ahead; in win32_file_read() 265 total_read += byte_read; in win32_file_read() 267 return (total_read/size); in win32_file_read()
|
/external/chromium_org/third_party/zlib/contrib/minizip/ |
D | minizip.c | 178 unsigned long total_read = 0; in getFileCrc() local 198 total_read += size_read; in getFileCrc()
|
/external/chromium_org/third_party/webrtc/base/ |
D | stream.cc | 60 size_t total_read = 0, current_read; in ReadAll() local 61 while (total_read < buffer_len) { in ReadAll() 62 result = Read(static_cast<char*>(buffer) + total_read, in ReadAll() 63 buffer_len - total_read, ¤t_read, error); in ReadAll() 66 total_read += current_read; in ReadAll() 69 *read = total_read; in ReadAll()
|
/external/zlib/src/contrib/minizip/ |
D | minizip.c | 192 unsigned long total_read = 0; in getFileCrc() local 212 total_read += size_read; in getFileCrc()
|