Home
last modified time | relevance | path

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

/llvm-project/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()
/llvm-project/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()
/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp241 const uint64_t n_read = ReadFile(fd_src, offset, buffer_sp->GetBytes(), in GetFile()
245 if (n_read == 0) in GetFile()
248 buffer_sp->GetBytes(), n_read, in GetFile()
249 error) != n_read) { in GetFile()
255 offset += n_read; in GetFile()
238 const uint64_t n_read = ReadFile(fd_src, offset, buffer_sp->GetBytes(), GetFile() local
/llvm-project/llvm/include/llvm/Demangle/
H A DDemangle.h51 /// If n_read is non-null and demangling was successful, it receives how many
55 char *microsoftDemangle(std::string_view mangled_name, size_t *n_read,
/llvm-project/lldb/source/Target/
H A DPlatform.cpp1761 const uint64_t n_read = in DownloadModuleSlice()
1765 if (n_read == 0) { in DownloadModuleSlice()
1769 offset += n_read; in DownloadSymbolFile()
1770 total_bytes_read += n_read; in DownloadSymbolFile()
1771 dst.write(&buffer[0], n_read); in DownloadSymbolFile()
1750 const uint64_t n_read = DownloadModuleSlice() local