Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_process_libcdep.cc32 input_fd_(kInvalidFd), in SymbolizerProcess()
33 output_fd_(kInvalidFd), in SymbolizerProcess()
57 if (input_fd_ != kInvalidFd) in Restart()
59 if (output_fd_ != kInvalidFd) in Restart()
65 if (input_fd_ == kInvalidFd || output_fd_ == kInvalidFd) in SendCommandImpl()
118 fd_t fd = kInvalidFd; in StartSymbolizerSubprocess()
Dsanitizer_coverage_libcdep.cc66 static fd_t cov_fd = kInvalidFd;
180 if (pc_fd == kInvalidFd) { in DirectOpen()
190 pc_fd = kInvalidFd; in Init()
248 if (pc_fd != kInvalidFd) { in Disable()
250 pc_fd = kInvalidFd; in Disable()
300 if (pc_fd == kInvalidFd) DirectOpen(); in Extend()
301 CHECK_NE(pc_fd, kInvalidFd); in Extend()
520 if (cov_fd == kInvalidFd) return; in CovWritePacked()
575 if (fd == kInvalidFd) in CovOpenFile()
597 if (fd == kInvalidFd) return; in DumpTrace()
[all …]
Dsanitizer_common.cc50 if (fd != kInvalidFd) { in ReopenIfNecessary()
62 if (fd == kInvalidFd) { in ReopenIfNecessary()
83 if (fd != kStdoutFd && fd != kStderrFd && fd != kInvalidFd) in SetReportPath()
85 fd = kInvalidFd; in SetReportPath()
147 if (fd == kInvalidFd) return 0; in ReadFileToBuffer()
Dsanitizer_win.cc409 CHECK(res != kStdoutFd || kStdoutFd == kInvalidFd); in OpenFile()
410 CHECK(res != kStderrFd || kStderrFd == kInvalidFd); in OpenFile()
430 CHECK(fd != kInvalidFd); in WriteToFile()
434 if (fd == 0) fd = kInvalidFd; in WriteToFile()
437 if (fd == 0) fd = kInvalidFd; in WriteToFile()
441 if (fd == kInvalidFd || in WriteToFile()
Dsanitizer_libc.h61 const fd_t kInvalidFd = (fd_t)-1; variable
Dsanitizer_posix.cc222 return kInvalidFd; in OpenFile()
257 CHECK(fd != kInvalidFd); in MapFileToMemory()
Dsanitizer_coverage_mapping_libcdep.cc105 if (map_fd == kInvalidFd) { in CovUpdateMapping()
Dsanitizer_linux_libcdep.cc477 if (fd == kInvalidFd) in GetRSS()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cc83 ASSERT_NE(fd, kInvalidFd); in TEST()
89 ASSERT_NE(fd, kInvalidFd); in TEST()
137 ASSERT_NE(fd, kInvalidFd); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc147 fd_t mprof_fd = kInvalidFd; in BackgroundThread()
157 if (fd == kInvalidFd) { in BackgroundThread()
199 if (mprof_fd != kInvalidFd) in BackgroundThread()
/external/compiler-rt/lib/dfsan/
Ddfsan.cc337 if (fd == kInvalidFd) { in dfsan_fini()