Home
last modified time | relevance | path

Searched refs:n_read (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Fuzzer/afl/
Dafl_driver.cpp262 ssize_t n_read = read(0, AflInputBuf, kMaxAflInputSize); in main() local
263 if (n_read > 0) { in main()
266 uint8_t *copy = new uint8_t[n_read]; in main()
267 memcpy(copy, AflInputBuf, n_read); in main()
273 LLVMFuzzerTestOneInput(copy, n_read); in main()
/external/libevent/test/
Dbench_httpclient.c64 size_t n_read; member
79 ri->n_read += n; in readcb()
90 total_n_bytes += ri->n_read; in errorcb()
162 ri->n_read = 0; in launch_request()
Dregress.c2064 ev_ssize_t n_read; in re_add_read_cb() local
2068 n_read = read(fd, buf, sizeof(buf)); in re_add_read_cb()
2070 if (n_read < 0) { in re_add_read_cb()
/external/python/cpython3/Parser/
Dmyreadline.c112 DWORD n_read, total_read, wbuflen, u8len; in _PyOS_WindowsConsoleReadline() local
117 n_read = 0; in _PyOS_WindowsConsoleReadline()
122 if (!ReadConsoleW(hStdIn, &wbuf[total_read], wbuflen - total_read, &n_read, NULL)) { in _PyOS_WindowsConsoleReadline()
126 if (n_read == 0) { in _PyOS_WindowsConsoleReadline()
149 total_read += n_read; in _PyOS_WindowsConsoleReadline()
/external/libevent/
Dbufferevent_openssl.c282 unsigned long n_read; member
554 bev_ssl->counts.n_read = rbio ? BIO_number_read(rbio) : 0; in init_bio_counts()
564 unsigned long r = num_r - bev_ssl->counts.n_read; in decrement_buckets()
570 bev_ssl->counts.n_read = num_r; in decrement_buckets()
Devmap.c949 int n_read = 0, n_write = 0, n_close = 0; local
961 ++n_read;
968 EVUTIL_ASSERT(n_read == io_info->nread);