Home
last modified time | relevance | path

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

/external/python/cpython3/Parser/
Dmyreadline.c107 DWORD n_read, total_read, wbuflen, u8len; in _PyOS_WindowsConsoleReadline() local
113 total_read = 0; in _PyOS_WindowsConsoleReadline()
120 if (!ReadConsoleW(hStdIn, &wbuf[total_read], wbuflen - total_read, &n_read, NULL)) { in _PyOS_WindowsConsoleReadline()
146 total_read += n_read; in _PyOS_WindowsConsoleReadline()
147 if (total_read == 0 || wbuf[total_read - 1] == L'\n') { in _PyOS_WindowsConsoleReadline()
152 wbuf[total_read] = '\0'; in _PyOS_WindowsConsoleReadline()
181 u8len = WideCharToMultiByte(CP_UTF8, 0, wbuf, total_read, NULL, 0, NULL, NULL); in _PyOS_WindowsConsoleReadline()
187 u8len = WideCharToMultiByte(CP_UTF8, 0, wbuf, total_read, buf, u8len, NULL, NULL); in _PyOS_WindowsConsoleReadline()
/external/mesa3d/src/compiler/glsl/glcpp/
Dglcpp.c52 size_t total_read = 0; in load_text_fp() local
56 if (total_read + CHUNK + 1 > text_size) { in load_text_fp()
64 bytes = fread (text + total_read, 1, CHUNK, fp); in load_text_fp()
65 total_read += bytes; in load_text_fp()
72 text[total_read] = '\0'; in load_text_fp()
/external/mesa3d/src/compiler/glsl/
Dstandalone.cpp349 size_t total_read = 0; in load_text_file() local
363 size_t bytes = fread(text + total_read, in load_text_file()
364 1, size - total_read, fp); in load_text_file()
365 if (bytes < size - total_read) { in load_text_file()
375 total_read += bytes; in load_text_file()
376 } while (total_read < size); in load_text_file()
378 text[total_read] = '\0'; in load_text_file()
/external/ltp/testcases/kernel/fs/proc/
Dproc01.c68 unsigned long long total_read; variable
421 total_read += file_total_read; in readproc()
470 "total read: %llu bytes, %u objs", total_read, in main()
/external/adhd/cras/src/server/
Ddev_stream.c259 unsigned int total_read = 0; in capture_with_fmt_conv() local
272 while (total_read < num_frames) { in capture_with_fmt_conv()
279 read_frames = num_frames - total_read; in capture_with_fmt_conv()
286 total_read += read_frames; in capture_with_fmt_conv()
292 return total_read; in capture_with_fmt_conv()
Ddev_io.c422 unsigned int nread, total_read; in capture_to_streams() local
463 total_read = rc; in capture_to_streams()
466 if (total_read < nread) in capture_to_streams()
/external/curl/lib/
Dsecurity.c236 size_t total_read = 0; in sec_recv() local
252 total_read += bytes_read; in sec_recv()
265 total_read += bytes_read; in sec_recv()
269 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/libchrome/base/files/
Dfile_util_posix.cc483 size_t total_read = 0; in ReadFromFD() local
484 while (total_read < bytes) { in ReadFromFD()
486 HANDLE_EINTR(read(fd, buffer + total_read, bytes - total_read)); in ReadFromFD()
489 total_read += bytes_read; in ReadFromFD()
491 return total_read == bytes; in ReadFromFD()
/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_ratelim.c298 bev->rate_limiting->group->total_read += bytes; in bufferevent_decrement_read_buckets_()
1073 *total_read_out = grp->total_read; in bufferevent_rate_limit_group_get_totals()
1081 grp->total_read = grp->total_written = 0; in bufferevent_rate_limit_group_reset_totals()
Dbufferevent-internal.h104 ev_uint64_t total_read; member
/external/autotest/utils/
Dexternal_packages.py569 total_read = 0
572 while total_read < data_length:
578 total_read += len(data)
/external/libevent/test/
Dregress_bufferevent.c1232 size_t total_read; member
1242 filter_data->total_read += read_size; in bufferevent_filter_data_stuck_readcb()
1322 tt_int_op(filter_data.total_read, ==, payload_size + filter_data.header_size); in test_bufferevent_filter_data_stuck()