/external/cronet/stable/third_party/libc++/src/test/std/containers/views/mdspan/layout_left/ |
D | ctor.layout_stride.pass.cpp | 36 constexpr void test_conversion(FromE src_exts) { in test_conversion() function 60 constexpr void test_conversion() { in test_conversion() function 64 test_conversion<true, std::extents<T1>>(std::extents<T2>()); in test_conversion() 65 test_conversion<false, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion() 66 test_conversion<false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion() 67 test_conversion<false, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion() 68 test_conversion<false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 69 test_conversion<false, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 70 test_conversion<false, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion() 71 test_conversion<false, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion() [all …]
|
D | ctor.mapping.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() 63 test_conversion<idx_convertible && false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 64 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 65 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion() 66 test_conversion<idx_convertible && true, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion() [all …]
|
D | ctor.layout_right.pass.cpp | 38 constexpr void test_conversion(FromE src_exts) { in test_conversion() function 55 constexpr void test_conversion() { in test_conversion() function 61 test_conversion<idx_convertible && true, std::extents<T1>>(std::extents<T2>()); in test_conversion() 62 test_conversion<idx_convertible && true, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion() 63 test_conversion<idx_convertible && false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion() 64 test_conversion<idx_convertible && true, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion() 115 test_conversion<int, int>(); in test() 116 test_conversion<int, size_t>(); in test() 117 test_conversion<size_t, int>(); in test() 118 test_conversion<size_t, long>(); in test()
|
/external/cronet/stable/third_party/libc++/src/test/std/containers/views/mdspan/layout_right/ |
D | ctor.layout_stride.pass.cpp | 36 constexpr void test_conversion(FromE src_exts) { in test_conversion() function 60 constexpr void test_conversion() { in test_conversion() function 64 test_conversion<true, std::extents<T1>>(std::extents<T2>()); in test_conversion() 65 test_conversion<false, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion() 66 test_conversion<false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion() 67 test_conversion<false, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion() 68 test_conversion<false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 69 test_conversion<false, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 70 test_conversion<false, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion() 71 test_conversion<false, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion() [all …]
|
D | ctor.mapping.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() 63 test_conversion<idx_convertible && false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 64 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 65 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion() 66 test_conversion<idx_convertible && true, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion() [all …]
|
D | ctor.layout_left.pass.cpp | 38 constexpr void test_conversion(FromE src_exts) { in test_conversion() function 55 constexpr void test_conversion() { in test_conversion() function 61 test_conversion<idx_convertible && true, std::extents<T1>>(std::extents<T2>()); in test_conversion() 62 test_conversion<idx_convertible && true, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion() 63 test_conversion<idx_convertible && false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion() 64 test_conversion<idx_convertible && true, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion() 115 test_conversion<int, int>(); in test() 116 test_conversion<int, size_t>(); in test() 117 test_conversion<size_t, int>(); in test() 118 test_conversion<size_t, long>(); in test()
|
/external/cronet/tot/third_party/libc++/src/test/std/containers/views/mdspan/layout_right/ |
D | ctor.layout_stride.pass.cpp | 36 constexpr void test_conversion(FromE src_exts) { in test_conversion() function 60 constexpr void test_conversion() { in test_conversion() function 64 test_conversion<true, std::extents<T1>>(std::extents<T2>()); in test_conversion() 65 test_conversion<false, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion() 66 test_conversion<false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion() 67 test_conversion<false, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion() 68 test_conversion<false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 69 test_conversion<false, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 70 test_conversion<false, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion() 71 test_conversion<false, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion() [all …]
|
D | ctor.mapping.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() 63 test_conversion<idx_convertible && false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 64 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 65 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion() 66 test_conversion<idx_convertible && true, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion() [all …]
|
D | ctor.layout_left.pass.cpp | 38 constexpr void test_conversion(FromE src_exts) { in test_conversion() function 55 constexpr void test_conversion() { in test_conversion() function 61 test_conversion<idx_convertible && true, std::extents<T1>>(std::extents<T2>()); in test_conversion() 62 test_conversion<idx_convertible && true, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion() 63 test_conversion<idx_convertible && false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion() 64 test_conversion<idx_convertible && true, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion() 115 test_conversion<int, int>(); in test() 116 test_conversion<int, size_t>(); in test() 117 test_conversion<size_t, int>(); in test() 118 test_conversion<size_t, long>(); in test()
|
/external/cronet/tot/third_party/libc++/src/test/std/containers/views/mdspan/layout_left/ |
D | ctor.layout_stride.pass.cpp | 36 constexpr void test_conversion(FromE src_exts) { in test_conversion() function 60 constexpr void test_conversion() { in test_conversion() function 64 test_conversion<true, std::extents<T1>>(std::extents<T2>()); in test_conversion() 65 test_conversion<false, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion() 66 test_conversion<false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion() 67 test_conversion<false, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion() 68 test_conversion<false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 69 test_conversion<false, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 70 test_conversion<false, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion() 71 test_conversion<false, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion() [all …]
|
D | ctor.mapping.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() 63 test_conversion<idx_convertible && false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 64 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 65 test_conversion<idx_convertible && true, std::extents<T1, D, D>>(std::extents<T2, D, 7>(5)); in test_conversion() 66 test_conversion<idx_convertible && true, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion() [all …]
|
D | ctor.layout_right.pass.cpp | 38 constexpr void test_conversion(FromE src_exts) { in test_conversion() function 55 constexpr void test_conversion() { in test_conversion() function 61 test_conversion<idx_convertible && true, std::extents<T1>>(std::extents<T2>()); in test_conversion() 62 test_conversion<idx_convertible && true, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion() 63 test_conversion<idx_convertible && false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion() 64 test_conversion<idx_convertible && true, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion() 115 test_conversion<int, int>(); in test() 116 test_conversion<int, size_t>(); in test() 117 test_conversion<size_t, int>(); in test() 118 test_conversion<size_t, long>(); in test()
|
/external/cronet/tot/third_party/libc++/src/test/std/containers/views/mdspan/extents/ |
D | conversion.pass.cpp | 44 constexpr void test_conversion(From src) { in test_conversion() function 55 constexpr void test_conversion() { in test_conversion() function 61 test_conversion<idx_convertible && true, std::extents<T1>>(std::extents<T2>()); in test_conversion() 62 test_conversion<idx_convertible && true, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion() 63 test_conversion<idx_convertible && false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion() 64 test_conversion<idx_convertible && true, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion() 65 test_conversion<idx_convertible && false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 66 test_conversion<idx_convertible && true, std::extents<T1, D, 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, 7>(5)); in test_conversion() 68 test_conversion<idx_convertible && true, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion() [all …]
|
/external/cronet/stable/third_party/libc++/src/test/std/containers/views/mdspan/extents/ |
D | conversion.pass.cpp | 44 constexpr void test_conversion(From src) { in test_conversion() function 55 constexpr void test_conversion() { in test_conversion() function 61 test_conversion<idx_convertible && true, std::extents<T1>>(std::extents<T2>()); in test_conversion() 62 test_conversion<idx_convertible && true, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion() 63 test_conversion<idx_convertible && false, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion() 64 test_conversion<idx_convertible && true, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion() 65 test_conversion<idx_convertible && false, std::extents<T1, 5, D>>(std::extents<T2, D, D>(5, 5)); in test_conversion() 66 test_conversion<idx_convertible && true, std::extents<T1, D, 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, 7>(5)); in test_conversion() 68 test_conversion<idx_convertible && true, std::extents<T1, 5, 7>>(std::extents<T2, 5, 7>()); in test_conversion() [all …]
|
/external/cronet/tot/third_party/libc++/src/test/std/containers/views/mdspan/layout_stride/ |
D | ctor.strided_mapping.pass.cpp | 49 constexpr void test_conversion(FromE src_exts) { in test_conversion() function 81 constexpr void test_conversion() { in test_conversion() function 92 test_conversion<idx_l_convertible && true, FromL, std::extents<T1>>(std::extents<T2>()); in test_conversion() 93 test_conversion<idx_l_convertible && true, FromL, std::extents<T1, D>>(std::extents<T2, D>(0)); in test_conversion() 94 test_conversion<idx_l_convertible && true, FromL, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion() 95 test_conversion<idx_l_convertible && false, FromL, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion() 96 test_conversion<idx_l_convertible && true, FromL, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion() 97 …test_conversion<idx_l_convertible && false, FromL, std::extents<T1, 5, 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, D>(… in test_conversion() 99 …test_conversion<idx_l_convertible && true, FromL, std::extents<T1, D, D>>(std::extents<T2, D, 7>(… in test_conversion() [all …]
|
/external/cronet/stable/third_party/libc++/src/test/std/containers/views/mdspan/layout_stride/ |
D | ctor.strided_mapping.pass.cpp | 49 constexpr void test_conversion(FromE src_exts) { in test_conversion() function 81 constexpr void test_conversion() { in test_conversion() function 92 test_conversion<idx_l_convertible && true, FromL, std::extents<T1>>(std::extents<T2>()); in test_conversion() 93 test_conversion<idx_l_convertible && true, FromL, std::extents<T1, D>>(std::extents<T2, D>(0)); in test_conversion() 94 test_conversion<idx_l_convertible && true, FromL, std::extents<T1, D>>(std::extents<T2, D>(5)); in test_conversion() 95 test_conversion<idx_l_convertible && false, FromL, std::extents<T1, 5>>(std::extents<T2, D>(5)); in test_conversion() 96 test_conversion<idx_l_convertible && true, FromL, std::extents<T1, 5>>(std::extents<T2, 5>()); in test_conversion() 97 …test_conversion<idx_l_convertible && false, FromL, std::extents<T1, 5, 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, D>(… in test_conversion() 99 …test_conversion<idx_l_convertible && true, FromL, std::extents<T1, D, D>>(std::extents<T2, D, 7>(… in test_conversion() [all …]
|
/external/rust/android-crates-io/crates/rusqlite/src/types/ |
D | mod.rs | 362 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 …]
|
/external/cronet/stable/third_party/libc++/src/test/std/containers/views/mdspan/default_accessor/ |
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()
|
/external/cronet/tot/third_party/libc++/src/test/std/containers/views/mdspan/default_accessor/ |
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()
|
/external/cronet/tot/third_party/libc++/src/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/ |
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()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/ |
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()
|
/external/cronet/stable/third_party/libc++/src/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/ |
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()
|
/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() argument 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()
|
/external/cronet/stable/third_party/libc++abi/src/test/ |
D | catch_multi_level_pointer.pass.cpp | 35 bool test_conversion(To) { return true; } in test_conversion() function 38 bool test_conversion(...) { return false; } in test_conversion() function 59 const bool can_convert = test_conversion<Catch>(throw_ptr); in catch_pointer_test()
|
/external/cronet/tot/third_party/libc++abi/src/test/ |
D | catch_multi_level_pointer.pass.cpp | 35 bool test_conversion(To) { return true; } in test_conversion() function 38 bool test_conversion(...) { return false; } in test_conversion() function 59 const bool can_convert = test_conversion<Catch>(throw_ptr); in catch_pointer_test()
|