Searched refs:total_read (Results 1 – 10 of 10) sorted by relevance
/third_party/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()
|
/third_party/python/Parser/ |
D | myreadline.c | 121 DWORD n_read, total_read, wbuflen, u8len; in _PyOS_WindowsConsoleReadline() local 127 total_read = 0; in _PyOS_WindowsConsoleReadline() 134 if (!ReadConsoleW(hStdIn, &wbuf[total_read], wbuflen - total_read, &n_read, NULL)) { in _PyOS_WindowsConsoleReadline() 161 total_read += n_read; in _PyOS_WindowsConsoleReadline() 162 if (total_read == 0 || wbuf[total_read - 1] == L'\n') { in _PyOS_WindowsConsoleReadline() 167 wbuf[total_read] = '\0'; in _PyOS_WindowsConsoleReadline() 205 wbuf, total_read, in _PyOS_WindowsConsoleReadline() 217 wbuf, total_read, in _PyOS_WindowsConsoleReadline()
|
/third_party/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()
|
/third_party/node/deps/base64/base64/test/ |
D | benchmark.c | 94 size_t total_read = 0; in get_random_data() 104 while (total_read < b->regsz) { in get_random_data() 105 if ((nread = read(fd, b->reg + total_read, b->regsz - total_read)) < 0) { in get_random_data() 110 total_read += nread; in get_random_data()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | standalone.cpp | 341 size_t total_read = 0; in load_text_file() local 355 size_t bytes = fread(text + total_read, in load_text_file() 356 1, size - total_read, fp); in load_text_file() 357 if (bytes < size - total_read) { in load_text_file() 367 total_read += bytes; in load_text_file() 368 } while (total_read < size); in load_text_file() 370 text[total_read] = '\0'; in load_text_file()
|
/third_party/ltp/testcases/kernel/fs/proc/ |
D | proc01.c | 68 unsigned long long total_read; variable 425 total_read += file_total_read; in readproc() 474 "total read: %llu bytes, %u objs", total_read, in main()
|
/third_party/curl/lib/ |
D | krb5.c | 564 size_t total_read = 0; in sec_recv() local 580 total_read += bytes_read; in sec_recv() 593 total_read += bytes_read; in sec_recv() 596 return total_read; in sec_recv()
|
/third_party/skia/third_party/externals/zlib/contrib/minizip/ |
D | minizip.c | 192 unsigned long total_read = 0; in getFileCrc() local 212 total_read += size_read; in getFileCrc()
|
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/ |
D | minizip.c | 191 unsigned long total_read = 0; in getFileCrc() local 211 total_read += size_read; in getFileCrc()
|
/third_party/ffmpeg/libavformat/ |
D | mpeg.c | 927 int ret, psize, total_read = 0, i; in vobsub_read_packet() local 980 if (total_read + pkt_size > psize) in vobsub_read_packet() 982 total_read += pkt_size; in vobsub_read_packet() 995 } while (total_read < psize); in vobsub_read_packet()
|