Lines Matching refs:visitor
90 NthCallerVisitor visitor(soa.Self(), 2); in VMStack_getCallingClassLoader() local
91 visitor.WalkStack(); in VMStack_getCallingClassLoader()
92 if (UNLIKELY(visitor.caller == nullptr)) { in VMStack_getCallingClassLoader()
96 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader()
122 ClosestUserClassLoaderVisitor visitor(soa.Self()); in VMStack_getClosestUserClassLoader() local
123 visitor.WalkStack(); in VMStack_getClosestUserClassLoader()
124 return soa.AddLocalReference<jobject>(visitor.class_loader); in VMStack_getClosestUserClassLoader()
130 NthCallerVisitor visitor(soa.Self(), 3); in VMStack_getStackClass2() local
131 visitor.WalkStack(); in VMStack_getStackClass2()
132 if (UNLIKELY(visitor.caller == nullptr)) { in VMStack_getStackClass2()
136 return soa.AddLocalReference<jclass>(visitor.caller->GetDeclaringClass()); in VMStack_getStackClass2()