/external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/files/ |
D | file_util_posix.cc | 12 size_t total_read = 0; in ReadFromFD() local 13 while (total_read < bytes) { in ReadFromFD() 15 WrapEINTR(read)(fd, buffer + total_read, bytes - total_read); in ReadFromFD() 19 total_read += bytes_read; in ReadFromFD() 21 return total_read == bytes; in ReadFromFD()
|
/external/cronet/tot/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/files/ |
D | file_util_posix.cc | 12 size_t total_read = 0; in ReadFromFD() local 13 while (total_read < bytes) { in ReadFromFD() 15 WrapEINTR(read)(fd, buffer + total_read, bytes - total_read); in ReadFromFD() 19 total_read += bytes_read; in ReadFromFD() 21 return total_read == bytes; in ReadFromFD()
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev03.c | 89 int total_read; in run() local 99 for (total_read = 0; total_read < tst_atomic_load(&written);) { in run() 100 total_read += SAFE_READ(0, readfd, readbuf+total_read, in run() 101 BUF_SIZE + 1 - total_read); in run() 107 if (total_read > BUF_SIZE) in run() 110 if (total_read <= 0) in run() 113 if (memcmp(readbuf, buf, total_read)) { in run()
|
/external/python/cpython3/Parser/ |
D | myreadline.c | 133 DWORD n_read, total_read, wbuflen, u8len; in _PyOS_WindowsConsoleReadline() local 139 total_read = 0; in _PyOS_WindowsConsoleReadline() 149 if (!ReadConsoleW(hStdIn, &wbuf[total_read], wbuflen - total_read, &n_read, NULL)) { in _PyOS_WindowsConsoleReadline() 176 total_read += n_read; in _PyOS_WindowsConsoleReadline() 177 if (total_read == 0 || wbuf[total_read - 1] == L'\n') { in _PyOS_WindowsConsoleReadline() 182 wbuf[total_read] = '\0'; in _PyOS_WindowsConsoleReadline() 220 wbuf, total_read, in _PyOS_WindowsConsoleReadline() 232 wbuf, total_read, in _PyOS_WindowsConsoleReadline()
|
/external/mesa3d/src/etnaviv/common/scripts/ |
D | parse_huffman.py | 162 total_read = 1 variable 184 global total_read 191 dbg(">>>>>>>>>> Stage 1: total_read %d" % total_read) 193 code = ring_buffer[(total_read - i) % RING_BUFFER_SIZE] 197 …dbg("code at %d has part0 %d part1_len %d" % ((total_read - i) % RING_BUFFER_SIZE, code.part0, cod… 199 if total_read >= 2: 202 code = ring_buffer[(total_read - i) % RING_BUFFER_SIZE] 224 if total_read >= 4: 227 code = ring_buffer[(total_read - i) % RING_BUFFER_SIZE] 269 total_read += 2 [all …]
|
/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/google-breakpad/src/tools/windows/converter_exe/ |
D | http_download.cc | 291 DWORD total_read = 0; in Download() local 295 && buffer_size == total_read) { in Download() 303 &response_buffer[total_read], in Download() 304 static_cast<DWORD>(buffer_size) - total_read, in Download() 306 total_read += size_read; in Download() 318 total_read, in Download() 323 content->assign(&response_buffer[0], total_read); in Download()
|
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/base64-0.13.1/src/read/ |
D | decoder_tests.rs | 294 let mut total_read = 0_usize; in consume_with_short_reads_and_validate() localVariable 297 total_read <= expected_bytes.len(), in consume_with_short_reads_and_validate() 299 total_read, in consume_with_short_reads_and_validate() 302 if total_read == expected_bytes.len() { in consume_with_short_reads_and_validate() 303 assert_eq!(expected_bytes, &decoded[..total_read]); in consume_with_short_reads_and_validate() 307 assert_eq!(expected_bytes, &decoded[..total_read]); in consume_with_short_reads_and_validate() 314 .read(&mut decoded[total_read..total_read + decode_len]) in consume_with_short_reads_and_validate() 316 total_read += read; in consume_with_short_reads_and_validate()
|
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/base64-0.13.1/src/read/ |
D | decoder_tests.rs | 294 let mut total_read = 0_usize; in consume_with_short_reads_and_validate() localVariable 297 total_read <= expected_bytes.len(), in consume_with_short_reads_and_validate() 299 total_read, in consume_with_short_reads_and_validate() 302 if total_read == expected_bytes.len() { in consume_with_short_reads_and_validate() 303 assert_eq!(expected_bytes, &decoded[..total_read]); in consume_with_short_reads_and_validate() 307 assert_eq!(expected_bytes, &decoded[..total_read]); in consume_with_short_reads_and_validate() 314 .read(&mut decoded[total_read..total_read + decode_len]) in consume_with_short_reads_and_validate() 316 total_read += read; in consume_with_short_reads_and_validate()
|
/external/rust/android-crates-io/crates/base64/src/read/ |
D | decoder_tests.rs | 434 let mut total_read = 0_usize; in consume_with_short_reads_and_validate() localVariable 437 total_read <= expected_bytes.len(), in consume_with_short_reads_and_validate() 439 total_read, in consume_with_short_reads_and_validate() 442 if total_read == expected_bytes.len() { in consume_with_short_reads_and_validate() 443 assert_eq!(expected_bytes, &decoded[..total_read]); in consume_with_short_reads_and_validate() 447 assert_eq!(expected_bytes, &decoded[..total_read]); in consume_with_short_reads_and_validate() 454 .read(&mut decoded[total_read..total_read + decode_len]) in consume_with_short_reads_and_validate() 456 total_read += read; in consume_with_short_reads_and_validate()
|
/external/cronet/tot/third_party/apache-portable-runtime/src/file_io/unix/ |
D | fullrw.c | 25 apr_size_t total_read = 0; in apr_file_read_full() local 33 total_read += amt; in apr_file_read_full() 37 *bytes_read = total_read; in apr_file_read_full()
|
/external/cronet/stable/third_party/apache-portable-runtime/src/file_io/unix/ |
D | fullrw.c | 25 apr_size_t total_read = 0; in apr_file_read_full() local 33 total_read += amt; in apr_file_read_full() 37 *bytes_read = total_read; in apr_file_read_full()
|
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/posix/ |
D | copy_file_portable.cc | 44 int total_read = rc; in CopyFileContents() local 45 while (total_write < total_read && rc > 0) { in CopyFileContents()
|
/external/crosvm/x86_64/src/ |
D | gdb.rs | 162 let mut total_read = 0u64; in read_memory() localVariable 165 while total_read < len as u64 { in read_memory() 166 let (paddr, psize) = phys_addr(guest_mem, vaddr.0 + total_read, &sregs)?; in read_memory() 167 let read_len = std::cmp::min(len as u64 - total_read, psize - (paddr & (psize - 1))); in read_memory() 171 .copy_to(&mut buf[total_read as usize..]); in read_memory() 172 total_read += read_len; in read_memory()
|
/external/mesa3d/src/compiler/glsl/ |
D | standalone.cpp | 275 size_t total_read = 0; in load_text_file() local 289 size_t bytes = fread(text + total_read, in load_text_file() 290 1, size - total_read, fp); in load_text_file() 291 if (bytes < size - total_read) { in load_text_file() 300 total_read += bytes; in load_text_file() 301 } while (total_read < size); in load_text_file() 303 text[total_read] = '\0'; in load_text_file()
|
/external/ltp/testcases/kernel/fs/proc/ |
D | proc01.c | 68 unsigned long long total_read; variable 431 total_read += file_total_read; in readproc() 480 "total read: %llu bytes, %u objs", total_read, in main()
|
/external/curl/tests/http/clients/ |
D | upload-pausing.c | 141 static size_t total_read = 0; variable 149 if(total_read >= PAUSE_READ_AFTER) { in read_callback() 155 ++total_read; in read_callback()
|
/external/pigweed/pw_stream/ |
D | mpsc_stream_test.cc | 83 size_t total_read = 0; member 124 total_read += read_result->size(); in Read() 409 size_t total_read = 0; in TEST() local 412 while (total_read < data1.size() + data2.size() + data3.size()) { in TEST() 428 total_read += num_read; in TEST() 566 ctx.total_read += data.size(); in TEST() 574 EXPECT_EQ(ctx.total_read, kBufSize * 100); in TEST()
|
/external/crosvm/base/src/sys/unix/ |
D | sock_ctrl_msg.rs | 221 let total_read = unsafe { recvmsg(fd, &mut msg, 0) }; in raw_recvmsg() localVariable 223 if total_read == -1 { in raw_recvmsg() 227 if total_read == 0 && (msg.msg_controllen as usize) < size_of::<cmsghdr>() { in raw_recvmsg() 254 Ok((total_read as usize, in_fds)) in raw_recvmsg()
|
/external/zstd/tests/ |
D | rateLimiter.py | 24 total_read = 0 variable
|
/external/google-breakpad/src/common/windows/ |
D | http_upload.cc | 185 DWORD total_read = 0; in ReadResponse() local 198 total_read += size_read; in ReadResponse() 207 (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/rust/android-crates-io/crates/vmm-sys-util/src/linux/ |
D | sock_ctrl_msg.rs | 225 let total_read = recvmsg(fd, &mut msg, 0); in raw_recvmsg() localVariable 226 if total_read == -1 { in raw_recvmsg() 230 if total_read == 0 && (msg.msg_controllen as usize) < size_of::<cmsghdr>() { in raw_recvmsg() 294 Ok((total_read as usize, copied_fds_count)) in raw_recvmsg()
|
/external/curl/lib/ |
D | krb5.c | 583 size_t total_read = 0; in sec_recv() local 602 total_read += bytes_read; in sec_recv() 615 total_read += bytes_read; in sec_recv() 618 return total_read; in sec_recv()
|
/external/libevent/ |
D | bufferevent_ratelim.c | 298 bev->rate_limiting->group->total_read += bytes; in bufferevent_decrement_read_buckets_() 1070 *total_read_out = grp->total_read; in bufferevent_rate_limit_group_get_totals() 1078 grp->total_read = grp->total_written = 0; in bufferevent_rate_limit_group_reset_totals()
|