Home
last modified time | relevance | path

Searched refs:delete (Results 1 – 25 of 174) sorted by relevance

1234567

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java49 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 …]
DSyncFailedExceptionTest.java40 f.delete(); in test_ConstructorLjava_lang_String()
/libcore/luni/src/test/java/libcore/java/lang/
DStringBuilderTest.java56 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/
DCompactStringBuffer.java61 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/
DCompactStringBuilder.java61 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/
DMisc.java105 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/
DTestUtil.java54 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/
DScopedByteBufferArray.h46 delete (ScopedBytesRW*)mArrayPtr[i]; in ~ScopedByteBufferArray()
50 delete (ScopedBytesRO*)mArrayPtr[i]; in ~ScopedByteBufferArray()
54 delete[] mArrayPtr; in ~ScopedByteBufferArray()
DAsynchronousCloseMonitor.h73 AsynchronousCloseMonitor(const AsynchronousCloseMonitor&) = delete;
74 AsynchronousCloseMonitor& operator=(const AsynchronousCloseMonitor&) = delete;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DDeflaterOutputStreamTest.java112 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/
DWatchServiceTest.java155 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()
DFilesSetup.java118 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/
DClassLoaderTestSupport.java37 assertTrue(srcDir.delete()); in setupAndCopyResources()
63 while (!dir.delete()) { in cleanUpDir()
69 file.delete(); in cleanUpDir()
/libcore/luni/src/test/java/libcore/libcore/io/
DMemoryMappedFileTest.java63 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/
DOldFileTest.java45 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()
DOldAndroidFileTest.java31 assertTrue(file.delete()); in testFile()
/libcore/dalvik/src/test/java/libcore/org/apache/harmony/dalvik/ddmc/
DDdmVmInternalTest.java57 before.delete(); in setRecentAllocationsTrackingEnabled()
58 after.delete(); in setRecentAllocationsTrackingEnabled()
/libcore/ojluni/src/test/java/nio/channels/Channels/
DBasic.java183 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/
DPosixFileAttributeViewTest.java113 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/
DCopyMoveHelper.java141 Files.delete(target); in copyToForeignTarget()
158 Files.delete(source); in moveToForeignTarget()
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CertInfo.java453 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()
DCertAttrSet.java100 void delete(String name) in delete() method
/libcore/luni/src/test/java/libcore/javax/xml/transform/stream/
DStreamResultTest.java54 file.delete(); in constructorWithFile()
101 file.delete(); in setSystemIdWithFile()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DUserDefinedFileAttributeView.java230 void delete(String name) throws IOException; in delete() method
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringBuffer2Test.java250 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()

1234567