Home
last modified time | relevance | path

Searched refs:total_read (Results 1 – 13 of 13) sorted by relevance

/external/libweave/third_party/chromium/base/
Drand_util_posix.cc33 size_t total_read = 0; in ReadFromFD() local
34 while (total_read < bytes) { in ReadFromFD()
36 HANDLE_EINTR(read(fd, buffer + total_read, bytes - total_read)); in ReadFromFD()
39 total_read += bytes_read; in ReadFromFD()
41 return total_read == bytes; in ReadFromFD()
/external/mesa3d/src/glsl/glcpp/
Dglcpp.c49 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/
Dmain.cpp69 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/boringssl/src/crypto/bio/
Dbio_test.cc213 size_t total_read = 0; in TestZeroCopyBioPairs() local
237 total_read += BIO_read(bio2, bio2_application_recv_buffer + total_read, in TestZeroCopyBioPairs()
260 total_read += BioReadZeroCopyWrapper( in TestZeroCopyBioPairs()
261 bio2, bio2_application_recv_buffer + total_read, bytes_left); in TestZeroCopyBioPairs()
263 if (total_read != total_write) { in TestZeroCopyBioPairs()
268 if (total_read > kLengths[i] + kPartialLengths[j]) { in TestZeroCopyBioPairs()
274 total_read) != 0) { in TestZeroCopyBioPairs()
/external/opencv/otherlibs/highgui/
Dcvcap_socket.cpp247 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/libchrome/base/files/
Dfile_util_posix.cc390 size_t total_read = 0; in ReadFromFD() local
391 while (total_read < bytes) { in ReadFromFD()
393 HANDLE_EINTR(read(fd, buffer + total_read, bytes - total_read)); in ReadFromFD()
396 total_read += bytes_read; in ReadFromFD()
398 return total_read == bytes; in ReadFromFD()
/external/curl/lib/
Dsecurity.c232 size_t total_read = 0; in sec_recv() local
248 total_read += bytes_read; in sec_recv()
261 total_read += bytes_read; in sec_recv()
265 return total_read; in sec_recv()
/external/google-breakpad/src/common/windows/
Dhttp_upload.cc214 DWORD total_read = 0; in ReadResponse() local
227 total_read += size_read; in ReadResponse()
235 (total_read == claimed_size)); in ReadResponse()
/external/webrtc/webrtc/base/
Dstream.cc63 size_t total_read = 0, current_read; in ReadAll() local
64 while (total_read < buffer_len) { in ReadAll()
65 result = Read(static_cast<char*>(buffer) + total_read, in ReadAll()
66 buffer_len - total_read, &current_read, error); in ReadAll()
69 total_read += current_read; in ReadAll()
72 *read = total_read; in ReadAll()
/external/zlib/src/contrib/minizip/
Dminizip.c192 unsigned long total_read = 0; in getFileCrc() local
212 total_read += size_read; in getFileCrc()
/external/libevent/
Dbufferevent-internal.h91 ev_uint64_t total_read; member
Dbufferevent_ratelim.c300 bev->rate_limiting->group->total_read += bytes; in _bufferevent_decrement_read_buckets()
1002 *total_read_out = grp->total_read; in bufferevent_rate_limit_group_get_totals()
1010 grp->total_read = grp->total_written = 0; in bufferevent_rate_limit_group_reset_totals()
/external/autotest/utils/
Dexternal_packages.py497 total_read = 0
500 while total_read < data_length:
506 total_read += len(data)