/libcore/ojluni/src/main/java/java/util/ |
D | ComparableTimSort.java | 657 int dest = base1; // Indexes int a 661 a[dest++] = a[cursor2++]; 663 System.arraycopy(tmp, cursor1, a, dest, len1); 667 System.arraycopy(a, cursor2, a, dest, len2); 668 a[dest + len2] = tmp[cursor1]; // Last elt of run 1 to end of merge 685 a[dest++] = a[cursor2++]; 691 a[dest++] = tmp[cursor1++]; 708 System.arraycopy(tmp, cursor1, a, dest, count1); 709 dest += count1; 715 a[dest++] = a[cursor2++]; [all …]
|
D | TimSort.java | 689 int dest = base1; // Indexes int a 693 a[dest++] = a[cursor2++]; 695 System.arraycopy(tmp, cursor1, a, dest, len1); 699 System.arraycopy(a, cursor2, a, dest, len2); 700 a[dest + len2] = tmp[cursor1]; // Last elt of run 1 to end of merge 718 a[dest++] = a[cursor2++]; 724 a[dest++] = tmp[cursor1++]; 741 System.arraycopy(tmp, cursor1, a, dest, count1); 742 dest += count1; 748 a[dest++] = a[cursor2++]; [all …]
|
D | ImmutableCollections.java | 714 int dest = 0; in writeReplace() local 717 array[dest++] = o; in writeReplace() 857 int dest = -(idx + 1); 858 table[dest] = k; 859 table[dest+1] = v; 974 int dest = 0; 977 array[dest++] = table[i]; 978 array[dest++] = table[i+1];
|
D | Arrays.java | 1324 Object[] dest, in mergeSort() argument 1334 ((Comparable) dest[j-1]).compareTo(dest[j])>0; j--) in mergeSort() 1335 swap(dest, j, j-1); in mergeSort() 1345 mergeSort(dest, src, low, mid, -off); in mergeSort() 1346 mergeSort(dest, src, mid, high, -off); in mergeSort() 1351 System.arraycopy(src, low, dest, destLow, length); in mergeSort() 1358 dest[i] = src[p++]; in mergeSort() 1360 dest[i] = src[q++]; in mergeSort()
|
D | Collections.java | 600 public static <T> void copy(List<? super T> dest, List<? extends T> src) { in copy() argument 602 if (srcSize > dest.size()) in copy() 606 (src instanceof RandomAccess && dest instanceof RandomAccess)) { in copy() 608 dest.set(i, src.get(i)); in copy() 610 ListIterator<? super T> di=dest.listIterator(); in copy() 3830 Object[] dest = (CheckedEntry.class.isInstance( 3835 dest[i] = checkedEntry((Map.Entry<K,V>)source[i], 3837 return dest;
|
/libcore/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 109 File dest = new File(f.toString() + "/" + file); in copyFile() local 114 copyLocalFileto(dest, in); in copyFile() 117 "Unable to copy file from resource " + resourceName + " to file " + dest, e); in copyFile() 120 return dest; in copyFile() 127 public static void copyLocalFileto(File dest, InputStream in) throws IOException { in copyLocalFileto() argument 128 if (!dest.exists()) { in copyLocalFileto() 129 FileOutputStream out = new FileOutputStream(dest); in copyLocalFileto() 132 dest.deleteOnExit(); in copyLocalFileto() 196 public static void copyLocalFileTo(File dest, InputStream in) throws IOException { in copyLocalFileTo() argument 197 if (!dest.exists()) { in copyLocalFileTo() [all …]
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
D | FtpClient.java | 121 … public static FtpClient create(InetSocketAddress dest) throws FtpProtocolException, IOException { in create() argument 123 if (dest != null) { in create() 124 client.connect(dest); in create() 139 public static FtpClient create(String dest) throws FtpProtocolException, IOException { in create() argument 140 return create(new InetSocketAddress(dest, FTP_PORT)); in create() 241 public abstract FtpClient connect(SocketAddress dest) throws FtpProtocolException, IOException; in connect() argument 254 …public abstract FtpClient connect(SocketAddress dest, int timeout) throws FtpProtocolException, IO… in connect() argument
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 267 ArrayList<T> dest = new ArrayList<>(); in testMixedTryAdvanceForEach() local 269 Consumer<T> addToDest = boxingAdapter.apply(dest::add); in testMixedTryAdvanceForEach() 281 assertEquals(sizeIfKnown, dest.size()); in testMixedTryAdvanceForEach() 283 assertEquals(dest.size(), exp.size()); in testMixedTryAdvanceForEach() 285 asserter.assertContents(dest, exp, isOrdered); in testMixedTryAdvanceForEach() 298 ArrayList<T> dest = new ArrayList<>(); in testMixedTraverseAndSplit() local 300 Consumer<T> b = boxingAdapter.apply(dest::add); in testMixedTraverseAndSplit() 325 assertEquals(sizeIfKnown, dest.size()); in testMixedTraverseAndSplit() 327 assertEquals(dest.size(), exp.size()); in testMixedTraverseAndSplit() 329 asserter.assertContents(dest, exp, isOrdered); in testMixedTraverseAndSplit() [all …]
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | SpliteratorTestHelper.java | 267 ArrayList<T> dest = new ArrayList<>(); in testMixedTryAdvanceForEach() local 269 Consumer<T> addToDest = boxingAdapter.apply(dest::add); in testMixedTryAdvanceForEach() 281 assertEquals(sizeIfKnown, dest.size()); in testMixedTryAdvanceForEach() 283 assertEquals(dest.size(), exp.size()); in testMixedTryAdvanceForEach() 285 asserter.assertContents(dest, exp, isOrdered); in testMixedTryAdvanceForEach() 298 ArrayList<T> dest = new ArrayList<>(); in testMixedTraverseAndSplit() local 300 Consumer<T> b = boxingAdapter.apply(dest::add); in testMixedTraverseAndSplit() 325 assertEquals(sizeIfKnown, dest.size()); in testMixedTraverseAndSplit() 327 assertEquals(dest.size(), exp.size()); in testMixedTraverseAndSplit() 329 asserter.assertContents(dest, exp, isOrdered); in testMixedTraverseAndSplit() [all …]
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ASimpleReader.java | 56 public int read(char[] dest, int offset, int count) throws IOException { in read() argument 63 System.arraycopy(buf, pos, dest, offset, readable); in read()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | SystemTest.java | 93 char[][] dest = new char[2][]; in test_arraycopyLjava_lang_ObjectILjava_lang_ObjectII() local 94 System.arraycopy(source, 0, dest, 0, dest.length); in test_arraycopyLjava_lang_ObjectILjava_lang_ObjectII() 95 assertTrue("Invalid copy 2", dest[0] == source[0] in test_arraycopyLjava_lang_ObjectILjava_lang_ObjectII() 96 && dest[1] == source[1]); in test_arraycopyLjava_lang_ObjectILjava_lang_ObjectII()
|
/libcore/ojluni/annotations/hiddenapi/sun/net/ftp/ |
D | FtpClient.java | 47 public static sun.net.ftp.FtpClient create(java.net.InetSocketAddress dest) in create() argument 52 public static sun.net.ftp.FtpClient create(java.lang.String dest) in create() argument 75 public abstract sun.net.ftp.FtpClient connect(java.net.SocketAddress dest) in connect() argument 78 public abstract sun.net.ftp.FtpClient connect(java.net.SocketAddress dest, int timeout) in connect() argument
|
/libcore/ojluni/src/main/java/java/io/ |
D | File.java | 1398 public boolean renameTo(File dest) { in renameTo() argument 1402 security.checkWrite(dest.path); in renameTo() 1404 if (dest == null) { in renameTo() 1407 if (this.isInvalid() || dest.isInvalid()) { in renameTo() 1410 return fs.rename(this, dest); in renameTo()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | System.annotated.java | 59 public static native void arraycopy(java.lang.Object src, int srcPos, java.lang.Object dest, int de… in arraycopy() argument
|
/libcore/ojluni/src/main/native/ |
D | net_util.c | 131 int getInet6Address_ipaddress(JNIEnv *env, jobject iaObj, char *dest) { in getInet6Address_ipaddress() argument 140 (*env)->GetByteArrayRegion(env, addr, 0, 16, (jbyte *)dest); in getInet6Address_ipaddress()
|
D | net_util.h | 69 extern int getInet6Address_ipaddress(JNIEnv *env, jobject ia6Obj, char *dest);
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | System.annotated.java | 59 … java.lang.Object src, int srcPos, @libcore.util.NonNull java.lang.Object dest, int destPos, int l… in arraycopy() argument
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Nodes.java | 663 public void copyInto(T[] dest, int destOffset) { in copyInto() argument 664 System.arraycopy(array, 0, dest, destOffset, curSize); in copyInto() 1345 public void copyInto(int[] dest, int destOffset) { 1346 System.arraycopy(array, 0, dest, destOffset, curSize); 1399 public void copyInto(long[] dest, int destOffset) { 1400 System.arraycopy(array, 0, dest, destOffset, curSize); 1453 public void copyInto(double[] dest, int destOffset) { 1454 System.arraycopy(array, 0, dest, destOffset, curSize);
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | File.java | 187 public boolean renameTo(java.io.File dest) { in renameTo() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/io/ |
D | File.annotated.java | 106 public boolean renameTo(@libcore.util.NonNull java.io.File dest) { throw new RuntimeException("Stub… in renameTo() argument
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | System.java | 78 java.lang.Object src, int srcPos, java.lang.Object dest, int destPos, int length); in arraycopy() argument
|
/libcore/luni/src/main/native/ |
D | org_apache_harmony_xml_ExpatParser.cpp | 450 icu::Char16Ptr dest(chars.get()); // Convert jchar (aka uint16_t*) to char16_t* in fillBuffer() local 452 u_strFromUTF8WithSub(dest.get(), // dest in fillBuffer()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | System.java | 440 Object dest, int destPos, in arraycopy() argument
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Arrays.java | 181 java.lang.Object[] src, java.lang.Object[] dest, int low, int high, int off) { in mergeSort() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Collections.annotated.java | 56 …re.util.NonNull java.util.List<? super @libcore.util.NullFromTypeParam T> dest, @libcore.util.NonN… in copy() argument
|