Searched refs:new (Results 201 - 225 of 1541) sorted by relevance
1234567891011>>
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/ |
H A D | net46.C | 5 #include <new> 11 void *operator new(size_t size) 24 new int;
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
H A D | new6.C | 2 // Test that we properly default-initialize the new int when () is given. 4 #include <new> 11 void *operator new (size_t size) 24 int *p = new int();
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.robertl/ |
H A D | eb15.C | 10 void *operator new(size_t sz) { 12 return ::operator new(sz); 22 new A();
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/parse/ |
H A D | using4.C | 6 void* operator new (__SIZE_TYPE__, void*); 12 using allocator::operator new; 18 new (0) type;
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/ |
H A D | defaulted19a.C | 13 void *operator new[](__SIZE_TYPE__ t) 15 p = ::operator new (t); 21 A* ap = new A[5];
|
H A D | initlist53.C | 6 void * operator new[] (__SIZE_TYPE__, void *p) { return p; } 16 new A[1]{}; 18 int *p = new (space) int[1]{};
|
H A D | auto32.C | 4 template <class T> auto f(T t) -> decltype (new auto(t));
|
H A D | implicit13.C | 21 void *operator new(__SIZE_TYPE__, void*) noexcept; 24 SA(noexcept(new (&d) D)); 28 SA(noexcept (new (&e) E)); 32 SA(noexcept (new (&f) F));
|
H A D | initlist61.C | 8 A* ap = new A{1,2};
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.bugs/ |
H A D | 900520_04.C | 7 // new. 34 int* ip = new int (1); // { dg-bogus "" } 35 double* dp = new double (9.9); // { dg-bogus "" } 36 charp* cpp0 = new charp (cp); // { dg-bogus "" } 37 charp* cpp1 = new charp (0); // { dg-bogus "" } 38 enum e_type* ep = new e_type (e_value); // { dg-bogus "" }
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/ |
H A D | new38.C | 6 new char[n] 15 new char[n] 25 new T[n] // { dg-error "size of array is too large" } 34 new T[n] // { dg-error "size of array is too large" } 43 new T[n] // { dg-error "size of array is too large" }
|
H A D | new37.C | 6 new (long[n][n]); // { dg-error "variable length|array size|not a constant|runtime bound" } 7 new long[n][n]; // { dg-error "variable length|array size|not a constant" } 14 return new long[n][T::n]; 21 return new long[n][T::n]; // { dg-error "variable length|array size|usable in a constant" } 28 return new long[T::n]; // { dg-error "size in array new" } 35 return new T[2][T::n]; // { dg-error "size of array has non-integral type" } 57 new long[0.2]; // { dg-error "integral or enumeration type" }
|
H A D | new40.C | 1 // Testcase for overflow handling in operator new[]. 21 void *operator new[] (size_t sz) 33 void *operator new[] (size_t sz) 48 operator new (size_t sz) _GLIBCXX_THROW (std::bad_alloc) 64 new pod_with_new[magic_allocation_size]; 75 new with_new[magic_allocation_size]; 82 new char[magic_allocation_size]; 90 new pod_with_new[magic_allocation_size][2]; 96 new with_new[magic_allocation_size][2]; 102 new cha [all...] |
H A D | new26.C | 14 inline void *operator new(__SIZE_TYPE__) 28 q = new float; 31 r = new int;
|
H A D | new30.C | 11 // array new as default argument required to reproduce compiler bug 12 ptr_type (data_type* ptr = new data_type[1]) { delete[] ptr; }
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/abi/ |
H A D | mangle51.C | 4 void* operator new (__SIZE_TYPE__, void *p) { return p; } 9 template <class T> void check1( helper<sizeof(new T)> * ) { } 11 template <class T> void check2( helper<sizeof(::new T())> * ) { } 13 template <class T> void check3( helper<sizeof(new (&i) T(1))> * ) { } 15 template <class T> void check3a( helper<sizeof(new T{1})> * ) { } 17 template <class T> void check4( helper<sizeof(new T[1])> * ) { } 19 template <class T> void check5( helper<sizeof(new T[1]())> * ) { }
|
/haiku-buildtools/legacy/gcc/texinfo/info/ |
H A D | gc.c | 52 char **new = (char **)NULL; local 71 (node->contents, new_index, new, new_slots, 10, char *); 78 of the original pointers which do not appear in the new list. */ 82 if (gcable_pointers[i] == new[j]) 85 /* If we got all the way through the new list, then the old pointer 87 if (new && !new[j]) 92 gcable_pointers = new;
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/ |
H A D | pr33340.C | 1 void* operator new(__SIZE_TYPE__, void* __p) { } 11 ::new(0) T(__x); 21 ap.p = new int();
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.brendan/ |
H A D | new3.C | 2 // library version of "::operator new[]" calling the "::operator new" 4 // of "::operator new[]" is built into the kernel itself; library relocations 8 // Avoid use of none-overridable new/delete operators in shared 10 // GROUPS passed operator-new 13 #include <new> 17 void *operator new(size_t sz) 42 A *bb = new A[10];
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.jason/ |
H A D | vecdel.C | 7 void * operator new [] (__SIZE_TYPE__ i) 8 { newsize = i; return ::operator new [](i); } 15 A* ap = new A [2];
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/ |
H A D | operators23.C | 3 // opr-new file 6 // Subject: g++-2.3.1 : Incorrectly calls overloaded operator new 17 void *operator new(size_t size) throw(); 25 void *blah::operator new(size_t size) throw(){ 34 blahPtr = new blah[100];
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ubsan/ |
H A D | null-2.C | 5 #include <new> 28 V *u = new (q) V; 30 V *v = new (q) V;
|
/haiku-buildtools/gcc/fixincludes/tests/base/Xm/ |
H A D | Traversal.h | 17 Widget old, new;
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/conversion/ |
H A D | simd4.C | 22 new int[t]; 23 new int[u]; // { dg-error "new-declarator must have integral" } 24 new int[v]; // { dg-error "new-declarator must have integral" } 25 new int[w]; // { dg-error "new-declarator must have integral" }
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/gomp/ |
H A D | pr26823-1.C | 21 new int;
|
Completed in 121 milliseconds
1234567891011>>