Lines Matching defs:down_cast
527 template <typename To, typename From> // use like this: down_cast<T*>(foo);528 static inline To down_cast(From* f) { // so we only accept pointers550 ctx->device()->name(), down_cast<Device*>(ctx->device()),