/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 49 f.delete(); in deleteTempFolder() 53 dir.delete(); in deleteTempFolder() 309 f.delete(); in test_canRead() 324 f.delete(); in test_canWrite() 494 f3.delete(); in test_createTempFileLjava_lang_StringLjava_lang_String() 501 f3.delete(); in test_createTempFileLjava_lang_StringLjava_lang_String() 508 f3.delete(); in test_createTempFileLjava_lang_StringLjava_lang_String() 515 f1.delete(); in test_createTempFileLjava_lang_StringLjava_lang_String() 518 f2.delete(); in test_createTempFileLjava_lang_StringLjava_lang_String() 553 currentFile.delete(); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File() [all …]
|
D | SyncFailedExceptionTest.java | 40 f.delete(); in test_ConstructorLjava_lang_String()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringBuilderTest.java | 56 sb.delete(sb.length() - 3, sb.length()); in test_delete_endsAtLastChar() 89 sb.delete(sb.length(), sb.length() + 2); in test_delete_boundsChecks() 90 sb.delete(sb.length(), sb.length()); in test_delete_boundsChecks() 92 sb.delete(2, 2); in test_delete_boundsChecks() 97 sb.delete(sb.length() + 2, sb.length() + 3); in test_delete_boundsChecks() 104 sb.delete(sb.length() + 2, sb.length() + 2); in test_delete_boundsChecks() 111 sb.delete(-1, sb.length() -1); in test_delete_boundsChecks() 119 sb2.delete(0, sb2.length()); in test_delete_boundsChecks() 120 sb2.delete(0, 12); in test_delete_boundsChecks() 128 sb.delete(sb.length() - 1 , sb.length() + 2); in test_delete_clampsEnd() [all …]
|
/libcore/ojluni/src/test/java/lang/StringBuffer/ |
D | CompactStringBuffer.java | 61 check(new StringBuffer(ORIGIN).delete(0, 1), ""); in testCompactStringBufferForLatinA() 62 check(new StringBuffer(ORIGIN).delete(0, 0), "A"); in testCompactStringBufferForLatinA() 105 check(new StringBuffer(ORIGIN).delete(0, 1), ""); in testCompactStringBufferForNonLatinA() 106 check(new StringBuffer(ORIGIN).delete(0, 0), "\uFF21"); in testCompactStringBufferForNonLatinA() 139 check(new StringBuffer(ORIGIN).delete(0, 1), "A"); in testCompactStringBufferForMixedA1() 140 check(new StringBuffer(ORIGIN).delete(1, 2), "\uFF21"); in testCompactStringBufferForMixedA1() 226 check(new StringBuffer(ORIGIN).delete(0, 2), "\uD801\uDC01"); in testCompactStringForSupplementaryCodePoint() 227 check(new StringBuffer(ORIGIN).delete(0, 3), "\uDC01"); in testCompactStringForSupplementaryCodePoint() 274 check(new StringBuffer(ORIGIN).delete(0, 1), "\uD801\uDC00\uFF21"); in testCompactStringForSupplementaryCodePointMixed1() 275 check(new StringBuffer(ORIGIN).delete(0, 1).delete(2, 3), "\uD801\uDC00"); in testCompactStringForSupplementaryCodePointMixed1() [all …]
|
/libcore/ojluni/src/test/java/lang/StringBuilder/ |
D | CompactStringBuilder.java | 61 check(new StringBuilder(ORIGIN).delete(0, 1), ""); in testCompactStringBuilderForLatinA() 62 check(new StringBuilder(ORIGIN).delete(0, 0), "A"); in testCompactStringBuilderForLatinA() 105 check(new StringBuilder(ORIGIN).delete(0, 1), ""); in testCompactStringBuilderForNonLatinA() 106 check(new StringBuilder(ORIGIN).delete(0, 0), "\uFF21"); in testCompactStringBuilderForNonLatinA() 139 check(new StringBuilder(ORIGIN).delete(0, 1), "A"); in testCompactStringBuilderForMixedA1() 140 check(new StringBuilder(ORIGIN).delete(1, 2), "\uFF21"); in testCompactStringBuilderForMixedA1() 227 check(new StringBuilder(ORIGIN).delete(0, 2), "\uD801\uDC01"); in testCompactStringForSupplementaryCodePoint() 228 check(new StringBuilder(ORIGIN).delete(0, 3), "\uDC01"); in testCompactStringForSupplementaryCodePoint() 275 check(new StringBuilder(ORIGIN).delete(0, 1), "\uD801\uDC00\uFF21"); in testCompactStringForSupplementaryCodePointMixed1() 276 check(new StringBuilder(ORIGIN).delete(0, 1).delete(2, 3), in testCompactStringForSupplementaryCodePointMixed1() [all …]
|
/libcore/ojluni/src/test/java/nio/file/Path/ |
D | Misc.java | 105 Files.delete(link); in testToRealPath() 114 Files.delete(link); in testToRealPath() 123 Files.delete(link); in testToRealPath() 139 Files.delete(subdir); in testToRealPath() 142 Files.delete(file); in testToRealPath()
|
/libcore/ojluni/src/test/java/nio/file/ |
D | TestUtil.java | 54 Files.delete(file); in removeAll() 63 Files.delete(dir); in removeAll() 79 Files.delete(file); in deleteUnchecked() 113 Files.delete(link); in supportsLinks()
|
/libcore/luni/src/main/native/ |
D | ScopedByteBufferArray.h | 46 delete (ScopedBytesRW*)mArrayPtr[i]; in ~ScopedByteBufferArray() 50 delete (ScopedBytesRO*)mArrayPtr[i]; in ~ScopedByteBufferArray() 54 delete[] mArrayPtr; in ~ScopedByteBufferArray()
|
D | AsynchronousCloseMonitor.h | 73 AsynchronousCloseMonitor(const AsynchronousCloseMonitor&) = delete; 74 AsynchronousCloseMonitor& operator=(const AsynchronousCloseMonitor&) = delete;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | DeflaterOutputStreamTest.java | 112 f1.delete(); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_Deflater() 130 f1.delete(); in test_ConstructorLjava_io_OutputStream() 177 f1.delete(); in test_ConstructorLjava_io_OutputStreamLjava_util_zip_DeflaterI() 243 f1.delete(); in test_close() 293 f1.delete(); in test_finish() 341 f1.delete(); in test_writeI() 370 f1.delete(); in test_write$BII() 424 f2.delete(); in test_write$BII()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | WatchServiceTest.java | 155 Files.delete(file); in test_singleFile() 179 Files.delete(file); in test_EventMask() 202 Files.delete(dirInDirInDir); in test_singleDirectory() 205 Files.delete(dirInDir); in test_singleDirectory() 238 Files.delete(file); in test_cancel() 257 Files.delete(file); in test_removeTarget() 261 Files.delete(directory); in test_removeTarget() 298 Files.delete(path); in test_multipleKeys() 339 Files.delete(path); in test_multipleServices() 353 Files.delete(dir1file1); in test_multipleServices()
|
D | FilesSetup.java | 118 delete(root); in clearAll() 126 private static void delete(Path path) throws IOException { in delete() method in FilesSetup 132 delete(p); in delete()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | ClassLoaderTestSupport.java | 37 assertTrue(srcDir.delete()); in setupAndCopyResources() 63 while (!dir.delete()) { in cleanUpDir() 69 file.delete(); in cleanUpDir()
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | MemoryMappedFileTest.java | 63 file.delete(); in testMmapRo_emptyFile() 73 file.delete(); in testMmapRo() 136 file.delete(); in checkReadByte() 169 file.delete(); in checkSeek() 229 file.delete(); in checkSkip() 251 file.delete(); in testReadShort_bigEndian() 273 file.delete(); in testReadShort_littleEndian() 313 file.delete(); in testReadInt_bigEndian() 335 file.delete(); in testReadInt_littleEndian() 387 file.delete(); in checkReadIntArray() [all …]
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 45 new File(tempDir, files[i]).delete(); 56 f.delete(); in deleteTempFolder() 59 dir.delete(); in deleteTempFolder() 130 f3.delete(); in test_createTempFileLjava_lang_StringLjava_lang_String()
|
D | OldAndroidFileTest.java | 31 assertTrue(file.delete()); in testFile()
|
/libcore/dalvik/src/test/java/libcore/org/apache/harmony/dalvik/ddmc/ |
D | DdmVmInternalTest.java | 57 before.delete(); in setRecentAllocationsTrackingEnabled() 58 after.delete(); in setRecentAllocationsTrackingEnabled()
|
/libcore/ojluni/src/test/java/nio/channels/Channels/ |
D | Basic.java | 183 blah.delete(); in test() 187 blah.delete(); in test() 191 blah.delete(); in test() 196 blah.delete(); in test() 201 blah.delete(); in test() 205 blah.delete(); in test() 211 blah.delete(); in test()
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | PosixFileAttributeViewTest.java | 113 Files.delete(file); in createWithPermissions() 124 Files.delete(file); in createWithPermissions() 174 Files.delete(file); in permissionTests() 193 Files.delete(link); in permissionTests() 266 Files.delete(file); in ownerTests()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | CopyMoveHelper.java | 141 Files.delete(target); in copyToForeignTarget() 158 Files.delete(source); in moveToForeignTarget()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X509CertInfo.java | 453 public void delete(String name) in delete() method in X509CertInfo 471 version.delete(suffix); in delete() 478 serialNum.delete(suffix); in delete() 485 algId.delete(suffix); in delete() 495 interval.delete(suffix); in delete() 505 pubKey.delete(suffix); in delete() 519 extensions.delete(suffix); in delete()
|
D | CertAttrSet.java | 100 void delete(String name) in delete() method
|
/libcore/luni/src/test/java/libcore/javax/xml/transform/stream/ |
D | StreamResultTest.java | 54 file.delete(); in constructorWithFile() 101 file.delete(); in setSystemIdWithFile()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | UserDefinedFileAttributeView.java | 230 void delete(String name) throws IOException; in delete() method
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringBuffer2Test.java | 250 testBuffer.delete(7, 7); in test_deleteII() 253 testBuffer.delete(4, 14); in test_deleteII() 259 testBuffer.delete(0, testBuffer.length()); in test_deleteII() 268 testBuffer.delete(-5, 2); in test_deleteII()
|