/libcore/ojluni/src/test/java/util/Map/ |
D | MapFactories.java | 56 Map<Integer, String> copy = Map.copyOf(orig); in copyOfResultsEqual() local 58 assertEquals(orig, copy); in copyOfResultsEqual() 59 assertEquals(copy, orig); in copyOfResultsEqual() 65 Map<Integer, String> copy = Map.copyOf(orig); in copyOfModifiedUnequal() local 68 assertNotEquals(orig, copy); in copyOfModifiedUnequal() 69 assertNotEquals(copy, orig); in copyOfModifiedUnequal() 91 Map<Integer, String> copy = Map.copyOf(map); in copyOfRejectsNullKey() local 98 Map<Integer, String> copy = Map.copyOf(map); in copyOfRejectsNullValue() local
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestChronoLocalDate.java | 101 List<ChronoLocalDate> copy = new ArrayList<>(dates); in test_date_comparator_checkGenerics_ISO() local 102 Collections.shuffle(copy); in test_date_comparator_checkGenerics_ISO() 103 Collections.sort(copy, ChronoLocalDate.timeLineOrder()); in test_date_comparator_checkGenerics_ISO() 104 assertEquals(copy, dates); in test_date_comparator_checkGenerics_ISO() 105 assertTrue(ChronoLocalDate.timeLineOrder().compare(copy.get(0), copy.get(1)) < 0); in test_date_comparator_checkGenerics_ISO() 125 List<LocalDate> copy = new ArrayList<>(dates); 126 Collections.shuffle(copy); 127 Collections.sort(copy, ChronoLocalDate.timeLineOrder()); 128 assertEquals(copy, dates); 129 assertTrue(ChronoLocalDate.timeLineOrder().compare(copy.get(0), copy.get(1)) < 0);
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | SetFactories.java | 54 Set<Integer> copy = Set.copyOf(orig); in copyOfResultsEqual() local 56 assertEquals(orig, copy); in copyOfResultsEqual() 57 assertEquals(copy, orig); in copyOfResultsEqual() 63 Set<Integer> copy = Set.copyOf(orig); in copyOfModifiedUnequal() local 66 assertNotEquals(orig, copy); in copyOfModifiedUnequal() 67 assertNotEquals(copy, orig); in copyOfModifiedUnequal()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | TeeOpTest.java | 58 List<Integer> copy = new ArrayList<>(); in testTee() local 60 assertCountSum(countTo(0).stream().peek(copy::add), 0, 0); in testTee() 61 assertCountSum(copy.iterator(), 0, 0); in testTee() 63 copy.clear(); in testTee() 64 assertCountSum(countTo(10).stream().peek(copy::add), 10, 55); in testTee() 65 assertCountSum(copy.iterator(), 10, 55); in testTee() 67 copy.clear(); in testTee() 68 assertCountSum(countTo(10).stream().map(mDoubler).peek(copy::add), 10, 110); in testTee() 69 assertCountSum(copy.iterator(), 10, 110); in testTee()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | AdaptableX509CertSelector.java | 248 AdaptableX509CertSelector copy = in clone() local 251 copy.startDate = (Date)startDate.clone(); in clone() 255 copy.endDate = (Date)endDate.clone(); in clone() 259 copy.ski = ski.clone(); in clone() 261 return copy; in clone()
|
/libcore/ojluni/src/test/java/util/List/ |
D | ListFactories.java | 282 List<String> copy = serialClone(act); in serialEquality() local 283 assertEquals(act, copy); in serialEquality() 284 assertEquals(copy, exp); in serialEquality() 309 List<Integer> copy = List.copyOf(orig); in copyOfResultsEqual() local 311 assertEquals(orig, copy); in copyOfResultsEqual() 312 assertEquals(copy, orig); in copyOfResultsEqual() 318 List<Integer> copy = List.copyOf(orig); in copyOfModifiedUnequal() local 321 assertNotEquals(orig, copy); in copyOfModifiedUnequal() 322 assertNotEquals(copy, orig); in copyOfModifiedUnequal() 339 List<Integer> copy = List.copyOf(sub); in copyOfSubList() local [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Arrays.java | 3135 T[] copy = ((Object)newType == (Object)Object[].class) in copyOf() local 3138 System.arraycopy(original, 0, copy, 0, in copyOf() 3140 return copy; in copyOf() 3161 byte[] copy = new byte[newLength]; in copyOf() 3162 System.arraycopy(original, 0, copy, 0, in copyOf() 3164 return copy; in copyOf() 3185 short[] copy = new short[newLength]; in copyOf() local 3186 System.arraycopy(original, 0, copy, 0, in copyOf() 3188 return copy; in copyOf() 3209 int[] copy = new int[newLength]; in copyOf() local [all …]
|
/libcore/tools/upstream/ |
D | Android.bp | 6 // You may obtain a copy of the License at 36 name: "libcore-copy-upstream-files", 38 manifest: "src/main/libcore-copy-upstream-files.mf",
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | GenericSignatureFormatErrorTest.java | 60 copy(is, fos); in test_signatureFormatError() 86 private void copy(InputStream is, OutputStream os) { in copy() method in GenericSignatureFormatErrorTest
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | PKIXParameters.java | 666 PKIXParameters copy = (PKIXParameters)super.clone(); in clone() local 670 copy.certStores = new ArrayList<CertStore>(certStores); in clone() 673 copy.certPathCheckers = in clone() 676 copy.certPathCheckers.add( in clone() 683 return copy; in clone()
|
D | X509CRLSelector.java | 705 X509CRLSelector copy = (X509CRLSelector)super.clone(); in clone() local 707 copy.issuerNames = in clone() 709 copy.issuerX500Principals = in clone() 712 return copy; in clone()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | TempFileHelper.java | 112 FileAttribute<?>[] copy = new FileAttribute<?>[attrs.length+1]; in create() local 113 System.arraycopy(attrs, 0, copy, 0, attrs.length); in create() 114 attrs = copy; in create()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProviderTest.java | 608 provider.copy(filesSetup.getDataFilePath(), filesSetup.getTestPath()); in test_copy() 615 provider.copy(filesSetup.getDataFilePath(), filesSetup.getTestPath()); in test_copy() 621 provider.copy(filesSetup.getDataFilePath(), filesSetup.getTestPath(), REPLACE_EXISTING); in test_copy() 627 provider.copy(filesSetup.getDataFilePath(), filesSetup.getDataFilePath()); in test_copy() 638 provider.copy(filesSetup.getDataFilePath(), symlink); in test_copy() 644 provider.copy(filesSetup.getTestPath(), filesSetup.getDataFilePath(), REPLACE_EXISTING); in test_copy() 654 provider.copy((Path) null, filesSetup.getTestPath()); in test_copy_NPE() 659 provider.copy(filesSetup.getDataFilePath(), (Path) null); in test_copy_NPE() 664 provider.copy(filesSetup.getDataFilePath(), filesSetup.getTestPath(), in test_copy_NPE() 675 provider.copy(filesSetup.getDataFilePath(), filesSetup.getTestPath(), COPY_ATTRIBUTES); in test_copy_CopyOption() [all …]
|
/libcore/luni/ |
D | bouncycastle-license.txt | 5 a copy of this software and associated documentation files (the 7 without limitation the rights to use, copy, modify, merge, publish,
|
/libcore/ |
D | NOTICE | 40 a copy of this software and associated documentation files (the 42 without limitation the rights to use, copy, modify, merge, publish, 75 a copy of this software and associated documentation files (the 77 without limitation the rights to use, copy, modify, merge, publish, 115 Permission to use, copy, modify, and distribute this
|
D | LICENSE | 8 Everyone is permitted to copy and distribute verbatim copies of this license 40 offer you this license which gives you legal permission to copy, distribute 76 1. You may copy and distribute verbatim copies of the Program's source code as 78 appropriately publish on each copy an appropriate copyright notice and 81 Program a copy of this License along with the Program. 83 You may charge a fee for the physical act of transferring a copy, and you may 86 2. You may modify your copy or copies of the Program or any portion of it, thus 87 forming a work based on the Program, and copy and distribute such modifications 104 the program under these conditions, and telling the user how to view a copy 128 3. You may copy and distribute the Program (or a work based on it, under [all …]
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoUtils.java | 72 FileDescriptor copy = fd.release$(); in acquireRawFd() local 75 int rawFd = copy.getInt$(); in acquireRawFd() 76 long previousOwnerId = copy.getOwnerId$(); in acquireRawFd() 79 Libcore.os.android_fdsan_exchange_owner_tag(copy, previousOwnerId, in acquireRawFd()
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | LongNodeTest.java | 135 long[] copy = new long[(int) n.count()]; in testCopyTo() local 136 n.copyInto(copy, 0); in testCopyTo() 138 assertEquals(copy, array); in testCopyTo()
|
D | IntNodeTest.java | 135 int[] copy = new int[(int) n.count()]; in testCopyTo() local 136 n.copyInto(copy, 0); in testCopyTo() 138 assertEquals(copy, array); in testCopyTo()
|
D | DoubleNodeTest.java | 135 double[] copy = new double[(int) n.count()]; in testCopyTo() local 136 n.copyInto(copy, 0); in testCopyTo() 138 assertEquals(copy, array); in testCopyTo()
|
D | NodeTest.java | 113 Integer[] copy = new Integer[(int) n.count()]; in testCopyTo() local 114 n.copyInto(copy, 0); in testCopyTo() 116 assertEquals(copy, array); in testCopyTo()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ControlTest.java | 383 File copy = new File(copyName); in copyFile() local 384 if (copy.exists()) { in copyFile() 385 copy.delete(); in copyFile() 387 copy.createNewFile(); in copyFile() 388 copy.deleteOnExit(); in copyFile() 391 Writer out = new FileWriter(copy); in copyFile() 398 return copy; in copyFile()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | AnnotationMember.java | 158 protected AnnotationMember setDefinition(AnnotationMember copy) { in setDefinition() argument 159 definingMethod = copy.definingMethod; in setDefinition() 160 elementType = copy.elementType; in setDefinition()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringBuffer2Test.java | 515 String copy = sb.toString(); in reverseTest() local 516 assertEquals(org, copy); in reverseTest() 522 copy = sb.toString(); in reverseTest() 523 assertEquals(rev, copy); in reverseTest()
|
/libcore/ojluni/src/main/resources/sun/util/logging/resources/ |
D | logging_sv.properties | 14 # version 2 for more details (a copy is included in the LICENSE file that 17 # You should have received a copy of the GNU General Public License version
|