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.java366 * Compares the {@code source} text to the {@code target} text according to
380 * @param target
381 * the target text.
384 * equivalent to, or greater than {@code target}.
387 public int compare(String source, String target) { argument
390 } else if (target == null) {
391 throw new NullPointerException("target == null");
393 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.java147 * This method transfers a datagram from the channel into the target byte
161 * @param target
178 public abstract SocketAddress receive(ByteBuffer target) throws IOException; argument
229 * @param target
247 public abstract int read(ByteBuffer target) throws IOException; argument
H A DSocketChannel.java239 * @param target
256 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.java508 * {@code position} and writes them to {@code target}. No bytes are
511 * available from this channel's file or if the target channel is
521 * @param target
522 * the target channel to write to.
529 * if the target channel is not writable.
541 WritableByteChannel target) throws IOException;
540 transferTo(long position, long count, WritableByteChannel target) argument
/libcore/luni/src/test/java/libcore/java/io/
H A DFileTest.java68 File target = createDeepStructure(base);
71 assertTrue(target.exists());
72 assertTrue(target.getCanonicalPath().length() > 1024);
73 ln_s(target, source);
75 assertEquals(target.getCanonicalPath(), source.getCanonicalPath());
152 File target = new File(base, "target");
153 target.createNewFile(); // The RI won't follow a dangling symlink, which seems like a bug!
155 ln_s(target, linkName);
156 assertEquals(target
178 ln_s(File target, File linkName) argument
182 ln_s(String target, String linkName) argument
[all...]
/libcore/luni/src/main/java/libcore/icu/
H A DNativeCollation.java24 public static native int compare(long address, String source, String target); argument
H A DRuleBasedCollatorICU.java66 public int compare(String source, String target) { argument
67 return NativeCollation.compare(address, source, target);
130 public boolean equals(String source, String target) { argument
131 return (compare(source, target) == 0);
/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/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.java309 * the target char array.
717 * Reads characters from this buffer and puts them into {@code target}. The
719 * in this buffer or the number of remaining chars in {@code target},
722 * @param target
723 * the target char buffer.
725 * if {@code target} is this buffer.
729 * if no changes may be made to the contents of {@code target}.
733 public int read(CharBuffer target) throws IOException { argument
735 if (target == this) {
739 throw new IllegalArgumentException("target
[all...]
H A DDatagramChannelImpl.java160 public SocketAddress receive(ByteBuffer target) throws IOException { argument
161 target.checkWritable();
175 if (!target.isDirect()) {
176 retAddr = receiveImpl(target, loop);
178 retAddr = receiveDirectImpl(target, loop);
190 private SocketAddress receiveImpl(ByteBuffer target, boolean loop) throws IOException { argument
193 int oldposition = target.position();
196 if (target.hasArray()) {
197 receivePacket = new DatagramPacket(target.array(), target
219 receiveDirectImpl(ByteBuffer target, boolean loop) argument
271 read(ByteBuffer target) argument
[all...]
H A DFileChannelImpl.java401 public long transferTo(long position, long count, WritableByteChannel target) throws IOException { argument
403 if (!target.isOpen()) {
407 if (target instanceof FileChannelImpl) {
408 ((FileChannelImpl) target).checkWritable();
421 if (target instanceof SocketChannelImpl) {
422 FileDescriptor outFd = ((SocketChannelImpl) target).getFD();
445 return target.write(buffer);

Completed in 385 milliseconds

12