Home
last modified time | relevance | path

Searched refs:total_read (Results 1 - 11 of 11) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/writev/
H A Dwritev03.c89 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/
H A Dmyreadline.c122 DWORD n_read, total_read, wbuflen, u8len; in _PyOS_WindowsConsoleReadline() local
128 total_read = 0; in _PyOS_WindowsConsoleReadline()
135 if (!ReadConsoleW(hStdIn, &wbuf[total_read], wbuflen - total_read, &n_read, NULL)) { in _PyOS_WindowsConsoleReadline()
162 total_read += n_read; in _PyOS_WindowsConsoleReadline()
163 if (total_read == 0 || wbuf[total_read - 1] == L'\n') { in _PyOS_WindowsConsoleReadline()
168 wbuf[total_read] = '\0'; in _PyOS_WindowsConsoleReadline()
206 wbuf, total_read, in _PyOS_WindowsConsoleReadline()
218 wbuf, total_read, in _PyOS_WindowsConsoleReadline()
[all...]
/third_party/mesa3d/src/compiler/glsl/glcpp/
H A 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()
/third_party/node/deps/base64/base64/test/
H A Dbenchmark.c94 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/
H A Dstandalone.cpp341 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/
H A Dproc01.c68 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/node/deps/v8/third_party/zlib/contrib/minizip/
H A Dminizip.c191 unsigned long total_read = 0; in getFileCrc() local
211 total_read += size_read; in getFileCrc()
/third_party/skia/third_party/externals/zlib/contrib/minizip/
H A Dminizip.c192 unsigned long total_read = 0; in getFileCrc() local
212 total_read += size_read; in getFileCrc()
/third_party/curl/lib/
H A Dkrb5.c564 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/ffmpeg/libavformat/
H A Dmpeg.c927 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()
/third_party/backends/backend/
H A Dhp3500.c1248 int total_read = 0; in rt_execute_commands() local
1252 bytes = receive_bytes_outstanding - total_read; in rt_execute_commands()
1255 readbuf + total_read, &bytes); in rt_execute_commands()
1257 total_read += bytes; in rt_execute_commands()
1261 while (total_read < receive_bytes_outstanding); in rt_execute_commands()

Completed in 12 milliseconds