Home
last modified time | relevance | path

Searched refs:isRegularFile (Results 1 – 25 of 40) sorted by relevance

12

/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DBasicAttributeProvider.java69 return file.isRegularFile(); in get()
73 return !file.isDirectory() && !file.isRegularFile() && !file.isSymbolicLink(); in get()
187 this.regularFile = file.isRegularFile(); in Attributes()
210 public boolean isRegularFile() { in isRegularFile() method in BasicAttributeProvider.Attributes
DFileSystemView.java316 if (!file.isRegularFile()) { in lookUpRegularFile()
335 if (!file.isRegularFile()) { in getOrCreateRegularFileWithWriteLock()
417 if (!existingFile.isRegularFile()) { in link()
DFile.java76 public final boolean isRegularFile() { in isRegularFile() method in File
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DJimfsUnixLikeFileSystemTest.java413 assertThatPath("/test.txt").isRegularFile(); in testCreateFile_absolute()
419 assertThatPath("/foo/test.txt").isRegularFile(); in testCreateFile_absolute()
444 assertThatPath("/link.txt", NOFOLLOW_LINKS).isRegularFile(); in testCreateLink_absolute()
450 assertThatPath("/foo/link.txt", NOFOLLOW_LINKS).isRegularFile(); in testCreateLink_absolute()
477 assertThatPath("/work/test.txt", NOFOLLOW_LINKS).isRegularFile(); in testCreateFile_relative()
478 assertThatPath("test.txt", NOFOLLOW_LINKS).isRegularFile(); in testCreateFile_relative()
485 assertThatPath("/work/foo/test.txt", NOFOLLOW_LINKS).isRegularFile(); in testCreateFile_relative()
486 assertThatPath("foo/test.txt", NOFOLLOW_LINKS).isRegularFile(); in testCreateFile_relative()
516 assertThatPath("/work/link.txt", NOFOLLOW_LINKS).isRegularFile(); in testCreateLink_relative()
517 assertThatPath("link.txt", NOFOLLOW_LINKS).isRegularFile(); in testCreateLink_relative()
[all …]
DFileTest.java70 assertThat(file.isRegularFile()).isFalse(); in testDirectory()
78 assertThat(file.isRegularFile()).isTrue(); in testRegularFile()
86 assertThat(file.isRegularFile()).isFalse(); in testSymbolicLink()
DPathSubject.java186 public PathSubject isRegularFile() { in isRegularFile() method in PathSubject
189 if (!Files.isRegularFile(actual, linkOptions)) { in isRegularFile()
315 isRegularFile(); in containsBytes()
332 isRegularFile(); in containsSameBytesAs()
354 isRegularFile(); in containsLines()
DFileFactoryTest.java49 assertThat(file.isRegularFile()).isTrue(); in testCreateFiles_basic()
64 assertThat(file.isRegularFile()).isTrue(); in testCreateFiles_withSupplier()
DBasicAttributeProviderTest.java148 assertThat(attrs.isRegularFile()).isFalse(); in testAttributes()
DTestAttributeProvider.java198 public boolean isRegularFile() { in isRegularFile() method in TestAttributeProvider.Attributes
/external/dokka/runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/
DAbstractDokkaGradleTest.kt39 …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/guava/guava-tests/test/com/google/common/io/
DMoreFilesTest.java318 assertTrue(Files.isRegularFile(parent)); in testCreateParentDirectories_nonDirectoryParentExists()
376 assertFalse(MoreFiles.isRegularFile().apply(dir)); in testPredicates()
379 assertTrue(MoreFiles.isRegularFile().apply(file)); in testPredicates()
388 assertFalse(MoreFiles.isRegularFile().apply(symlinkToDir)); in testPredicates()
391 assertTrue(MoreFiles.isRegularFile().apply(symlinkToFile)); in testPredicates()
394 assertFalse(MoreFiles.isRegularFile(NOFOLLOW_LINKS).apply(symlinkToFile)); in testPredicates()
637 assertTrue(Files.isRegularFile(file, NOFOLLOW_LINKS)); in testDeleteRecursively_nonDirectoryFile()
/external/apache-commons-io/src/test/java/org/apache/commons/io/file/
DPathUtilsTest.java318 assertFalse(PathUtils.isRegularFile(null)); in testIsRegularFile()
320 assertFalse(PathUtils.isRegularFile(tempDirPath)); in testIsRegularFile()
322 assertTrue(PathUtils.isRegularFile(testFile1.get())); in testIsRegularFile()
325 assertFalse(PathUtils.isRegularFile(testFile1.get())); in testIsRegularFile()
425 final boolean regularFile = Files.isRegularFile(resolved); in testSetReadOnlyFile()
/external/apache-commons-io/src/main/java/org/apache/commons/io/filefilter/
DFileFileFilter.java108 return toFileVisitResult(Files.isRegularFile(file)); in accept()
DMagicNumberFileFilter.java294 if (file != null && Files.isRegularFile(file) && Files.isReadable(file)) { in accept()
/external/desugar/java/com/google/devtools/build/android/desugar/io/
DDirectoryInputFileProvider.java69 if (Files.isRegularFile(t)) { in iterator()
/external/doclava/doclet_adapter/src/test/java/com/google/doclava/javadoc/
DEmptyDoclet.java71 .filter(f -> Files.isRegularFile(f) && f.toString().endsWith(".java")) in EmptyDoclet()
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DBug62456849TestDataGenerator.java50 checkArgument(Files.isRegularFile(inputJar), "The input jar %s is not a file", inputJar); in main()
/external/turbine/javatests/com/google/turbine/bytecode/sig/
DSigIntegrationTest.java73 .filter(Files::isRegularFile) in forEachBootclass()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DXmlUtils.java267 if (!Files.isRegularFile(file) && Files.isReadable(file)) { in forFile()
/external/guava/guava/src/com/google/common/io/
DMoreFiles.java349 public static Predicate<Path> isRegularFile(LinkOption... options) {
354 return Files.isRegularFile(input, optionsCopy);
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveEntry.java690 public boolean isRegularFile() { in isRegularFile() method in CpioArchiveEntry
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/api/
DCldrDataSupplier.java272 p -> Files.isRegularFile(p) && p.getFileName().toString().endsWith(".xml");
/external/bazelbuild-kotlin-rules/tools/java/com/google/devtools/kotlin/
DSourceJarZipper.kt165 !Files.isRegularFile(this) -> { in run()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/
DJavaParserTypeSolver.java114 if (!Files.exists(srcFile) || !Files.isRegularFile(srcFile)) { in parse()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DIcuConverterConfig.java150 checkArgument(!Files.isRegularFile(outputDir), in IcuConverterConfig()

12