Home
last modified time | relevance | path

Searched defs:handler (Results 1 – 25 of 83) sorted by relevance

1234

/libcore/luni/src/main/java/javax/xml/transform/sax/
DSAXResult.java52 public SAXResult(ContentHandler handler) { in SAXResult()
61 public void setHandler(ContentHandler handler) { in setHandler()
85 public void setLexicalHandler(LexicalHandler handler) { in setLexicalHandler()
125 private ContentHandler handler; field in SAXResult
/libcore/ojluni/src/main/java/sun/nio/ch/
DInvoker.java120 static <V,A> void invokeUnchecked(CompletionHandler<V,? super A> handler, in invokeUnchecked()
154 CompletionHandler<V,? super A> handler, in invokeDirect()
169 CompletionHandler<V,? super A> handler, in invoke()
209 final CompletionHandler<V,? super A> handler, in invokeIndirectly()
232 static <V,A> void invokeIndirectly(final CompletionHandler<V,? super A> handler, in invokeIndirectly()
282 CompletionHandler<V,? super A> handler = future.handler(); in invokeUnchecked() local
298 CompletionHandler<V,? super A> handler = future.handler(); in invoke() local
301 handler, in invoke() local
314 CompletionHandler<V,? super A> handler = future.handler(); in invokeIndirectly() local
317 handler, in invokeIndirectly() local
DAsynchronousFileChannelImpl.java110 CompletionHandler<FileLock,? super A> handler); in implLock()
126 CompletionHandler<FileLock,? super A> handler) in lock()
214 CompletionHandler<Integer,? super A> handler); in implRead()
225 CompletionHandler<Integer,? super A> handler) in read()
235 CompletionHandler<Integer,? super A> handler); in implWrite()
247 CompletionHandler<Integer,? super A> handler) in write()
DAsynchronousSocketChannelImpl.java195 CompletionHandler<Void,? super A> handler); in implConnect()
205 CompletionHandler<Void,? super A> handler) in connect()
221 CompletionHandler<V,? super A> handler); in implRead()
230 CompletionHandler<V,? super A> handler) in read()
291 CompletionHandler<Integer,? super A> handler) in read()
307 CompletionHandler<Long,? super A> handler) in read()
330 CompletionHandler<V,? super A> handler); in implWrite()
339 CompletionHandler<V,? super A> handler) in write()
395 CompletionHandler<Integer,? super A> handler) in write()
409 CompletionHandler<Long,? super A> handler) in write()
DPendingFuture.java42 private final CompletionHandler<V,? super A> handler; field in PendingFuture
60 CompletionHandler<V,? super A> handler, in PendingFuture()
71 CompletionHandler<V,? super A> handler, in PendingFuture()
91 CompletionHandler<V,? super A> handler() { in handler() method in PendingFuture
/libcore/luni/src/main/java/org/xml/sax/
DParser.java110 public abstract void setDTDHandler (DTDHandler handler); in setDTDHandler()
129 public abstract void setDocumentHandler (DocumentHandler handler); in setDocumentHandler()
149 public abstract void setErrorHandler (ErrorHandler handler); in setErrorHandler()
DXMLReader.java259 public void setDTDHandler (DTDHandler handler); in setDTDHandler()
286 public void setContentHandler (ContentHandler handler); in setContentHandler()
315 public void setErrorHandler (ErrorHandler handler); in setErrorHandler()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
DNoAccessParser.java40 public void setDocumentHandler(DocumentHandler handler) { in setDocumentHandler()
43 public void setDTDHandler(DTDHandler handler) { in setDTDHandler()
49 public void setErrorHandler(ErrorHandler handler) { in setErrorHandler()
DDoNothingParser.java40 public void setDocumentHandler(DocumentHandler handler) { in setDocumentHandler()
43 public void setDTDHandler(DTDHandler handler) { in setDTDHandler()
49 public void setErrorHandler(ErrorHandler handler) { in setErrorHandler()
DNoSubclassParser.java39 public void setDocumentHandler(DocumentHandler handler) { in setDocumentHandler()
42 public void setDTDHandler(DTDHandler handler) { in setDTDHandler()
48 public void setErrorHandler(ErrorHandler handler) { in setErrorHandler()
DNoInstanceParser.java43 public void setDocumentHandler(DocumentHandler handler) { in setDocumentHandler()
46 public void setDTDHandler(DTDHandler handler) { in setDTDHandler()
52 public void setErrorHandler(ErrorHandler handler) { in setErrorHandler()
DMockParser.java48 public void setDTDHandler(DTDHandler handler) { in setDTDHandler()
52 public void setDocumentHandler(DocumentHandler handler) { in setDocumentHandler()
60 public void setErrorHandler(ErrorHandler handler) { in setErrorHandler()
DNoAccessXMLReader.java61 public void setContentHandler(ContentHandler handler) { in setContentHandler()
64 public void setDTDHandler(DTDHandler handler) { in setDTDHandler()
70 public void setErrorHandler(ErrorHandler handler) { in setErrorHandler()
DDoNothingXMLReader.java61 public void setContentHandler(ContentHandler handler) { in setContentHandler()
64 public void setDTDHandler(DTDHandler handler) { in setDTDHandler()
70 public void setErrorHandler(ErrorHandler handler) { in setErrorHandler()
DNoSubclassXMLReader.java61 public void setContentHandler(ContentHandler handler) { in setContentHandler()
64 public void setDTDHandler(DTDHandler handler) { in setDTDHandler()
70 public void setErrorHandler(ErrorHandler handler) { in setErrorHandler()
DNoInstanceXMLReader.java64 public void setContentHandler(ContentHandler handler) { in setContentHandler()
67 public void setDTDHandler(DTDHandler handler) { in setDTDHandler()
73 public void setErrorHandler(ErrorHandler handler) { in setErrorHandler()
DMockReader.java95 public void setContentHandler(ContentHandler handler) { in setContentHandler()
99 public void setDTDHandler(DTDHandler handler) { in setDTDHandler()
107 public void setErrorHandler(ErrorHandler handler) { in setErrorHandler()
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousSocketChannel.java326 CompletionHandler<Void,? super A> handler); in connect()
405 CompletionHandler<Integer,? super A> handler); in read()
418 CompletionHandler<Integer,? super A> handler) in read()
515 CompletionHandler<Long,? super A> handler); in read()
562 CompletionHandler<Integer,? super A> handler); in write()
574 CompletionHandler<Integer,? super A> handler) in write()
666 CompletionHandler<Long,? super A> handler); in write()
DAsynchronousByteChannel.java110 CompletionHandler<Integer,? super A> handler); in read()
189 CompletionHandler<Integer,? super A> handler); in write()
DAsynchronousFileChannel.java461 CompletionHandler<FileLock,? super A> handler); in lock()
492 CompletionHandler<FileLock,? super A> handler) in lock()
679 CompletionHandler<Integer,? super A> handler); in read()
745 CompletionHandler<Integer,? super A> handler); in write()
/libcore/ojluni/src/main/java/java/security/
DAuthProvider.java43 public abstract void login(Subject subject, CallbackHandler handler) in login()
48 public abstract void setCallbackHandler(CallbackHandler handler); in setCallbackHandler()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousFileChannelTest.java289 RecordingHandler handler = new RecordingHandler(); in testRead_CompletionListener() local
351 afc.read(buf.asReadOnlyBuffer(), 1, attachment, handler); in testRead_CompletionListener() local
461 RecordingHandler handler = new RecordingHandler(); in testWrite_CompletionListener() local
475 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y'}), 0, attachment, handler); in testWrite_CompletionListener() local
492 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y', 'z'}), 6, attachment, handler); in testWrite_CompletionListener() local
510 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y' }), 9, attachment, handler); in testWrite_CompletionListener() local
526 afc.write(ByteBuffer.wrap(new byte[] { '0', '2' }), 13, attachment, handler); in testWrite_CompletionListener() local
664 CompletionHandler<Integer, String> handler = new CompletionHandler<Integer, String>() { in testCustomExecutor() local
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DDdmServer.java56 public static void registerHandler(int type, ChunkHandler handler) { in registerHandler()
122 ChunkHandler handler = (ChunkHandler) iter.next(); in broadcast() local
150 ChunkHandler handler; in dispatch() local
/libcore/luni/src/test/java/libcore/xml/
DExpatSaxParserTest.java107 TestHandler handler = new TestHandler(); in testSax() local
128 static void validate(TestHandler handler) { in validate()
177 NamespaceHandler handler = new NamespaceHandler(); in testNamespaces() local
363 TestDtdHandler handler = new TestDtdHandler(); in runDtdTest() local
372 …TestDtdHandler handler = runDtdTest("<?xml version=\"1.0\"?><!DOCTYPE foo PUBLIC 'bar' 'tee'><a></… in testDtdDoctype() local
380 …TestDtdHandler handler = runDtdTest("<?xml version=\"1.0\"?><!DOCTYPE foo PUBLIC 'bar' 'tee' [ <!E… in testDtdUnparsedEntity_system() local
388 …TestDtdHandler handler = runDtdTest("<?xml version=\"1.0\"?><!DOCTYPE foo PUBLIC 'bar' 'tee' [ <!E… in testDtdUnparsedEntity_public() local
396 …TestDtdHandler handler = runDtdTest("<?xml version=\"1.0\"?><!DOCTYPE foo PUBLIC 'bar' 'tee' [ <!N… in testDtdNotation_system() local
403 …TestDtdHandler handler = runDtdTest("<?xml version=\"1.0\"?><!DOCTYPE foo PUBLIC 'bar' 'tee' [ <!N… in testDtdNotation_public() local
464 TestCdataHandler handler = new TestCdataHandler(); in testCdata() local
[all …]
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DProxyTest.java248 InvocationHandler handler = new InvocationHandler() { in testEquals() local
261 InvocationHandler handler = new InvocationHandler() { in testHashCode() local
271 InvocationHandler handler = new InvocationHandler() { in testToString() local
281 InvocationHandler handler = new InvocationHandler() { in testReturnTypeDoesNotSatisfyAllConstraintsWithLenientCaller() local
293 InvocationHandler handler = new InvocationHandler() { in testReturnTypeDoesNotSatisfyAllConstraintsWithStrictCaller() local
426 InvocationHandler handler = (o, m, oa) -> invocationHandlerReturnValue; in testProxyDefault() local

1234