Searched defs:target (Results 1 - 25 of 45) sorted by relevance

12

/libcore/luni/src/main/java/java/lang/reflect/
H A DInvocationTargetException.java31 private Throwable target; field in class:InvocationTargetException
35 * {@code null} cause / target exception.
43 * cause / target exception filled in.
51 target = exception;
56 * cause / target exception and message filled in.
66 target = exception;
70 * Returns the target exception, which may be {@code null}.
72 * @return the target exception
75 return target;
85 return target;
[all...]
/libcore/luni/src/main/java/java/io/
H A DPipedOutputStream.java32 private PipedInputStream target; field in class:PipedOutputStream
44 * {@link PipedInputStream} {@code target}. Any data written to this stream
45 * can be read from the target stream.
47 * @param target
50 * if this stream or {@code target} are already connected.
52 public PipedOutputStream(PipedInputStream target) throws IOException { argument
53 connect(target);
66 PipedInputStream stream = target;
69 target = null;
87 if (this.target !
[all...]
H A DReader.java229 * Reads characters and puts them into the {@code target} character buffer.
231 * @param target
233 * @return the number of characters put into {@code target} or -1 if the end
238 * if {@code target} is {@code null}.
240 * if {@code target} is read-only.
242 public int read(CharBuffer target) throws IOException { argument
243 int length = target.length();
247 target.put(buf, 0, length);
/libcore/luni/src/main/java/java/text/
H A DRuleBasedCollator.java173 * Compares the {@code source} text to the {@code target} text according to
180 * @param target
181 * the target text.
184 * equivalent to, or greater than {@code target}.
187 public int compare(String source, String target) { argument
190 } else if (target == null) {
191 throw new NullPointerException("target == null");
193 return icuColl.compare(source, target);
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DProcessingInstructionImpl.java36 private String target; field in class:ProcessingInstructionImpl
40 ProcessingInstructionImpl(DocumentImpl document, String target, String data) { argument
42 this.target = target; // TODO: validate that target is well-formed
52 return target;
66 return target;
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DSecurityChecker.java39 public SecurityChecker(Permission target, boolean enable) { argument
41 checkTarget = target;
/libcore/luni/src/main/java/java/util/logging/
H A DMemoryHandler.java28 * Every {@code MemoryHandler} has a target handler, and push action can be
29 * triggered so that all buffered records will be output to the target handler
50 * <li>java.util.logging.MemoryHandler.target specifies the class of the target
60 // target handler
61 private Handler target; field in class:MemoryHandler
88 // init target
89 final String targetName = manager.getProperty(className + ".target");
96 target = (Handler) targetClass.newInstance();
98 throw new RuntimeException("Cannot load target handle
144 MemoryHandler(Handler target, int size, Level pushLevel) argument
[all...]
/libcore/luni/src/main/java/org/xml/sax/
H A DDocumentHandler.java222 * @param target The processing instruction target.
228 public abstract void processingInstruction (String target, String data) argument
H A DContentHandler.java379 * @param target the processing instruction target
382 * whitespace separating it from the target
386 public void processingInstruction (String target, String data) argument
H A DHandlerBase.java286 * @param target The processing instruction target.
293 public void processingInstruction (String target, String data)
290 processingInstruction(String target, String data) argument
/libcore/luni/src/main/java/java/nio/channels/
H A DDatagramChannel.java150 * This method transfers a datagram from the channel into the target byte
164 * @param target
181 public abstract SocketAddress receive(ByteBuffer target) throws IOException; argument
232 * @param target
250 public abstract int read(ByteBuffer target) throws IOException; argument
H A DSocketChannel.java247 * @param target
264 public abstract int read(ByteBuffer target) throws IOException; argument
H A DChannels.java219 @Override public synchronized int read(byte[] target, int byteOffset, int byteCount) throws IOException { argument
220 ByteBuffer buffer = ByteBuffer.wrap(target, byteOffset, byteCount);
297 public synchronized int read(ByteBuffer target) throws IOException { argument
301 int bytesRemain = target.remaining();
311 target.put(bytes, 0, readCount);
H A DFileChannel.java505 * {@code position} and writes them to {@code target}. No bytes are
508 * available from this channel's file or if the target channel is
518 * @param target
519 * the target channel to write to.
526 * if the target channel is not writable.
538 WritableByteChannel target) throws IOException;
537 transferTo(long position, long count, WritableByteChannel target) argument
/libcore/luni/src/test/java/libcore/java/io/
H A DFileTest.java72 File target = createDeepStructure(base);
75 assertTrue(target.exists());
76 assertTrue(target.getCanonicalPath().length() > 1024);
77 ln_s(target, source);
79 assertEquals(target.getCanonicalPath(), source.getCanonicalPath());
160 File target = new File(base, "target");
161 target.createNewFile(); // The RI won't follow a dangling symlink, which seems like a bug!
163 ln_s(target, linkName);
164 assertEquals(target
186 ln_s(File target, File linkName) argument
190 ln_s(String target, String linkName) argument
[all...]
/libcore/luni/src/main/java/libcore/icu/
H A DNativeCollation.java26 public static native int compare(long address, String source, String target); argument
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DDefaultHandler.java362 * @param target The processing instruction target.
369 public void processingInstruction (String target, String data)
366 processingInstruction(String target, String data) argument
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldResultSetTest.java27 ResultSet target = null; field in class:OldResultSetTest
44 target = stForward.getResultSet();
45 assertNotNull(target);
57 target.close();
62 assertTrue(target.isBeforeFirst());
63 assertFalse(target.absolute(0));
64 assertTrue(target.absolute(1));
65 assertTrue(target.isFirst());
66 assertTrue(target.absolute(-1));
67 assertTrue(target
[all...]
/libcore/dom/src/test/java/org/w3c/domts/
H A DXercesHTML2DocumentBuilderFactory.java162 public void processingInstruction(String target, String data) throws argument
164 htmlBuilder.processingInstruction(target, data);
H A DXercesHTMLDocumentBuilderFactory.java162 public void processingInstruction(String target, String data) throws argument
164 htmlBuilder.processingInstruction(target, data);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
H A DMockHandler.java81 public void processingInstruction(String target, String data) throws SAXException { argument
82 logger.add("processingInstruction", target, data);
/libcore/luni/src/main/java/java/lang/
H A DSecurityManager.java85 public void checkSecurityAccess(String target) { } argument
/libcore/luni/src/main/java/java/nio/
H A DCharBuffer.java300 * the target char array.
708 * Reads characters from this buffer and puts them into {@code target}. The
710 * in this buffer or the number of remaining chars in {@code target},
713 * @param target
714 * the target char buffer.
716 * if {@code target} is this buffer.
720 * if no changes may be made to the contents of {@code target}.
724 public int read(CharBuffer target) throws IOException { argument
726 if (target == this) {
730 throw new IllegalArgumentException("target
[all...]
H A DDatagramChannelImpl.java215 public SocketAddress receive(ByteBuffer target) throws IOException { argument
216 target.checkWritable();
230 if (!target.isDirect()) {
231 retAddr = receiveImpl(target, loop);
233 retAddr = receiveDirectImpl(target, loop);
245 private SocketAddress receiveImpl(ByteBuffer target, boolean loop) throws IOException { argument
248 int oldposition = target.position();
251 if (target.hasArray()) {
252 receivePacket = new DatagramPacket(target.array(), target
274 receiveDirectImpl(ByteBuffer target, boolean loop) argument
328 read(ByteBuffer target) argument
[all...]
H A DFileChannelImpl.java405 public long transferTo(long position, long count, WritableByteChannel target) throws IOException { argument
407 if (!target.isOpen()) {
411 if (target instanceof FileChannelImpl) {
412 ((FileChannelImpl) target).checkWritable();
425 if (target instanceof SocketChannelImpl) {
426 FileDescriptor outFd = ((SocketChannelImpl) target).getFD();
449 return target.write(buffer);

Completed in 498 milliseconds

12