Searched refs:captured_fd (Results 1 – 9 of 9) sorted by relevance
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-port.cc | 504 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() local 505 GTEST_CHECK_(captured_fd != -1) << "Unable to open temporary file " in CapturedStream() 510 const int captured_fd = mkstemp(name_template); in CapturedStream() 517 const int captured_fd = mkstemp(name_template); in CapturedStream() 521 dup2(captured_fd, fd_); in CapturedStream() 522 close(captured_fd); in CapturedStream()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-port.cc | 1054 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() local 1055 GTEST_CHECK_(captured_fd != -1) in CapturedStream() 1079 const int captured_fd = mkstemp(name_template); in CapturedStream() 1080 if (captured_fd == -1) { in CapturedStream() 1088 dup2(captured_fd, fd_); in CapturedStream() 1089 close(captured_fd); in CapturedStream()
|
/external/googletest/googletest/src/ |
D | gtest-port.cc | 1096 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() local 1097 GTEST_CHECK_(captured_fd != -1) << "Unable to open temporary file " in CapturedStream() 1127 const int captured_fd = mkstemp(name_template); in CapturedStream() 1128 if (captured_fd == -1) { in CapturedStream() 1136 dup2(captured_fd, fd_); in CapturedStream() 1137 close(captured_fd); in CapturedStream()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-port.cc | 1087 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() local 1088 GTEST_CHECK_(captured_fd != -1) << "Unable to open temporary file " in CapturedStream() 1112 const int captured_fd = mkstemp(name_template); in CapturedStream() 1113 if (captured_fd == -1) { in CapturedStream() 1121 dup2(captured_fd, fd_); in CapturedStream() 1122 close(captured_fd); in CapturedStream()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-port.cc | 1006 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() local 1007 GTEST_CHECK_(captured_fd != -1) << "Unable to open temporary file " in CapturedStream() 1034 const int captured_fd = mkstemp(name_template); in CapturedStream() 1038 dup2(captured_fd, fd_); in CapturedStream() 1039 close(captured_fd); in CapturedStream()
|
/external/llvm-project/llvm/utils/unittest/googletest/src/ |
D | gtest-port.cc | 948 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() local 949 GTEST_CHECK_(captured_fd != -1) << "Unable to open temporary file " in CapturedStream() 976 const int captured_fd = mkstemp(name_template); in CapturedStream() 980 dup2(captured_fd, fd_); in CapturedStream() 981 close(captured_fd); in CapturedStream()
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/ |
D | gtest-port.cc | 1087 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() local 1088 GTEST_CHECK_(captured_fd != -1) << "Unable to open temporary file " in CapturedStream() 1115 const int captured_fd = mkstemp(name_template); in CapturedStream() 1119 dup2(captured_fd, fd_); in CapturedStream() 1120 close(captured_fd); in CapturedStream()
|
/external/fmtlib/test/ |
D | gmock-gtest-all.cc | 8583 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() local 8584 GTEST_CHECK_(captured_fd != -1) in CapturedStream() 8611 const int captured_fd = mkstemp(name_template); in CapturedStream() 8615 dup2(captured_fd, fd_); in CapturedStream() 8616 close(captured_fd); in CapturedStream()
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/ |
D | gmock-gtest-all.cc | 9497 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() local 9498 GTEST_CHECK_(captured_fd != -1) << "Unable to open temporary file " in CapturedStream() 9525 const int captured_fd = mkstemp(name_template); in CapturedStream() 9529 dup2(captured_fd, fd_); in CapturedStream() 9530 close(captured_fd); in CapturedStream()
|