| /openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.cp/ |
| H A D | templates.cc | 375 class T2 { class 377 T2(int i): integer(i) in T2() function in T2 382 int operator==(const T2&, const T2&) in operator ==() argument 384 int operator==(const T2&, char) in operator ==() argument 386 int operator!=(const T2&, const T2&) in operator !=() argument 388 int operator!=(const T2&, char) in operator !=() argument 391 int operator<=(const T2&, const T2&) in operator <=() argument 393 int operator<=(const T2&, char) in operator <=() argument 395 int operator<(const T2&, const T2&) in operator <() argument 397 int operator<(const T2&, char) in operator <() argument [all …]
|
| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | utility | 73 template <class T1, class T2> 77 typedef T2 second_type; 80 T2 second; 85 … explicit(see-below) pair(const T1& x, const T2& y); // constexpr in C++14 86 … template <class U = T1, class V = T2> explicit(see-below) pair(U&&, V&&); // constexpr in C++14 101 … is_nothrow_move_assignable<T2>::value); // constexpr in C++20 108 … is_nothrow_swappable_v<T2>); // constexpr in C++20 112 template<class T1, class T2, class U1, class U2, template<class> class TQual, template<class> class… 113 struct basic_common_reference<pair<T1, T2>, pair<U1, U2>, TQual, UQual>; // since C++23 115 template<class T1, class T2, class U1, class U2> [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/ |
| H A D | spec17.C | 6 template<class T1, class T2> 9 template<class T1, class T2> 10 struct BT< Foo<T1>, Foo<T2> > { static const int i = 1; }; 12 template<class T1, class T2> 13 struct BT< T1, Foo<T2> > { static const int i = 2; }; 15 template<class T1, class T2> 16 struct BT< Foo<T1>, T2 > { static const int i = 3; }; 18 template<class T1, class T2> 19 int foo(Foo<T1>, Foo<T2>) 24 template<class T1, class T2> [all …]
|
| H A D | instantiate2.C | 5 template <class T2> T2 conv_compare_ge(T2 test) { in conv_compare_ge() 6 T2 tmp_value = T2 (0); in conv_compare_ge()
|
| H A D | explicit15.C | 24 template<class T2> 25 typename SliceInfo<T2>::T_slice 26 foo(T2 r2) in foo() 28 return SliceInfo<T2>::T_slice(); in foo()
|
| H A D | explicit16.C | 22 template<class T2> 23 typename SliceInfo<T2>::T_slice 24 foo(T2 r2) in foo() 26 return SliceInfo<T2>::T_slice(); in foo()
|
| H A D | memtemp67.C | 4 template <class T2> 5 operator A<T2>() const { return A<T2>(); } in A()
|
| H A D | typename1.C | 10 typedef T T2; typedef 18 C<typename E::T2::T1> 21 return C<typename E::T2::T1>(); in foo()
|
| /openbsd-src/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/ |
| H A D | constructors_destructor_fn_imps.hpp | 66 template<typename T0, typename T1, typename T2> 68 PB_DS_CLASS_NAME(T0 t0, T1 t1, T2 t2) : base_type(t0, t1, t2) in PB_DS_CLASS_NAME() 71 template<typename T0, typename T1, typename T2, typename T3> 73 PB_DS_CLASS_NAME(T0 t0, T1 t1, T2 t2, T3 t3) in PB_DS_CLASS_NAME() 77 template<typename T0, typename T1, typename T2, typename T3, typename T4> 79 PB_DS_CLASS_NAME(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4) in PB_DS_CLASS_NAME() 83 template<typename T0, typename T1, typename T2, typename T3, typename T4, 86 PB_DS_CLASS_NAME(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5) in PB_DS_CLASS_NAME() 90 template<typename T0, typename T1, typename T2, typename T3, typename T4, 93 PB_DS_CLASS_NAME(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6) in PB_DS_CLASS_NAME() [all …]
|
| /openbsd-src/lib/libcrypto/modes/asm/ |
| H A D | ghash-x86_64.pl | 354 ($T1,$T2,$T3)=("%xmm3","%xmm4","%xmm5"); 362 pshufd \$0b01001110,$Hkey,$T2 364 pxor $Hkey,$T2 369 pclmulqdq \$0x00,$T2,$T1 ####### 373 movdqa $T1,$T2 # 375 pslldq \$8,$T2 # 377 pxor $T2,$Xi # 392 movdqa $Xi,$T2 # 394 psrldq \$8,$T2 # 396 pxor $T2,$Xhi # [all …]
|
| H A D | ghash-x86.pl | 812 ($T1,$T2,$T3)=("xmm3","xmm4","xmm5"); 822 &pshufd ($T2,$Hkey,0b01001110); 824 &pxor ($T2,$Hkey); 828 &pclmulqdq ($T1,$T2,0x00); ####### 832 &movdqa ($T2,$T1); # 834 &pslldq ($T2,8); # 836 &pxor ($Xi,$T2); # 851 &pshufd ($T2,$T1,0b01001110); # 853 &pxor ($T2,$T1); # 855 &pclmulqdq ($T2,$T3,0x00); ####### [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
| H A D | overload2.C | 7 template <class T1, class T2> 8 void operator+(const ConstArray<T1>&, const ConstArray<T2>&) 12 template <class T1, class T2> 13 void operator+(const ConstArray<T1>&, T2); 15 template <class T1, class T2> 16 void operator+(T1, const ConstArray<T2>&);
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
| H A D | c99-intconst-1.c | 29 #define type_comb2(T1, T2) __typeof__(0 ? (T1)0 : (T2)0) argument 30 #define type_comb3(T1, T2, T3) type_comb2(T1, type_comb2(T2, T3)) argument 31 #define type_comb4(T1, T2, T3, T4) \ argument 32 type_comb2(T1, type_comb2(T2, type_comb2(T3, T4))) 33 #define type_comb6(T1, T2, T3, T4, T5, T6) \ argument 35 type_comb2(T2, \ 41 #define first_of2p(T1, E1, T2, E2) type_comb2(type_if(T1, (E1)), \ argument 42 type_if(T2, (!(E1) && (E2)))) 44 #define first_of3p(T1, E1, T2, E2, T3, E3) \ argument 46 type_if(T2, (!(E1) && (E2))), \ [all …]
|
| H A D | c90-intconst-1.c | 29 #define type_comb2(T1, T2) __typeof__(0 ? (T1)0 : (T2)0) argument 30 #define type_comb3(T1, T2, T3) type_comb2(T1, type_comb2(T2, T3)) argument 31 #define type_comb4(T1, T2, T3, T4) \ argument 32 type_comb2(T1, type_comb2(T2, type_comb2(T3, T4))) 35 #define first_of2p(T1, E1, T2, E2) type_comb2(type_if(T1, (E1)), \ argument 36 type_if(T2, (!(E1) && (E2)))) 38 #define first_of3p(T1, E1, T2, E2, T3, E3) \ argument 40 type_if(T2, (!(E1) && (E2))), \ 44 #define first_of4p(T1, E1, T2, E2, T3, E3, T4, E4) \ argument 46 type_if(T2, (!(E1) && (E2))), \ [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_syscall_linux_x86_64.inc | 30 template <typename T1, typename T2> 31 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2) { 38 template <typename T1, typename T2, typename T3> 39 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3) { 46 template <typename T1, typename T2, typename T3, typename T4> 47 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3, T4 arg4) { 56 template <typename T1, typename T2, typename T3, typename T4, typename T5> 57 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3, T4 arg4, 68 template <typename T1, typename T2, typename T3, typename T4, typename T5, 70 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3, T4 arg4,
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ASTStructuralEquivalence.cpp | 98 QualType T1, QualType T2); 710 QualType T1, QualType T2) { in IsStructurallyEquivalent() argument 711 if (T1.isNull() || T2.isNull()) in IsStructurallyEquivalent() 712 return T1.isNull() && T2.isNull(); in IsStructurallyEquivalent() 715 QualType OrigT2 = T2; in IsStructurallyEquivalent() 721 T2 = Context.ToCtx.getCanonicalType(T2); in IsStructurallyEquivalent() 724 if (T1.getQualifiers() != T2.getQualifiers()) in IsStructurallyEquivalent() 729 if (T1->getTypeClass() != T2->getTypeClass()) { in IsStructurallyEquivalent() 733 T2->getTypeClass() == Type::FunctionNoProto) in IsStructurallyEquivalent() 736 T2->getTypeClass() == Type::FunctionProto) in IsStructurallyEquivalent() [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/template/ |
| H A D | func1.C | 1 template <typename T1,typename T2> 2 inline void f(const T1&,const T2&) { } in f() argument 4 template <typename T1,typename T2,void F(const T1&,const T2&)>
|
| H A D | conv3.C | 14 template <typename T2> operator T2 () in T2() function 22 template <typename T2> int Baz () in Baz() 24 return static_cast <int> (operator T2 ()); in Baz()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/ASTDiff/ |
| H A D | ASTDiff.cpp | 60 SyntaxTree::Impl &T1, &T2; member in clang::diff::ASTDiff::Impl 63 Impl(SyntaxTree::Impl &T1, SyntaxTree::Impl &T2, 76 assert(&*Tree == &T2 && "Invalid tree."); in getMapped() 566 const SyntaxTree::Impl &T2, NodeId Id1, NodeId Id2) in ZhangShashaMatcher() argument 567 : DiffImpl(DiffImpl), S1(T1, Id1), S2(T2, Id2) { in ZhangShashaMatcher() 758 const Node &N2 = T2.getNode(Id2); in identical() 761 T1.getNodeValue(Id1) != T2.getNodeValue(Id2)) in identical() 770 return Options.isMatchingAllowed(T1.getNode(Id1), T2.getNode(Id2)); in isMatchingPossible() 776 NodeId P2 = T2.getNode(Id2).Parent; in haveSameParents() 783 if (std::max(T1.getNumberOfDescendants(Id1), T2.getNumberOfDescendants(Id2)) > in addOptimalMapping() [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.benjamin/ |
| H A D | tem05.C | 41 template <class T2> bool compare_ge(T2 test); 52 export template <class T2> // WARNING - 53 bool compare_ge(T2 test) { in compare_ge()
|
| /openbsd-src/gnu/gcc/libstdc++-v3/include/ext/ |
| H A D | typelist.h | 102 template<typename T1, typename T2> in _GLIBCXX_BEGIN_NAMESPACE() 105 template<typename T1, typename T2, typename T3> in _GLIBCXX_BEGIN_NAMESPACE() 108 template<typename T1, typename T2, typename T3, typename T4> in _GLIBCXX_BEGIN_NAMESPACE() 111 template<typename T1, typename T2, typename T3, typename T4, typename T5> in _GLIBCXX_BEGIN_NAMESPACE() 114 template<typename T1, typename T2, typename T3, in _GLIBCXX_BEGIN_NAMESPACE() 437 template<typename T1, typename T2> 440 typedef node<_GLIBCXX_TYPELIST_CHAIN2(T1,T2)> type; 443 template<typename T1, typename T2, typename T3> 446 typedef node<_GLIBCXX_TYPELIST_CHAIN3(T1,T2,T3)> type; 449 template<typename T1, typename T2, typename T3, typename T4> [all …]
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/ext/ |
| H A D | hash_map.cc | 56 template<class T1, class T2> struct hash<pair<T1,T2> > 59 hash<T2> __sh; 60 size_t operator()(const pair<T1,T2> &p) const { in operator ()()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.robertl/ |
| H A D | eb37.C | 9 typedef T T2; typedef 17 C<typename E::T2::T1> 20 return C<typename E::T2::T1>(); in foo()
|
| H A D | eb11.C | 15 template<class T1, class T2> 19 a = T1::a + T2::a, 25 n = meta_max<T1::n,T2::n>::max enumerator
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/format/ |
| H A D | format.h | 41 #define type_comb2(T1, T2) __typeof__(0 ? (T1)0 : (T2)0) argument 42 #define type_comb3(T1, T2, T3) type_comb2(T1, type_comb2(T2, T3)) argument
|