/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandleImpl.java | 71 private final MethodHandle handle; field in MethodHandleImpl.HandleInfo 73 HandleInfo(Member member, MethodHandle handle) { in HandleInfo() argument 75 this.handle = handle; in HandleInfo() 80 switch (handle.getHandleKind()) { in getReferenceKind() 110 throw new AssertionError("Unexpected handle kind: " + handle.getHandleKind()); in getReferenceKind() 132 MethodType handleType = handle.type(); in getMethodType() 146 switch (handle.getHandleKind()) { in getMethodType()
|
D | MethodHandles.java | 1560 MethodHandle handle = findVirtual(receiver.getClass(), name, type); in bind() local 1561 MethodHandle adapter = handle.bindTo(receiver); in bind() 1563 if (handle.isVarargsCollector()) { in bind()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandlesTest.java | 89 MethodHandle handle = defaultLookup.findStatic(String.class, "valueOf", in test_findStatic() local 91 assertNotNull(handle); in test_findStatic() 93 assertEquals(String.class, handle.type().returnType()); in test_findStatic() 94 assertEquals(1, handle.type().parameterCount()); in test_findStatic() 95 assertEquals(char[].class, handle.type().parameterArray()[0]); in test_findStatic() 96 assertEquals(MethodHandle.INVOKE_STATIC, handle.getHandleKind()); in test_findStatic() 147 MethodHandle handle = defaultLookup.findConstructor(String.class, in test_findConstructor() local 149 assertNotNull(handle); in test_findConstructor() 151 assertEquals(String.class, handle.type().returnType()); in test_findConstructor() 152 assertEquals(1, handle.type().parameterCount()); in test_findConstructor() [all …]
|
D | MethodHandleCombinersTest.java | 34 MethodHandle handle = MethodHandles.throwException(String.class, in testThrowException() local 37 if (handle.type().returnType() != String.class) { in testThrowException() 38 fail("Unexpected return type for handle: " + handle + in testThrowException() 39 " [ " + handle.type() + "]"); in testThrowException() 44 handle.invoke(iae); in testThrowException() 1212 MethodHandle handle = MethodHandles.lookup().findStatic( in testInvokeWithArguments() local 1215 Object ret = handle.invokeWithArguments(new Object[]{"a", "b", "c"}); in testInvokeWithArguments() 1217 ret = handle.invokeWithArguments(new String[]{"a", "b", "c"}); in testInvokeWithArguments() 1221 ret = handle.invokeWithArguments(Arrays.asList(new Object[] {"a", "b", "c"})); in testInvokeWithArguments() 1223 ret = handle.invokeWithArguments(Arrays.asList(new String[]{"a", "b", "c"})); in testInvokeWithArguments() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/callback/ |
D | CallbackHandlerTest.java | 37 ch.handle(null); in test_CallbackHandler() 43 public void handle(Callback[] callbacks) { in handle() method in CallbackHandlerTest.CallbackHandlerImpl
|
/libcore/ojluni/src/main/native/ |
D | FileDispatcherImpl.c | 124 handle(JNIEnv *env, jlong rv, char *msg) in handle() function 159 return handle(env, result, "Force failed"); in FileDispatcherImpl_force0() 166 return handle(env, in FileDispatcherImpl_truncate0() 178 return handle(env, -1, "Size failed"); in FileDispatcherImpl_size0() 184 return handle(env, -1, "Size failed"); in FileDispatcherImpl_size0()
|
D | FileChannelImpl.c | 72 handle(JNIEnv *env, jlong rv, char *msg) in handle() function 117 return handle(env, -1, "Map failed"); in FileChannelImpl_map0() 129 return handle(env, in FileChannelImpl_unmap0() 147 return handle(env, result, "Position failed"); in FileChannelImpl_position0()
|
D | jvm.h | 175 JVM_UnloadLibrary(void * handle); 178 JVM_FindLibraryEntry(void *handle, const char *name);
|
/libcore/ojluni/src/main/java/javax/security/auth/callback/ |
D | CallbackHandler.java | 148 void handle(Callback[] callbacks) in handle() method
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectInputStream.java | 3496 void markException(int handle, ClassNotFoundException ex) { in markException() argument 3497 switch (status[handle]) { in markException() 3499 status[handle] = STATUS_EXCEPTION; in markException() 3500 entries[handle] = ex; in markException() 3503 HandleList dlist = deps[handle]; in markException() 3509 deps[handle] = null; in markException() 3526 void finish(int handle) { in finish() argument 3530 end = handle + 1; in finish() 3531 } else if (lowDep >= handle) { in finish() 3541 for (int i = handle; i < end; i++) { in finish() [all …]
|
D | ObjectOutputStream.java | 1047 int handle; in writeTypeString() local 1050 } else if ((handle = handles.lookup(str)) != -1) { in writeTypeString() 1051 writeHandle(handle); in writeTypeString() 1259 private void writeHandle(int handle) throws IOException { in writeHandle() argument 1261 bout.writeInt(baseWireHandle + handle); in writeHandle() 1279 int handle; in writeClassDesc() local 1282 } else if (!unshared && (handle = handles.lookup(desc)) != -1) { in writeClassDesc() 1283 writeHandle(handle); in writeClassDesc() 2422 private void insert(Object obj, int handle) { in insert() argument 2424 objs[handle] = obj; in insert() [all …]
|
D | FileDescriptor.java | 239 public void setHandle(FileDescriptor obj, long handle) { in sun.misc.SharedSecrets.setJavaIOFileDescriptorAccess()
|
/libcore/luni/src/main/java/org/w3c/dom/ |
D | UserDataHandler.java | 66 public void handle(short operation, in handle() method
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | JavaIOFileDescriptorAccess.java | 38 public void setHandle(FileDescriptor obj, long handle); in setHandle() argument
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | tmpCallbackHandler.java | 37 public void handle(Callback[] callback) throws IOException, in handle() method in tmpCallbackHandler
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | UserDataMonitor.java | 50 public void handle( in handle() method in UserDataMonitor
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KSCallbackHandlerProtectionTest.java | 56 public void handle(Callback[] callbacks) throws IOException, in testCallbackHandlerProtection() method in KSCallbackHandlerProtectionTest.TestCallbackHandler
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectInputStream.java | 718 void markException(int handle, java.lang.ClassNotFoundException ex) { in markException() argument 722 void finish(int handle) { in finish() argument 726 void setObject(int handle, java.lang.Object obj) { in setObject() argument 730 java.lang.Object lookupObject(int handle) { in lookupObject() argument 734 java.lang.ClassNotFoundException lookupException(int handle) { in lookupException() argument 773 public void add(int handle) { in add() argument
|
D | ObjectOutputStream.java | 195 private void writeHandle(int handle) throws java.io.IOException { in writeHandle() argument 574 private void insert(java.lang.Object obj, int handle) { in insert() argument
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyStoreSpi.java | 400 handler.handle(new Callback[] {callback}); in engineLoad()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CompletionStage.java | 716 public <U> CompletionStage<U> handle in handle() method
|
/libcore/luni/src/main/native/ |
D | java_math_NativeBN.cpp | 71 static int isValidHandle(JNIEnv* env, jlong handle, const char* message) { in isValidHandle() argument 72 if (handle == 0) { in isValidHandle()
|
D | libcore_icu_NativeConverter.cpp | 555 static jfloat NativeConverter_getAveCharsPerByte(JNIEnv* env, jclass, jlong handle) { in NativeConverter_getAveCharsPerByte() argument 556 return (1 / (jfloat) NativeConverter_getMaxBytesPerChar(env, NULL, handle)); in NativeConverter_getAveCharsPerByte()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CompletableFutureTest.java | 104 return f.handle((U u, Throwable t) -> t).join(); in exceptionalCompletion() 600 public <T,U> CompletableFuture<U> handle 603 return f.handle(a); 674 public <T,U> CompletableFuture<U> handle 747 public <T,U> CompletableFuture<U> handle 805 public abstract <T,U> CompletableFuture<U> handle 1067 final CompletableFuture<Integer> g = m.handle in testHandle_normalCompletion() 1096 final CompletableFuture<Integer> g = m.handle in testHandle_exceptionalCompletion() 1125 final CompletableFuture<Integer> g = m.handle in testHandle_sourceCancelled() 1154 final CompletableFuture<Integer> g = m.handle in testHandle_sourceCompletedNormallyActionFailed() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | DocumentImpl.java | 543 userData.handler.handle( in notifyUserDataHandlers()
|