Searched refs:new (Results 376 - 400 of 1541) sorted by relevance

<<11121314151617181920>>

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/lto/
H A D20080904_0.C34 Derived *d = new Derived (new char[256], 256);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/opt/
H A Dpr42508.C23 A *a1 = new A ();
24 A *a2 = new A ();
H A Dpr25005.C5 inline void *operator new (__SIZE_TYPE__, void *__p) throw() { return __p; }
20 P *b = this->a = ::new P[2];
22 ::new (b) P(*x);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/vect/
H A Dpr37143.C8 int *newssNumDF = new int [NumberOfSideSets];
14 newssDF = new float [numNewDF];
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/warn/
H A DWstrict-aliasing-bogus-placement-new.C4 inline void *operator new (__SIZE_TYPE__, void *__p) throw() { return __p; }
15 new (&m_data[0]) Y(y);
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Doperator.C18 void * operator new (size_t, void *);
28 void * operator new (A a); // { dg-error "first parameter" }
H A Dcond.C36 if (struct A { operator int () { return 1; } } *foo = new A) // { dg-error "defined" }
47 if (struct B * foo = new B)
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Ddelete8.C14 void* operator new (size_t s)
32 s2 = new S;
H A Dnew3.C12 p = new T[size];
26 A<B> *p = new A<B>;
H A Danon3.C35 void *operator new(size_t, void *ptr)
53 new (&b2) B(b1);
73 new (&a2) A(a1);
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dvirtual4.C29 bp = new C<T*>;
33 B* bp = new D<int>;
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.robertl/
H A Deb3.C6 Vec() { data = new T; }
8 void operator=(const Vec<T> &v) { data = new T; }
H A Deb71.C8 void* operator new(size_t);
33 tempN = new B();
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/
H A Dnew36.C1 // Testcase for invocation of constructors/destructors in operator new[].
52 S *s = new S[n];
65 new S[n];
88 S *s = new S;
98 S *s = new S[1];
108 S *s = new S[5];
119 S *s = new A;
132 new S[5];
143 new A;
/haiku-buildtools/isl/doc/
H A Dmypod2latex8 my $parser = new Pod::LaTeX(
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Dinitlist4.C14 new A{1,2};
20 new A({1,2}); // { dg-error "explicit" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/
H A Dpr56854.C5 operator new (__SIZE_TYPE__, void *p) throw ()
15 A &operator= (const A &v) { this->~A (); new (this) A (v); return *this; }
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp4736c.C40 delete new Main;
44 delete (Rep*)(Rep_1*)new Main;
48 delete (DVBase*)new Main;
52 delete (VBaseMain*)(DVBase*)new Main;
56 delete (Rep*)(Rep_2*)(DVBase*)new Main;
60 delete (OtherVBase*)(DVBase*)new Main;
/haiku-buildtools/binutils/binutils/testsuite/config/
H A Ddefault.exp25 set NM [findfile $base_dir/nm-new $base_dir/nm-new [transform nm]]
52 set STRIP [findfile $base_dir/strip-new $base_dir/strip-new [transform strip]]
89 if {[file isfile gas/as-new[exe_ext]]} then {
90 link_or_copy gas/as-new[exe_ext] as[exe_ext]
94 link_or_copy gas/as-new as[exe_ext]
97 if {[file isfile ld/ld-new[exe_ext]]} then {
98 link_or_copy ld/ld-new[exe_ext] ld[exe_ext]
100 link_or_copy ld/ld-new l
[all...]
/haiku-buildtools/legacy/gcc/texinfo/info/
H A Dnodemenu.c219 WINDOW *new; local
225 for (new = windows; new; new = new->next)
227 node = new->node;
236 if (!new)
239 new = window->next;
242 new = windows;
245 /* If we still don't have a window, make a new on
[all...]
/haiku-buildtools/legacy/gcc/gcc/
H A Dgenrecog.c281 rtx new;
285 new = XVECEXP (x, 0, 0);
290 new = rtx_alloc (PARALLEL);
291 XVEC (new, 0) = rtvec_alloc (i);
293 XVECEXP (new, 0, j) = XVECEXP (x, 0, j);
296 last = add_to_sequence (new, &clobber_head, "");
334 register struct decision *new
346 new->number = next_number++;
347 new->position = xstrdup (position);
348 new
279 rtx new; local
331 register struct decision *new local
[all...]
/haiku-buildtools/binutils/gas/testsuite/gas/xstormy16/
H A Dgcc.sh8 if [ ! -x ../gas/as-new ] ; then
17 if [ ! -x $BUILD/as-new ] ; then
29 $BUILD/as-new ${1}.s -o a.out
/haiku-buildtools/legacy/binutils/gas/testsuite/gas/xstormy16/
H A Dgcc.sh8 if [ ! -x ../gas/as-new ] ; then
17 if [ ! -x $BUILD/as-new ] ; then
29 $BUILD/as-new ${1}.s -o a.out
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/inherit/
H A Dvirtual8.C4 #include <new>
38 char *v = new char[sizeof (E) + 16];
40 E *e = new (v) E ();
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dvisibility17.C36 name_ = std::strcpy(new char[std::strlen(" ") + 1], " ");
42 name_ = std::strcpy(new char[std::strlen(str) + 1], str);
59 // Derived* d = new Derived(10, "test");
60 Derived* d = new Derived(10);

Completed in 121 milliseconds

<<11121314151617181920>>