Searched refs:target (Results 1 - 25 of 81) sorted by relevance

1234

/libcore/ojluni/src/main/java/java/lang/reflect/
H A DInvocationTargetException.java33 * the general purpose exception-chaining mechanism. The "target exception"
49 * This field holds the target if the
50 * InvocationTargetException(Throwable target) constructor was
56 private Throwable target; field in class:InvocationTargetException
60 * {@code null} as the target exception.
67 * Constructs a InvocationTargetException with a target exception.
69 * @param target the target exception
71 public InvocationTargetException(Throwable target) { argument
73 this.target
83 InvocationTargetException(Throwable target, String s) argument
[all...]
/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/luni/src/test/java/libcore/java/text/
H A DNormalizerTest.java54 String target;
56 target = new String(new char[] {0x03D3, 0x03D4, 0x1E9B});
57 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFC));
58 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFD));
59 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC));
60 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKD));
62 target = new String(new char[] {0x03D2, 0x0301, 0x03D2, 0x0308, 0x017F, 0x0307});
63 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFC));
64 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFD));
65 assertFalse(Normalizer.isNormalized(target, Normalize
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
H A DReplaceTest.java29 String target, pattern, repl;
31 target = "foobarfobarfoofo1";
36 Matcher m = p.matcher(target);
43 String target, pattern, repl, s;
47 target = "[31]foo;bar[42];[99]xyz";
52 m = p.matcher(target);
58 target = "[31]foo(42)bar{63}zoo;[12]abc(34)def{56}ghi;{99}xyz[88]xyz(77)xyz;";
62 m = p.matcher(target);
76 String target, pattern, repl, s;
78 target
[all...]
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
H A DReplaceTest.java26 String target, pattern, repl;
28 target = "foobarfobarfoofo1barfort";
33 Matcher m = p.matcher(target);
40 String target, pattern, repl, s;
44 target = "[31]foo;bar[42];[99]xyz";
49 m = p.matcher(target);
55 target = "[31]foo(42)bar{63}zoo;[12]abc(34)def{56}ghi;{99}xyz[88]xyz(77)xyz;";
59 m = p.matcher(target);
71 String target, pattern, repl, s;
73 target
[all...]
/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/etc/loading-test-jar/
H A DTestMethods.java109 Target target = new Target();
110 assertSame("zorch", target.zorch());
117 Target target = new Target();
118 target.setInstanceVariable(10098);
119 assertSame(10098, target.instanceVariable);
165 Target2 target = new Target2();
166 assertSame("fizmo", target.fizmo());
173 Target2 target = new Target2();
174 target.setInstanceMagri(10098);
175 assertSame(10098, target
[all...]
/libcore/
H A Drun-libcore-tests24 --classpath out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/classes.jack \
25 --classpath out/target/common/obj/JAVA_LIBRARIES/sqlite-jdbc_intermediates/classes.jack \
26 --classpath out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jack \
27 --classpath out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jack \
/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/ojluni/src/main/java/java/util/logging/
H A DMemoryHandler.java36 * contents to a target <tt>Handler</tt>, which will typically publish
68 * <li> java.util.logging.MemoryHandler.target
69 * specifies the name of the target <tt>Handler </tt> class.
80 private Handler target; field in class:MemoryHandler
113 name = manager.getProperty("java.util.logging.MemoryHandler.target");
115 target = (Handler) clz.newInstance();
121 target = (Handler) clz.newInstance();
144 * @param target the Handler to which to publish output.
150 public MemoryHandler(Handler target, int size, Level pushLevel) { argument
151 if (target
[all...]
/libcore/ojluni/src/lambda/java/java/lang/invoke/
H A DMethodHandles.java41 reflectAs(Class<T> expected, MethodHandle target) { return null; } argument
89 public MethodHandleInfo revealDirect(MethodHandle target) { return null; } argument
109 MethodHandle explicitCastArguments(MethodHandle target, MethodType newType) { return null; } argument
112 MethodHandle permuteArguments(MethodHandle target, MethodType newType, int... reorder) { return null; } argument
121 MethodHandle insertArguments(MethodHandle target, int pos, Object... values) { return null; } argument
124 MethodHandle dropArguments(MethodHandle target, int pos, List<Class<?>> valueTypes) { return null; } argument
127 MethodHandle dropArguments(MethodHandle target, int pos, Class<?>... valueTypes) { return null; } argument
130 MethodHandle filterArguments(MethodHandle target, int pos, MethodHandle... filters) { return null; } argument
133 MethodHandle collectArguments(MethodHandle target, int pos, MethodHandle filter) { return null; } argument
136 MethodHandle filterReturnValue(MethodHandle target, MethodHandl argument
139 foldArguments(MethodHandle target, MethodHandle combiner) argument
142 guardWithTest(MethodHandle test, MethodHandle target, MethodHandle fallback) argument
147 catchException(MethodHandle target, Class<? extends Throwable> exType, MethodHandle handler) argument
[all...]
/libcore/luni/src/test/java/libcore/java/io/
H A DOldByteArrayOutputStreamTest.java68 byte[] target = new byte[10];
71 bos.write(target, -1, 1);
77 bos.write(target, 0, -1);
83 bos.write(target, 1, target.length);
H A DOldCharArrayWriterTest.java45 char[] target = new char[10];
48 cw.write(target, -1, 1);
54 cw.write(target, 0, -1);
60 cw.write(target, 1, target.length);
H A DFileTest.java77 File target = createDeepStructure(base);
80 assertTrue(target.exists());
81 assertTrue(target.getCanonicalPath().length() > 1024);
82 ln_s(target, source);
84 assertEquals(target.getCanonicalPath(), source.getCanonicalPath());
165 File target = new File(base, "target");
166 target.createNewFile(); // The RI won't follow a dangling symlink, which seems like a bug!
168 ln_s(target, linkName);
169 assertEquals(target
191 ln_s(File target, File linkName) argument
195 ln_s(String target, String linkName) argument
[all...]
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
H A Dprocessinginstructiongettarget.java31 * The "getTarget()" method returns the target of the
39 * return the target of the ProcessingInstruction.
69 String target;
73 target = piNode.getTarget();
74 assertEquals("processinginstructionGetTargetAssert", "TEST-STYLE", target);
/libcore/ojluni/src/main/java/java/text/
H A DCollationKey.java102 * Compare this CollationKey to the target CollationKey. The collation rules of the
105 * @param target target CollationKey
107 * than target, value is zero if this and target are equal and value is greater than
108 * zero if this is greater than target.
111 abstract public int compareTo(CollationKey target); argument
H A DRuleBasedCollator.java352 * @throws NullPointerException if <code>source</code> or <code>target</code> is null.
354 public synchronized int compare(String source, String target) { argument
355 if (source == null || target == null) {
358 return icuColl.compare(source, target);
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DPollArrayWrapper.java85 * over the entry in the target wrapper at the target index. The source
86 * array remains unchanged unless the source array and the target are
90 PollArrayWrapper target, int tindex) {
91 target.putDescriptor(tindex, source.getDescriptor(sindex));
92 target.putEventOps(tindex, source.getEventOps(sindex));
93 target.putReventOps(tindex, source.getReventOps(sindex));
89 replaceEntry(PollArrayWrapper source, int sindex, PollArrayWrapper target, int tindex) argument
/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
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A DimportNode14.java38 * Create a processing instruction with target as "target1" and data as "data1"
40 * Method should return a processing instruction whose target and data match the given
76 String target;
89 target = aNode.getTarget();
90 assertEquals("piTarget", "target1", target);
/libcore/ojluni/src/main/java/java/io/
H A DReader.java89 * @param target the buffer to read characters into
93 * @throws NullPointerException if target is null
94 * @throws ReadOnlyBufferException if target is a read only buffer
97 public int read(java.nio.CharBuffer target) throws IOException { argument
98 int len = target.remaining();
102 target.put(cbuf, 0, n);
/libcore/ojluni/src/main/java/sun/reflect/
H A DReflection.java40 Object target,
48 if (!verifyMemberAccess(currentClass, memberClass, target, modifiers)) {
63 Object target,
122 Class targetClass = (target == null ? memberClass : target.getClass());
38 ensureMemberAccess(Class currentClass, Class memberClass, Object target, int modifiers) argument
58 verifyMemberAccess(Class currentClass, Class memberClass, Object target, int modifiers) argument
/libcore/ojluni/src/main/java/sun/security/util/
H A DDebug.java188 StringBuffer target = new StringBuffer();
204 target.append(matched.replaceFirst(keyReg, keyStr));
205 target.append(" ");
228 target.append(matched.replaceFirst(keyReg, keyStr));
229 target.append(" ");
238 target.append(source.toString().toLowerCase(Locale.ENGLISH));
240 return target.toString();
/libcore/ojluni/src/main/java/java/lang/
H A DThread.java171 private Runnable target; field in class:Thread
392 * @param target the object whose run() method gets called
397 private void init(ThreadGroup g, Runnable target, String name, long stackSize) { argument
406 this.target = target;
444 * {@code (null, target, gname)}, where {@code gname} is a newly generated
448 * @param target
453 public Thread(Runnable target) { argument
454 init(null, target, "Thread-" + nextThreadNum(), 0);
460 * {@code (group, target, gnam
480 Thread(ThreadGroup group, Runnable target) argument
563 Thread(Runnable target, String name) argument
611 Thread(ThreadGroup group, Runnable target, String name) argument
689 Thread(ThreadGroup group, Runnable target, String name, long stackSize) argument
[all...]
/libcore/ojluni/src/main/java/sun/net/smtp/
H A DSmtpClient.java214 private SmtpClient target; field in class:SmtpPrintStream
219 target = cl;
223 if (target == null)
229 target.issueCommand(".\r\n", 250);
230 target.message = null;
232 target = null;

Completed in 3080 milliseconds

1234