Home
last modified time | relevance | path

Searched refs:test_conversion (Results 1 – 25 of 48) sorted by relevance

12

/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/views/mdspan/layout_right/
H A Dctor.layout_stride.pass.cpp34 constexpr void test_conversion(FromE src_exts) { in test_conversion() function
58 constexpr void test_conversion() { in test_conversion() function
62 test_conversion<true, std::extents<T1>>(std::extents<T2>()); in test_conversion()
63 test_conversion<false, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion()
64 test_conversion<false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion()
65 test_conversion<false, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion()
66 test_conversion<false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion()
67 test_conversion<false, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion()
68 test_conversion<false, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion()
69 test_conversion<false, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion()
[all …]
H A Dctor.mapping.pass.cpp34 constexpr void test_conversion(FromE src_exts) { in test_conversion() function
51 constexpr void test_conversion() { in test_conversion() function
57 test_conversion<idx_convertible && true, std::extents<T1>>(std::extents<T2>()); in test_conversion()
58 test_conversion<idx_convertible && true, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion()
59 test_conversion<idx_convertible && false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion()
60 test_conversion<idx_convertible && true, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion()
61 test_conversion<idx_convertible && false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion()
62 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion()
63 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion()
64 test_conversion<idx_convertible && true, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion()
[all …]
H A Dctor.layout_left.pass.cpp36 constexpr void test_conversion(FromE src_exts) { in test_conversion() function
53 constexpr void test_conversion() { in test_conversion() function
59 test_conversion<idx_convertible && true, std::extents<T1>>(std::extents<T2>()); in test_conversion()
60 test_conversion<idx_convertible && true, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion()
61 test_conversion<idx_convertible && false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion()
62 test_conversion<idx_convertible && true, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion()
113 test_conversion<int, int>(); in test()
114 test_conversion<int, size_t>(); in test()
115 test_conversion<size_t, int>(); in test()
116 test_conversion<size_t, long>(); in test()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/views/mdspan/layout_left/
H A Dctor.layout_stride.pass.cpp34 constexpr void test_conversion(FromE src_exts) { in test_conversion() function
58 constexpr void test_conversion() { in test_conversion() function
62 test_conversion<true, std::extents<T1>>(std::extents<T2>()); in test_conversion()
63 test_conversion<false, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion()
64 test_conversion<false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion()
65 test_conversion<false, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion()
66 test_conversion<false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion()
67 test_conversion<false, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion()
68 test_conversion<false, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion()
69 test_conversion<false, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion()
[all …]
H A Dctor.mapping.pass.cpp34 constexpr void test_conversion(FromE src_exts) { in test_conversion() function
51 constexpr void test_conversion() { in test_conversion() function
57 test_conversion<idx_convertible && true, std::extents<T1>>(std::extents<T2>()); in test_conversion()
58 test_conversion<idx_convertible && true, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion()
59 test_conversion<idx_convertible && false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion()
60 test_conversion<idx_convertible && true, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion()
61 test_conversion<idx_convertible && false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion()
62 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion()
63 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion()
64 test_conversion<idx_convertible && true, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion()
[all …]
H A Dctor.layout_right.pass.cpp36 constexpr void test_conversion(FromE src_exts) { in test_conversion() function
53 constexpr void test_conversion() { in test_conversion() function
59 test_conversion<idx_convertible && true, std::extents<T1>>(std::extents<T2>()); in test_conversion()
60 test_conversion<idx_convertible && true, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion()
61 test_conversion<idx_convertible && false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion()
62 test_conversion<idx_convertible && true, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion()
113 test_conversion<int, int>(); in test()
114 test_conversion<int, size_t>(); in test()
115 test_conversion<size_t, int>(); in test()
116 test_conversion<size_t, long>(); in test()
/aosp_15_r20/external/rust/android-crates-io/crates/rusqlite/src/types/
Dmod.rs361 macro_rules! test_conversion { macro
410 test_conversion!(db_etc, 0u8, u8, expect 0u8); in test_numeric_conversions()
413 test_conversion!(db_etc, 100u8, i8, expect 100i8); in test_numeric_conversions()
414 test_conversion!(db_etc, 200u8, u8, expect 200u8); in test_numeric_conversions()
415 test_conversion!(db_etc, 100u16, i8, expect 100i8); in test_numeric_conversions()
416 test_conversion!(db_etc, 200u16, u8, expect 200u8); in test_numeric_conversions()
417 test_conversion!(db_etc, u32::MAX, u64, expect u32::MAX as u64); in test_numeric_conversions()
418 test_conversion!(db_etc, i64::MIN, i64, expect i64::MIN); in test_numeric_conversions()
419 test_conversion!(db_etc, i64::MAX, i64, expect i64::MAX); in test_numeric_conversions()
420 test_conversion!(db_etc, i64::MAX, u64, expect i64::MAX as u64); in test_numeric_conversions()
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/views/mdspan/extents/
H A Dconversion.pass.cpp45 constexpr void test_conversion(From src) { in test_conversion() function
56 constexpr void test_conversion() { in test_conversion() function
62 test_conversion<idx_convertible && true, std::extents<T1>>(std::extents<T2>()); in test_conversion()
63 test_conversion<idx_convertible && true, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion()
64 test_conversion<idx_convertible && false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion()
65 test_conversion<idx_convertible && true, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion()
66 test_conversion<idx_convertible && false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion()
67 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion()
68 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion()
69 test_conversion<idx_convertible && true, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion()
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/views/mdspan/layout_stride/
H A Dctor.strided_mapping.pass.cpp48 constexpr void test_conversion(FromE src_exts) { in test_conversion() function
80 constexpr void test_conversion() { in test_conversion() function
91 test_conversion<idx_l_convertible && true, FromL, std::extents<T1>>(std::extents<T2>()); in test_conversion()
92 test_conversion<idx_l_convertible && true, FromL, std::extents<T1, D>>(std::extents<T2, D>(0)); in test_conversion()
93 test_conversion<idx_l_convertible && true, FromL, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion()
94 test_conversion<idx_l_convertible && false, FromL, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion()
95 test_conversion<idx_l_convertible && true, FromL, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion()
96test_conversion<idx_l_convertible && false, FromL, std::extents<T1, 5, D>>(std::extents<T2, D, D>(… in test_conversion()
97test_conversion<idx_l_convertible && true, FromL, std::extents<T1, D, D>>(std::extents<T2, D, D>(… in test_conversion()
98test_conversion<idx_l_convertible && true, FromL, std::extents<T1, D, D>>(std::extents<T2, D, 7>(… in test_conversion()
[all …]
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/views/mdspan/default_accessor/
H A Dctor.conversion.pass.cpp33 constexpr void test_conversion() { in test_conversion() function
41 test_conversion<int, int>(); in test()
42 test_conversion<int, const int>(); in test()
43 test_conversion<const int, const int>(); in test()
44 test_conversion<MinimalElementType, MinimalElementType>(); in test()
45 test_conversion<MinimalElementType, const MinimalElementType>(); in test()
46 test_conversion<const MinimalElementType, const MinimalElementType>(); in test()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
H A Dmutex.verify.cpp22 void test_conversion(LG) {} in test_conversion() function
32 test_conversion<LG>({}); // expected-error{{no matching function for call}} in main()
38 test_conversion<LG>({n0}); // expected-error{{no matching function for call}} in main()
44 test_conversion<LG>({n0, n1}); // expected-error{{no matching function for call}} in main()
50 test_conversion<LG>({n0, n1, n2}); // expected-error{{no matching function for call}} in main()
H A Dmutex.fail.cpp22 void test_conversion(LG) {} in test_conversion() function
32 test_conversion<LG>({}); // expected-error{{no matching function for call}} in main()
38 test_conversion<LG>({n0}); // expected-error{{no matching function for call}} in main()
44 test_conversion<LG>({n0, n1}); // expected-error{{no matching function for call}} in main()
50 test_conversion<LG>({n0, n1, n2}); // expected-error{{no matching function for call}} in main()
/aosp_15_r20/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
H A Dmutex.fail.cpp23 void test_conversion(LG) {} in test_conversion() function
33 test_conversion<LG>({}); // expected-error{{no matching function for call}} in main()
39 test_conversion<LG>({n0}); // expected-error{{no matching function for call}} in main()
45 test_conversion<LG>({n0, n1}); // expected-error{{no matching function for call}} in main()
51 test_conversion<LG>({n0, n1, n2}); // expected-error{{no matching function for call}} in main()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/fusion/test/sequence/
Dtuple_construction.cpp22 struct test_conversion struct
24 test_conversion(int value) : value_(value) {} in test_conversion() function
36 const tuple<int, test_conversion> instance(std::pair<int, int>(1, 9)); in main() argument
43 const tuple<int, test_conversion> instance(init); in main()
/aosp_15_r20/external/cronet/third_party/libc++abi/src/test/
H A Dcatch_multi_level_pointer.pass.cpp38 bool test_conversion(To) { return true; } in test_conversion() function
41 bool test_conversion(...) { return false; } in test_conversion() function
62 const bool can_convert = test_conversion<Catch>(throw_ptr); in catch_pointer_test()
/aosp_15_r20/external/libcxxabi/test/
H A Dcatch_multi_level_pointer.pass.cpp32 bool test_conversion(To) { return true; } in test_conversion() function
35 bool test_conversion(...) { return false; } in test_conversion() function
56 const bool can_convert = test_conversion<Catch>(throw_ptr); in catch_pointer_test()
/aosp_15_r20/external/libcxx/test/std/language.support/cmp/cmp.strongeq/
H A Dcmp.strongeq.pass.cpp47 void test_conversion() { in test_conversion() function
94 test_conversion(); in main()
/aosp_15_r20/external/libcxx/test/std/language.support/cmp/cmp.partialord/
H A Dpartialord.pass.cpp55 constexpr bool test_conversion() { in test_conversion() function
162 static_assert(test_conversion(), "conversion test failed"); in main()
/aosp_15_r20/external/libcxx/test/std/language.support/cmp/cmp.weakord/
H A Dweakord.pass.cpp54 constexpr bool test_conversion() { in test_conversion() function
167 static_assert(test_conversion(), "conversion test failed"); in main()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/language.support/cmp/cmp.weakord/
H A Dweakord.pass.cpp51 constexpr bool test_conversion() { in test_conversion() function
175 static_assert(test_conversion(), "conversion test failed"); in main()
/aosp_15_r20/external/libcxx/test/std/language.support/cmp/cmp.strongord/
H A Dstrongord.pass.cpp55 constexpr bool test_conversion() { in test_conversion() function
210 static_assert(test_conversion(), "conversion test failed"); in main()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/language.support/cmp/cmp.strongord/
H A Dstrongord.pass.cpp61 constexpr bool test_conversion() { in test_conversion() function
193 static_assert(test_conversion(), "conversion test failed"); in main()
/aosp_15_r20/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp6.cpp3 void test_conversion() { in test_conversion() function
/aosp_15_r20/external/clang/test/SemaCXX/
H A Duser-defined-conversions.cpp62 void test_conversion(ConvertibleToBase ctb, ConvertibleToDerived ctd, in test_conversion() function
/aosp_15_r20/external/eigen/test/
H A Dhalf_float.cpp24 void test_conversion() in test_conversion() function
341 CALL_SUBTEST(test_conversion()); in EIGEN_DECLARE_TEST()

12