/external/llvm-project/clang/test/CXX/lex/lex.literal/lex.ext/ |
D | p11.cpp | 5 template<typename T, typename U> struct same_type; 6 template<typename T> struct same_type<T, T> {}; struct 15 same_type<decltype(a), int> test_a; 16 same_type<decltype(b), double> test_b; 21 same_type<decltype(c), char> test_c; 22 same_type<decltype(d), int> test_d;
|
D | p7.cpp | 8 template<typename T, typename U> struct same_type; 9 template<typename T> struct same_type<T, T> {}; struct 22 same_type<decltype(v1), long double> test1; in main() 23 same_type<decltype(v2), std::string> test2; in main() 24 same_type<decltype(v3), unsigned> test3; in main()
|
/external/clang/test/CXX/lex/lex.literal/lex.ext/ |
D | p11.cpp | 5 template<typename T, typename U> struct same_type; 6 template<typename T> struct same_type<T, T> {}; struct 15 same_type<decltype(a), int> test_a; 16 same_type<decltype(b), double> test_b; 21 same_type<decltype(c), char> test_c; 22 same_type<decltype(d), int> test_d;
|
D | p7.cpp | 8 template<typename T, typename U> struct same_type; 9 template<typename T> struct same_type<T, T> {}; struct 22 same_type<decltype(v1), long double> test1; in main() 23 same_type<decltype(v2), std::string> test2; in main() 24 same_type<decltype(v3), unsigned> test3; in main()
|
/external/clang/test/SemaCXX/ |
D | cxx0x-initializer-stdinitializerlist.cpp | 41 struct same_type { static const bool value = false; }; argument 43 struct same_type<T, T> { static const bool value = true; }; argument 107 static_assert(same_type<decltype(deduce({1, 2, 3})), int>::value, "bad deduction"); in argument_deduction() 108 static_assert(same_type<decltype(deduce({1.0, 2.0, 3.0})), double>::value, "bad deduction"); in argument_deduction() 112 static_assert(same_type<decltype(deduce_ref({1, 2, 3})), int>::value, "bad deduction"); in argument_deduction() 113 static_assert(same_type<decltype(deduce_ref({1.0, 2.0, 3.0})), double>::value, "bad deduction"); in argument_deduction() 122 static_assert(same_type<decltype(l), std::initializer_list<int>>::value, ""); in auto_deduction() 123 static_assert(same_type<decltype(l3), int>::value, ""); in auto_deduction()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | cxx0x-initializer-stdinitializerlist.cpp | 41 struct same_type { static const bool value = false; }; struct 43 struct same_type<T, T> { static const bool value = true; }; struct 114 static_assert(same_type<decltype(deduce({1, 2, 3})), int>::value, "bad deduction"); in argument_deduction() 115 static_assert(same_type<decltype(deduce({1.0, 2.0, 3.0})), double>::value, "bad deduction"); in argument_deduction() 119 static_assert(same_type<decltype(deduce_ref({1, 2, 3})), int>::value, "bad deduction"); in argument_deduction() 120 static_assert(same_type<decltype(deduce_ref({1.0, 2.0, 3.0})), double>::value, "bad deduction"); in argument_deduction() 137 static_assert(same_type<decltype(l), std::initializer_list<int>>::value, ""); in auto_deduction() 138 static_assert(same_type<decltype(l3), int>::value, ""); in auto_deduction()
|
/external/python/pybind11/include/pybind11/ |
D | functional.h | 50 … same_type(typeid(function_type), *reinterpret_cast<const std::type_info *>(rec->data[1]))) {
|
D | cast.h | 514 if (instance_type && same_type(*instance_type->cpptype, *tinfo->cpptype)) 646 || (cpptype && !same_type(*cpptype, *foreign_typeinfo->cpptype))) in try_load_foreign_module_local() 887 if (instance_type && !same_type(cast_type, *instance_type)) {
|
/external/python/pybind11/include/pybind11/detail/ |
D | internals.h | 57 inline bool same_type(const std::type_info &lhs, const std::type_info &rhs) { return lhs == rhs; } in same_type() function 61 inline bool same_type(const std::type_info &lhs, const std::type_info &rhs) { in same_type() function
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/tests/ |
D | convert.mlir | 5 // CHECK-LABEL: func @same_type 7 func @same_type(%arg: tensor<f32>) -> tensor<f32> {
|
/external/tensorflow/tensorflow/compiler/mlir/tfr/tests/ |
D | ops.mlir | 131 %same_type = tfr.equal %0,%1 -> i1 139 return %same_type, %diff_type, %same_str, %diff_str : i1, i1, i1, i1
|