Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/afl/
H A Dafl_driver.cpp255 ssize_t n_read = read(0, AflInputBuf, kMaxAflInputSize); in main() local
256 if (n_read > 0) { in main()
259 uint8_t *copy = new uint8_t[n_read]; in main()
260 memcpy(copy, AflInputBuf, n_read); in main()
262 LLVMFuzzerTestOneInput(copy, n_read); in main()
/openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/standalone/
H A DStandaloneFuzzTargetMain.c34 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()
/openbsd-src/gnu/llvm/llvm/include/llvm/Demangle/
H A DDemangle.h56 char *microsoftDemangle(const char *mangled_name, size_t *n_read, char *buf,
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp238 const uint64_t n_read = ReadFile(fd_src, offset, buffer_sp->GetBytes(), in GetFile() local
242 if (n_read == 0) in GetFile()
245 buffer_sp->GetBytes(), n_read, in GetFile()
246 error) != n_read) { in GetFile()
251 offset += n_read; in GetFile()
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DPlatform.cpp1642 const uint64_t n_read = in DownloadModuleSlice() local
1646 if (n_read == 0) { in DownloadModuleSlice()
1650 offset += n_read; in DownloadModuleSlice()
1651 total_bytes_read += n_read; in DownloadModuleSlice()
1652 dst.write(&buffer[0], n_read); in DownloadModuleSlice()