Searched refs:From (Results 1 – 3 of 3) sorted by relevance
48 template<typename To, typename From>49 inline To implicit_cast(From const &f) { in implicit_cast()71 template<typename To, typename From> // use like this: down_cast<T*>(foo);72 inline To down_cast(From* f) { // so we only accept pointers in down_cast()73 static_assert(std::is_base_of<From, typename std::remove_pointer<To>::type>::value, in down_cast()
59 const RegType& From(mirror::ClassLoader* loader, const char* descriptor, bool precise)
101 return From(loader, descriptor, precise); in FromDescriptor()173 const RegType& RegTypeCache::From(mirror::ClassLoader* loader, in From() function in art::verifier::RegTypeCache