/external/python/cpython3/Parser/ |
D | myreadline.c | 107 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/ |
D | glcpp.c | 52 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/ |
D | standalone.cpp | 349 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/ |
D | proc01.c | 68 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/ |
D | dev_stream.c | 259 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()
|
D | dev_io.c | 422 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/ |
D | security.c | 236 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/ |
D | http_upload.cc | 214 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/ |
D | file_util_posix.cc | 483 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/ |
D | stream.cc | 63 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, ¤t_read, error); in ReadAll() 69 total_read += current_read; in ReadAll() 72 *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()
|
/external/libevent/ |
D | bufferevent_ratelim.c | 298 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()
|
D | bufferevent-internal.h | 104 ev_uint64_t total_read; member
|
/external/autotest/utils/ |
D | external_packages.py | 569 total_read = 0 572 while total_read < data_length: 578 total_read += len(data)
|
/external/libevent/test/ |
D | regress_bufferevent.c | 1232 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()
|