Searched refs:UniquePtrForType (Results 1 – 4 of 4) sorted by relevance
90 template<class T> const void *UniquePtrForType() { in UniquePtrForType() function127 objtype = UniquePtrForType<T>(); in SetAttachedObject()132 return objtype == UniquePtrForType<T>() ? static_cast<const T *>(obj) in GetAttachedObject()
881 attr_.closure_type = UniquePtrForType<typename F::FuncInfo::Closure>();892 attr_.return_closure_type = UniquePtrForType<EffectiveReturn>();
4076 template<class T> const void *UniquePtrForType() { in UniquePtrForType() function4113 objtype = UniquePtrForType<T>(); in SetAttachedObject()4118 return objtype == UniquePtrForType<T>() ? static_cast<const T *>(obj) in GetAttachedObject()5596 attr_.closure_type = UniquePtrForType<typename F::FuncInfo::Closure>();5607 attr_.return_closure_type = UniquePtrForType<EffectiveReturn>();
5834 template<class T> const void *UniquePtrForType() {5861 attr_.SetClosureType(UniquePtrForType<typename F::FuncInfo::Closure>());5872 attr_.SetReturnClosureType(UniquePtrForType<EffectiveReturn>());5920 upb_bufhandle_setobj(this, obj, UniquePtrForType<T>());5924 return upb_bufhandle_objtype(this) == UniquePtrForType<T>()