Searched refs:kInvalidFd (Results 1 – 16 of 16) sorted by relevance
74 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 …]
336 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()
352 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()
45 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()
415 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()
64 const fd_t kInvalidFd = (fd_t)-1; variable
100 if (map_fd == kInvalidFd) { in CovUpdateMapping()
217 return kInvalidFd; in OpenFile()252 CHECK(fd != kInvalidFd); in MapFileToMemory()
295 fd_t stdin_fd = kInvalidFd, fd_t stdout_fd = kInvalidFd,296 fd_t stderr_fd = kInvalidFd);
116 fd_t fd = kInvalidFd; in StartSymbolizerSubprocess()
490 if (fd == kInvalidFd) in GetRSS()
49 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()
96 ASSERT_NE(fd, kInvalidFd); in TEST()107 ASSERT_NE(fd, kInvalidFd); in TEST()219 ASSERT_NE(fd, kInvalidFd); in TEST()
276 /* stdin */ kInvalidFd, /* stdout */ pipe_fds[1]); in TEST()
153 fd_t mprof_fd = kInvalidFd; in BackgroundThread()163 if (fd == kInvalidFd) { in BackgroundThread()205 if (mprof_fd != kInvalidFd) in BackgroundThread()
388 if (fd == kInvalidFd) { in dfsan_fini()