/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldResultSetTest.java | 27 ResultSet target = null; field in OldResultSetTest 44 target = stForward.getResultSet(); in setUp() 45 assertNotNull(target); in setUp() 57 target.close(); in tearDown() 62 assertTrue(target.isBeforeFirst()); in testAbsolute() 63 assertFalse(target.absolute(0)); in testAbsolute() 64 assertTrue(target.absolute(1)); in testAbsolute() 65 assertTrue(target.isFirst()); in testAbsolute() 66 assertTrue(target.absolute(-1)); in testAbsolute() 67 assertTrue(target.isLast()); in testAbsolute() [all …]
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixCopyFile.java | 129 UnixPath target, in copyDirectory() argument 134 mkdir(target, attrs.mode()); in copyDirectory() 136 x.rethrowAsIOException(target); in copyDirectory() 148 dfd = open(target, O_RDONLY, 0); in copyDirectory() 152 try { rmdir(target); } catch (UnixException ignore) { } in copyDirectory() 153 x.rethrowAsIOException(target); in copyDirectory() 166 chown(target, attrs.uid(), attrs.gid()); in copyDirectory() 167 chmod(target, attrs.mode()); in copyDirectory() 172 x.rethrowAsIOException(target); in copyDirectory() 197 utimes(target, in copyDirectory() [all …]
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | NormalizerTest.java | 54 String target; in testIsNormalized() local 56 target = new String(new char[] {0x03D3, 0x03D4, 0x1E9B}); in testIsNormalized() 57 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFC)); in testIsNormalized() 58 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFD)); in testIsNormalized() 59 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC)); in testIsNormalized() 60 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKD)); in testIsNormalized() 62 target = new String(new char[] {0x03D2, 0x0301, 0x03D2, 0x0308, 0x017F, 0x0307}); in testIsNormalized() 63 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFC)); in testIsNormalized() 64 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFD)); in testIsNormalized() 65 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC)); in testIsNormalized() [all …]
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | InvocationTargetException.java | 56 private Throwable target; field in InvocationTargetException 71 public InvocationTargetException(Throwable target) { in InvocationTargetException() argument 73 this.target = target; in InvocationTargetException() 83 public InvocationTargetException(Throwable target, String s) { in InvocationTargetException() argument 85 this.target = target; in InvocationTargetException() 98 return target; in getTargetException() 109 return target; in getCause()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | CallSite.java | 93 MethodHandle target; // Note: This field is known to the JVM. Do not change. field in CallSite 112 this.target = MethodHandles.throwException(type.returnType(), IllegalStateException.class); in CallSite() 113 this.target = MethodHandles.insertArguments( in CallSite() 114 this.target, 0, new IllegalStateException("uninitialized call site")); in CallSite() 116 this.target = MethodHandles.dropArguments(this.target, 0, type.ptypes()); in CallSite() 129 CallSite(MethodHandle target) { in CallSite() argument 130 target.type(); // null check in CallSite() 131 this.target = target; in CallSite() 152 checkTargetChange(this.target, boundTarget); in CallSite() 153 this.target = boundTarget; in CallSite() [all …]
|
D | MethodHandles.java | 139 reflectAs(Class<T> expected, MethodHandle target) { in reflectAs() argument 140 MethodHandleImpl directTarget = getMethodHandleImpl(target); in reflectAs() 1853 public MethodHandleInfo revealDirect(MethodHandle target) { in revealDirect() argument 1854 MethodHandleImpl directTarget = getMethodHandleImpl(target); in revealDirect() 1979 private static MethodHandleImpl getMethodHandleImpl(MethodHandle target) { in getMethodHandleImpl() argument 1982 if (target instanceof Transformers.Construct) { in getMethodHandleImpl() 1983 target = ((Transformers.Construct) target).getConstructorHandle(); in getMethodHandleImpl() 1988 if (target instanceof Transformers.VarargsCollector) { in getMethodHandleImpl() 1989 target = target.asFixedArity(); in getMethodHandleImpl() 1992 if (target instanceof MethodHandleImpl) { in getMethodHandleImpl() [all …]
|
D | MutableCallSite.java | 105 public MutableCallSite(MethodHandle target) { in MutableCallSite() argument 106 super(target); in MutableCallSite() 125 return target; in getTarget() 149 checkTargetChange(this.target, newTarget); in setTarget()
|
D | Transformers.java | 150 private final MethodHandle target; field in Transformers.CatchException 156 public CatchException(MethodHandle target, MethodHandle handler, Class<?> exType) { in CatchException() argument 157 super(target.type()); in CatchException() 159 this.target = target; in CatchException() 166 handlerArgsRange = EmulatedStackFrame.Range.of(target.type(), 0, in CatchException() 173 target.invoke(emulatedStackFrame); in transform() 205 private final MethodHandle target; field in Transformers.GuardWithTest 210 public GuardWithTest(MethodHandle test, MethodHandle target, MethodHandle fallback) { in GuardWithTest() argument 211 super(target.type()); in GuardWithTest() 214 this.target = target; in GuardWithTest() [all …]
|
D | ConstantCallSite.java | 42 public ConstantCallSite(MethodHandle target) { in ConstantCallSite() argument 43 super(target); in ConstantCallSite() 96 return target; in getTarget()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | ReplaceTest.java | 29 String target, pattern, repl; in testSimpleReplace() local 31 target = "foobarfobarfoofo1barfort"; in testSimpleReplace() 36 Matcher m = p.matcher(target); in testSimpleReplace() 43 String target, pattern, repl, s; in testCaptureReplace() local 47 target = "[31]foo;bar[42];[99]xyz"; in testCaptureReplace() 52 m = p.matcher(target); in testCaptureReplace() 58 target = "[31]foo(42)bar{63}zoo;[12]abc(34)def{56}ghi;{99}xyz[88]xyz(77)xyz;"; in testCaptureReplace() 62 m = p.matcher(target); in testCaptureReplace() 76 String target, pattern, repl, s; in testEscapeReplace() local 78 target = "foo'bar''foo"; in testEscapeReplace() [all …]
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | TestMethods.java | 109 Target target = new Target(); in test_callInstanceMethod() local 110 assertSame("zorch", target.zorch()); in test_callInstanceMethod() 117 Target target = new Target(); in test_getInstanceVariable() local 118 target.setInstanceVariable(10098); in test_getInstanceVariable() 119 assertSame(10098, target.instanceVariable); in test_getInstanceVariable() 165 Target2 target = new Target2(); in test_diff_callInstanceMethod() local 166 assertSame("fizmo", target.fizmo()); in test_diff_callInstanceMethod() 173 Target2 target = new Target2(); in test_diff_getInstanceVariable() local 174 target.setInstanceMagri(10098); in test_diff_getInstanceVariable() 175 assertSame(10098, target.instanceMagri); in test_diff_getInstanceVariable()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | CopyMoveHelper.java | 100 static void copyToForeignTarget(Path source, Path target, in copyToForeignTarget() argument 117 Files.deleteIfExists(target); in copyToForeignTarget() 118 } else if (Files.exists(target)) in copyToForeignTarget() 119 throw new FileAlreadyExistsException(target.toString()); in copyToForeignTarget() 123 Files.createDirectory(target); in copyToForeignTarget() 126 Files.copy(in, target); in copyToForeignTarget() 133 Files.getFileAttributeView(target, BasicFileAttributeView.class); in copyToForeignTarget() 141 Files.delete(target); in copyToForeignTarget() 154 static void moveToForeignTarget(Path source, Path target, in moveToForeignTarget() argument 157 copyToForeignTarget(source, target, convertMoveToCopyOptions(options)); in moveToForeignTarget()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | ProcessingInstructionImpl.java | 36 private String target; field in ProcessingInstructionImpl 40 ProcessingInstructionImpl(DocumentImpl document, String target, String data) { in ProcessingInstructionImpl() argument 42 this.target = target; // TODO: validate that target is well-formed in ProcessingInstructionImpl() 52 return target; in getNodeName() 66 return target; in getTarget()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | MemoryHandler.java | 94 private Handler target; field in MemoryHandler 134 target = (Handler) clz.newInstance(); in MemoryHandler() 142 target = (Handler) clz.newInstance(); in MemoryHandler() 171 public MemoryHandler(Handler target, int size, Level pushLevel) { in MemoryHandler() argument 172 if (target == null || pushLevel == null) { in MemoryHandler() 181 this.target = target; in MemoryHandler() 229 target.publish(record); in push() 244 target.flush(); in flush() 256 target.close(); in close()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleCombinersTest.java | 173 MethodHandle target = MethodHandles.lookup().findStatic(MethodHandleCombinersTest.class, in testCatchException() local 183 MethodHandle adapter = MethodHandles.catchException(target, IllegalArgumentException.class, in testCatchException() 206 adapter = MethodHandles.catchException(target, IllegalArgumentException.class, handler); in testCatchException() 218 adapter = MethodHandles.catchException(target, IllegalArgumentException.class, handler); in testCatchException() 226 adapter = MethodHandles.catchException(target, IllegalArgumentException.class, in testCatchException() 264 … final MethodHandle target = MethodHandles.lookup().findStatic(MethodHandleCombinersTest.class, in testGuardWithTest() local 269 MethodHandle adapter = MethodHandles.guardWithTest(test, target, fallback); in testGuardWithTest() 687 … final MethodHandle target = MethodHandles.lookup().findStatic(MethodHandleCombinersTest.class, in testFilterReturnValue() local 692 MethodHandle adapter = MethodHandles.filterReturnValue(target, filter); in testFilterReturnValue() 706 … final MethodHandle target = MethodHandles.lookup().findStatic(MethodHandleCombinersTest.class, in testFilterReturnValue() local [all …]
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodHandles.java | 41 reflectAs(Class<T> expected, MethodHandle target) { return null; } in reflectAs() argument 89 public MethodHandleInfo revealDirect(MethodHandle target) { return null; } in revealDirect() argument 109 MethodHandle explicitCastArguments(MethodHandle target, MethodType newType) { return null; } in explicitCastArguments() argument 112 …MethodHandle permuteArguments(MethodHandle target, MethodType newType, int... reorder) { return nu… in permuteArguments() argument 121 MethodHandle insertArguments(MethodHandle target, int pos, Object... values) { return null; } in insertArguments() argument 124 …MethodHandle dropArguments(MethodHandle target, int pos, List<Class<?>> valueTypes) { return null;… in dropArguments() argument 127 … MethodHandle dropArguments(MethodHandle target, int pos, Class<?>... valueTypes) { return null; } in dropArguments() argument 130 …MethodHandle filterArguments(MethodHandle target, int pos, MethodHandle... filters) { return null;… in filterArguments() argument 133 … MethodHandle collectArguments(MethodHandle target, int pos, MethodHandle filter) { return null; } in collectArguments() argument 136 MethodHandle filterReturnValue(MethodHandle target, MethodHandle filter) { return null; } in filterReturnValue() argument [all …]
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileDescriptorTest.java | 60 FileDescriptor target = new FileDescriptor(); in testFileDescriptorCloneForFork() local 61 target.setInt$(source.getInt$()); in testFileDescriptorCloneForFork() 62 assertEquals(target.getInt$(), source.getInt$()); in testFileDescriptorCloneForFork() 65 target.cloneForFork(); in testFileDescriptorCloneForFork() 67 assertTrue(target.valid()); in testFileDescriptorCloneForFork() 68 assertNotEquals(target.getInt$(), source.getInt$()); in testFileDescriptorCloneForFork() 72 Os.close(target); in testFileDescriptorCloneForFork()
|
D | OldByteArrayOutputStreamTest.java | 68 byte[] target = new byte[10]; in test_write$BII_Exception() 71 bos.write(target, -1, 1); in test_write$BII_Exception() 77 bos.write(target, 0, -1); in test_write$BII_Exception() 83 bos.write(target, 1, target.length); in test_write$BII_Exception()
|
D | OldCharArrayWriterTest.java | 45 char[] target = new char[10]; in test_write$CII_Exception() local 48 cw.write(target, -1, 1); in test_write$CII_Exception() 54 cw.write(target, 0, -1); in test_write$CII_Exception() 60 cw.write(target, 1, target.length); in test_write$CII_Exception()
|
D | FileTest.java | 85 File target = createDeepStructure(base); in test_longReadlink() local 88 assertTrue(target.exists()); in test_longReadlink() 89 assertTrue(target.getCanonicalPath().length() > 1024); in test_longReadlink() 90 ln_s(target, source); in test_longReadlink() 92 assertEquals(target.getCanonicalPath(), source.getCanonicalPath()); in test_longReadlink() 173 File target = new File(base, "target"); in test_getCanonicalPath() local 174 target.createNewFile(); // The RI won't follow a dangling symlink, which seems like a bug! in test_getCanonicalPath() 176 ln_s(target, linkName); in test_getCanonicalPath() 177 assertEquals(target.getCanonicalPath(), linkName.getCanonicalPath()); in test_getCanonicalPath() 184 assertEquals(target.getCanonicalPath(), linkName.getCanonicalPath()); in test_getCanonicalPath() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Thread.java | 184 private Runnable target; field in Thread 463 private void init(ThreadGroup g, Runnable target, String name, in init() argument 465 init(g, target, name, stackSize, null); in init() 479 private void init(ThreadGroup g, Runnable target, String name, in init() argument 539 this.target = target; in init() 591 public Thread(Runnable target) { in Thread() argument 592 init(null, target, "Thread-" + nextThreadNum(), 0); in Thread() 599 Thread(Runnable target, AccessControlContext acc) { in Thread() argument 600 init(null, target, "Thread-" + nextThreadNum(), 0, acc); in Thread() 626 public Thread(ThreadGroup group, Runnable target) { in Thread() argument [all …]
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Debug.java | 240 StringBuffer target = new StringBuffer(); in marshal() local 256 target.append(matched.replaceFirst(keyReg, keyStr)); in marshal() 257 target.append(" "); in marshal() 280 target.append(matched.replaceFirst(keyReg, keyStr)); in marshal() 281 target.append(" "); in marshal() 290 target.append(source.toString().toLowerCase(Locale.ENGLISH)); in marshal() 292 return target.toString(); in marshal()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | PollArrayWrapper.java | 88 PollArrayWrapper target, int tindex) { in replaceEntry() argument 89 target.putDescriptor(tindex, source.getDescriptor(sindex)); in replaceEntry() 90 target.putEventOps(tindex, source.getEventOps(sindex)); in replaceEntry() 91 target.putReventOps(tindex, source.getReventOps(sindex)); in replaceEntry()
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | processinginstructiongettarget.java | 69 String target; in runTest() local 73 target = piNode.getTarget(); in runTest() 74 assertEquals("processinginstructionGetTargetAssert", "TEST-STYLE", target); in runTest()
|
/libcore/ojluni/src/main/java/sun/reflect/ |
D | Reflection.java | 112 Object target, in ensureMemberAccess() argument 120 if (!verifyMemberAccess(currentClass, memberClass, target, modifiers)) { in ensureMemberAccess() 135 Object target, in verifyMemberAccess() argument 196 Class<?> targetClass = (target == null ? memberClass : target.getClass()); in verifyMemberAccess()
|