Lines Matching defs:cast
60 returns NULL. This function is essentially a checked down cast.
153 must also specialize the template member function 'cast'. Failure to do so
159 is_a_helper <cgraph_node *>::cast (symtab_node *p)
176 static inline T cast (U *p) { return reinterpret_cast <T> (p); }
187 static inline T cast (U *p) { return static_cast <T> (p); }
206 static inline const T *cast (const U *p)
208 return is_a_helper<T *>::cast (const_cast <U *> (p));
243 return is_a_helper <T>::cast (p);
256 return is_a_helper <T>::cast (p);
270 return is_a_helper <T>::cast (p);