Lines Matching refs:visitor
93 NthCallerVisitor visitor(soa.Self(), 2); in VMStack_getCallingClassLoader() local
94 visitor.WalkStack(); in VMStack_getCallingClassLoader()
95 if (UNLIKELY(visitor.caller == nullptr)) { in VMStack_getCallingClassLoader()
99 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader()
125 ClosestUserClassLoaderVisitor visitor(soa.Self()); in VMStack_getClosestUserClassLoader() local
126 visitor.WalkStack(); in VMStack_getClosestUserClassLoader()
127 return soa.AddLocalReference<jobject>(visitor.class_loader); in VMStack_getClosestUserClassLoader()
133 NthCallerVisitor visitor(soa.Self(), 3); in VMStack_getStackClass2() local
134 visitor.WalkStack(); in VMStack_getStackClass2()
135 if (UNLIKELY(visitor.caller == nullptr)) { in VMStack_getStackClass2()
139 return soa.AddLocalReference<jclass>(visitor.caller->GetDeclaringClass()); in VMStack_getStackClass2()