Home
last modified time | relevance | path

Searched refs:kInvalidFd (Results 1 – 16 of 16) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_coverage_libcdep.cc74 static fd_t cov_fd = kInvalidFd;
194 if (pc_fd == kInvalidFd) { in DirectOpen()
204 pc_fd = kInvalidFd; in Init()
272 if (pc_fd != kInvalidFd) { in Disable()
274 pc_fd = kInvalidFd; in Disable()
325 if (pc_fd == kInvalidFd) DirectOpen(); in Extend()
326 CHECK_NE(pc_fd, kInvalidFd); in Extend()
546 if (cov_fd == kInvalidFd) return; in CovWritePacked()
602 if (fd == kInvalidFd) in CovOpenFile()
625 if (fd == kInvalidFd) return; in DumpTrace()
[all …]
Dsanitizer_posix_libcdep.cc336 if (stdin_fd != kInvalidFd) { in StartSubprocess()
339 if (stdout_fd != kInvalidFd) { in StartSubprocess()
342 if (stderr_fd != kInvalidFd) { in StartSubprocess()
359 if (stdin_fd != kInvalidFd) { in StartSubprocess()
364 if (stdout_fd != kInvalidFd) { in StartSubprocess()
369 if (stderr_fd != kInvalidFd) { in StartSubprocess()
Dsanitizer_symbolizer_libcdep.cc352 input_fd_(kInvalidFd), in SymbolizerProcess()
353 output_fd_(kInvalidFd), in SymbolizerProcess()
377 if (input_fd_ == kInvalidFd || output_fd_ == kInvalidFd) in SendCommandImpl()
387 if (input_fd_ != kInvalidFd) in Restart()
389 if (output_fd_ != kInvalidFd) in Restart()
Dsanitizer_common.cc45 if (fd != kInvalidFd) { in ReopenIfNecessary()
63 if (fd == kInvalidFd) { in ReopenIfNecessary()
84 if (fd != kStdoutFd && fd != kStderrFd && fd != kInvalidFd) in SetReportPath()
86 fd = kInvalidFd; in SetReportPath()
133 if (fd == kInvalidFd) return false; in ReadFileToBuffer()
Dsanitizer_win.cc415 if (fd == kInvalidFd) in GetPreferredBase()
557 CHECK(res != kStdoutFd || kStdoutFd == kInvalidFd); in OpenFile()
558 CHECK(res != kStderrFd || kStderrFd == kInvalidFd); in OpenFile()
559 if (res == kInvalidFd && last_error) in OpenFile()
570 CHECK(fd != kInvalidFd); in ReadFromFile()
591 CHECK(fd != kInvalidFd); in WriteToFile()
Dsanitizer_libc.h64 const fd_t kInvalidFd = (fd_t)-1; variable
Dsanitizer_coverage_mapping_libcdep.cc100 if (map_fd == kInvalidFd) { in CovUpdateMapping()
Dsanitizer_posix.cc217 return kInvalidFd; in OpenFile()
252 CHECK(fd != kInvalidFd); in MapFileToMemory()
Dsanitizer_common.h295 fd_t stdin_fd = kInvalidFd, fd_t stdout_fd = kInvalidFd,
296 fd_t stderr_fd = kInvalidFd);
Dsanitizer_symbolizer_posix_libcdep.cc116 fd_t fd = kInvalidFd; in StartSymbolizerSubprocess()
Dsanitizer_linux_libcdep.cc490 if (fd == kInvalidFd) in GetRSS()
/external/compiler-rt/lib/stats/
Dstats.cc49 if (stats_fd == kInvalidFd) { in OpenStatsFile()
61 if (!path_env || stats_fd == kInvalidFd) in WriteModuleReport()
109 if (stats_fd != 0 && stats_fd != kInvalidFd) { in WriteFullReport()
111 stats_fd = kInvalidFd; in WriteFullReport()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cc96 ASSERT_NE(fd, kInvalidFd); in TEST()
107 ASSERT_NE(fd, kInvalidFd); in TEST()
219 ASSERT_NE(fd, kInvalidFd); in TEST()
Dsanitizer_linux_test.cc276 /* stdin */ kInvalidFd, /* stdout */ pipe_fds[1]); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc153 fd_t mprof_fd = kInvalidFd; in BackgroundThread()
163 if (fd == kInvalidFd) { in BackgroundThread()
205 if (mprof_fd != kInvalidFd) in BackgroundThread()
/external/compiler-rt/lib/dfsan/
Ddfsan.cc388 if (fd == kInvalidFd) { in dfsan_fini()