/external/libunwind/doc/ |
libunwind-setjmp.tex | 63 \section{Files}
|
/libcore/ojluni/src/main/java/java/nio/file/ |
Files.java | 81 * This class consists exclusively of static methods that operate on files, 82 * directories, or other types of files. 90 public final class Files { 91 private Files() { } 180 * OutputStream out = Files.newOutputStream(path); 183 * out = Files.newOutputStream(path, APPEND); 186 * out = Files.newOutputStream(path, CREATE, APPEND); 189 * out = Files.newOutputStream(path, CREATE_NEW); 311 * ReadableByteChannel rbc = Files.newByteChannel(path, EnumSet.of(READ))); 315 * WritableByteChannel wbc = Files.newByteChannel(path, EnumSet.of(CREATE,APPEND)) [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
Files.java | 24 public final class Files { 26 private Files() {} // no initialization for utility classes.
|
/libcore/ojluni/src/test/java/nio/file/ |
TestUtil.java | 38 return Files.createTempDirectory(dir, "name"); 42 return Files.createTempDirectory("name"); 46 Files.walkFileTree(dir, new FileVisitor<Path>() { 54 Files.delete(file); 63 Files.delete(dir); 79 Files.delete(file); 100 Files.createDirectory(dir); 112 Files.createSymbolicLink(link, target); 113 Files.delete(link);
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
PosixFileAttributeViewTest.java | 59 Files.setPosixFilePermissions(file, perms); 60 Set<PosixFilePermission> current = Files.getPosixFilePermissions(file); 68 Files.setAttribute(file, "posix:permissions", perms); 69 current = (Set<PosixFilePermission>)Files.getAttribute(file, "posix:permissions"); 106 Files.createFile(file, attr); 109 Files.getFileAttributeView(file, PosixFileAttributeView.class) 113 Files.delete(file); 117 Files.createDirectory(file, attr); 120 Files.getFileAttributeView(file, PosixFileAttributeView.class) 124 Files.delete(file) [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
FilesTest.java | 19 import static com.google.common.io.Files.createTempDir; 20 import static com.google.common.io.Files.touch; 49 * Unit test for {@link Files}. 57 suite.addTest(ByteSourceTester.tests("Files.asByteSource[File]", 59 suite.addTest(ByteSinkTester.tests("Files.asByteSink[File]", 61 suite.addTest(ByteSinkTester.tests("Files.asByteSink[File, APPEND]", 63 suite.addTest(CharSourceTester.tests("Files.asCharSource[File, Charset]", 65 suite.addTest(CharSinkTester.tests("Files.asCharSink[File, Charset]", 67 suite.addTest(CharSinkTester.tests("Files.asCharSink[File, Charset, APPEND]", 77 Files.toByteArray(asciiFile))) [all...] |
/development/tools/idegen/src/ |
Files.java | 23 class Files {
|
IntelliJ.java | 30 * Generates IntelliJ configuration files from the given configuration. 34 String ipr = Files.toString(new File(templatesDirectory, IDEA_IPR)); 35 Files.toFile(ipr, new File(IDEA_IPR)); 37 String iml = Files.toString(new File(templatesDirectory, IDEA_IML)); 50 * up random non-Java files. 89 Files.toFile(iml, new File(IDEA_IML));
|
/development/tools/idegen/src/com/android/idegen/ |
ModuleIndexes.java | 22 import com.google.common.io.Files; 34 * Mapping of module names to make files. 53 Files.readLines(indexFile, Charset.forName("UTF-8"),
|
/external/clang/lib/Index/ |
SimpleFormatContext.h | 42 Files(FileSystemOptions(), InMemoryFileSystem), 43 Sources(*Diagnostics, Files), 51 const FileEntry *Entry = Files.getFile(Name); 67 FileManager Files;
|
/external/llvm/unittests/Support/ |
SpecialCaseListTest.cpp | 109 std::vector<std::string> Files(1, "unexisting"); 110 EXPECT_EQ(nullptr, SpecialCaseList::create(Files, Error)); 120 std::vector<std::string> Files; 121 Files.push_back(makeSpecialCaseListFile("src:bar\n" 124 Files.push_back(makeSpecialCaseListFile("src:baz\n" 126 auto SCL = SpecialCaseList::createOrDie(Files);
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerMerge.h | 17 // The outter process collects the set of files and writes their names 33 // reads the control files and does the merge based entirely on the contents 59 std::vector<MergeFileInfo> Files;
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerMerge.h | 17 // The outter process collects the set of files and writes their names 33 // reads the control files and does the merge based entirely on the contents 59 std::vector<MergeFileInfo> Files;
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerMerge.h | 17 // The outter process collects the set of files and writes their names 33 // reads the control files and does the merge based entirely on the contents 59 std::vector<MergeFileInfo> Files;
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/lib/Fuzzer/ |
FuzzerMerge.h | 17 // The outter process collects the set of files and writes their names 33 // reads the control files and does the merge based entirely on the contents 59 std::vector<MergeFileInfo> Files;
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
FilesTest.java | 36 import java.nio.file.Files; 90 assertSame(is, Files.newInputStream(mockPath, READ)); 102 assertSame(os, Files.newOutputStream(mockPath, APPEND)); 116 assertSame(sfc, Files.newByteChannel(mockPath, READ)); 124 assertFalse(Files.exists(filesSetup.getTestPath())); 125 Files.createFile(filesSetup.getTestPath()); 126 assertTrue(Files.exists(filesSetup.getTestPath())); 130 Files.createFile(unicodeFilePath); 131 Files.exists(unicodeFilePath); 135 Files.createFile(filesSetup.getDataFilePath()) [all...] |
Files2Test.java | 45 import java.nio.file.Files; 120 assertEquals(mockPath2, Files.move(mockPath, mockPath2, mockCopyOption)); 127 assertEquals(mockPath2, Files.readSymbolicLink(mockPath)); 135 assertTrue(Files.isSameFile(mockPath, mockPath2)); 136 assertFalse(Files.isSameFile(mockPath2, mockPath)); 143 Files.getFileStore(mockPath); 153 assertTrue(Files.isHidden(mockPath)); 154 assertFalse(Files.isHidden(mockPath2)); 160 Files.probeContentType(filesSetup.getPathInTestDir("file.txt"))); 162 Files.probeContentType(filesSetup.getPathInTestDir("file.java"))) [all...] |
DefaultFileSystemProviderTest.java | 34 import java.nio.file.Files; 403 assertFalse(Files.exists(newDirectory)); 404 assertFalse(Files.isDirectory(newDirectory)); 408 assertTrue(Files.exists(newDirectory)); 409 assertTrue(Files.isDirectory(newDirectory)); 421 assertTrue(Files.exists(unicodeFilePath)); 429 assertEquals(attr.value(), Files.getAttribute(filesSetup.getTestPath(), attr.name())); 437 assertEquals(attr1.value(), Files.getAttribute(dirPath2, attr.name())); 468 assertTrue(Files.isSymbolicLink(filesSetup.getTestPath())); 477 Files.deleteIfExists(filesSetup.getTestPath()) [all...] |
DefaultSecureDirectoryStreamTest.java | 32 import java.nio.file.Files; 86 Files.createDirectory(path_root); 87 Files.createDirectory(path_dir1); 88 Files.createDirectory(path_dir2); 89 Files.createDirectory(path_dir3); 90 Files.createDirectory(path_dir4); 91 Files.createFile(path_f1); 92 Files.createFile(path_f2); 93 Files.createFile(path_f3); 106 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_root [all...] |
/art/test/151-OpenFileLimit/src/ |
Main.java | 29 List<File> files = new ArrayList<File>(); local 34 files.add(file); 35 streams.add(Files.newOutputStream(file.toPath(), CREATE, APPEND)); 38 if (e.getMessage().contains("Too many open files")) { 39 System.out.println("Message includes \"Too many open files\""); 58 for (int i = 0; i < files.size(); i++) { 60 files.get(i).delete();
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
DirectoryOutputFileProvider.java | 20 import java.nio.file.Files; 37 OutputStream os = Files.newOutputStream(path)) { 46 Files.write(path, content); 55 if (!Files.exists(path.getParent())) { 56 Files.createDirectories(path.getParent());
|
/external/llvm/tools/llvm-pdbdump/ |
CompilandDumper.cpp | 58 auto Files = Session.getSourceFilesForCompiland(Symbol); 60 while (auto File = Files->getNext()) {
|
/external/lzma/CPP/7zip/UI/Console/ |
PercentPrinter.h | 13 UInt64 Files;
23 Files(0)
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
SourceDebugExtensionDebuggee.java | 33 import java.nio.file.Files; 56 * This simplifies dealing with multiple dex files in the Android 138 Path jarPath = Files.createTempFile(null, "jar"); 140 Files.write(jarPath, jarBytes);
|
/external/caliper/caliper/src/main/java/com/google/caliper/config/ |
CaliperConfigLoader.java | 26 import com.google.common.io.Files; 36 * Loads caliper configuration files and, if necessary, creates new versions from the defaults. 61 Util.loadProperties(Files.asByteSource(configFile)); 92 supplier.copyTo(Files.asByteSink(rcFile));
|