Searched defs:total_read (Results 1 - 15 of 15) 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.cc359 size_t total_read = 0; local
362 (size_to_read ? total_read < size_to_read : true)) {
363 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/base/
H A Dfile_util_posix.cc365 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 Dfile_util_win.cc1136 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 Dssl_client_socket_mac.cc1313 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 Dstream.cc85 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, &current_read, error);
91 total_read += current_read;
94 *read = total_read;
/external/chromium_org/base/
H A Dfile_util_posix.cc347 size_t total_read = 0; local
348 while (total_read < bytes) {
350 HANDLE_EINTR(read(fd, buffer + total_read, bytes - total_read));
353 total_read += bytes_read;
355 return total_read == bytes;
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dstream.cc77 size_t total_read = 0, current_read; local
78 while (total_read < buffer_len) {
79 result = Read(static_cast<char*>(buffer) + total_read,
80 buffer_len - total_read, &current_read, error);
83 total_read += current_read;
86 *read = total_read;

Completed in 5769 milliseconds