Searched refs:n_read (Results 1 - 8 of 8) sorted by relevance
/third_party/json/tests/thirdparty/Fuzzer/afl/ |
H A D | afl_driver.cpp | 268 ssize_t n_read = read(0, AflInputBuf, kMaxAflInputSize); in main() local 269 if (n_read > 0) { in main() 272 uint8_t *copy = new uint8_t[n_read]; in main() 273 memcpy(copy, AflInputBuf, n_read); in main() 280 LLVMFuzzerTestOneInput(copy, n_read); in main()
|
/third_party/json/tests/thirdparty/Fuzzer/standalone/ |
H A D | StandaloneFuzzTargetMain.c | 35 size_t n_read = fread(buf, 1, len, f); in main() local 36 assert(n_read == len); in main() 39 fprintf(stderr, "Done: %s: (%zd bytes)\n", argv[i], n_read); in main()
|
/third_party/python/Parser/ |
H A D | myreadline.c | 122 DWORD n_read, total_read, wbuflen, u8len; in _PyOS_WindowsConsoleReadline() local 127 n_read = (DWORD)-1; in _PyOS_WindowsConsoleReadline() 135 if (!ReadConsoleW(hStdIn, &wbuf[total_read], wbuflen - total_read, &n_read, NULL)) { in _PyOS_WindowsConsoleReadline() 139 if (n_read == (DWORD)-1 && (err = GetLastError()) == ERROR_OPERATION_ABORTED) { in _PyOS_WindowsConsoleReadline() 142 if (n_read == 0) { in _PyOS_WindowsConsoleReadline() 162 total_read += n_read; in _PyOS_WindowsConsoleReadline()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_headphone.c | 241 int n_read; in headphone_fast_convolute() local 246 n_read = FFMIN(ir_len, in->nb_samples); in headphone_fast_convolute() 247 for (j = 0; j < n_read; j++) { in headphone_fast_convolute() 253 for (j = n_read; j < in->nb_samples; j++) { in headphone_fast_convolute()
|
H A D | af_sofalizer.c | 463 int n_read; in sofalizer_fast_convolute() local 471 n_read = FFMIN(ir_samples, in->nb_samples); in sofalizer_fast_convolute() 472 for (j = 0; j < n_read; j++) { in sofalizer_fast_convolute() 481 for (j = n_read; j < in->nb_samples; j++) { in sofalizer_fast_convolute()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | module-bluez5-device.c | 1491 int n_read; in thread_func() local 1493 n_read = bt_process_push(u); in thread_func() 1495 if (n_read < 0) in thread_func() 1498 if (have_sink && n_read > 0) { in thread_func() 1505 bytes_to_write += n_read; in thread_func() 1507 bytes_to_write += pa_usec_to_bytes(pa_bytes_to_usec(n_read, &u->decoder_sample_spec), &u->encoder_sample_spec); in thread_func()
|
/third_party/libuv/test/ |
H A D | test-spawn.c | 2064 DWORD n_read; in spawn_stdin_stdout() local 2067 if (!ReadFile(h_stdin, buf, sizeof buf, &n_read, NULL)) { in spawn_stdin_stdout() 2071 to_write = n_read; in spawn_stdin_stdout()
|
/third_party/mesa3d/src/amd/common/ |
H A D | ac_gpu_info.c | 1353 size_t n_read = fread(ib, 1, size, f); in ac_query_gpu_info() local 1356 if (n_read != size) { in ac_query_gpu_info()
|
Completed in 13 milliseconds