Home
last modified time | relevance | path

Searched refs:Files (Results 1 – 25 of 871) sorted by relevance

12345678910>>...35

/external/guava/guava-tests/test/com/google/common/io/
DFilesTest.java19 import static com.google.common.io.Files.createTempDir;
20 import static com.google.common.io.Files.touch;
77 Files.toByteArray(asciiFile))); in testToByteArray()
79 Files.toByteArray(i18nFile))); in testToByteArray()
81 Files.asByteSource(i18nFile).read())); in testToByteArray()
90 byte[] bytes = Files.readFile(in, asciiFile.length()); in testReadFile_withCorrectSize()
105 byte[] bytes = Files.readFile(in, 10); in testReadFile_withSmallerSize()
120 byte[] bytes = Files.readFile(in, 500); in testReadFile_withLargerSize()
135 byte[] bytes = Files.readFile(in, 0); in testReadFile_withSizeZero()
167 assertEquals(ASCII, Files.toString(asciiFile, Charsets.US_ASCII)); in testToString()
[all …]
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Finder/
DContainers_and_folders.py151 import Files
164 'alias_file' : Files.alias_file,
165 'application_file' : Files.application_file,
166 'clipping' : Files.clipping,
168 'document_file' : Files.document_file,
169 'file' : Files.file,
171 'internet_location_file' : Files.internet_location_file,
173 'package' : Files.package,
180 'alias_file' : Files.alias_file,
181 'application_file' : Files.application_file,
[all …]
DFinder_Basics.py144 import Files
165 'alias_file' : Files.alias_file,
166 'application_file' : Files.application_file,
167 'clipping' : Files.clipping,
171 'document_file' : Files.document_file,
172 'file' : Files.file,
174 'internet_location_file' : Files.internet_location_file,
176 'package' : Files.package,
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DTempDirectory.java6 import java.nio.file.Files;
16 basePath = Files.createTempDirectory("robolectric-" + name); in TempDirectory()
33 Files.createDirectory(path); in create()
43 Files.createDirectory(path); in createIfNotExists()
56 Files.delete(basePath); in destroy()
62 Files.walkFileTree(directory, new SimpleFileVisitor<Path>() { in clearDirectory()
65 Files.delete(file); in clearDirectory()
72 Files.delete(dir); in clearDirectory()
/external/javapoet/src/test/java/com/squareup/javapoet/
DFileWritingTest.java23 import java.nio.file.Files;
55 Files.createDirectories(path.getParent()); in pathNotDirectory()
56 Files.createFile(path); in pathNotDirectory()
84 assertThat(Files.exists(testPath)).isTrue(); in pathDefaultPackage()
100 assertThat(Files.exists(testPath)).isTrue(); in filerDefaultPackage()
112 assertThat(Files.exists(fooPath)).isTrue(); in pathNestedClasses()
113 assertThat(Files.exists(barPath)).isTrue(); in pathNestedClasses()
114 assertThat(Files.exists(bazPath)).isTrue(); in pathNestedClasses()
143 assertThat(Files.exists(fooPath)).isTrue(); in filerNestedClasses()
144 assertThat(Files.exists(barPath)).isTrue(); in filerNestedClasses()
[all …]
/external/ltp/testcases/kernel/fs/doio/
Drwtest45 Files=""
259 Files="25%:rwtest.$$"
282 Files="25%:rwtest.file"
284 Files=$*
298 for f in $Files
383 Files=${F[*]}
391 echo $Files
395 …cmd="${LTPROOT}/testcases/bin/iogen ${iOpts} ${Files} | $MPPrun ${LTPROOT}/testcases/bin/doio ${dO…
404 ( ${LTPROOT}/testcases/bin/iogen ${iOpts} ${Files}
/external/python/cpython3/Doc/library/
Dimghdr.rst32 | ``'rgb'`` | SGI ImgLib Files |
34 | ``'gif'`` | GIF 87a and 89a Files |
36 | ``'pbm'`` | Portable Bitmap Files |
38 | ``'pgm'`` | Portable Graymap Files |
40 | ``'ppm'`` | Portable Pixmap Files |
42 | ``'tiff'`` | TIFF Files |
44 | ``'rast'`` | Sun Raster Files |
46 | ``'xbm'`` | X Bitmap Files |
56 | ``'exr'`` | OpenEXR Files |
/external/turbine/javatests/com/google/turbine/zip/
DZipTest.java30 import java.nio.file.Files;
67 try (JarOutputStream jos = new JarOutputStream(Files.newOutputStream(path))) { in compression()
80 try (JarOutputStream jos = new JarOutputStream(Files.newOutputStream(path))) { in testEntries()
127 Files.delete(path); in attributes()
135 Files.write(entry, bytes); in attributes()
136 Files.setLastModifiedTime(entry, FileTime.fromMillis(0)); in attributes()
145 Files.delete(path); in zipFileCommentsAreSupported()
146 try (ZipOutputStream zos = new ZipOutputStream(Files.newOutputStream(path))) { in zipFileCommentsAreSupported()
156 Files.delete(path); in malformedComment()
158 try (ZipOutputStream zos = new ZipOutputStream(Files.newOutputStream(path))) { in malformedComment()
[all …]
/external/python/cpython2/Doc/library/
Dimghdr.rst29 | ``'rgb'`` | SGI ImgLib Files |
31 | ``'gif'`` | GIF 87a and 89a Files |
33 | ``'pbm'`` | Portable Bitmap Files |
35 | ``'pgm'`` | Portable Graymap Files |
37 | ``'ppm'`` | Portable Pixmap Files |
39 | ``'tiff'`` | TIFF Files |
41 | ``'rast'`` | Sun Raster Files |
43 | ``'xbm'`` | X Bitmap Files |
Dfilecmp.rst27 Files that were compared using this function will not be compared again unless
42 could not be compared. Files are listed in *errors* if they don't exist in
121 Files and subdirectories in *a*, filtered by *hide* and *ignore*.
126 Files and subdirectories in *b*, filtered by *hide* and *ignore*.
131 Files and subdirectories in both *a* and *b*.
136 Files and subdirectories only in *a*.
141 Files and subdirectories only in *b*.
151 Files in both *a* and *b*
162 Files which are identical in both *a* and *b*, using the class's
168 Files which are in both *a* and *b*, whose contents differ according
[all …]
/external/clang/lib/Tooling/
DTooling.cpp138 llvm::IntrusiveRefCntPtr<FileManager> Files( in runToolOnCodeWithArgs() local
141 ToolAction, Files.get(), in runToolOnCodeWithArgs()
213 FileManager *Files, std::shared_ptr<PCHContainerOperations> PCHContainerOps) in ToolInvocation() argument
215 Files(Files), PCHContainerOps(std::move(PCHContainerOps)), in ToolInvocation()
220 FileManager *Files, std::shared_ptr<PCHContainerOperations> PCHContainerOps) in ToolInvocation() argument
223 Files(Files), PCHContainerOps(std::move(PCHContainerOps)), in ToolInvocation()
250 newDriver(&Diagnostics, BinaryName, Files->getVirtualFileSystem())); in run()
285 return Action->runInvocation(Invocation, Files, std::move(PCHContainerOps), in runInvocation()
290 CompilerInvocation *Invocation, FileManager *Files, in runInvocation() argument
296 Compiler.setFileManager(Files); in runInvocation()
[all …]
/external/python/cpython2/Lib/plat-mac/
Dmacostools.py11 from Carbon import File, Files
25 COPY_FLAGS = (Files.kIsStationary|Files.kNameLocked|Files.kHasBundle|
26 Files.kIsInvisible|Files.kIsAlias)
127 catinfo, _, _, _ = srcfsr.FSGetCatalogInfo(Files.kFSCatInfoAllDates)
128 dstfsr.FSSetCatalogInfo(Files.kFSCatInfoAllDates, catinfo)
/external/libusb/msvc/
Dappveyor.bat10 call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /Debug /x64
11 msbuild %libusb_2010% /p:Configuration=Debug,Platform=x64 /logger:"C:\Program Files\AppVeyor\BuildA…
16 call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /Release /x64
17 msbuild %libusb_2010% /p:Configuration=Release,Platform=x64 /logger:"C:\Program Files\AppVeyor\Buil…
22 msbuild %libusb_2010% /p:Configuration=Debug,Platform=Win32 /logger:"C:\Program Files\AppVeyor\Buil…
27 msbuild %libusb_2010% /p:Configuration=Release,Platform=Win32 /logger:"C:\Program Files\AppVeyor\Bu…
/external/desugar/java/com/google/devtools/build/android/desugar/io/
DDirectoryOutputFileProvider.java20 import java.nio.file.Files;
37 OutputStream os = Files.newOutputStream(path)) { in copyFrom()
46 Files.write(path, content); in write()
55 if (!Files.exists(path.getParent())) { in createParentFolder()
56 Files.createDirectories(path.getParent()); in createParentFolder()
/external/clang/unittests/Tooling/
DRewriterTestContext.h45 Files(FileSystemOptions(), OverlayFileSystem), in RewriterTestContext()
46 Sources(Diagnostics, Files), Rewrite(Sources, Options) { in RewriterTestContext()
60 const FileEntry *Entry = Files.getFile(Name); in createInMemoryFile()
77 const FileEntry *File = Files.getFile(Path); in createOnDiskFile()
110 auto FileBuffer = Files.getBufferForFile(Path); in getFileContentFromDisk()
119 FileManager Files; variable
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DCoverageReport.cpp95 void adjustColumnWidths(ArrayRef<StringRef> Files, in adjustColumnWidths() argument
97 for (StringRef Filename : Files) in adjustColumnWidths()
280 void CoverageReport::renderFunctionReports(ArrayRef<std::string> Files, in renderFunctionReports() argument
284 for (StringRef Filename : Files) { in renderFunctionReports()
353 ArrayRef<std::string> Files, const CoverageViewOptions &Options, in prepareFileReports() argument
355 unsigned LCP = getRedundantPrefixLen(Files); in prepareFileReports()
362 unsigned(Files.size()))); in prepareFileReports()
367 FileReports.reserve(Files.size()); in prepareFileReports()
369 for (StringRef Filename : Files) { in prepareFileReports()
394 raw_ostream &OS, ArrayRef<std::string> Files) const { in renderFileReports()
[all …]
DCoverageReport.h37 void renderFunctionReports(ArrayRef<std::string> Files,
43 FileCoverageSummary &Totals, ArrayRef<std::string> Files,
60 void renderFileReports(raw_ostream &OS, ArrayRef<std::string> Files) const;
64 void renderFileReports(raw_ostream &OS, ArrayRef<std::string> Files,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCCodeView.cpp42 if (Idx < Files.size()) in isValidFileNumber()
43 return Files[Idx].Assigned; in isValidFileNumber()
55 if (Idx >= Files.size()) in addFile()
56 Files.resize(Idx + 1); in addFile()
61 if (Files[Idx].Assigned) in addFile()
70 Files[Idx].StringTableOffset = Offset; in addFile()
71 Files[Idx].ChecksumTableOffset = ChecksumOffsetSymbol; in addFile()
72 Files[Idx].Assigned = true; in addFile()
73 Files[Idx].Checksum = ChecksumBytes; in addFile()
74 Files[Idx].ChecksumKind = ChecksumKind; in addFile()
[all …]
/external/llvm/unittests/Support/
DSpecialCaseListTest.cpp109 std::vector<std::string> Files(1, "unexisting"); in TEST_F() local
110 EXPECT_EQ(nullptr, SpecialCaseList::create(Files, Error)); in TEST_F()
120 std::vector<std::string> Files; in TEST_F() local
121 Files.push_back(makeSpecialCaseListFile("src:bar\n" in TEST_F()
124 Files.push_back(makeSpecialCaseListFile("src:baz\n" in TEST_F()
126 auto SCL = SpecialCaseList::createOrDie(Files); in TEST_F()
/external/emma/core/java12/com/vladium/emma/instr/
DInstrProcessor.java13 import com.vladium.util.Files;
60 m_instrPath = Files.pathToFiles (path, canonical); in setInstrPath()
179 final File canonicalOutDir = Files.canonicalizeFile (m_outDir); in validateState()
190 canonicalInstrPath [ip] = Files.canonicalizeFile (m_instrPath [ip]); in validateState()
244 return isClass ? Files.newFile (m_outDir, CLASSES) : Files.newFile (m_outDir, LIB); in getFullOutDir()
251 return Files.newFile (getFullOutDir (pathDir, isClass), file.getPath ()); in getFullOutFile()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/
DParameterizedExpanderTest.java29 import java.nio.file.Files;
74 try (OutputStream o = Files.newOutputStream(dummy.toPath())) { in setUp()
78 .createArchiveOutputStream(format, Files.newOutputStream(archive.toPath()))) { in setUp()
109 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in inputStreamVersion()
117 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in inputStreamVersionWithAutoDetection()
133 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath())); in archiveInputStreamVersion()
151 try (InputStream is = Files.newInputStream(new File(resultDir, fileName).toPath())) { in assertHelloWorld()
DExpanderTest.java29 import java.nio.file.Files;
75 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in sevenZInputStreamVersion()
83 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in sevenZInputStreamVersionWithAutoDetection()
157 try (OutputStream o = Files.newOutputStream(dummy.toPath())) { in setup7z()
180 try (OutputStream o = Files.newOutputStream(dummy.toPath())) { in setupZip()
184 .createArchiveOutputStream("zip", Files.newOutputStream(archive.toPath()))) { in setupZip()
204 try (OutputStream o = Files.newOutputStream(dummy.toPath())) { in setupZip()
208 .createArchiveOutputStream("zip", Files.newOutputStream(archive.toPath()))) { in setupZip()
227 try (InputStream is = Files.newInputStream(new File(resultDir, fileName).toPath())) { in assertHelloWorld()
/external/cldr/
Dunicode-license.txt3 Unicode Data Files include all data files under the directories
8 Unicode Data Files do not include PDF online code charts under the
32 (the "Data Files") or Unicode software and any associated documentation
33 (the "Software") to deal in the Data Files or Software
36 the Data Files or Software, and to permit persons to whom the Data Files
39 of the Data Files or Software, or
56 use or other dealings in these Data Files or Software without prior
/external/hyphenation-patterns/eu/
DNOTICE5 (the "Data Files") to deal in the Data Files
8 the Data Files, and to permit persons to whom the Data Files
11 of the Data Files,
31 use or other dealings in these Data Files without prior
/external/hyphenation-patterns/en-GB/
DNOTICE7 (the "Data Files") or Unicode software and any associated documentation
8 (the "Software") to deal in the Data Files or Software
11 the Data Files or Software, and to permit persons to whom the Data Files
14 of the Data Files or Software,
34 use or other dealings in these Data Files or Software without prior

12345678910>>...35