/external/guava/guava-tests/test/com/google/common/io/ |
D | FilesTest.java | 19 import static com.google.common.io.Files.touch; 81 ByteSource byteSource = Files.asByteSource(asciiFile); in testRoundTripSources() 88 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII), Files.toByteArray(asciiFile))); in testToByteArray() 89 assertTrue(Arrays.equals(I18N.getBytes(Charsets.UTF_8), Files.toByteArray(i18nFile))); in testToByteArray() 90 assertTrue(Arrays.equals(I18N.getBytes(Charsets.UTF_8), Files.asByteSource(i18nFile).read())); in testToByteArray() 114 assertEquals(ASCII, Files.toString(asciiFile, Charsets.US_ASCII)); in testToString() 115 assertEquals(I18N, Files.toString(i18nFile, Charsets.UTF_8)); in testToString() 116 assertThat(Files.toString(i18nFile, Charsets.US_ASCII)).isNotEqualTo(I18N); in testToString() 121 Files.write(I18N, temp, Charsets.UTF_16LE); in testWriteString() 122 assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE)); in testWriteString() [all …]
|
D | MoreFilesTest.java | 36 import java.nio.file.Files; 96 tempDir = Files.createTempDirectory("MoreFilesTest"); in setUp() 103 Files.walkFileTree( in tearDown() 109 Files.deleteIfExists(file); in tearDown() 119 Files.deleteIfExists(dir); in tearDown() 127 return Files.createTempFile(tempDir, "test", ".test"); in createTempFile() 133 Files.createDirectory(dir); in testByteSource_size_ofDirectory() 150 Files.createDirectory(dir); in testByteSource_size_ofSymlinkToDirectory() 152 Files.createSymbolicLink(link, dir); in testByteSource_size_ofSymlinkToDirectory() 169 Files.write(file, new byte[10]); in testByteSource_size_ofSymlinkToRegularFile() [all …]
|
D | FilesFileTraverserTest.java | 43 rootDir = Files.createTempDir(); in setUp() 49 java.nio.file.Files.walkFileTree( in tearDown() 55 java.nio.file.Files.deleteIfExists(file); in tearDown() 64 java.nio.file.Files.deleteIfExists(dir); in tearDown() 71 assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir); in testFileTraverser_emptyDirectory() 77 assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file); in testFileTraverser_nonExistingFile() 83 assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file); in testFileTraverser_file() 89 assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir, file); in testFileTraverser_singleFile() 95 assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir, file); in testFileTraverser_singleDirectory() 104 assertThat(Files.fileTraverser().breadthFirst(rootDir)) in testFileTraverser_multipleFilesAndDirectories() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/io/ |
D | FilesTest.java | 19 import static com.google.common.io.Files.touch; 81 ByteSource byteSource = Files.asByteSource(asciiFile); in testRoundTripSources() 88 assertTrue(Arrays.equals(ASCII.getBytes(Charsets.US_ASCII), Files.toByteArray(asciiFile))); in testToByteArray() 89 assertTrue(Arrays.equals(I18N.getBytes(Charsets.UTF_8), Files.toByteArray(i18nFile))); in testToByteArray() 90 assertTrue(Arrays.equals(I18N.getBytes(Charsets.UTF_8), Files.asByteSource(i18nFile).read())); in testToByteArray() 114 assertEquals(ASCII, Files.toString(asciiFile, Charsets.US_ASCII)); in testToString() 115 assertEquals(I18N, Files.toString(i18nFile, Charsets.UTF_8)); in testToString() 116 assertThat(Files.toString(i18nFile, Charsets.US_ASCII)).isNotEqualTo(I18N); in testToString() 121 Files.write(I18N, temp, Charsets.UTF_16LE); in testWriteString() 122 assertEquals(I18N, Files.toString(temp, Charsets.UTF_16LE)); in testWriteString() [all …]
|
D | FilesFileTraverserTest.java | 43 rootDir = Files.createTempDir(); in setUp() 49 java.nio.file.Files.walkFileTree( in tearDown() 55 java.nio.file.Files.deleteIfExists(file); in tearDown() 64 java.nio.file.Files.deleteIfExists(dir); in tearDown() 71 assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir); in testFileTraverser_emptyDirectory() 77 assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file); in testFileTraverser_nonExistingFile() 83 assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file); in testFileTraverser_file() 89 assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir, file); in testFileTraverser_singleFile() 95 assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir, file); in testFileTraverser_singleDirectory() 104 assertThat(Files.fileTraverser().breadthFirst(rootDir)) in testFileTraverser_multipleFilesAndDirectories() [all …]
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Finder/ |
D | Containers_and_folders.py | 151 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 …]
|
D | Finder_Basics.py | 144 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/tensorflow/third_party/toolchains/preconfig/win_1803/bazel_121/ |
D | BUILD | 204 …"C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.25.28508\\in… 205 "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\include\\um", 206 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\ucrt", 207 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\shared", 208 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\um", 209 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\winrt", 210 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\cppwinrt", 216 …msvc_cl_path = "C:/Program Files (x86)/Microsoft Visual Studio/2019/Preview/VC/Tools/MSVC/14.25.28… 217 …Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.25.28508\\include;C:\\Pro… 218 …Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.25.28508\\lib\\x64;C:\\Pr… [all …]
|
D | builtin_include_directory_paths_msvc | 7 "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Preview\\VC\\Tools\\MSVC\\14.25.28508\\inc… 8 "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.8\\include\\um" 9 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\ucrt" 10 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\shared" 11 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\um" 12 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\winrt" 13 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\cppwinrt"
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
D | TempDirectory.java | 6 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/ltp/testcases/kernel/fs/doio/ |
D | rwtest | 45 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/guava/guava/src/com/google/common/io/ |
D | MoreFiles.java | 40 import java.nio.file.Files; 113 return Files.newInputStream(path, options); in openStream() 117 return Files.readAttributes( in readAttributes() 159 try (SeekableByteChannel channel = Files.newByteChannel(path, options)) { in read() 175 return Files.lines(path, charset); in asCharSource() 216 return Files.newOutputStream(path, options); 261 try (DirectoryStream<Path> stream = Files.newDirectoryStream(dir)) { 304 if (Files.isDirectory(dir, NOFOLLOW_LINKS)) { 324 return Files.isDirectory(input, optionsCopy); 351 return Files.isRegularFile(input, optionsCopy); [all …]
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | FileWritingTest.java | 23 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/python/cpython3/Doc/library/ |
D | imghdr.rst | 32 | ``'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/ |
D | ZipTest.java | 30 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/ |
D | imghdr.rst | 29 | ``'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 |
|
/external/dokka/runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/ |
D | AbstractDokkaGradleTest.kt | 9 import java.nio.file.Files 20 val androidLocalProperties = testDataFolder.resolve("android.local.properties").let { if (Files.exi… in <lambda>() 39 …Files.walk(actualPath).filter { Files.isRegularFile(it) && it.fileName.toString().endsWith(".$exte… in checkNoErrorClasses() 56 …Files.walk(actualPath).filter { Files.isRegularFile(it) && it.fileName.toString().endsWith(".$exte… in checkNoUnresolvedLinks() 77 …Files.walk(actualPath).filter { Files.isRegularFile(it) && it.fileName.toString().endsWith(".$exte… in checkExternalLink()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 138 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/ |
D | macostools.py | 11 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/ |
D | appveyor.bat | 10 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/tensorflow/third_party/toolchains/preconfig/win_1803/bazel_026/ |
D | cc_toolchain_config.bzl | 97 …"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\… 98 "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\include\\um", 99 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\ucrt", 100 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\shared", 101 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\um", 102 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\winrt", 103 "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17763.0\\cppwinrt", 123 …tools = [tool(path = "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/… 135 …tools = [tool(path = "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/… 147 …tools = [tool(path = "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/… [all …]
|
/external/desugar/java/com/google/devtools/build/android/desugar/io/ |
D | DirectoryOutputFileProvider.java | 20 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/ |
D | RewriterTestContext.h | 45 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/llvm/unittests/Support/ |
D | SpecialCaseListTest.cpp | 109 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/ |
D | CoverageReport.h | 37 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,
|