/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.device/ |
ctor.pass.cpp | 23 std::random_device r("wrong file"); 26 catch (const std::system_error& e) 30 std::random_device r; 33 std::random_device r("/dev/urandom");; 36 std::random_device r("/dev/random");;
|
/ndk/sources/cxx-stl/llvm-libc++/test/thread/thread.mutex/thread.lock/thread.lock.guard/ |
copy.fail.cpp | 20 std::mutex m; 21 std::lock_guard<std::mutex> lg0(m); 22 std::lock_guard<std::mutex> lg(lg0);
|
/ndk/tests/device/test-gnustl-1/jni/ |
hello.cpp | 23 if (std::getenv("UNKNOWN_VARIABLE") == NULL) 24 throw std::runtime_error("OK: Hello, world (with full C++ support) !"); 25 std::printf("KO: Exception was not thrown!\n"); 28 catch (std::exception &ex) 30 std::printf("%s\n", ex.what());
|
/ndk/tests/device/test-gnustl-2/jni/ |
hello.cpp | 7 std::cout << "Hello "; 8 std::cout << 1.0; 9 std::cout << now; 10 std::cout << " World" << std::endl;
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/meta/meta.trans/meta.trans.sign/ |
make_signed.pass.cpp | 26 static_assert((std::is_same<std::make_signed<signed char>::type, signed char>::value), ""); 27 static_assert((std::is_same<std::make_signed<unsigned char>::type, signed char>::value), ""); 28 static_assert((std::is_same<std::make_signed<char>::type, signed char>::value), ""); 29 static_assert((std::is_same<std::make_signed<short>::type, signed short>::value), ""); 30 static_assert((std::is_same<std::make_signed<unsigned short>::type, signed short>::value), "") [all...] |
make_unsigned.pass.cpp | 26 static_assert((std::is_same<std::make_unsigned<signed char>::type, unsigned char>::value), ""); 27 static_assert((std::is_same<std::make_unsigned<unsigned char>::type, unsigned char>::value), ""); 28 static_assert((std::is_same<std::make_unsigned<char>::type, unsigned char>::value), ""); 29 static_assert((std::is_same<std::make_unsigned<short>::type, unsigned short>::value), ""); 30 static_assert((std::is_same<std::make_unsigned<unsigned short>::type, unsigned short>::value), "") [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/tr1/ |
math.h | 36 using std::tr1::acos; 37 using std::tr1::acosh; 38 using std::tr1::asin; 39 using std::tr1::asinh; 40 using std::tr1::atan; 41 using std::tr1::atan2; 42 using std::tr1::atanh; 43 using std::tr1::cbrt; 44 using std::tr1::ceil; 45 using std::tr1::copysign [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/tr1/ |
math.h | 36 using std::tr1::acos; 37 using std::tr1::acosh; 38 using std::tr1::asin; 39 using std::tr1::asinh; 40 using std::tr1::atan; 41 using std::tr1::atan2; 42 using std::tr1::atanh; 43 using std::tr1::cbrt; 44 using std::tr1::ceil; 45 using std::tr1::copysign [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/tr1/ |
math.h | 36 using std::tr1::acos; 37 using std::tr1::acosh; 38 using std::tr1::asin; 39 using std::tr1::asinh; 40 using std::tr1::atan; 41 using std::tr1::atan2; 42 using std::tr1::atanh; 43 using std::tr1::cbrt; 44 using std::tr1::ceil; 45 using std::tr1::copysign [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/tr1/ |
math.h | 36 using std::tr1::acos; 37 using std::tr1::acosh; 38 using std::tr1::asin; 39 using std::tr1::asinh; 40 using std::tr1::atan; 41 using std::tr1::atan2; 42 using std::tr1::atanh; 43 using std::tr1::cbrt; 44 using std::tr1::ceil; 45 using std::tr1::copysign [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/tr1/ |
math.h | 36 using std::tr1::acos; 37 using std::tr1::acosh; 38 using std::tr1::asin; 39 using std::tr1::asinh; 40 using std::tr1::atan; 41 using std::tr1::atan2; 42 using std::tr1::atanh; 43 using std::tr1::cbrt; 44 using std::tr1::ceil; 45 using std::tr1::copysign [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/tr1/ |
math.h | 36 using std::tr1::acos; 37 using std::tr1::acosh; 38 using std::tr1::asin; 39 using std::tr1::asinh; 40 using std::tr1::atan; 41 using std::tr1::atan2; 42 using std::tr1::atanh; 43 using std::tr1::cbrt; 44 using std::tr1::ceil; 45 using std::tr1::copysign [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/tr1/ |
math.h | 36 using std::tr1::acos; 37 using std::tr1::acosh; 38 using std::tr1::asin; 39 using std::tr1::asinh; 40 using std::tr1::atan; 41 using std::tr1::atan2; 42 using std::tr1::atanh; 43 using std::tr1::cbrt; 44 using std::tr1::ceil; 45 using std::tr1::copysign [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/tr1/ |
math.h | 36 using std::tr1::acos; 37 using std::tr1::acosh; 38 using std::tr1::asin; 39 using std::tr1::asinh; 40 using std::tr1::atan; 41 using std::tr1::atan2; 42 using std::tr1::atanh; 43 using std::tr1::cbrt; 44 using std::tr1::ceil; 45 using std::tr1::copysign [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/tr1/ |
math.h | 36 using std::tr1::acos; 37 using std::tr1::acosh; 38 using std::tr1::asin; 39 using std::tr1::asinh; 40 using std::tr1::atan; 41 using std::tr1::atan2; 42 using std::tr1::atanh; 43 using std::tr1::cbrt; 44 using std::tr1::ceil; 45 using std::tr1::copysign [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/allocator.uses/allocator.uses.trait/ |
uses_allocator.pass.cpp | 28 static_assert((!std::uses_allocator<int, std::allocator<int> >::value), ""); 29 static_assert(( std::uses_allocator<std::vector<int>, std::allocator<int> >::value), ""); 30 static_assert((!std::uses_allocator<A, std::allocator<int> >::value), ""); 31 static_assert((!std::uses_allocator<B, std::allocator<int> >::value), ""); 32 static_assert(( std::uses_allocator<B, double>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/utility/pairs/pair.astuple/ |
tuple_element.pass.cpp | 21 typedef std::pair<int, short> P1; 22 static_assert((std::is_same<std::tuple_element<0, P1>::type, int>::value), ""); 23 static_assert((std::is_same<std::tuple_element<1, P1>::type, short>::value), ""); 26 typedef std::pair<int*, char> P1; 27 static_assert((std::is_same<std::tuple_element<0, P1>::type, int*>::value), ""); 28 static_assert((std::is_same<std::tuple_element<1, P1>::type, char>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostream.forward/ |
iosfwd.pass.cpp | 18 std::char_traits<char>* t1 = 0; 19 std::char_traits<wchar_t>* t2 = 0; 20 std::char_traits<unsigned short>* t3 = 0; 23 std::basic_ios<char>* t1 = 0; 24 std::basic_ios<wchar_t>* t2 = 0; 25 std::basic_ios<unsigned short>* t3 = 0; 28 std::basic_streambuf<char>* t1 = 0; 29 std::basic_streambuf<wchar_t>* t2 = 0; 30 std::basic_streambuf<unsigned short>* t3 = 0; 33 std::basic_istream<char>* t1 = 0 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.collate/locale.collate/ |
types.pass.cpp | 28 std::locale l = std::locale::classic(); 30 assert(std::has_facet<std::collate<char> >(l)); 31 const std::collate<char>& f = std::use_facet<std::collate<char> >(l); 33 (void)std::collate<char>::id; 35 static_assert((std::is_same<std::collate<char>::char_type, char>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/facet.numpunct/locale.numpunct/ |
types.pass.cpp | 27 std::locale l = std::locale::classic(); 29 assert(std::has_facet<std::numpunct<char> >(l)); 30 const std::numpunct<char>& f = std::use_facet<std::numpunct<char> >(l); 32 (void)std::numpunct<char>::id; 34 static_assert((std::is_same<std::numpunct<char>::char_type, char>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locales/locale/locale.types/locale.category/ |
category.pass.cpp | 24 static_assert((std::is_same<std::locale::category, int>::value), ""); 25 assert(std::locale::none == 0); 26 assert(std::locale::collate); 27 assert(std::locale::ctype); 28 assert(std::locale::monetary); 29 assert(std::locale::numeric); 30 assert(std::locale::time); 31 assert(std::locale::messages); 32 assert((std::locale::collat [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/re/re.alg/re.alg.replace/ |
test4.pass.cpp | 25 std::regex phone_numbers("\\d{3}-\\d{4}"); 26 std::string phone_book("555-1234, 555-2345, 555-3456"); 27 std::string r = std::regex_replace(phone_book, phone_numbers, 32 std::regex phone_numbers("\\d{3}-\\d{4}"); 33 std::string phone_book("555-1234, 555-2345, 555-3456"); 34 std::string r = std::regex_replace(phone_book, phone_numbers, 36 std::regex_constants::format_sed); 40 std::regex phone_numbers("\\d{3}-\\d{4}") [all...] |
test5.pass.cpp | 26 std::regex phone_numbers("\\d{3}-\\d{4}"); 28 std::string r = std::regex_replace(phone_book, phone_numbers, 29 std::string("123-$&")); 33 std::regex phone_numbers("\\d{3}-\\d{4}"); 35 std::string r = std::regex_replace(phone_book, phone_numbers, 36 std::string("123-$&"), 37 std::regex_constants::format_sed); 41 std::regex phone_numbers("\\d{3}-\\d{4}") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/time/time.traits/time.traits.specializations/ |
time_point.pass.cpp | 24 typedef std::chrono::system_clock C; 25 typedef std::chrono::time_point<C, D1> T1; 26 typedef std::chrono::time_point<C, D2> T2; 27 typedef std::chrono::time_point<C, De> Te; 28 typedef typename std::common_type<T1, T2>::type Tc; 29 static_assert((std::is_same<Tc, Te>::value), ""); 34 test<std::chrono::duration<int, std::ratio<1, 100> >, 35 std::chrono::duration<long, std::ratio<1, 1000> > [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/forwardlist/ |
types.pass.cpp | 33 static_assert((std::is_same<std::forward_list<char>::value_type, char>::value), ""); 34 static_assert((std::is_same<std::forward_list<char>::allocator_type, std::allocator<char> >::value), ""); 35 static_assert((std::is_same<std::forward_list<char>::reference, char&>::value), ""); 36 static_assert((std::is_same<std::forward_list<char>::const_reference, const char&>::value), ""); 37 static_assert((std::is_same<std::forward_list<char>::pointer, char*>::value), "") [all...] |