/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/containers/views/mdspan/layout_right/ |
H A D | ctor.layout_stride.pass.cpp | 34 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 D | ctor.mapping.pass.cpp | 34 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 D | ctor.layout_left.pass.cpp | 36 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 D | ctor.layout_stride.pass.cpp | 34 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 D | ctor.mapping.pass.cpp | 34 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 D | ctor.layout_right.pass.cpp | 36 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/ |
D | mod.rs | 361 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 D | conversion.pass.cpp | 45 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 D | ctor.strided_mapping.pass.cpp | 48 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() 96 …test_conversion<idx_l_convertible && false, FromL, std::extents<T1, 5, D>>(std::extents<T2, D, D>(… in test_conversion() 97 …test_conversion<idx_l_convertible && true, FromL, std::extents<T1, D, D>>(std::extents<T2, D, D>(… in test_conversion() 98 …test_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 D | ctor.conversion.pass.cpp | 33 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 D | mutex.verify.cpp | 22 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 D | mutex.fail.cpp | 22 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 D | mutex.fail.cpp | 23 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/ |
D | tuple_construction.cpp | 22 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 D | catch_multi_level_pointer.pass.cpp | 38 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 D | catch_multi_level_pointer.pass.cpp | 32 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 D | cmp.strongeq.pass.cpp | 47 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 D | partialord.pass.cpp | 55 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 D | weakord.pass.cpp | 54 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 D | weakord.pass.cpp | 51 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 D | strongord.pass.cpp | 55 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 D | strongord.pass.cpp | 61 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 D | p6.cpp | 3 void test_conversion() { in test_conversion() function
|
/aosp_15_r20/external/clang/test/SemaCXX/ |
H A D | user-defined-conversions.cpp | 62 void test_conversion(ConvertibleToBase ctb, ConvertibleToDerived ctd, in test_conversion() function
|
/aosp_15_r20/external/eigen/test/ |
H A D | half_float.cpp | 24 void test_conversion() in test_conversion() function 341 CALL_SUBTEST(test_conversion()); in EIGEN_DECLARE_TEST()
|