/external/desugar/java/com/google/devtools/build/android/desugar/ |
Desugar.java | 32 import java.nio.file.Files; 157 Path dumpDirectory = Files.createTempDirectory("lambdas"); 164 args = Files.readAllLines(Paths.get(args[0].substring(1)), ISO_8859_1).toArray(new String[0]); 179 checkState(!Files.isDirectory(path), "Classpath entry must be a jar file: %s", path); 182 checkState(!Files.isDirectory(path), "Bootclasspath entry must be a jar file: %s", path); 201 Files.isDirectory(inputPath) || !Files.isDirectory(outputPath), 279 Files.newInputStream(dumpDirectory.resolve(lambdaClass.getKey()))) { 376 Files.walkFileTree( 382 Files.delete(file) [all...] |
ZipOutputFileProvider.java | 21 import java.nio.file.Files; 33 out = new ZipOutputStream(new BufferedOutputStream(Files.newOutputStream(root))); 38 // TODO(bazel-team): Avoid de- and re-compressing resource files
|
/external/clang/lib/Tooling/ |
Tooling.cpp | 138 llvm::IntrusiveRefCntPtr<FileManager> Files( 141 ToolAction, Files.get(), 213 FileManager *Files, std::shared_ptr<PCHContainerOperations> PCHContainerOps) 215 Files(Files), PCHContainerOps(std::move(PCHContainerOps)), 220 FileManager *Files, std::shared_ptr<PCHContainerOperations> PCHContainerOps) 223 Files(Files), PCHContainerOps(std::move(PCHContainerOps)), 250 newDriver(&Diagnostics, BinaryName, Files->getVirtualFileSystem())); 285 return Action->runInvocation(Invocation, Files, std::move(PCHContainerOps) [all...] |
Refactoring.cpp | 68 FileManager &Files = SM.getFileManager(); 77 const FileEntry *Entry = Files.getFile(FilePath);
|
/external/llvm/lib/Fuzzer/ |
FuzzerIO.cpp | 102 std::vector<std::string> Files; 103 ListFilesInDirRecursive(Path, Epoch, &Files, /*TopDir*/true); 105 for (size_t i = 0; i < Files.size(); i++) { 106 auto &X = Files[i]; 110 Printf("Loaded %zd/%zd files from %s\n", NumLoaded, Files.size(), Path);
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
DefaultFileSystemProvider2Test.java | 34 import java.nio.file.Files; 96 assertFalse(Files.exists(filesSetup.getDataFilePath())); 99 Files.createFile(filesSetup.getTestPath()); 108 Files.createFile(filesSetup.getTestPath()); 124 Files.setAttribute(filesSetup.getDataFilePath(), "basic:lastModifiedTime", fileTime); 127 ((FileTime) Files.getAttribute(filesSetup.getTestPath(), 169 Files.createDirectory(dirPath); 170 Files.createDirectory(nestedDirPath); 171 Files.copy(filesSetup.getDataFilePath(), 176 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(dirPath2)) [all...] |
LinuxPathTest.java | 32 import java.nio.file.Files; 59 * CTS doesn't allow creating files in the test directory, however, Vogar allows creation of 60 * new files in the test directory. Therefore, for the tests which don't require write 327 Files.createFile(filesSetup.getTestPath()); 329 assertTrue(Files.isSameFile(filesSetup.getTestPath().toAbsolutePath(), realPath)); 331 assertFalse(Files.isSymbolicLink(realPath)); 335 Files.createDirectories(dir); 336 Files.createFile(file); 338 assertTrue(Files.isSameFile(file.toAbsolutePath(), realPath)); 340 assertFalse(Files.isSymbolicLink(realPath)) [all...] |
/development/tools/idegen/src/com/android/idegen/ |
IntellijProject.java | 21 import com.google.common.io.Files; 88 // Finally create iml files for dependencies 117 String modulesContent = Files.toString(new File(DirectorySearch.findTemplateDir(), 129 Files.write(modulesContent, out, CHARSET); 133 String vcsTemplate = Files.toString(new File(DirectorySearch.findTemplateDir(), 156 Files.write(vcsTemplate, new File(ideaDir, "vcs.xml"), CHARSET); 161 Files.write(name, out, CHARSET); 171 File[] files = fromDir.listFiles(); local 172 for (File file : files) { 183 Files.copy(file, toFile) [all...] |
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/include/clang/Tooling/ |
Tooling.h | 13 // A ClangTool is initialized with a CompilationDatabase and a set of files 15 // all TUs in which the given files are compiled. 72 runInvocation(clang::CompilerInvocation *Invocation, FileManager *Files, 88 bool runInvocation(clang::CompilerInvocation *Invocation, FileManager *Files, 220 /// \param Files The FileManager used for the execution. Class does not take 225 FileManager *Files, 233 /// \param Files The FileManager used for the execution. 237 FileManager *Files, 270 FileManager *Files; 277 /// \brief Utility to run a FrontendAction over a set of files [all...] |
/external/emma/core/java12/com/vladium/emma/data/ |
MergeProcessor.java | 15 import com.vladium.util.Files; 54 m_dataPath = Files.pathToFiles (path, true); 117 log.info ("processing input files ..."); 134 // merge all data files: 180 log.warning ("nothing to do: no metadata or coverage data found in any of the input files"); 210 // the case of the output file being one of the input files is 217 final File canonicalDataOutFile = Files.canonicalizeFile (sdataOutFile); 221 final File canonicalDataFile = Files.canonicalizeFile (m_dataPath [f]); 235 final String tempFileName = Files.getFileName (canonicalDataOutFile) + IAppConstants.APP_NAME_LC; 240 tempDataOutFile = Files.createTempFile (tempFileDir, tempFileName, tempFileExt) [all...] |
/external/emma/core/java12/com/vladium/emma/instr/ |
InstrProcessor.java | 13 import com.vladium.util.Files; 60 m_instrPath = Files.pathToFiles (path, canonical); 179 final File canonicalOutDir = Files.canonicalizeFile (m_outDir); 190 canonicalInstrPath [ip] = Files.canonicalizeFile (m_instrPath [ip]); 244 return isClass ? Files.newFile (m_outDir, CLASSES) : Files.newFile (m_outDir, LIB); 251 return Files.newFile (getFullOutDir (pathDir, isClass), file.getPath ());
|
/external/smali/util/src/test/java/org/jf/util/ |
ClassFileNameHandlerTest.java | 35 import com.google.common.io.Files; 121 File tempDir = Files.createTempDir(); 137 File tempDir = Files.createTempDir(); 158 File tempDir = Files.createTempDir(); 173 File tempDir = Files.createTempDir(); 188 File tempDir = Files.createTempDir(); 214 File tempDir = Files.createTempDir();
|
/dalvik/dx/junit-tests/com/android/dx/merge/ |
DexMergerTest.java | 28 import java.nio.file.Files; 68 ZipOutputStream zip = new ZipOutputStream(Files.newOutputStream(classesJar))) { 79 return new Dex(Files.readAllBytes(output.resolve("classes.dex")));
|
/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));
|
/external/testng/src/main/java/org/testng/reporters/jq/ |
Main.java | 9 import org.testng.reporters.Files; 83 Files.copyFile(is, new File(m_outputDirectory, fileName)); 86 all = Files.readFile(header);
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
PhotoSetLoader.java | 26 import android.provider.MediaStore.Files; 27 import android.provider.MediaStore.Files.FileColumns; 38 private static final Uri CONTENT_URI = Files.getContentUri("external");
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zFolderOutStream.cpp | 49 const CFileItem &fi = _db->Files[index];
67 const CFileItem &fi = _db->Files[_startIndex + _currentIndex];
76 while (_currentIndex < _extractStatuses->Size() && _db->Files[_startIndex + _currentIndex].Size == 0)
129 *value = _db->Files[_startIndex + (int)subStream].Size;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/ |
SystraceOutputParser.java | 20 import com.google.common.io.Files; 139 Files.toString(new File(assetsFolder, "script.js"), Charsets.UTF_8)); 148 Files.toString(new File(assetsFolder, "style.css"), Charsets.UTF_8)); 164 return Files.toString(new File(assetsFolder, htmlFileName), Charsets.UTF_8);
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/ |
cln.sh | 25 echo Files to clean...
|
/external/clang/lib/Serialization/ |
MultiOnDiskHashTable.h | 11 // distributed storage across a set of files. 13 // Multiple hash tables from different files are implicitly merged to improve 15 // files. 60 std::vector<file_type> Files; 74 /// \brief Files corresponding to overridden tables that we've not yet 113 llvm::DenseSet<file_type> Files; 114 Files.insert(PendingOverrides.begin(), PendingOverrides.end()); 115 // Explicitly capture Files to work around an MSVC 2015 rejects-valid bug. 116 auto ShouldRemove = [&Files](void *T) -> bool { 118 bool Remove = Files.count(ODT->File) [all...] |
/external/clang/tools/clang-format/ |
ClangFormat.cpp | 114 SourceManager &Sources, FileManager &Files, 117 return Sources.createFileID(Files.getFile(FileName), SourceLocation(), 134 FileManager Files(FileSystemOptions(), InMemoryFileSystem); 138 SourceManager Sources(Diagnostics, Files); 139 FileID ID = createInMemoryFile("<irrelevant>", Code, Sources, Files, 249 return false; // Empty files are formatted correctly. 286 FileManager Files(FileSystemOptions(), InMemoryFileSystem); 290 SourceManager Sources(Diagnostics, Files); 291 FileID ID = createInMemoryFile(AssumedFileName, Code.get(), Sources, Files, 331 "If <file>s are given, it reformats the files. If -i is specified\n [all...] |
/external/clang/lib/Driver/ |
Compilation.cpp | 71 // FIXME: Why are we trying to remove files that we have not created? For 81 // Don't try to remove files which we don't have write access to (but may be 82 // able to remove), or non-regular files. Underlying tools may have 100 bool Compilation::CleanupFileList(const ArgStringList &Files, 104 it = Files.begin(), ie = Files.end(); it != ie; ++it) 109 bool Compilation::CleanupFileMap(const ArgStringMap &Files, 114 it = Files.begin(), ie = Files.end(); it != ie; ++it) { 116 // If specified, only delete the files associated with the JobAction [all...] |
/frameworks/support/buildSrc/ |
release.gradle | 17 import com.google.common.io.Files 94 Files.write(xml, new File(project.ext.distDir, 'repo-extras.xml'), Charsets.UTF_8) 110 Files.write(sourceProp, new File(project.ext.supportRepoOut, 'source.properties'), Charsets.UTF_8)
|