Searched refs:test (Results 26 - 50 of 10938) sorted by relevance

1234567891011>>

/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
H A Dhas_infinity.pass.cpp10 // test numeric_limits
18 test() function
20 static_assert(std::numeric_limits<T>::has_infinity == expected, "has_infinity test 1");
21 static_assert(std::numeric_limits<const T>::has_infinity == expected, "has_infinity test 2");
22 static_assert(std::numeric_limits<volatile T>::has_infinity == expected, "has_infinity test 3");
23 static_assert(std::numeric_limits<const volatile T>::has_infinity == expected, "has_infinity test 4");
28 test<bool, false>();
29 test<char, false>();
30 test<signed char, false>();
31 test<unsigne
[all...]
H A Dhas_quiet_NaN.pass.cpp10 // test numeric_limits
18 test() function
20 static_assert(std::numeric_limits<T>::has_quiet_NaN == expected, "has_quiet_NaN test 1");
21 static_assert(std::numeric_limits<const T>::has_quiet_NaN == expected, "has_quiet_NaN test 2");
22 static_assert(std::numeric_limits<volatile T>::has_quiet_NaN == expected, "has_quiet_NaN test 3");
23 static_assert(std::numeric_limits<const volatile T>::has_quiet_NaN == expected, "has_quiet_NaN test 4");
28 test<bool, false>();
29 test<char, false>();
30 test<signed char, false>();
31 test<unsigne
[all...]
H A Dhas_signaling_NaN.pass.cpp10 // test numeric_limits
18 test() function
20 static_assert(std::numeric_limits<T>::has_signaling_NaN == expected, "has_signaling_NaN test 1");
21 static_assert(std::numeric_limits<const T>::has_signaling_NaN == expected, "has_signaling_NaN test 2");
22 static_assert(std::numeric_limits<volatile T>::has_signaling_NaN == expected, "has_signaling_NaN test 3");
23 static_assert(std::numeric_limits<const volatile T>::has_signaling_NaN == expected, "has_signaling_NaN test 4");
28 test<bool, false>();
29 test<char, false>();
30 test<signed char, false>();
31 test<unsigne
[all...]
H A Dis_bounded.pass.cpp10 // test numeric_limits
18 test() function
20 static_assert(std::numeric_limits<T>::is_bounded == expected, "is_bounded test 1");
21 static_assert(std::numeric_limits<const T>::is_bounded == expected, "is_bounded test 2");
22 static_assert(std::numeric_limits<volatile T>::is_bounded == expected, "is_bounded test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_bounded == expected, "is_bounded test 4");
28 test<bool, true>();
29 test<char, true>();
30 test<signed char, true>();
31 test<unsigne
[all...]
H A Dis_exact.pass.cpp10 // test numeric_limits
18 test() function
20 static_assert(std::numeric_limits<T>::is_exact == expected, "is_exact test 1");
21 static_assert(std::numeric_limits<const T>::is_exact == expected, "is_exact test 2");
22 static_assert(std::numeric_limits<volatile T>::is_exact == expected, "is_exact test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_exact == expected, "is_exact test 4");
28 test<bool, true>();
29 test<char, true>();
30 test<signed char, true>();
31 test<unsigne
[all...]
H A Dis_integer.pass.cpp10 // test numeric_limits
18 test() function
20 static_assert(std::numeric_limits<T>::is_integer == expected, "is_integer test 1");
21 static_assert(std::numeric_limits<const T>::is_integer == expected, "is_integer test 2");
22 static_assert(std::numeric_limits<volatile T>::is_integer == expected, "is_integer test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_integer == expected, "is_integer test 4");
28 test<bool, true>();
29 test<char, true>();
30 test<signed char, true>();
31 test<unsigne
[all...]
H A Dis_signed.pass.cpp10 // test numeric_limits
18 test() function
20 static_assert(std::numeric_limits<T>::is_signed == expected, "is_signed test 1");
21 static_assert(std::numeric_limits<const T>::is_signed == expected, "is_signed test 2");
22 static_assert(std::numeric_limits<volatile T>::is_signed == expected, "is_signed test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_signed == expected, "is_signed test 4");
28 test<bool, false>();
29 test<char, char(-1) < char(0)>();
30 test<signed char, true>();
31 test<unsigne
[all...]
H A Dtinyness_before.pass.cpp10 // test numeric_limits
18 test() function
20 static_assert(std::numeric_limits<T>::tinyness_before == expected, "tinyness_before test 1");
21 static_assert(std::numeric_limits<const T>::tinyness_before == expected, "tinyness_before test 2");
22 static_assert(std::numeric_limits<volatile T>::tinyness_before == expected, "tinyness_before test 3");
23 static_assert(std::numeric_limits<const volatile T>::tinyness_before == expected, "tinyness_before test 4");
28 test<bool, false>();
29 test<char, false>();
30 test<signed char, false>();
31 test<unsigne
[all...]
H A Dis_modulo.pass.cpp10 // test numeric_limits
18 test() function
20 static_assert(std::numeric_limits<T>::is_modulo == expected, "is_modulo test 1");
21 static_assert(std::numeric_limits<const T>::is_modulo == expected, "is_modulo test 2");
22 static_assert(std::numeric_limits<volatile T>::is_modulo == expected, "is_modulo test 3");
23 static_assert(std::numeric_limits<const volatile T>::is_modulo == expected, "is_modulo test 4");
28 test<bool, false>();
29 // test<char, false>(); // don't know
30 test<signed char, false>();
31 test<unsigne
[all...]
H A Ddenorm_min.pass.cpp10 // test numeric_limits
20 test(T expected) function
30 test<bool>(false);
31 test<char>(0);
32 test<signed char>(0);
33 test<unsigned char>(0);
34 test<wchar_t>(0);
36 test<char16_t>(0);
37 test<char32_t>(0);
39 test<shor
[all...]
/external/libcxx/test/std/utilities/ratio/ratio.ratio/
H A Dratio.pass.cpp10 // test ratio: The static data members num and den shall have the common
16 void test() function
24 test<1, 1, 1, 1>();
25 test<1, 10, 1, 10>();
26 test<10, 10, 1, 1>();
27 test<10, 1, 10, 1>();
28 test<12, 4, 3, 1>();
29 test<12, -4, -3, 1>();
30 test<-12, 4, -3, 1>();
31 test<
[all...]
/external/libcxx/test/std/strings/basic.string/string.ops/string_substr/
H A Dsubstr.pass.cpp24 test(const S& s, typename S::size_type pos, typename S::size_type n) function
55 test(S(""), 0, 0);
56 test(S(""), 1, 0);
57 test(S("pniot"), 0, 0);
58 test(S("htaob"), 0, 1);
59 test(S("fodgq"), 0, 2);
60 test(S("hpqia"), 0, 4);
61 test(S("qanej"), 0, 5);
62 test(S("dfkap"), 1, 0);
63 test(
[all...]
/external/libcxx/test/std/strings/basic.string/string.ops/string_find.last.not.of/
H A Dpointer_size_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function
32 test(S(""), "", 0, 0, S::npos);
33 test(S(""), "irkhs", 0, 0, S::npos);
34 test(S(""), "kante", 0, 1, S::npos);
35 test(S(""), "oknlr", 0, 2, S::npos);
36 test(S(""), "pcdro", 0, 4, S::npos);
37 test(S(""), "bnrpe", 0, 5, S::npos);
38 test(S(""), "jtdaefblso", 0, 0, S::npos);
39 test(S(""), "oselktgbca", 0, 1, S::npos);
40 test(
[all...]
/external/libcxx/test/std/strings/basic.string/string.ops/string_rfind/
H A Dpointer_size_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function
32 test(S(""), "", 0, 0, 0);
33 test(S(""), "abcde", 0, 0, 0);
34 test(S(""), "abcde", 0, 1, S::npos);
35 test(S(""), "abcde", 0, 2, S::npos);
36 test(S(""), "abcde", 0, 4, S::npos);
37 test(S(""), "abcde", 0, 5, S::npos);
38 test(S(""), "abcdeabcde", 0, 0, 0);
39 test(S(""), "abcdeabcde", 0, 1, S::npos);
40 test(
[all...]
/external/libcxx/test/std/strings/string.view/string.view.find/
H A Dfind_last_not_of_pointer_size_size.pass.cpp22 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function
33 test(S(""), "", 0, 0, S::npos);
34 test(S(""), "irkhs", 0, 0, S::npos);
35 test(S(""), "kante", 0, 1, S::npos);
36 test(S(""), "oknlr", 0, 2, S::npos);
37 test(S(""), "pcdro", 0, 4, S::npos);
38 test(S(""), "bnrpe", 0, 5, S::npos);
39 test(S(""), "jtdaefblso", 0, 0, S::npos);
40 test(S(""), "oselktgbca", 0, 1, S::npos);
41 test(
[all...]
H A Drfind_pointer_size_size.pass.cpp21 test(const S& s, const typename S::value_type* str, typename S::size_type pos, function
32 test(S(""), "", 0, 0, 0);
33 test(S(""), "abcde", 0, 0, 0);
34 test(S(""), "abcde", 0, 1, S::npos);
35 test(S(""), "abcde", 0, 2, S::npos);
36 test(S(""), "abcde", 0, 4, S::npos);
37 test(S(""), "abcde", 0, 5, S::npos);
38 test(S(""), "abcdeabcde", 0, 0, 0);
39 test(S(""), "abcdeabcde", 0, 1, S::npos);
40 test(
[all...]
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.isbind/
H A Dis_bind_expression_03.pass.cpp22 void test() { function
29 test<int>();
30 test<void>();
31 test<C>();
32 test<C&>();
33 test<C const&>();
34 test<C*>();
35 test<void()>();
36 test<int(*)()>();
37 test<in
[all...]
/external/dtc/tests/
H A Doverlay_base_manual_symbols.dts11 test: test-node {
12 phandle = <&test>; /* Force phandle generation */
13 test-int-property = <42>;
14 test-str-property = "foo";
16 subtest: sub-test-node {
17 sub-test-property;
21 test = &test;
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
H A Dsize_pointer_size.pass.cpp24 test(S s, typename S::size_type pos, const typename S::value_type* str, function
56 test(S(""), 0, "", 0, S(""));
57 test(S(""), 0, "12345", 0, S(""));
58 test(S(""), 0, "12345", 1, S("1"));
59 test(S(""), 0, "12345", 2, S("12"));
60 test(S(""), 0, "12345", 4, S("1234"));
61 test(S(""), 0, "12345", 5, S("12345"));
62 test(S(""), 0, "1234567890", 0, S(""));
63 test(S(""), 0, "1234567890", 1, S("1"));
64 test(
[all...]
/external/libcxx/test/std/strings/string.view/string.view.comparison/
H A Dopeq.string_view.string.pass.cpp23 test(const std::string &lhs, S rhs, bool x) function
33 test("", S(""), true);
34 test("", S("abcde"), false);
35 test("", S("abcdefghij"), false);
36 test("", S("abcdefghijklmnopqrst"), false);
37 test("abcde", S(""), false);
38 test("abcde", S("abcde"), true);
39 test("abcde", S("abcdefghij"), false);
40 test("abcde", S("abcdefghijklmnopqrst"), false);
41 test("abcdefghi
[all...]
H A Dopge.string_view.string.pass.cpp23 test(const S& lhs, const typename S::value_type* rhs, bool x, bool y) function
33 test(S(""), "", true, true);
34 test(S(""), "abcde", false, true);
35 test(S(""), "abcdefghij", false, true);
36 test(S(""), "abcdefghijklmnopqrst", false, true);
37 test(S("abcde"), "", true, false);
38 test(S("abcde"), "abcde", true, true);
39 test(S("abcde"), "abcdefghij", false, true);
40 test(S("abcde"), "abcdefghijklmnopqrst", false, true);
41 test(
[all...]
H A Dopgt.string_view.string.pass.cpp23 test(const S& lhs, const typename S::value_type* rhs, bool x, bool y) function
33 test(S(""), "", false, false);
34 test(S(""), "abcde", false, true);
35 test(S(""), "abcdefghij", false, true);
36 test(S(""), "abcdefghijklmnopqrst", false, true);
37 test(S("abcde"), "", true, false);
38 test(S("abcde"), "abcde", false, false);
39 test(S("abcde"), "abcdefghij", false, true);
40 test(S("abcde"), "abcdefghijklmnopqrst", false, true);
41 test(
[all...]
H A Dople.string_view.string.pass.cpp23 test(const S& lhs, const typename S::value_type* rhs, bool x, bool y) function
33 test(S(""), "", true, true);
34 test(S(""), "abcde", true, false);
35 test(S(""), "abcdefghij", true, false);
36 test(S(""), "abcdefghijklmnopqrst", true, false);
37 test(S("abcde"), "", false, true);
38 test(S("abcde"), "abcde", true, true);
39 test(S("abcde"), "abcdefghij", true, false);
40 test(S("abcde"), "abcdefghijklmnopqrst", true, false);
41 test(
[all...]
H A Doplt.string_view.string.pass.cpp23 test(const S& lhs, const typename S::value_type* rhs, bool x, bool y) function
33 test(S(""), "", false, false);
34 test(S(""), "abcde", true, false);
35 test(S(""), "abcdefghij", true, false);
36 test(S(""), "abcdefghijklmnopqrst", true, false);
37 test(S("abcde"), "", false, true);
38 test(S("abcde"), "abcde", false, false);
39 test(S("abcde"), "abcdefghij", true, false);
40 test(S("abcde"), "abcdefghijklmnopqrst", true, false);
41 test(
[all...]
H A Dopne.string_view.string.pass.cpp23 test(const std::string &lhs, S rhs, bool x) function
33 test("", S(""), false);
34 test("", S("abcde"), true);
35 test("", S("abcdefghij"), true);
36 test("", S("abcdefghijklmnopqrst"), true);
37 test("abcde", S(""), true);
38 test("abcde", S("abcde"), false);
39 test("abcde", S("abcdefghij"), true);
40 test("abcde", S("abcdefghijklmnopqrst"), true);
41 test("abcdefghi
[all...]

Completed in 442 milliseconds

1234567891011>>