Searched refs:posix (Results 1 - 20 of 20) sorted by relevance

/gem5/ext/googletest/googletest/test/
H A Dgtest_premature_exit_test.cc41 using ::testing::internal::posix::GetEnv;
42 using ::testing::internal::posix::Stat;
43 using ::testing::internal::posix::StatStruct;
H A Dgtest_repeat_test.cc72 ::testing::internal::posix::Abort();\
116 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), "");
119 EXPECT_DEATH_IF_SUPPORTED(::testing::internal::posix::Abort(), "");
H A Dgtest-options_test.cc131 posix::ChDir("..");
138 posix::ChDir(original_working_dir_.string().c_str());
H A Dgtest_environment_test.cc119 testing::internal::posix::Abort();
H A Dgtest_output_test_.cc60 namespace posix = ::testing::internal::posix;
1044 posix::FReopen("nul:", "w", stdout);
1046 posix::FReopen("/dev/null", "w", stdout);
H A Dgtest-filepath_test.cc90 posix::ChDir(GTEST_PATH_SEP_);
92 posix::ChDir(original_dir.c_str());
507 posix::RmDir(testdata_path_.c_str());
514 posix::RmDir(testdata_path_.c_str());
518 FILE* f = posix::FOpen(filename, "w");
H A Dgtest-death-test_test.cc69 namespace posix = ::testing::internal::posix;
136 posix::ChDir(original_dir_.c_str());
359 void ChangeToRootDir() { posix::ChDir(GTEST_PATH_SEP_); }
H A Dgtest_unittest.cc6416 testing::internal::posix::RmDir(testdata_path_.c_str());
6421 testing::internal::posix::RmDir(testdata_path_.c_str());
6428 FILE* f = testing::internal::posix::FOpen(file_path.c_str(), "w");
/gem5/ext/googletest/googletest/src/
H A Dgtest-filepath.cc216 posix::StatStruct file_stat;
217 return posix::Stat(pathname_.c_str(), &file_stat) == 0;
243 posix::StatStruct file_stat;
244 result = posix::Stat(path.c_str(), &file_stat) == 0 &&
245 posix::IsDir(file_stat);
H A Dgtest-test-part.cc76 internal::posix::Abort();
H A Dgtest-typed-test.cc109 posix::Abort();
H A Dgtest-port.cc595 pattern_ = posix::StrDup(regex);
844 pattern_ = posix::StrDup(regex);
923 posix::Abort();
997 FILE* const file = posix::FOpen(filename_.c_str(), "r");
999 posix::FClose(file);
1062 const char* temp_dir = posix::GetEnv("TEMP");
1123 namespace posix {
1128 } // namespace posix
1196 const char* const string_value = posix::GetEnv(env_var.c_str());
1209 const char* const string_value = posix
[all...]
H A Dgtest-death-test.cc269 FILE* parent = posix::FDOpen(flag->write_fd(), "w");
277 posix::Abort();
316 return errno == 0 ? "" : posix::StrError(errno);
329 while ((num_read = posix::Read(fd, buffer, 255)) > 0) {
445 bytes_read = posix::Read(read_fd(), &flag, 1);
473 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Close(read_fd()));
489 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1));
916 args_.insert(args_.end() - 1, posix::StrDup(argument));
924 args_.insert(args_.end() - 1, posix::StrDup(i->c_str()));
H A Dgtest.cc1910 return posix::StrCaseCmp(lhs, rhs) == 0;
2031 internal::posix::Abort();
2040 internal::posix::Abort();
2926 const char* const term = posix::GetEnv("TERM");
2965 ShouldUseColor(posix::IsATTY(posix::FileNo(stdout)) != 0);
3075 internal::posix::GetEnv(kTestTotalShards));
3439 xmlout = posix::FOpen(output_file_.c_str(), "w");
3868 FILE* pfile = posix::FOpen(premature_exit_filepath, "w");
4212 NULL : internal::posix
[all...]
/gem5/ext/googletest/googlemock/src/
H A Dgmock-internal-utils.cc87 posix::Abort();
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h245 posix::Close(write_fd_);
H A Dgtest-internal.h562 posix::Abort();
686 posix::Abort();
H A Dgtest-param-util.h693 posix::Abort();
H A Dgtest-port.h390 // Brings in definitions for functions used in the testing::internal::posix
2291 // The testing::internal::posix namespace holds wrappers for common
2297 namespace posix { namespace in namespace:testing::internal
2413 } // namespace posix
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h2278 posix::Abort(); // To make sure it is never run.

Completed in 117 milliseconds