/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/ |
H A D | decimal_point.pass.cpp | 23 typedef std::moneypunct<char> F; 26 : public std::moneypunct<char, false> 29 explicit Fnf(std::size_t refs = 0) 30 : std::moneypunct<char, false>(refs) {} 34 : public std::moneypunct<char, true> 37 explicit Fnt(std::size_t refs = 0) 38 : std::moneypunct<char, true>(refs) {} 42 : public std::moneypunct<wchar_t, false> 45 explicit Fwf(std::size_t refs = 0) 46 : std [all...] |
H A D | grouping.pass.cpp | 23 typedef std::moneypunct<char> F; 26 : public std::moneypunct<char, false> 29 explicit Fnf(std::size_t refs = 0) 30 : std::moneypunct<char, false>(refs) {} 34 : public std::moneypunct<char, true> 37 explicit Fnt(std::size_t refs = 0) 38 : std::moneypunct<char, true>(refs) {} 42 : public std::moneypunct<wchar_t, false> 45 explicit Fwf(std::size_t refs = 0) 46 : std [all...] |
H A D | positive_sign.pass.cpp | 23 typedef std::moneypunct<char> F; 26 : public std::moneypunct<char, false> 29 explicit Fnf(std::size_t refs = 0) 30 : std::moneypunct<char, false>(refs) {} 34 : public std::moneypunct<char, true> 37 explicit Fnt(std::size_t refs = 0) 38 : std::moneypunct<char, true>(refs) {} 42 : public std::moneypunct<wchar_t, false> 45 explicit Fwf(std::size_t refs = 0) 46 : std [all...] |
H A D | thousands_sep.pass.cpp | 23 typedef std::moneypunct<char> F; 26 : public std::moneypunct<char, false> 29 explicit Fnf(std::size_t refs = 0) 30 : std::moneypunct<char, false>(refs) {} 34 : public std::moneypunct<char, true> 37 explicit Fnt(std::size_t refs = 0) 38 : std::moneypunct<char, true>(refs) {} 42 : public std::moneypunct<wchar_t, false> 45 explicit Fwf(std::size_t refs = 0) 46 : std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
H A D | seekoff.pass.cpp | 24 std::strstreambuf sb(buf, 0); 25 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::out) == -1); 26 assert(sb.pubseekoff(3, std::ios_base::cur, std::ios_base::out) == -1); 27 assert(sb.pubseekoff(-3, std::ios_base::end, std::ios_base::out) == -1); 28 assert(sb.pubseekoff(3, std::ios_base::beg, std::ios_base::in | std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/priority.queue/ |
H A D | types.pass.cpp | 32 : private std::priority_queue<int> 51 static_assert((std::is_same<std::priority_queue<int>::container_type, std::vector<int> >::value), ""); 52 static_assert((std::is_same<std::priority_queue<double, std::deque<int> >::container_type, std::deque<int> >::value), ""); 53 static_assert((std::is_same<std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/queue/queue.defn/ |
H A D | types.pass.cpp | 31 : private std::queue<int> 49 static_assert((std::is_same<std::queue<int>::container_type, std::deque<int> >::value), ""); 50 static_assert((std::is_same<std::queue<double, std::vector<int> >::container_type, std::vector<int> >::value), ""); 51 static_assert((std::is_same<std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/container.adaptors/stack/stack.defn/ |
H A D | types.pass.cpp | 32 : private std::stack<int> 50 static_assert((std::is_same<std::stack<int>::container_type, std::deque<int> >::value), ""); 51 static_assert((std::is_same<std::stack<double, std::vector<int> >::container_type, std::vector<int> >::value), ""); 52 static_assert((std::is_same<std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/stream.iterators/istreambuf.iterator/ |
H A D | types.pass.cpp | 32 typedef std::istreambuf_iterator<char> I1; 33 static_assert((std::is_convertible<I1, 34 std::iterator<std::input_iterator_tag, char, std::char_traits<char>::off_type, 36 static_assert((std::is_same<I1::char_type, char>::value), ""); 37 static_assert((std::is_same<I1::traits_type, std::char_traits<char> >::value), ""); 38 static_assert((std::is_same<I1::int_type, I1::traits_type::int_type>::value), ""); 39 static_assert((std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct/ |
H A D | types.pass.cpp | 35 static_assert((std::is_base_of<std::locale::facet, std::moneypunct<char> >::value), ""); 36 static_assert((std::is_base_of<std::locale::facet, std::moneypunct<wchar_t> >::value), ""); 37 static_assert((std::is_base_of<std::money_base, std::moneypunct<char> >::value), ""); 38 static_assert((std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.construct/ |
H A D | ptr_flg.pass.cpp | 21 test(const CharT* p, std::regex_constants::syntax_option_type f, unsigned mc) 23 std::basic_regex<CharT> r(p, f); 30 test("\\(a\\)", std::regex_constants::basic, 1); 31 test("\\(a[bc]\\)", std::regex_constants::basic, 1); 32 test("\\(a\\([bc]\\)\\)", std::regex_constants::basic, 2); 33 test("(a([bc]))", std::regex_constants::basic, 0); 35 test("\\(a\\)", std::regex_constants::extended, 0); 36 test("\\(a[bc]\\)", std::regex_constants::extended, 0); 37 test("\\(a\\([bc]\\)\\)", std::regex_constants::extended, 0); 38 test("(a([bc]))", std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/string.conversions/ |
H A D | stol.pass.cpp | 23 assert(std::stol("0") == 0); 24 assert(std::stol(L"0") == 0); 25 assert(std::stol("-0") == 0); 26 assert(std::stol(L"-0") == 0); 27 assert(std::stol("-10") == -10); 28 assert(std::stol(L"-10") == -10); 29 assert(std::stol(" 10") == 10); 30 assert(std::stol(L" 10") == 10); 32 assert(std::stol("10g", &idx, 16) == 16); 35 assert(std [all...] |
H A D | stoll.pass.cpp | 23 assert(std::stoll("0") == 0); 24 assert(std::stoll(L"0") == 0); 25 assert(std::stoll("-0") == 0); 26 assert(std::stoll(L"-0") == 0); 27 assert(std::stoll("-10") == -10); 28 assert(std::stoll(L"-10") == -10); 29 assert(std::stoll(" 10") == 10); 30 assert(std::stoll(L" 10") == 10); 32 assert(std::stoll("10g", &idx, 16) == 16); 35 assert(std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.cast/ |
H A D | duration_cast.pass.cpp | 28 typedef decltype(std::chrono::duration_cast<ToDuration>(f)) R; 29 static_assert((std::is_same<R, ToDuration>::value), ""); 30 assert(std::chrono::duration_cast<ToDuration>(f) == d); 36 test(std::chrono::milliseconds(7265000), std::chrono::hours(2)); 37 test(std::chrono::milliseconds(7265000), std::chrono::minutes(121)); 38 test(std::chrono::milliseconds(7265000), std::chrono::seconds(7265)); 39 test(std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.traits/time.traits.specializations/ |
H A D | duration.pass.cpp | 24 typedef typename std::common_type<D1, D2>::type Dc; 25 static_assert((std::is_same<Dc, De>::value), ""); 30 test<std::chrono::duration<int, std::ratio<1, 100> >, 31 std::chrono::duration<long, std::ratio<1, 1000> >, 32 std::chrono::duration<long, std::ratio<1, 1000> > >(); 33 test<std::chrono::duration<long, std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale/locale.cons/ |
H A D | default.pass.cpp | 22 void* operator new(std::size_t s) throw(std::bad_alloc) 25 return std::malloc(s); 31 std::free(p); 34 void check(const std::locale& loc) 36 assert(std::has_facet<std::collate<char> >(loc)); 37 assert(std::has_facet<std::collate<wchar_t> >(loc)); 39 assert(std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cast/ |
H A D | time_point_cast.pass.cpp | 26 typedef std::chrono::system_clock Clock; 27 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 28 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; 32 typedef decltype(std::chrono::time_point_cast<ToDuration>(f)) R; 33 static_assert((std::is_same<R, ToTimePoint>::value), ""); 34 assert(std::chrono::time_point_cast<ToDuration>(f) == t); 43 typedef std::chrono::system_clock Clock; 44 typedef std::chrono::time_point<Clock, FromDuration> FromTimePoint; 45 typedef std::chrono::time_point<Clock, ToDuration> ToTimePoint; 49 static_assert(std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/c.files/ |
H A D | cstdio.pass.cpp | 86 std::FILE* fp = 0; 87 std::fpos_t fpos = {0}; 88 std::size_t s = 0; 90 std::va_list va; 91 static_assert((std::is_same<decltype(std::remove("")), int>::value), ""); 92 static_assert((std::is_same<decltype(std::rename("","")), int>::value), ""); 93 static_assert((std::is_same<decltype(std [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.function.objects/depr.base/ |
H A D | unary_function.pass.cpp | 24 static_assert((std::is_same<std::unary_function<unsigned, char>::argument_type, unsigned>::value), ""); 25 static_assert((std::is_same<std::unary_function<unsigned, char>::result_type, char>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.ios.members/ |
H A D | streamoff.pass.cpp | 23 static_assert((std::is_integral<std::ios_base::streamoff>::value), ""); 24 static_assert((std::is_signed<std::ios_base::streamoff>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcat/syserr.errcat.overview/ |
H A D | error_category.pass.cpp | 18 std::error_category* p = 0;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/ |
H A D | equivalent_error_code_int.pass.cpp | 21 const std::error_category& e_cat = std::generic_category(); 22 assert(e_cat.equivalent(std::error_code(5, e_cat), 5)); 23 assert(!e_cat.equivalent(std::error_code(5, e_cat), 6));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.nonmembers/ |
H A D | lt.pass.cpp | 23 const std::error_code ec1(6, std::generic_category()); 24 const std::error_code ec2(7, std::generic_category());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcode/syserr.errcode.observers/ |
H A D | bool.pass.cpp | 23 const std::error_code ec(6, std::generic_category()); 27 const std::error_code ec(0, std::generic_category());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcondition/syserr.errcondition.constructors/ |
H A D | ErrorConditionEnum.pass.cpp | 22 std::error_condition ec(std::errc::not_a_directory); 23 assert(ec.value() == static_cast<int>(std::errc::not_a_directory)); 24 assert(ec.category() == std::generic_category());
|