Searched refs:n_read (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/afl/ |
| H A D | afl_driver.cpp | 255 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-15.0.7/compiler-rt/lib/fuzzer/standalone/ |
| H A D | StandaloneFuzzTargetMain.c | 34 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-15.0.7/llvm/include/llvm/Demangle/ |
| H A D | Demangle.h | 56 char *microsoftDemangle(const char *mangled_name, size_t *n_read, char *buf,
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/POSIX/ |
| H A D | PlatformPOSIX.cpp | 237 const uint64_t n_read = ReadFile(fd_src, offset, buffer_sp->GetBytes(), in GetFile() local 241 if (n_read == 0) in GetFile() 244 buffer_sp->GetBytes(), n_read, in GetFile() 245 error) != n_read) { in GetFile() 250 offset += n_read; in GetFile()
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | Platform.cpp | 1641 const uint64_t n_read = in DownloadModuleSlice() local 1645 if (n_read == 0) { in DownloadModuleSlice() 1649 offset += n_read; in DownloadModuleSlice() 1650 total_bytes_read += n_read; in DownloadModuleSlice() 1651 dst.write(&buffer[0], n_read); in DownloadModuleSlice()
|