Home
last modified time | relevance | path

Searched refs:caller (Results 1 – 25 of 44) sorted by relevance

12

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicLongFieldUpdater.java92 Class<?> caller = Reflection.getCallerClass(); in newUpdater() local
94 return new CASUpdater<U>(tclass, fieldName, caller); in newUpdater()
96 return new LockedUpdater<U>(tclass, fieldName, caller); in newUpdater()
389 final Class<?> caller) { in CASUpdater() argument
405 caller, tclass, null, modifiers); in CASUpdater()
438 tclass.isAssignableFrom(caller) && in CASUpdater()
439 !isSamePackage(tclass, caller)) in CASUpdater()
440 ? caller : tclass; in CASUpdater()
541 final Class<?> caller) { in LockedUpdater() argument
557 caller, tclass, null, modifiers); in LockedUpdater()
[all …]
DAtomicReferenceFieldUpdater.java327 final Class<?> caller) { in AtomicReferenceFieldUpdaterImpl() argument
344 caller, tclass, null, modifiers); in AtomicReferenceFieldUpdaterImpl()
380 tclass.isAssignableFrom(caller) && in AtomicReferenceFieldUpdaterImpl()
381 !isSamePackage(tclass, caller)) in AtomicReferenceFieldUpdaterImpl()
382 ? caller : tclass; in AtomicReferenceFieldUpdaterImpl()
DAtomicIntegerFieldUpdater.java391 final Class<?> caller) { in AtomicIntegerFieldUpdaterImpl() argument
408 caller, tclass, null, modifiers); in AtomicIntegerFieldUpdaterImpl()
443 tclass.isAssignableFrom(caller) && in AtomicIntegerFieldUpdaterImpl()
444 !isSamePackage(tclass, caller)) in AtomicIntegerFieldUpdaterImpl()
445 ? caller : tclass; in AtomicIntegerFieldUpdaterImpl()
/libcore/ojluni/src/main/java/java/security/acl/
DAcl.java109 public void setName(Principal caller, String name) in setName() argument
142 public boolean addEntry(Principal caller, AclEntry entry) in addEntry() argument
158 public boolean removeEntry(Principal caller, AclEntry entry) in removeEntry() argument
DOwner.java63 public boolean addOwner(Principal caller, Principal owner) in addOwner() argument
87 public boolean deleteOwner(Principal caller, Principal owner) in deleteOwner() argument
/libcore/ojluni/src/test/java/lang/StackWalker/
DCallerFromMain.java144 static void assertThreadClassAsCaller(Class<?> caller) { in assertThreadClassAsCaller() argument
145 if (caller != Thread.class) { in assertThreadClassAsCaller()
146 throw new RuntimeException("Expected Thread.class but got " + caller); in assertThreadClassAsCaller()
DEmbeddedStackWalkTest.java78 String caller = walker.walk(s -> in call() local
83 assertEquals(caller, C1.class.getName()); in call()
125 String caller = walker.walk(s -> in call() local
130 assertEquals(caller, C2.class.getName()); in call()
DStackStreamTest.java120 caller(); in g()
298 static void caller() { in caller() method in StackStreamTest
/libcore/ojluni/src/main/java/java/util/
DResourceBundle.java500 private static ClassLoader getLoader(Class<?> caller) { in getLoader() argument
501 ClassLoader cl = caller == null ? null : caller.getClassLoader(); in getLoader()
882 Class<?> caller = Reflection.getCallerClass(); in getBundle() local
884 caller, getDefaultControl(caller, baseName)); in getBundle()
924 Class<?> caller = Reflection.getCallerClass(); in getBundle() local
928 return getBundleImpl(baseName, targetLocale, caller, control); in getBundle()
954 Class<?> caller = Reflection.getCallerClass(); in getBundle() local
956 caller, getDefaultControl(caller, baseName)); in getBundle()
1086 Class<?> caller = Reflection.getCallerClass(); in getBundle() local
1089 return getBundleImpl(baseName, targetLocale, caller, control); in getBundle()
[all …]
DServiceLoader.java405 private ServiceLoader(Class<?> caller, Class<S> svc, ClassLoader cl) { in ServiceLoader() argument
409 checkCaller(caller, svc); in ServiceLoader()
475 private static void checkCaller(Class<?> caller, Class<?> svc) { in checkCaller() argument
476 if (caller == null) { in checkCaller()
483 if (!Reflection.verifyMemberAccess(caller, svc, null, mods)) { in checkCaller()
486 fail(svc, "service type not accessible to " + caller); in checkCaller()
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DLambdaMetafactory.java36 public static CallSite metafactory(MethodHandles.Lookup caller, in metafactory() argument
44 public static CallSite altMetafactory(MethodHandles.Lookup caller, in altMetafactory() argument
/libcore/ojluni/src/main/java/java/sql/
DDriverManager.java462 private static boolean isDriverAllowed(Driver driver, Class<?> caller) { in isDriverAllowed() argument
463 ClassLoader callerCL = caller != null ? caller.getClassLoader() : null; in isDriverAllowed()
549 String url, java.util.Properties info, Class<?> caller) throws SQLException { in getConnection() argument
556 ClassLoader callerCL = caller != null ? caller.getClassLoader() : null; in getConnection()
/libcore/ojluni/src/main/native/
DRuntime.c78 jobject javaLoader, jclass caller) in Runtime_nativeLoad() argument
80 return JVM_NativeLoad(env, javaFilename, javaLoader, caller); in Runtime_nativeLoad()
/libcore/ojluni/src/main/java/javax/sql/
DRowSetReader.java71 void readData(RowSetInternal caller) throws SQLException; in readData() argument
DRowSetWriter.java62 boolean writeData(RowSetInternal caller) throws SQLException; in writeData() argument
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java60 Class<?> caller = Reflection.getCallerClass(); in getUnsafe() local
65 ClassLoader calling = (caller == null) ? null : caller.getClassLoader(); in getUnsafe()
/libcore/ojluni/src/main/java/java/lang/
DStackStreamFactory.java684 private Class<?> caller; field in StackStreamFactory.CallerClassFinder
738 return caller; in findCaller()
750 while (n < 2 && (caller = nextFrame()) != null) { in consumeFrames()
751 if (isMethodHandleFrame(caller)) { continue; } in consumeFrames()
752 if (isReflectionFrame(caller)) { continue; } in consumeFrames()
753 frames[n++] = caller; in consumeFrames()
DClassLoader.java1998 static ClassLoader getClassLoader(Class<?> caller) { in getClassLoader() argument
2000 if (caller == null) { in getClassLoader()
2006 return caller.getClassLoader(); in getClassLoader()
/libcore/ojluni/src/main/java/java/util/concurrent/
DCountedCompleter.java482 public void onCompletion(CountedCompleter<?> caller) { in onCompletion() argument
503 public boolean onExceptionalCompletion(Throwable ex, CountedCompleter<?> caller) { in onExceptionalCompletion() argument
/libcore/ojluni/src/main/java/java/util/logging/
DLogger.java377 …Logger(String name, String resourceBundleName, Class<?> caller, LogManager manager, boolean isSyst… in Logger() argument
380 setupResourceInfo(resourceBundleName, caller); in Logger()
385 private void setCallersClassLoaderRef(Class<?> caller) { in setCallersClassLoaderRef() argument
386 ClassLoader callersClassLoader = ((caller != null) in setCallersClassLoaderRef()
387 ? caller.getClassLoader() in setCallersClassLoaderRef()
447 private static Logger demandLogger(String name, String resourceBundleName, Class<?> caller) { in demandLogger() argument
451 if (caller.getClassLoader() == null) { in demandLogger()
455 return manager.demandLogger(name, resourceBundleName, caller); in demandLogger()
/libcore/ojluni/src/main/java/java/security/
DAccessControlContext.java66 AccessControlContext(ProtectionDomain caller, DomainCombiner combiner, in AccessControlContext() argument
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCountedCompleterTest.java256 public void onCompletion(CountedCompleter caller) {
258 super.onCompletion(caller);
261 CountedCompleter caller) {
265 assertTrue(super.onExceptionalCompletion(ex, caller));
577 public final void onCompletion(CountedCompleter caller) {
578 super.onCompletion(caller);
591 public final void onCompletion(CountedCompleter caller) {
592 super.onCompletion(caller);
628 public final void onCompletion(CountedCompleter caller) { in onCompletion() argument
629 super.onCompletion(caller); in onCompletion()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DCountedCompleterTest.java231 public void onCompletion(CountedCompleter caller) {
233 super.onCompletion(caller);
236 CountedCompleter caller) {
240 assertTrue(super.onExceptionalCompletion(ex, caller));
552 public final void onCompletion(CountedCompleter caller) {
553 super.onCompletion(caller);
566 public final void onCompletion(CountedCompleter caller) {
567 super.onCompletion(caller);
603 public final void onCompletion(CountedCompleter caller) { in onCompletion() argument
604 super.onCompletion(caller); in onCompletion()
[all …]
/libcore/ojluni/src/main/java/java/util/stream/
DFindOps.java336 public void onCompletion(CountedCompleter<?> caller) { in onCompletion() argument
348 super.onCompletion(caller); in onCompletion()
DAbstractTask.java340 public void onCompletion(CountedCompleter<?> caller) { in onCompletion() argument

12