Lines Matching refs:cast
8 X *cast(Y*);
15 X *cast(Y *);
22 if (auto x = cast<X>(y)) in foo()
27 while (auto x = cast<X>(y)) in foo()
32 if (cast<X>(y)) in foo()
37 while (cast<X>(y)) in foo()
44 } while (cast<X>(y)); in foo()
74 if (z->bar() && cast<Y>(z->bar())) in foo()
89 bool b = z->bar() && cast<Y>(z->bar()); in foo()
94 if (auto x = cast<Z>(y)->foo()) in foo()
96 if (auto x = z->cast(y)) in foo()
98 while (auto x = cast<Z>(y)->foo()) in foo()
100 if (cast<Z>(y)->foo()) in foo()
102 if (z->cast(y)) in foo()
104 while (cast<Z>(y)->foo()) in foo()
106 if (y && cast<X>(z->bar())) in foo()
108 if (z && cast<Z>(y)->foo()) in foo()
110 bool b2 = y && cast<X>(z); in foo()
111 if(z->cast(y)) in foo()
113 if (z->baz(cast<Y>(z))) in foo()
116 #define CAST(T, Obj) cast<T>(Obj) in foo()
117 #define AUTO_VAR_CAST(X, Y, Z) auto X = cast<Y>(Z) in foo()