Searched defs:target (Results 1 - 25 of 41) 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.java242 * Reads characters and puts them into the {@code target} character buffer.
244 * @param target
246 * @return the number of characters put into {@code target} or -1 if the end
251 * if {@code target} is {@code null}.
253 * if {@code target} is read-only.
255 public int read(CharBuffer target) throws IOException { argument
256 int length = target.length();
260 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/luni/src/test/java/libcore/java/util/
H A DOldScannerTest.java523 public int read(CharBuffer target) throws IOException { argument
524 target.append('t');
525 target.append('e');
526 target.append('s');
527 target.append('t');
539 public int read(CharBuffer target) throws IOException { argument
541 target.append('1');
542 target.append('2');
543 target.append('3');
547 target
[all...]
/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 offset, int length) throws IOException { argument
220 ByteBuffer buffer = ByteBuffer.wrap(target, offset, length);
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(int 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/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.java311 * the target char array.
715 * Reads characters from this buffer and puts them into {@code target}. The
717 * in this buffer or the number of remaining chars in {@code target},
720 * @param target
721 * the target char buffer.
723 * if {@code target} is this buffer.
727 * if no changes may be made to the contents of {@code target}.
731 public int read(CharBuffer target) throws IOException { argument
733 if (target == this) {
737 throw new IllegalArgumentException("target
[all...]
H A DDatagramChannelImpl.java167 public SocketAddress receive(ByteBuffer target) throws IOException { argument
168 target.checkWritable();
182 if (!target.isDirect()) {
183 retAddr = receiveImpl(target, loop);
185 retAddr = receiveDirectImpl(target, loop);
197 private SocketAddress receiveImpl(ByteBuffer target, boolean loop) throws IOException { argument
200 int oldposition = target.position();
203 if (target.hasArray()) {
204 receivePacket = new DatagramPacket(target.array(), target
226 receiveDirectImpl(ByteBuffer target, boolean loop) argument
276 read(ByteBuffer target) argument
[all...]
H A DFileChannelImpl.java392 public long transferTo(long position, long count, WritableByteChannel target) throws IOException { argument
394 if (!target.isOpen()) {
398 if (target instanceof FileChannelImpl) {
399 ((FileChannelImpl) target).checkWritable();
412 if (target instanceof SocketChannelImpl) {
413 FileDescriptor outFd = ((SocketChannelImpl) target).getFD();
436 return target.write(buffer);

Completed in 1495 milliseconds

12