/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/ |
H A D | crash107.C | 5 template<typename FP_> struct Vec { // { dg-message "note" } struct 6 Vec& operator^=(Vec& rhs) { 12 Vec& operator^(Vec& rhs) { 13 return Vec(*this)^=rhs; // { dg-message "required" } 16 Vec<double> v(3,4,12); // { dg-error "no matching" } 17 Vec<double> V(12,4,3); // { dg-error "no matching" } 18 Vec<double> c = v^V; // { dg-message "required" }
|
H A D | array10.C | 7 template<class T> struct Vec { struct 12 template<class T> inline T& Vec<T>::operator[](int i) const 17 inline double foo(Vec<double> v)
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.pt/ |
H A D | friend49.C | 10 template <class Type> class Vec; 12 template <> class Vec<double> class 15 Vec (); 16 Vec<double> & Fn (double); 17 friend Vec<double> Fn (const Vec<double> &, double);
|
/haiku-buildtools/gcc/gcc/testsuite/obj-c++.dg/ |
H A D | encode-2.mm | 5 struct Vec { 11 Vec<double> dvec; 12 Vec<float> fvec; 15 Vec<signed char> chVec; 19 Vec<double> dd; 21 const char *enc = @encode(Vec<float>); 22 const char *enc2 = @encode(Vec<double>); 25 /* { dg-final { scan-assembler "{Vec<float>=ffi}" } } */ 26 /* { dg-final { scan-assembler "{Vec<double>=ddi}" } } */ 27 /* { dg-final { scan-file "encode-2.o" "{?={Vec<doubl [all...] |
H A D | encode-3.mm | 9 struct Vec { 21 Vec<const signed char> cv; 24 //Vec<double> dd; 25 const char *enc = @encode(Vec<float>); 26 const char *enc2 = @encode(Vec<double>); 39 #define E3 "{?=f[10d]i" L "q{Vec<const signed char>=cc" L "q}}" 41 #define E3 "{?=f[10d]i" L "q{Vec<const signed char>=rcrc" L "q}}" 50 if (strcmp (enc, (const char *)"{Vec<float>=ff" L "q}")) 53 if (strcmp (enc2, (const char *)"{Vec<double>=dd" L "q}"))
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/other/ |
H A D | pr34435.C | 6 class Vec { class 9 Vec(int mm) { function in class:Vec 18 _mm_shuffle_epi32(Vec(5), _MM_SHUFFLE(3,3,3,3));
|
H A D | vector-compare.C | 12 struct Vec struct 29 Vec<const volatile float,4>::type f = {-1,5,2,3.1}; 32 Vec<const volatile float,4>::fun (f, x); 33 Vec<const volatile float,4>::fun (x, f); 34 Vec<const volatile float,4>::fun (f, f); 35 Vec<const volatile float,4>::fun (x, x);
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/tree-ssa/ |
H A D | pr31146-2.C | 7 struct Vec struct 9 Vec() function in struct:Vec 19 Vec<double> v;
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.robertl/ |
H A D | eb3.C | 4 class Vec { class 6 Vec() { data = new T; } function in class:Vec 7 Vec<T> split() { Vec<T> tmp; operator=(tmp); return tmp; } 8 void operator=(const Vec<T> &v) { data = new T; } 11 template class Vec<std::complex<double> >;
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/24_iterators/move_iterator/ |
H A D | dr2106.cc | 25 typedef std::vector<bool> Vec; typedef 26 typedef Vec::reference Ref; 27 typedef Vec::const_reference CRef; 28 typedef Vec::iterator It; 29 typedef Vec::const_iterator CIt;
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-55573.C | 18 typedef Vec4<T> Vec; typedef in struct:Rot3 19 Vec axis[3]; 23 typedef Vec4<float> Vec; typedef 24 Rot3<float> r2 ((Vec) {0, 1, 0, 0}, (Vec){0, 0, 1, 0}, (Vec){1, 0, 0, 0});
|
H A D | constexpr-53094-3.C | 10 typedef V4 Vec; typedef in struct:Rot3 11 Vec axis[3]; 15 Rot3((Vec) { xx, xy, xz, 0 }, 16 (Vec) { yx, yy, yz, 0 }, 17 (Vec) { zx, zy, zz, 0 }) {}
|
H A D | alias-decl-2.C | 21 template<class T> using Vec = Vector<T, Alloc<T> >; 30 Vec<int> a;
|
/haiku-buildtools/gcc/gcc/testsuite/go.test/test/bench/shootout/ |
H A D | spectral-norm.go | 49 type Vec []float64 type 51 func (v Vec) Times(u Vec) { 60 func (v Vec) TimesTransp(u Vec) { 69 func (v Vec) ATimesTransp(u Vec) { 70 x := make(Vec, len(u)) 78 u := make(Vec, N) 82 v := make(Vec, [all...] |
H A D | spectral-norm-parallel.go | 51 type Vec []float64 type 53 func (v Vec) Times(i, n int, u Vec, c chan int) { 63 func (v Vec) TimesTransp(i, n int, u Vec, c chan int) { 79 func (v Vec) ATimesTransp(u Vec) { 80 x := make(Vec, len(u)) 96 u := make(Vec, N) 100 v := make(Vec, [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/util/io/ |
H A D | text_populate.hpp | 53 template<typename Vec> 55 text_populate(const std::string& r_f_name, Vec& r_a_txt) 97 template<typename Vec> 99 distinct_text_populate(const std::string& r_f_name, Vec& r_a_txt) 115 typedef std::set< typename Vec::value_type::first_type> set_t; 121 typename Vec::value_type::first_type v;
|
/haiku-buildtools/gcc/gcc/testsuite/objc.dg/ |
H A D | encode-10.m | 3 typedef struct Vec { 18 /* { dg-final { scan-assembler "{Vec=ddi}" } } */ 19 /* { dg-final { scan-assembler "{?=fd{Vec=ddi}i}" } } */
|
H A D | encode-11.m | 6 typedef struct Vec { 36 if (strcmp (enc, "{Vec=[10d][5d]fi}")) 39 if (strcmp (enc2, "{?=fd{Vec=[10d][5d]fi}i" L "q}"))
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/24_iterators/reverse_iterator/ |
H A D | 11729.cc | 30 typedef std::vector<int> Vec; typedef 31 typedef Vec::reverse_iterator reverse_iterator; 32 typedef Vec::const_reverse_iterator const_reverse_iterator; 34 Vec v(2);
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/opt/ |
H A D | pr56381.C | 29 template <typename Vec> 30 Vec cross3 (Vec x, Vec y) 32 Vec x1200 = (Vec) { x[2], x[0] }; 33 Vec y2010 { y[2], y[0], y[1], y[0] }; 34 Vec x2010 = (Vec) { x[2], x[0], x[1], x[0] }; 35 Vec y120 41 typedef Vec4 <T> Vec; typedef in struct:Rot3 [all...] |