/ndk/tests/abcc/jni/host/ |
D | Abcc_host.h | 37 std::string mIn; 38 std::string mOut; 39 std::string mNDKDir; // empty string if standalone mode 40 std::string mPlatform; 41 std::string mToolchainBinPath; // Used at ndk mode to prevent tedious path issue 42 std::map<std::string, std::string> mRuntimePath; // mappings of library name and full path 45 …HostBitcodeCompiler(const std::string &abi, const std::string &sysroot, const std::string &toolcha… 46 … const std::string &input, const std::string &output, const std::string &working_dir, 47 const std::string &platform, const bool savetemps, bool bit32 = true); 48 …HostBitcodeCompiler(const std::string &abi, const std::string &sysroot, const std::string &ndk_dir… [all …]
|
D | Abcc_host.cpp | 23 …itcodeCompiler::HostBitcodeCompiler(const std::string &abi, const std::string &sysroot, const std:… in HostBitcodeCompiler() 24 … const std::string &input, const std::string &output, const std::string &working_dir, in HostBitcodeCompiler() 25 … const std::string &platform, const bool savetemps, bool bit32) in HostBitcodeCompiler() 31 …::HostBitcodeCompiler(const std::string &abi, const std::string &sysroot, const std::string &ndk_d… in HostBitcodeCompiler() 32 … const std::string &input, const std::string &output, const std::string &working_dir, in HostBitcodeCompiler() 33 … const std::string &platform, const bool savetemps, bool bit32) in HostBitcodeCompiler() 50 const std::string HostBitcodeCompiler::getRuntimePath(const std::string &libname) { in getRuntimePath() 57 int HostBitcodeCompiler::parseLDFlags(BitcodeInfo &info, const std::string &orig_str) { in parseLDFlags() 62 std::string str; in parseLDFlags() 64 if (str.find("--sysroot") != std::string::npos) { in parseLDFlags() [all …]
|
D | main.cpp | 23 std::string &abi, std::string &ndk_dir, std::string &sysroot, in parseArguments() 24 … std::string &input, std::string &output, std::string &platform, bool &savetemps) { in parseArguments() 28 std::string arg = argv[idx++]; in parseArguments() 29 if (arg.find("--abi=") != std::string::npos) { in parseArguments() 33 if (arg.find("--ndk-dir=") != std::string::npos) { in parseArguments() 37 if (arg.find("--sysroot=") != std::string::npos) { in parseArguments() 41 if (arg.find("--platform=") != std::string::npos) { in parseArguments() 45 if (arg.find("--file") != std::string::npos) { in parseArguments() 68 std::string this_bin = argv[0]; in main() 69 std::string cwd; in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.traits/ |
D | lookup_collatename.pass.cpp | 34 test("NUL", std::string("\x00", 1)); in main() 35 test("alert", std::string("\x07")); in main() 36 test("backspace", std::string("\x08")); in main() 37 test("tab", std::string("\x09")); in main() 38 test("carriage-return", std::string("\x0D")); in main() 39 test("newline", std::string("\x0A")); in main() 40 test("vertical-tab", std::string("\x0B")); in main() 41 test("form-feed", std::string("\x0C")); in main() 42 test("space", std::string(" ")); in main() 43 test("exclamation-mark", std::string("!")); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.construct/ |
D | string_flg.pass.cpp | 32 test(std::string("\\(a\\)"), std::regex_constants::basic, 1); in main() 33 test(std::string("\\(a[bc]\\)"), std::regex_constants::basic, 1); in main() 34 test(std::string("\\(a\\([bc]\\)\\)"), std::regex_constants::basic, 2); in main() 35 test(std::string("(a([bc]))"), std::regex_constants::basic, 0); in main() 37 test(std::string("\\(a\\)"), std::regex_constants::extended, 0); in main() 38 test(std::string("\\(a[bc]\\)"), std::regex_constants::extended, 0); in main() 39 test(std::string("\\(a\\([bc]\\)\\)"), std::regex_constants::extended, 0); in main() 40 test(std::string("(a([bc]))"), std::regex_constants::extended, 2); in main() 42 test(std::string("\\(a\\)"), std::regex_constants::ECMAScript, 0); in main() 43 test(std::string("\\(a[bc]\\)"), std::regex_constants::ECMAScript, 0); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.alg/re.alg.replace/ |
D | test3.pass.cpp | 27 std::string phone_book("555-1234, 555-2345, 555-3456"); in main() 28 std::string r = std::regex_replace(phone_book, phone_numbers, in main() 29 std::string("123-$&")); in main() 34 std::string phone_book("555-1234, 555-2345, 555-3456"); in main() 35 std::string r = std::regex_replace(phone_book, phone_numbers, in main() 36 std::string("123-$&"), in main() 42 std::string phone_book("555-1234, 555-2345, 555-3456"); in main() 43 std::string r = std::regex_replace(phone_book, phone_numbers, in main() 44 std::string("123-&"), in main() 50 std::string phone_book("555-1234, 555-2345, 555-3456"); in main() [all …]
|
D | test4.pass.cpp | 26 std::string phone_book("555-1234, 555-2345, 555-3456"); in main() 27 std::string r = std::regex_replace(phone_book, phone_numbers, in main() 33 std::string phone_book("555-1234, 555-2345, 555-3456"); in main() 34 std::string r = std::regex_replace(phone_book, phone_numbers, in main() 41 std::string phone_book("555-1234, 555-2345, 555-3456"); in main() 42 std::string r = std::regex_replace(phone_book, phone_numbers, in main() 49 std::string phone_book("555-1234, 555-2345, 555-3456"); in main() 50 std::string r = std::regex_replace(phone_book, phone_numbers, in main() 57 std::string phone_book("555-1234, 555-2345, 555-3456"); in main() 58 std::string r = std::regex_replace(phone_book, phone_numbers, in main() [all …]
|
D | test5.pass.cpp | 28 std::string r = std::regex_replace(phone_book, phone_numbers, in main() 29 std::string("123-$&")); in main() 35 std::string r = std::regex_replace(phone_book, phone_numbers, in main() 36 std::string("123-$&"), in main() 43 std::string r = std::regex_replace(phone_book, phone_numbers, in main() 44 std::string("123-&"), in main() 51 std::string r = std::regex_replace(phone_book, phone_numbers, in main() 52 std::string("123-$&"), in main() 59 std::string r = std::regex_replace(phone_book, phone_numbers, in main() 60 std::string("123-$&"), in main() [all …]
|
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest-options_test.cc | 81 EXPECT_EQ(GetAbsolutePathOf(FilePath("test_detail.xml")).string(), in TEST() 87 EXPECT_EQ(GetAbsolutePathOf(FilePath("filename.abc")).string(), in TEST() 93 const std::string expected_output_file = in TEST() 95 FilePath(std::string("path") + GTEST_PATH_SEP_ + in TEST() 96 GetCurrentExecutableName().string() + ".xml")).string(); in TEST() 97 const std::string& output_file = in TEST() 107 const std::string exe_str = GetCurrentExecutableName().string(); in TEST() 133 EXPECT_NE(original_working_dir_.string(), in SetUp() 134 FilePath::GetCurrentDir().string()); in SetUp() 138 posix::ChDir(original_working_dir_.string().c_str()); in TearDown() [all …]
|
D | gtest-filepath_test.cc | 103 EXPECT_EQ(GTEST_PATH_SEP_, cwd.string()); 123 EXPECT_EQ("", FilePath("").RemoveDirectoryName().string()); in TEST() 129 FilePath("afile").RemoveDirectoryName().string()); in TEST() 135 FilePath(GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string()); in TEST() 141 FilePath("adir" GTEST_PATH_SEP_).RemoveDirectoryName().string()); in TEST() 147 FilePath("adir" GTEST_PATH_SEP_ "afile").RemoveDirectoryName().string()); in TEST() 154 .RemoveDirectoryName().string()); in TEST() 164 EXPECT_EQ("afile", FilePath("/afile").RemoveDirectoryName().string()); in TEST() 169 EXPECT_EQ("", FilePath("adir/").RemoveDirectoryName().string()); in TEST() 174 EXPECT_EQ("afile", FilePath("adir/afile").RemoveDirectoryName().string()); in TEST() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | string.cpp | 31 string 32 operator+<char, char_traits<char>, allocator<char> >(char const*, string const&); 39 void throw_helper( const string& msg ) in throw_helper() 50 void throw_from_string_out_of_range( const string& func ) in throw_from_string_out_of_range() 56 void throw_from_string_invalid_arg( const string& func ) in throw_from_string_invalid_arg() 66 as_integer_helper(const string& func, const S& str, size_t* idx, int base, F f) in as_integer_helper() 86 as_integer(const string& func, const S& s, size_t* idx, int base); 92 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() 104 as_integer(const string& func, const string& s, size_t* idx, int base ) in as_integer() 112 as_integer( const string& func, const string& s, size_t* idx, int base ) in as_integer() [all …]
|
D | system_error.cpp | 45 string 48 return string(strerror(ev)); in message() 56 virtual string message(int ev) const; 65 string 70 return string("unspecified generic_category error"); in message() 73 return string("unspecified generic_category error"); in message() 90 virtual string message(int ev) const; 100 string 105 return string("unspecified system_category error"); in message() 108 return string("unspecified system_category error"); in message() [all …]
|
/ndk/tests/abcc/jni/ |
D | Abcc.h | 69 TargetAbi(const std::string &abi); 117 typedef std::map<std::string/*soname*/, BitcodeInfo> SONameMap; 122 BitcodeInfo(const std::string &bc); 129 std::string mBCPath; 130 std::string mTargetBCPath; 131 std::string mObjPath; 132 std::string mOutPath; 133 std::string mSOName; 134 std::string mLDFlags; // --no-undefined, ... 135 std::string mLDLocalLibsStr; // i.e.: ./obj/local/.../libxxx.a [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/ |
D | put2.pass.cpp | 49 std::string ex(str, iter.base()); in main() 54 std::string ex(str, iter.base()); in main() 59 std::string ex(str, iter.base()); in main() 64 std::string ex(str, iter.base()); in main() 69 std::string ex(str, iter.base()); in main() 74 std::string ex(str, iter.base()); in main() 79 std::string ex(str, iter.base()); in main() 84 std::string ex(str, iter.base()); in main() 89 std::string ex(str, iter.base()); in main() 94 std::string ex(str, iter.base()); in main() [all …]
|
/ndk/tests/device/test-stlport/unit/ |
D | string_test.cpp | 140 static string func(const string& par) { in func() 141 string tmp( par ); in func() 152 string s( "qyweyuewunfkHBUKGYUGL,wehbYGUW^(@T@H!BALWD:h^&@#*@(#:JKHWJ:CND" ); in f() 155 string sx = func( s ); in f() 173 string s((size_t)-1, 'a'); in constructor() 187 string s( "message" ); in trivial_char_compare() 195 string s; in reserve() 256 string const ref_short_str1("str1"), ref_short_str2("str2"); in short_string() 257 string short_str1(ref_short_str1), short_str2(ref_short_str2); in short_string() 258 string const ref_long_str1("str 1"); in short_string() [all …]
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | string_test.cpp | 140 static string func(const string& par) { in func() 141 string tmp( par ); in func() 152 string s( "qyweyuewunfkHBUKGYUGL,wehbYGUW^(@T@H!BALWD:h^&@#*@(#:JKHWJ:CND" ); in f() 155 string sx = func( s ); in f() 173 string s((size_t)-1, 'a'); in constructor() 187 string s( "message" ); in trivial_char_compare() 195 string s; in reserve() 256 string const ref_short_str1("str1"), ref_short_str2("str2"); in short_string() 257 string short_str1(ref_short_str1), short_str2(ref_short_str2); in short_string() 258 string const ref_long_str1("str 1"); in short_string() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
D | overflow.pass.cpp | 25 assert(sb.str() == std::string("1bc")); in main() 27 assert(sb.str() == std::string("12c")); in main() 29 assert(sb.str() == std::string("123")); in main() 31 assert(sb.str() == std::string("1234")); in main() 33 assert(sb.str() == std::string("12345")); in main() 35 assert(sb.str() == std::string("123456")); in main() 37 assert(sb.str() == std::string("1234567")); in main() 39 assert(sb.str() == std::string("12345678")); in main() 41 assert(sb.str() == std::string("123456789")); in main() 43 assert(sb.str() == std::string("1234567890")); in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/ |
D | max_load_factor.pass.cpp | 32 typedef std::unordered_multimap<int, std::string> C; in main() 33 typedef std::pair<int, std::string> P; in main() 38 typedef std::unordered_multimap<int, std::string> C; in main() 39 typedef std::pair<int, std::string> P; in main() 47 typedef std::unordered_multimap<int, std::string, std::hash<int>, std::equal_to<int>, in main() 48 min_allocator<std::pair<const int, std::string>>> C; in main() 49 typedef std::pair<int, std::string> P; in main() 54 typedef std::unordered_multimap<int, std::string, std::hash<int>, std::equal_to<int>, in main() 55 min_allocator<std::pair<const int, std::string>>> C; in main() 56 typedef std::pair<int, std::string> P; in main() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/ |
D | max_load_factor.pass.cpp | 32 typedef std::unordered_map<int, std::string> C; in main() 33 typedef std::pair<int, std::string> P; in main() 38 typedef std::unordered_map<int, std::string> C; in main() 39 typedef std::pair<int, std::string> P; in main() 47 typedef std::unordered_map<int, std::string, std::hash<int>, std::equal_to<int>, in main() 48 min_allocator<std::pair<const int, std::string>>> C; in main() 49 typedef std::pair<int, std::string> P; in main() 54 typedef std::unordered_map<int, std::string, std::hash<int>, std::equal_to<int>, in main() 55 min_allocator<std::pair<const int, std::string>>> C; in main() 56 typedef std::pair<int, std::string> P; in main() [all …]
|
/ndk/tests/abcc/jni/device/ |
D | Abcc_device.cpp | 47 DeviceBitcodeCompiler::DeviceBitcodeCompiler(const std::string &working_dir, const std::string &sys… in DeviceBitcodeCompiler() 52 std::string cmd("echo "); in cleanupPost() 69 int DeviceBitcodeCompiler::parseLDFlags(BitcodeInfo &info, const std::string &orig_str) { in parseLDFlags() 71 std::string str; in parseLDFlags() 73 if (str.find("--sysroot") != std::string::npos) { in parseLDFlags() 109 std::vector<std::string> bc_files,lib_files; in getBitcodeFiles() 119 std::string filename(entry->d_name); in getBitcodeFiles() 120 std::string full_path = mWorkingDir + "/" + filename; in getBitcodeFiles() 124 std::string libpath = mSysroot + "/usr/lib/" + filename.substr(0, filename.rfind('.')) + ".so"; in getBitcodeFiles() 164 for (std::vector<std::string>::const_iterator i = lib_files.begin(), in getBitcodeFiles() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/re.submatch.op/ |
D | compare.pass.cpp | 223 typedef std::basic_string<CharT> string; in test() typedef 224 typedef std::sub_match<typename string::const_iterator> sub_match; in test() 263 assert((x[0] == sm2) == (string(1, x[0]) == y)); in test() 264 assert((x[0] != sm2) == (string(1, x[0]) != y)); in test() 265 assert((x[0] < sm2) == (string(1, x[0]) < y)); in test() 266 assert((x[0] > sm2) == (string(1, x[0]) > y)); in test() 267 assert((x[0] <= sm2) == (string(1, x[0]) <= y)); in test() 268 assert((x[0] >= sm2) == (string(1, x[0]) >= y)); in test() 269 assert((sm1 == y[0]) == (x == string(1, y[0]))); in test() 270 assert((sm1 != y[0]) == (x != string(1, y[0]))); in test() [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/ |
D | put_double.pass.cpp | 42 virtual std::string do_grouping() const {return std::string("\1\2\3");} in do_grouping() 70 std::string ex(str, iter.base()); in test1() 78 std::string ex(str, iter.base()); in test1() 86 std::string ex(str, iter.base()); in test1() 94 std::string ex(str, iter.base()); in test1() 104 std::string ex(str, iter.base()); in test1() 112 std::string ex(str, iter.base()); in test1() 120 std::string ex(str, iter.base()); in test1() 128 std::string ex(str, iter.base()); in test1() 141 std::string ex(str, iter.base()); in test1() [all …]
|
D | put_long_double.pass.cpp | 42 virtual std::string do_grouping() const {return std::string("\1\2\3");} in do_grouping() 70 std::string ex(str, iter.base()); in test1() 78 std::string ex(str, iter.base()); in test1() 86 std::string ex(str, iter.base()); in test1() 94 std::string ex(str, iter.base()); in test1() 104 std::string ex(str, iter.base()); in test1() 112 std::string ex(str, iter.base()); in test1() 120 std::string ex(str, iter.base()); in test1() 128 std::string ex(str, iter.base()); in test1() 141 std::string ex(str, iter.base()); in test1() [all …]
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/units/detail/ |
D | utility.hpp | 34 std::string 46 std::string out(realname); in demangle() 55 return std::string("demangle :: error - unable to demangle specified symbol"); in demangle() 61 std::string simplify_typename(const L& /*source*/) in simplify_typename() 63 const std::string demangled = detail::demangle(typeid(L).name()); in simplify_typename() 81 std::string 90 std::string simplify_typename(const L& /*source*/) in simplify_typename() 92 return std::string(typeid(L).name()); in simplify_typename()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/re.submatch.members/ |
D | compare_string_type.pass.cpp | 24 typedef SM::string_type string; in main() typedef 27 assert(sm.compare(string()) == 0); in main() 32 assert(sm.compare(string()) > 0); in main() 33 assert(sm.compare(string("123")) == 0); in main() 38 typedef SM::string_type string; in main() typedef 41 assert(sm.compare(string()) == 0); in main() 46 assert(sm.compare(string()) > 0); in main() 47 assert(sm.compare(string(L"123")) == 0); in main()
|