Home
last modified time | relevance | path

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

1234567

/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/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()
489 f3.delete(); in test_createTempFileLjava_lang_StringLjava_lang_String()
496 f3.delete(); in test_createTempFileLjava_lang_StringLjava_lang_String()
503 f3.delete(); in test_createTempFileLjava_lang_StringLjava_lang_String()
510 f1.delete(); in test_createTempFileLjava_lang_StringLjava_lang_String()
513 f2.delete(); in test_createTempFileLjava_lang_StringLjava_lang_String()
548 currentFile.delete(); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
[all …]
DSyncFailedExceptionTest.java40 f.delete(); in test_ConstructorLjava_lang_String()
/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/
DAsynchronousCloseMonitor.h73 AsynchronousCloseMonitor(const AsynchronousCloseMonitor&) = delete;
74 AsynchronousCloseMonitor& operator=(const AsynchronousCloseMonitor&) = delete;
/libcore/luni/src/test/java/libcore/dalvik/system/
DClassLoaderTestSupport.java36 assertTrue(srcDir.delete()); in setupAndCopyResources()
66 assertTrue(file.delete()); in cleanUpDir()
69 assertTrue(dir.delete()); in cleanUpDir()
DInMemoryDexClassLoaderTest.java47 assertTrue(srcDir.delete()); in setUp()
70 assertTrue(file.delete()); in cleanUpDir()
73 assertTrue(dir.delete()); in cleanUpDir()
/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/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()
DOldFileWriterTest.java148 if (!f.delete()) { in setUp()
162 f.delete(); in tearDown()
/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
DOCSPNoCheckExtension.java113 public void delete(String name) throws IOException { in delete() method in OCSPNoCheckExtension
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DUserDefinedFileAttributeView.java230 void delete(String name) throws IOException; in delete() method
/libcore/ojluni/src/main/java/java/io/
DDeleteOnExitHook.java73 (new File(filename)).delete(); in runHooks()
/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()
/libcore/ojluni/src/main/java/java/util/
DArrayDeque.java360 delete(i); in removeFirstOccurrence()
386 delete(i); in removeLastOccurrence()
526 boolean delete(int i) { in delete() method in ArrayDeque
640 if (delete(lastRet)) { // if left-shifted, undo increment in next() in remove()
695 if (!delete(lastRet)) { in remove()
/libcore/ojluni/src/main/java/java/lang/
DStringBuilder.java244 public StringBuilder delete(int start, int end) { in delete() method in StringBuilder
245 super.delete(start, end); in delete()
/libcore/metrictests/memory/host/src/libcore/heapmetrics/
DMetricsRunner.java194 file.delete(); in readErrorFile()
219 file.delete(); in fetchHeapDump()

1234567