Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 21 of 21) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandleImpl.java71 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()
DMethodHandles.java1561 MethodHandle handle = findVirtual(receiver.getClass(), name, type); in bind() local
1562 MethodHandle adapter = handle.bindTo(receiver); in bind()
1564 if (handle.isVarargsCollector()) { in bind()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/callback/
DCallbackHandlerTest.java37 ch.handle(null); in test_CallbackHandler()
43 public void handle(Callback[] callbacks) { in handle() method in CallbackHandlerTest.CallbackHandlerImpl
/libcore/ojluni/src/main/java/javax/security/auth/callback/
DCallbackHandler.java148 void handle(Callback[] callbacks) in handle() method
/libcore/luni/src/main/java/org/w3c/dom/
DUserDataHandler.java66 public void handle(short operation, in handle() method
/libcore/ojluni/src/main/native/
DFileDispatcherImpl.c124 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()
Djvm.h175 JVM_UnloadLibrary(void * handle);
178 JVM_FindLibraryEntry(void *handle, const char *name);
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DtmpCallbackHandler.java37 public void handle(Callback[] callback) throws IOException, in handle() method in tmpCallbackHandler
/libcore/dom/src/test/java/org/w3c/domts/
DUserDataMonitor.java50 public void handle( in handle() method in UserDataMonitor
/libcore/ojluni/src/main/java/java/io/
DFileDescriptor.java257 public void setHandle(FileDescriptor obj, long handle) { in sun.misc.SharedSecrets.setJavaIOFileDescriptorAccess()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectInputStream.java718 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
DObjectOutputStream.java195 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/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleCombinersTest.java34 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((Object[]) 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/luni/src/test/java9language/
DAndroid.bp43 // to handle a class file which must be at least v53 and includes bytecode
/libcore/ojluni/src/main/java/java/security/
DKeyStoreSpi.java400 handler.handle(new Callback[] {callback}); in engineLoad()
DKeyStore.java1878 handler.handle(new Callback[] {callback}); in getKeyStore()
/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletionStage.java716 public <U> CompletionStage<U> handle in handle() method
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java104 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/
DDocumentImpl.java543 userData.handler.handle( in notifyUserDataHandlers()
/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java136 public <U> java.util.concurrent.CompletableFuture<U> handle(java.util.function.BiFunction<? super T… in handle() method in CompletableFuture
/libcore/luni/src/test/java/libcore/xml/
DDomTest.java1703 public void handle(short operation, String key, Object data, Node src, Node dst) { in handle() method in DomTest.RecordingHandler