/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | Options.java | 24 import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; 59 ImmutableSet.<OpenOption>of(WRITE, CREATE, TRUNCATE_EXISTING);
|
D | FileSystemView.java | 24 import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; 349 if (options.contains(TRUNCATE_EXISTING) && options.contains(WRITE)) { in open()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/ |
D | SevenZArchiverTest.java | 73 StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { in channelVersion() argument 83 StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { in unknownFormat() argument
|
D | ParameterizedArchiverTest.java | 102 StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { in channelVersion() argument
|
/external/libbrillo/brillo/streams/ |
D | file_stream.h | 32 TRUNCATE_EXISTING, // Open/truncate existing file. Fail if doesn't exist. enumerator
|
D | file_stream.cc | 226 case Disposition::TRUNCATE_EXISTING: in Open()
|
D | file_stream_test.cc | 895 FileStream::Disposition::TRUNCATE_EXISTING, in TEST_F() 913 FileStream::Disposition::TRUNCATE_EXISTING, in TEST_F()
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ |
D | IcuTextWriter.java | 10 import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; 44 private static final OpenOption[] OVERWRITE_FILES = { CREATE, TRUNCATE_EXISTING };
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/examples/ |
D | Archiver.java | 73 StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING)) { in create() argument
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | JimfsUnixLikeFileSystemTest.java | 36 import static java.nio.file.StandardOpenOption.TRUNCATE_EXISTING; 892 Files.write(test, bytes, WRITE, CREATE, TRUNCATE_EXISTING); // default options in testWriteFile_withStandardOptions() 898 Files.write(test, bytes, WRITE, CREATE, TRUNCATE_EXISTING, APPEND, SPARSE, DSYNC, SYNC); in testWriteFile_withStandardOptions() 918 try (FileChannel channel = FileChannel.open(path("/test"), READ, TRUNCATE_EXISTING)) { in testOpenFile_withReadAndTruncateExisting_doesNotTruncateFile() argument 966 Files.write(test, lines, UTF_8, WRITE, CREATE, TRUNCATE_EXISTING); // default options in testWriteLines_withStandardOptions() 972 Files.write(test, lines, UTF_8, WRITE, CREATE, TRUNCATE_EXISTING, APPEND, SPARSE, DSYNC, SYNC); in testWriteLines_withStandardOptions() 1439 try (OutputStream out = Files.newOutputStream(path, CREATE, TRUNCATE_EXISTING)) { in testOutputStream_withTruncateExistingAndNotWrite_truncatesFile() argument
|
/external/deqp/framework/delibs/deutil/ |
D | deFile.c | 271 create = TRUNCATE_EXISTING; in deFile_create()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/ |
D | SevenZOutputFile.java | 73 StandardOpenOption.TRUNCATE_EXISTING))); in SevenZOutputFile()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | ZipArchiveOutputStream.java | 295 StandardOpenOption.TRUNCATE_EXISTING)); in ZipArchiveOutputStream()
|