Home
last modified time | relevance | path

Searched defs:TRUNCATE_EXISTING (Results 1 – 6 of 6) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/
DSevenZArchiverTest.java73 StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { in channelVersion()
83 StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { in unknownFormat()
DParameterizedArchiverTest.java102 StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { in channelVersion()
/external/libbrillo/brillo/streams/
Dfile_stream.h34 TRUNCATE_EXISTING, // Open/truncate existing file. Fail if doesn't exist. enumerator
/external/apache-commons-io/src/test/java/org/apache/commons/io/file/
DFilesUncheckTest.java248 …ncheck.newBufferedWriter(tempPath, StandardCharsets.UTF_8, StandardOpenOption.TRUNCATE_EXISTING)) { in testNewBufferedWriterPathCharsetOpenOptionArray()
259 …edWriter writer = FilesUncheck.newBufferedWriter(tempPath, StandardOpenOption.TRUNCATE_EXISTING)) { in testNewBufferedWriterPathOpenOptionArray()
326 …tputStream stream = FilesUncheck.newOutputStream(tempPath, StandardOpenOption.TRUNCATE_EXISTING)) { in testNewOutputStream()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/examples/
DArchiver.java73 StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { in create()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsUnixLikeFileSystemTest.java918 try (FileChannel channel = FileChannel.open(path("/test"), READ, TRUNCATE_EXISTING)) { in testOpenFile_withReadAndTruncateExisting_doesNotTruncateFile() argument
1439 try (OutputStream out = Files.newOutputStream(path, CREATE, TRUNCATE_EXISTING)) { in testOutputStream_withTruncateExistingAndNotWrite_truncatesFile() argument