Searched refs:reinterpret_cast (Results 1 - 25 of 143) sorted by relevance

123456

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/conversion/
H A Dreinterpret2.C4 reinterpret_cast<void*>(b);
H A Dreinterpret4.C4 unsigned long t2 = reinterpret_cast<unsigned long>(t1);
H A Ddr195-1.C24 pf = reinterpret_cast <PF>(pv);
25 pv = reinterpret_cast <PV>(pf);
28 pf = reinterpret_cast <PF>(po);
29 po = reinterpret_cast <PO>(pf);
H A Dreinterpret3.C6 reinterpret_cast<const S>(s); // { dg-error "" }
H A Ddr195.C22 pf = reinterpret_cast <PF>(pv);
23 pv = reinterpret_cast <PV>(pf);
26 pf = reinterpret_cast <PF>(po);
27 po = reinterpret_cast <PO>(pf);
H A Dreinterpret1.C6 Y y1(reinterpret_cast<int>(v)); // { dg-error "" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/tree-ssa/
H A Dpr19637.C14 new (reinterpret_cast<char *>(i)) Foo();
15 return reinterpret_cast<Foo *>(i)->i[0];
21 new (reinterpret_cast<void *>(i)) Foo();
22 return reinterpret_cast<Foo *>(i)->i[0];
28 new (reinterpret_cast<void *>(&i[0])) Foo();
29 return reinterpret_cast<Foo *>(&i[0])->i[0];
H A Dpr54515.C9 unsigned char (&d)[2] = reinterpret_cast < unsigned char (&)[2] > (c);
10 unsigned char (&e)[2] = reinterpret_cast < unsigned char (&)[2] > (b);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/expr/
H A Dcast10.C9 short p = reinterpret_cast<char*>(&(c->*m)) - reinterpret_cast<char*>(c);
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/
H A Dpr31579.C8 unsigned int a = (((__SIZE_TYPE__)&reinterpret_cast<const volatile
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/warn/
H A DWstrict-aliasing-bogus-char-1.C7 char* c= reinterpret_cast<char*>(&i); /* { dg-bogus "char" } */
H A DWstrict-aliasing-bogus-signed-unsigned.C7 unsigned int* pu = reinterpret_cast<unsigned int*> (&i); /* { dg-bogus "signed vs. unsigned" } */
H A DWstrict-aliasing-float-ref-int-obj.C7 float& q = reinterpret_cast<float&> (x); /* { dg-message "dereferencing type-punned" "deref" { target *-*-* } } */
H A DWconditionally-supported-1.C20 pf = reinterpret_cast <PF>(pv); // { dg-warning "conditionally-supported" }
21 pv = reinterpret_cast <PV>(pf); // { dg-warning "conditionally-supported" }
23 pf = reinterpret_cast <PF>(po); // { dg-warning "conditionally-supported" }
24 po = reinterpret_cast <PO>(pf); // { dg-warning "conditionally-supported" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/opt/
H A Dpr55081.C11 (reinterpret_cast <__UINTPTR_TYPE__>(&r.field)
12 - reinterpret_cast <__UINTPTR_TYPE__>(&r)) + 1
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/
H A Darg9.C8 S <reinterpret_cast <int> (4>>2)> s2;
H A Dfn-ptr2.C11 z1<reinterpret_cast<voidfn*>(a)>(); // { dg-error "" }
13 z2<reinterpret_cast<voidfn&>(a)>(); // { dg-error "" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Drv-reinterpret.C8 f(reinterpret_cast<int&&>(x));
H A Dnullptr04.C8 const short int n5 = reinterpret_cast<short int>(nullptr); // { dg-error "loses precision" }
9 const intptr_t n6 = reinterpret_cast<intptr_t>(nullptr);
14 const short int n9 = reinterpret_cast<short int>(mynull); // { dg-error "loses precision" }
15 const intptr_t n10 = reinterpret_cast<intptr_t>(mynull);
H A Dreinterpret_cast1.C5 void (*pf)() = reinterpret_cast<decltype(pf)>(po);
H A Dpr38795.C6 return *reinterpret_cast<T*>(i); // { dg-error "not expanded with|T" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/
H A Dpr66866.C15 reinterpret_cast<A *>(&r)[5] = reinterpret_cast<const A *>(&v)[4];
23 *reinterpret_cast<__m128i *>(mem) = shuf (*reinterpret_cast<__m128i *>(mem));
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/
H A Dvector6.C11 (reinterpret_cast<__v4F>(b).a)[1] = 1; // { dg-error "" }
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ubsan/
H A Dpr63813.C11 return *reinterpret_cast <A *> (foo ());
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp9206.C18 Yptr yp = reinterpret_cast<Yptr>(xp);
19 xp = reinterpret_cast<Xptr>(yp);

Completed in 206 milliseconds

123456