/external/pigweed/pw_stream/ |
D | socket_stream.cc | 27 if (socket_fd_ == kInvalidFd) { in Serve() 82 if (socket_fd_ != kInvalidFd) { in Close() 84 socket_fd_ = kInvalidFd; in Close() 87 if (conn_fd_ != kInvalidFd) { in Close() 89 conn_fd_ = kInvalidFd; in Close()
|
/external/pigweed/pw_stream/public/pw_stream/ |
D | socket_stream.h | 32 static constexpr int kInvalidFd = -1; variable 55 int socket_fd_ = kInvalidFd; 56 int conn_fd_ = kInvalidFd;
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_file.cpp | 44 if (fd != kInvalidFd) { in ReopenIfNecessary() 63 if (fd == kInvalidFd) { in ReopenIfNecessary() 86 if (fd != kStdoutFd && fd != kStderrFd && fd != kInvalidFd) in SetReportPath() 88 fd = kInvalidFd; in SetReportPath() 120 if (fd == kInvalidFd) { in ReadFileToBuffer() 156 if (fd == kInvalidFd) in ReadFileToVector()
|
D | sanitizer_file.h | 91 const char *const envp[], fd_t stdin_fd = kInvalidFd, 92 fd_t stdout_fd = kInvalidFd, fd_t stderr_fd = kInvalidFd);
|
D | sanitizer_posix_libcdep.cpp | 428 if (stdin_fd != kInvalidFd) { in StartSubprocess() 431 if (stdout_fd != kInvalidFd) { in StartSubprocess() 434 if (stderr_fd != kInvalidFd) { in StartSubprocess() 451 if (stdin_fd != kInvalidFd) { in StartSubprocess() 456 if (stdout_fd != kInvalidFd) { in StartSubprocess() 461 if (stderr_fd != kInvalidFd) { in StartSubprocess()
|
D | sanitizer_mac.cpp | 255 fd_t master_fd = kInvalidFd; in internal_spawn_impl() 256 fd_t slave_fd = kInvalidFd; in internal_spawn_impl() 267 if (master_fd == kInvalidFd) return kInvalidFd; in internal_spawn_impl() 270 if (res != 0) return kInvalidFd; in internal_spawn_impl() 275 if (res == -1) return kInvalidFd; in internal_spawn_impl() 278 if (slave_fd == kInvalidFd) return kInvalidFd; in internal_spawn_impl() 283 if (res != 0) return kInvalidFd; in internal_spawn_impl() 292 if (res != 0) return kInvalidFd; in internal_spawn_impl() 297 if (res != 0) return kInvalidFd; in internal_spawn_impl() 306 if (res != 0) return kInvalidFd; in internal_spawn_impl() [all …]
|
D | sanitizer_symbolizer_libcdep.cpp | 458 input_fd_(kInvalidFd), in SymbolizerProcess() 459 output_fd_(kInvalidFd), in SymbolizerProcess() 499 if (input_fd_ == kInvalidFd || output_fd_ == kInvalidFd) in SendCommandImpl() 509 if (input_fd_ != kInvalidFd) in Restart() 511 if (output_fd_ != kInvalidFd) in Restart()
|
D | sanitizer_win.cpp | 569 if (fd == kInvalidFd) in GetPreferredBase() 715 CHECK(res != kStdoutFd || kStdoutFd == kInvalidFd); in OpenFile() 716 CHECK(res != kStderrFd || kStderrFd == kInvalidFd); in OpenFile() 717 if (res == kInvalidFd && last_error) in OpenFile() 728 CHECK(fd != kInvalidFd); in ReadFromFile() 749 CHECK(fd != kInvalidFd); in WriteToFile()
|
D | sanitizer_posix.cpp | 155 return kInvalidFd; in OpenFile() 164 return kInvalidFd; in OpenFile() 194 CHECK(fd != kInvalidFd); in MapFileToMemory()
|
D | sanitizer_libc.h | 61 #define kInvalidFd ((fd_t)-1) macro
|
/external/llvm-project/compiler-rt/lib/stats/ |
D | stats.cpp | 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()
|
/external/compiler-rt/lib/stats/ |
D | stats.cc | 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()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_coverage_libcdep.cc | 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 …]
|
D | sanitizer_posix_libcdep.cc | 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()
|
D | sanitizer_symbolizer_libcdep.cc | 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()
|
D | sanitizer_common.cc | 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()
|
D | sanitizer_win.cc | 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()
|
D | sanitizer_libc.h | 64 const fd_t kInvalidFd = (fd_t)-1; variable
|
D | sanitizer_coverage_mapping_libcdep.cc | 100 if (map_fd == kInvalidFd) { in CovUpdateMapping()
|
D | sanitizer_posix.cc | 217 return kInvalidFd; in OpenFile() 252 CHECK(fd != kInvalidFd); in MapFileToMemory()
|
D | sanitizer_common.h | 295 fd_t stdin_fd = kInvalidFd, fd_t stdout_fd = kInvalidFd, 296 fd_t stderr_fd = kInvalidFd);
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | MemoryObjectVk.cpp | 85 if (mFd != kInvalidFd) in onDestroy() 88 mFd = kInvalidFd; in onDestroy() 143 ASSERT(mFd == kInvalidFd); in importOpaqueFd() 144 ASSERT(fd != kInvalidFd); in importOpaqueFd() 230 ASSERT(mFd != kInvalidFd); in createImage()
|
D | MemoryObjectVk.h | 49 static constexpr int kInvalidFd = -1; 58 int mFd = kInvalidFd;
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_libc_test.cpp | 110 ASSERT_NE(fd, kInvalidFd); in TEST() 115 ASSERT_NE(fd, kInvalidFd); in TEST() 129 ASSERT_NE(fd, kInvalidFd); in TEST() 293 ASSERT_NE(fd, kInvalidFd); in TEST()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_libc_test.cc | 96 ASSERT_NE(fd, kInvalidFd); in TEST() 107 ASSERT_NE(fd, kInvalidFd); in TEST() 219 ASSERT_NE(fd, kInvalidFd); in TEST()
|