/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream.assign/ |
D | nonmember_swap.pass.cpp | 27 std::ofstream fs1(temp1.c_str()); in main() 28 std::ofstream fs2(temp2.c_str()); in main() 36 std::ifstream fs(temp1.c_str()); in main() 43 std::remove(temp1.c_str()); in main() 45 std::ifstream fs(temp2.c_str()); in main() 52 std::remove(temp2.c_str()); in main() 54 std::wofstream fs1(temp1.c_str()); in main() 55 std::wofstream fs2(temp2.c_str()); in main() 63 std::wifstream fs(temp1.c_str()); in main() 70 std::remove(temp1.c_str()); in main() [all …]
|
D | member_swap.pass.cpp | 26 std::ofstream fs1(temp1.c_str()); in main() 27 std::ofstream fs2(temp2.c_str()); in main() 35 std::ifstream fs(temp1.c_str()); in main() 42 std::remove(temp1.c_str()); in main() 44 std::ifstream fs(temp2.c_str()); in main() 51 std::remove(temp2.c_str()); in main() 53 std::wofstream fs1(temp1.c_str()); in main() 54 std::wofstream fs2(temp2.c_str()); in main() 62 std::wifstream fs(temp1.c_str()); in main() 69 std::remove(temp1.c_str()); in main() [all …]
|
D | move_assign.pass.cpp | 26 std::ofstream fso(temp.c_str()); in main() 32 std::ifstream fs(temp.c_str()); in main() 37 std::remove(temp.c_str()); in main() 39 std::wofstream fso(temp.c_str()); in main() 45 std::wifstream fs(temp.c_str()); in main() 50 std::remove(temp.c_str()); in main()
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest-options_test.cc | 71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str()); in TEST() 76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str()); in TEST() 100 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST() 102 EXPECT_EQ(expected_output_file, output_file.c_str()); in TEST() 110 _strcmpi("gtest-options_test", exe_str.c_str()) == 0 || in TEST() 111 _strcmpi("gtest-options-ex_test", exe_str.c_str()) == 0 || in TEST() 112 _strcmpi("gtest_all_test", exe_str.c_str()) == 0 || in TEST() 113 _strcmpi("gtest_dll_test", exe_str.c_str()) == 0; in TEST() 138 posix::ChDir(original_working_dir_.string().c_str()); in TearDown() 175 EXPECT_STRCASEEQ(expected_output_file.c_str(), output_file.c_str()); in TEST_F() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream.cons/ |
D | pointer.pass.cpp | 25 std::ofstream fs(temp.c_str()); in main() 29 std::ifstream fs(temp.c_str()); in main() 34 std::remove(temp.c_str()); in main() 36 std::wofstream fs(temp.c_str()); in main() 40 std::wifstream fs(temp.c_str()); in main() 45 std::remove(temp.c_str()); in main()
|
D | move.pass.cpp | 26 std::ofstream fso(temp.c_str()); in main() 31 std::ifstream fs(temp.c_str()); in main() 36 std::remove(temp.c_str()); in main() 38 std::wofstream fso(temp.c_str()); in main() 43 std::wifstream fs(temp.c_str()); in main() 48 std::remove(temp.c_str()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fstream.assign/ |
D | nonmember_swap.pass.cpp | 27 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out in main() 29 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out in main() 47 std::remove(temp1.c_str()); in main() 48 std::remove(temp2.c_str()); in main() 50 std::wfstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out in main() 52 std::wfstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out in main() 70 std::remove(temp1.c_str()); in main() 71 std::remove(temp2.c_str()); in main()
|
D | member_swap.pass.cpp | 26 std::fstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out in main() 28 std::fstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out in main() 46 std::remove(temp1.c_str()); in main() 47 std::remove(temp2.c_str()); in main() 49 std::wfstream fs1(temp1.c_str(), std::ios_base::in | std::ios_base::out in main() 51 std::wfstream fs2(temp2.c_str(), std::ios_base::in | std::ios_base::out in main() 69 std::remove(temp1.c_str()); in main() 70 std::remove(temp2.c_str()); in main()
|
D | move_assign.pass.cpp | 26 std::fstream fso(temp.c_str(), std::ios_base::in | std::ios_base::out in main() 36 std::remove(temp.c_str()); in main() 38 std::wfstream fso(temp.c_str(), std::ios_base::in | std::ios_base::out in main() 48 std::remove(temp.c_str()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream.members/ |
D | open_pointer.pass.cpp | 30 fs.open(temp.c_str()); in main() 35 std::ifstream fs(temp.c_str()); in main() 40 std::remove(temp.c_str()); in main() 47 fs.open(temp.c_str()); in main() 52 std::wifstream fs(temp.c_str()); in main() 57 std::remove(temp.c_str()); in main()
|
D | rdbuf.pass.cpp | 25 std::ofstream fs(temp.c_str()); in main() 29 std::remove(temp.c_str()); in main() 31 std::wofstream fs(temp.c_str()); in main() 35 std::remove(temp.c_str()); in main()
|
D | close.pass.cpp | 27 fs.open(temp.c_str()); in main() 32 std::remove(temp.c_str()); in main() 36 fs.open(temp.c_str()); in main() 41 std::remove(temp.c_str()); in main()
|
D | open_string.pass.cpp | 35 std::ifstream fs(temp.c_str()); in main() 40 std::remove(temp.c_str()); in main() 52 std::wifstream fs(temp.c_str()); in main() 57 std::remove(temp.c_str()); in main()
|
/ndk/sources/third_party/googletest/googletest/src/ |
D | gtest-filepath.cc | 132 const char* const last_sep = strrchr(c_str(), kPathSeparator); in FindLastPathSeparator() 134 const char* const last_alt_sep = strrchr(c_str(), kAlternatePathSeparator); in FindLastPathSeparator() 165 dir = std::string(c_str(), last_sep + 1 - c_str()); in RemoveFileName() 206 LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str()); in FileOrDirectoryExists() 212 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 230 LPCWSTR unicode = String::AnsiToUtf16(path.c_str()); in DirectoryExists() 239 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 255 return pathname_.length() == 1 && IsPathSeparator(pathname_.c_str()[0]); in IsRootDirectory() 261 const char* const name = pathname_.c_str(); in IsAbsolutePath() 297 IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); in IsDirectory() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/re.submatch.op/ |
D | compare.pass.cpp | 251 assert((x.c_str() == sm2) == (x == y)); in test() 252 assert((x.c_str() != sm2) == (x != y)); in test() 253 assert((x.c_str() < sm2) == (x < y)); in test() 254 assert((x.c_str() > sm2) == (x > y)); in test() 255 assert((x.c_str() <= sm2) == (x <= y)); in test() 256 assert((x.c_str() >= sm2) == (x >= y)); in test() 257 assert((sm1 == y.c_str()) == (x == y)); in test() 258 assert((sm1 != y.c_str()) == (x != y)); in test() 259 assert((sm1 < y.c_str()) == (x < y)); in test() 260 assert((sm1 > y.c_str()) == (x > y)); in test() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.members/ |
D | open_pointer.pass.cpp | 23 assert(f.open(temp.c_str(), std::ios_base::out) != 0); in main() 29 assert(f.open(temp.c_str(), std::ios_base::in) != 0); in main() 35 std::remove(temp.c_str()); in main() 38 assert(f.open(temp.c_str(), std::ios_base::out) != 0); in main() 44 assert(f.open(temp.c_str(), std::ios_base::in) != 0); in main() 50 remove(temp.c_str()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fstream.members/ |
D | close.pass.cpp | 27 fs.open(temp.c_str(), std::ios_base::out); in main() 32 std::remove(temp.c_str()); in main() 36 fs.open(temp.c_str(), std::ios_base::out); in main() 41 std::remove(temp.c_str()); in main()
|
D | open_pointer.pass.cpp | 27 fs.open(temp.c_str(), std::ios_base::in | std::ios_base::out in main() 36 std::remove(temp.c_str()); in main() 40 fs.open(temp.c_str(), std::ios_base::in | std::ios_base::out in main() 49 std::remove(temp.c_str()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fstream.cons/ |
D | pointer.pass.cpp | 25 std::fstream fs(temp.c_str(), std::ios_base::in | std::ios_base::out in main() 33 std::remove(temp.c_str()); in main() 35 std::wfstream fs(temp.c_str(), std::ios_base::in | std::ios_base::out in main() 43 std::remove(temp.c_str()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.assign/ |
D | nonmember_swap.pass.cpp | 28 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in in main() 40 std::remove(temp.c_str()); in main() 43 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in in main() 55 std::remove(temp.c_str()); in main()
|
D | member_swap.pass.cpp | 26 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in in main() 38 std::remove(temp.c_str()); in main() 41 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in in main() 53 std::remove(temp.c_str()); in main()
|
D | move_assign.pass.cpp | 27 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in in main() 39 std::remove(temp.c_str()); in main() 42 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in in main() 54 std::remove(temp.c_str()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.cons/ |
D | move.pass.cpp | 27 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in in main() 38 std::remove(temp.c_str()); in main() 41 assert(f.open(temp.c_str(), std::ios_base::out | std::ios_base::in in main() 52 std::remove(temp.c_str()); in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | stdexcept.cpp | 30 logic_error::logic_error(const string& msg) : __imp_(msg.c_str()) in logic_error() 58 return __imp_.c_str(); in what() 63 runtime_error::runtime_error(const string& msg) : __imp_(msg.c_str()) in runtime_error() 92 return __imp_.c_str(); in what()
|
/ndk/sources/host-tools/ndk-depends/ |
D | ndk-depends.cc | 94 int len = MultiByteToWideChar(CP_ACP, 0, s.c_str(), s_len, 0, 0); in __s2ws() 96 MultiByteToWideChar(CP_ACP, 0, s.c_str(), s_len, &result[0], len); in __s2ws() 106 #define TO_CONST_TCHAR(x) TO_STRING(x).c_str() 837 pattern.c_str()); in AddHostLdSoConfPaths() 841 int ret = ::glob(pattern.c_str(), 0, NULL, &the_glob); in AddHostLdSoConfPaths() 847 DLOG("%s: Including %s\n", __FUNCTION__, filepath.c_str()); in AddHostLdSoConfPaths() 848 AddHostLdSoConfPaths(filepath.c_str(), lib_search_path); in AddHostLdSoConfPaths() 862 if (::stat(dirpath.c_str(), &st) != 0) { in AddHostLdSoConfPaths() 863 LOG("Could not stat(): %s: %s\n", dirpath.c_str(), strerror(errno)); in AddHostLdSoConfPaths() 865 LOG("Not a directory: %s\n", dirpath.c_str()); in AddHostLdSoConfPaths() [all …]
|