/external/google-smali/third_party/util/src/test/java/com/android/tools/smali/util/ |
D | PathUtilTest.java | 30 import java.io.File; 36 File[] roots = File.listRoots(); in pathUtilTest1() 39 …File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "te… in pathUtilTest1() 40 …File relativePath = new File(roots[1] + "some" + File.separatorChar + "dir" + File.separatorChar +… in pathUtilTest1() 50 File[] roots = File.listRoots(); in pathUtilTest2() 52 …File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "te… in pathUtilTest2() 53 …File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar +… in pathUtilTest2() 65 File[] roots = File.listRoots(); in pathUtilTest3() 67 … File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest3() 68 … File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest3() [all …]
|
/external/smali/util/src/test/java/org/jf/util/ |
D | PathUtilTest.java | 33 import java.io.File; 39 File[] roots = File.listRoots(); in pathUtilTest1() 42 …File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "te… in pathUtilTest1() 43 …File relativePath = new File(roots[1] + "some" + File.separatorChar + "dir" + File.separatorChar +… in pathUtilTest1() 53 File[] roots = File.listRoots(); in pathUtilTest2() 55 …File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "te… in pathUtilTest2() 56 …File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar +… in pathUtilTest2() 68 File[] roots = File.listRoots(); in pathUtilTest3() 70 … File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest3() 71 … File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest3() [all …]
|
/external/python/cpython2/PC/VC6/ |
D | pythoncore.dsp | 1 # Microsoft Developer Studio Project File - Name="pythoncore" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 94 # Begin Source File 97 # End Source File 98 # Begin Source File 101 # End Source File 102 # Begin Source File 105 # End Source File 106 # Begin Source File 109 # End Source File [all …]
|
/external/lzma/CPP/7zip/Bundles/SFXCon/ |
D | SFXCon.dsp | 1 # Microsoft Developer Studio Project File - Name="SFXCon" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 89 # Begin Source File 92 # End Source File 93 # Begin Source File 96 # End Source File 97 # Begin Source File 101 # End Source File 102 # Begin Source File 105 # End Source File [all …]
|
/external/lzma/CPP/7zip/Bundles/SFXWin/ |
D | SFXWin.dsp | 1 # Microsoft Developer Studio Project File - Name="SFXWin" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 125 # Begin Source File 129 # End Source File 130 # Begin Source File 133 # End Source File 138 # Begin Source File 141 # End Source File 142 # Begin Source File 145 # End Source File [all …]
|
/external/lzma/CPP/7zip/Bundles/Alone7z/ |
D | Alone.dsp | 1 # Microsoft Developer Studio Project File - Name="Alone" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 145 # Begin Source File 148 # End Source File 149 # Begin Source File 152 # End Source File 153 # Begin Source File 156 # End Source File 157 # Begin Source File 160 # End Source File [all …]
|
/external/lzma/CPP/7zip/Bundles/SFXSetup/ |
D | SFXSetup.dsp | 1 # Microsoft Developer Studio Project File - Name="SFXSetup" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 125 # Begin Source File 128 # End Source File 129 # Begin Source File 133 # End Source File 134 # Begin Source File 137 # End Source File 146 # Begin Source File 149 # End Source File [all …]
|
/external/cronet/base/files/ |
D | file_locking_unittest.cc | 17 using base::File; 48 File file(signal_dir.AppendASCII(signal_file), in SignalEvent() 49 File::FLAG_CREATE | File::FLAG_WRITE); in SignalEvent() 55 File file(signal_dir.AppendASCII(signal_file), in CheckEvent() 56 File::FLAG_OPEN | File::FLAG_READ); in CheckEvent() 99 const File::LockMode mode = in MULTIPROCESS_TEST_MAIN() 100 use_exclusive_lock ? File::LockMode::kExclusive : File::LockMode::kShared; in MULTIPROCESS_TEST_MAIN() 103 File file(temp_path.AppendASCII(kLockFile), in MULTIPROCESS_TEST_MAIN() 104 File::FLAG_OPEN | File::FLAG_READ | File::FLAG_WRITE); in MULTIPROCESS_TEST_MAIN() 106 CHECK_EQ(File::FILE_OK, file.Lock(mode)); in MULTIPROCESS_TEST_MAIN() [all …]
|
D | file_unittest.cc | 32 using base::File; 42 File file; in TEST() 44 EXPECT_EQ(base::File::FILE_ERROR_FAILED, file.error_details()); in TEST() 46 File file2(base::File::FILE_ERROR_TOO_MANY_OPENED); in TEST() 48 EXPECT_EQ(base::File::FILE_ERROR_TOO_MANY_OPENED, file2.error_details()); in TEST() 53 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST() 55 EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, file.error_details()); in TEST() 56 EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base::File::GetLastFileError()); in TEST() 61 File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ); in TEST() 64 EXPECT_EQ(base::File::FILE_OK, file.error_details()); in TEST() [all …]
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/filefilter/ |
D | AbstractFilterTest.java | 22 import java.io.File; 41 static final boolean WINDOWS = File.separatorChar == '\\'; 44 public File temporaryFolder; 46 void assertFiltering(final IOFileFilter filter, final File file, final boolean expected) { in assertFiltering() 78 assertFiltering(filter, new File("foo"), true); in assertFooBarFileFiltering() 79 assertFiltering(filter, new File("foo"), true); in assertFooBarFileFiltering() 80 assertFiltering(filter, new File("bar"), true); in assertFooBarFileFiltering() 81 assertFiltering(filter, new File("fred"), false); in assertFooBarFileFiltering() 82 assertFiltering(filter, new File("foo").toPath(), true); in assertFooBarFileFiltering() 83 assertFiltering(filter, new File("foo").toPath(), true); in assertFooBarFileFiltering() [all …]
|
D | WildcardFileFilterTest.java | 25 import java.io.File; 39 assertFiltering(filter, new File("log.txt"), true); in testWildcard() 40 assertFiltering(filter, new File("log.TXT"), false); in testWildcard() 42 assertFiltering(filter, new File("log.txt").toPath(), true); in testWildcard() 43 assertFiltering(filter, new File("log.TXT").toPath(), false); in testWildcard() 46 assertFiltering(filter, new File("log.txt"), true); in testWildcard() 47 assertFiltering(filter, new File("log.TXT"), false); in testWildcard() 49 assertFiltering(filter, new File("log.txt").toPath(), true); in testWildcard() 50 assertFiltering(filter, new File("log.TXT").toPath(), false); in testWildcard() 53 assertFiltering(filter, new File("log.txt"), true); in testWildcard() [all …]
|
D | FileFilterTest.java | 29 import java.io.File; 62 final File oldFile = new File(temporaryFolder, "old.txt"); in testAgeFilter() 64 final File reference = new File(temporaryFolder, "reference.txt"); in testAgeFilter() 65 final File newFile = new File(temporaryFolder, "new.txt"); in testAgeFilter() 159 assertFiltering(trueFilter.and(trueFilter), new File("foo.test"), true); in testAnd() 160 assertFiltering(trueFilter.and(falseFilter), new File("foo.test"), false); in testAnd() 161 assertFiltering(falseFilter.and(trueFilter), new File("foo.test"), false); in testAnd() 162 assertFiltering(falseFilter.and(falseFilter), new File("foo.test"), false); in testAnd() 169 assertFiltering(new AndFileFilter(trueFilter, trueFilter), new File("foo.test"), true); in testAnd2() 170 assertFiltering(new AndFileFilter(trueFilter, falseFilter), new File("foo.test"), false); in testAnd2() [all …]
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/ |
D | FileUtilsDeleteDirectoryBaseTest.java | 24 import java.io.File; 36 public File top; 38 protected abstract boolean setupSymlink(final File res, final File link) throws Exception; in setupSymlink() 48 final File realOuter = new File(top, "realouter"); in testDeleteDirWithASymlinkDir() 51 final File realInner = new File(realOuter, "realinner"); in testDeleteDirWithASymlinkDir() 54 FileUtils.touch(new File(realInner, "file1")); in testDeleteDirWithASymlinkDir() 57 final File randomDirectory = new File(top, "randomDir"); in testDeleteDirWithASymlinkDir() 60 FileUtils.touch(new File(randomDirectory, "randomfile")); in testDeleteDirWithASymlinkDir() 63 final File symlinkDirectory = new File(realOuter, "fakeinner"); in testDeleteDirWithASymlinkDir() 79 final File realOuter = new File(top, "realouter"); in testDeleteDirWithASymlinkDir2() [all …]
|
D | FileUtilsCleanSymlinksTest.java | 23 import java.io.File; 38 public File top; 40 private boolean setupSymlink(final File res, final File link) throws Exception { in setupSymlink() 63 final File realOuter = new File(top, "realouter"); in testCleanDirWithASymlinkDir() 66 final File realInner = new File(realOuter, "realinner"); in testCleanDirWithASymlinkDir() 69 FileUtils.touch(new File(realInner, "file1")); in testCleanDirWithASymlinkDir() 72 final File randomDirectory = new File(top, "randomDir"); in testCleanDirWithASymlinkDir() 75 FileUtils.touch(new File(randomDirectory, "randomfile")); in testCleanDirWithASymlinkDir() 78 final File symlinkDirectory = new File(realOuter, "fakeinner"); in testCleanDirWithASymlinkDir() 98 final File realParent = new File(top, "realparent"); in testCleanDirWithParentSymlinks() [all …]
|
D | FileUtilsTest.java | 32 import java.io.File; 101 static class ListDirectoryWalker extends DirectoryWalker<File> { 107 …protected void handleDirectoryStart(final File directory, final int depth, final Collection<File> … in handleDirectoryStart() 115 …protected void handleFile(final File file, final int depth, final Collection<File> results) throws… in handleFile() 119 List<File> list(final File startDirectory) throws IOException { in list() 120 final ArrayList<File> files = new ArrayList<>(); in list() 127 private static class ShorterFile extends File { 176 private File testFile1; 177 private File testFile2; 183 …private void assertContentMatchesAfterCopyURLToFileFor(final String resourceName, final File desti… in assertContentMatchesAfterCopyURLToFileFor() [all …]
|
D | DirectoryWalkerTest.java | 25 import java.io.File; 49 static class TestCancelWalker extends DirectoryWalker<File> { 59 protected List<File> find(final File startDirectory) throws IOException { in find() 60 final List<File> results = new ArrayList<>(); in find() 67 protected void handleCancelled(final File startDirectory, final Collection<File> results, in handleCancelled() 76 …protected void handleDirectoryEnd(final File directory, final int depth, final Collection<File> re… in handleDirectoryEnd() 85 …protected void handleFile(final File file, final int depth, final Collection<File> results) throws… in handleFile() 104 …protected boolean handleDirectory(final File directory, final int depth, final Collection<File> re… in handleDirectory() 112 private static class TestFileFinder extends DirectoryWalker<File> { 123 protected List<File> find(final File startDirectory) { in find() [all …]
|
/external/lzma/CPP/7zip/Bundles/LzmaCon/ |
D | LzmaCon.dsp | 1 # Microsoft Developer Studio Project File - Name="LzmaCon" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 88 # Begin Source File 92 # End Source File 93 # Begin Source File 96 # End Source File 101 # Begin Source File 104 # End Source File 105 # Begin Source File 108 # End Source File [all …]
|
/external/clang/unittests/Lex/ |
D | HeaderMapTest.cpp | 63 FileTy &File; member 66 FileMaker(FileTy &File) : File(File) {} in FileMaker() 69 assert(SI + S.size() + 1 <= sizeof(File.Bytes)); in addString() 70 std::copy(S.begin(), S.end(), File.Bytes + SI); in addString() 76 assert(!(File.Header.NumBuckets & (File.Header.NumBuckets - 1))); in addBucket() 77 unsigned I = Hash & (File.Header.NumBuckets - 1); in addBucket() 79 if (!File.Buckets[I].Key) { in addBucket() 80 File.Buckets[I].Key = Key; in addBucket() 81 File.Buckets[I].Prefix = Prefix; in addBucket() 82 File.Buckets[I].Suffix = Suffix; in addBucket() [all …]
|
/external/libchrome/base/files/ |
D | file_unittest.cc | 18 using base::File; 28 File file; in TEST() 30 EXPECT_EQ(base::File::FILE_ERROR_FAILED, file.error_details()); in TEST() 32 File file2(base::File::FILE_ERROR_TOO_MANY_OPENED); in TEST() 34 EXPECT_EQ(base::File::FILE_ERROR_TOO_MANY_OPENED, file2.error_details()); in TEST() 39 File file(file_path, base::File::FLAG_OPEN | base::File::FLAG_READ); in TEST() 41 EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, file.error_details()); in TEST() 42 EXPECT_EQ(base::File::FILE_ERROR_NOT_FOUND, base::File::GetLastFileError()); in TEST() 47 File file(file_path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_READ); in TEST() 50 EXPECT_EQ(base::File::FILE_OK, file.error_details()); in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/vc/cares/ |
D | vc6cares.dsp | 1 # Microsoft Developer Studio Project File - Name="cares" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 151 # Begin Source File 154 # End Source File 155 # Begin Source File 158 # End Source File 159 # Begin Source File 162 # End Source File 163 # Begin Source File 166 # End Source File [all …]
|
/external/google-breakpad/src/processor/ |
D | pathname_stripper_unittest.cc | 48 ASSERT_EQ(PathnameStripper::File("/dir/file"), "file"); in RunTests() 49 ASSERT_EQ(PathnameStripper::File("\\dir\\file"), "file"); in RunTests() 50 ASSERT_EQ(PathnameStripper::File("/dir\\file"), "file"); in RunTests() 51 ASSERT_EQ(PathnameStripper::File("\\dir/file"), "file"); in RunTests() 52 ASSERT_EQ(PathnameStripper::File("dir/file"), "file"); in RunTests() 53 ASSERT_EQ(PathnameStripper::File("dir\\file"), "file"); in RunTests() 54 ASSERT_EQ(PathnameStripper::File("dir/\\file"), "file"); in RunTests() 55 ASSERT_EQ(PathnameStripper::File("dir\\/file"), "file"); in RunTests() 56 ASSERT_EQ(PathnameStripper::File("file"), "file"); in RunTests() 57 ASSERT_EQ(PathnameStripper::File("dir/"), ""); in RunTests() [all …]
|
/external/apache-commons-io/src/main/java/org/apache/commons/io/ |
D | FileUtils.java | 21 import java.io.File; 200 public static final File[] EMPTY_FILE_ARRAY = {}; 314 public static Checksum checksum(final File file, final Checksum checksum) throws IOException { in checksum() 335 public static long checksumCRC32(final File file) throws IOException { in checksumCRC32() 348 public static void cleanDirectory(final File directory) throws IOException { in cleanDirectory() 361 private static void cleanDirectoryOnExit(final File directory) throws IOException { in cleanDirectoryOnExit() 382 public static boolean contentEquals(final File file1, final File file2) throws IOException { in contentEquals() 436 …public static boolean contentEqualsIgnoreEOL(final File file1, final File file2, final String char… in contentEqualsIgnoreEOL() 477 public static File[] convertFileCollectionToFileArray(final Collection<File> files) { in convertFileCollectionToFileArray() 505 public static void copyDirectory(final File srcDir, final File destDir) throws IOException { in copyDirectory() [all …]
|
/external/dagger2/java/dagger/hilt/android/plugin/src/test/kotlin/ |
D | IncrementalProcessorTest.kt | 18 import java.io.File in <lambda>() 44 private lateinit var srcApp: File in <lambda>() 45 private lateinit var srcActivity1: File in <lambda>() 46 private lateinit var srcActivity2: File in <lambda>() 47 private lateinit var srcModule1: File in <lambda>() 48 private lateinit var srcModule2: File in <lambda>() 49 private lateinit var srcTest1: File in <lambda>() 50 private lateinit var srcTest2: File in <lambda>() 53 private lateinit var genHiltApp: File in <lambda>() 54 private lateinit var genHiltActivity1: File in <lambda>() [all …]
|
/external/curl/projects/Windows/VC6/lib/ |
D | libcurl.dsp | 1 # Microsoft Developer Studio Project File - Name="libcurl" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 731 # Begin Source File 734 # End Source File 735 # Begin Source File 738 # End Source File 739 # Begin Source File 742 # End Source File 743 # Begin Source File 746 # End Source File [all …]
|
/external/libchrome/mojo/public/cpp/base/ |
D | file_error_mojom_traits.h | 14 struct EnumTraits<mojo_base::mojom::FileError, base::File::Error> { 15 static mojo_base::mojom::FileError ToMojom(base::File::Error error) { 17 case base::File::FILE_OK: 19 case base::File::FILE_ERROR_FAILED: 21 case base::File::FILE_ERROR_IN_USE: 23 case base::File::FILE_ERROR_EXISTS: 25 case base::File::FILE_ERROR_NOT_FOUND: 27 case base::File::FILE_ERROR_ACCESS_DENIED: 29 case base::File::FILE_ERROR_TOO_MANY_OPENED: 31 case base::File::FILE_ERROR_NO_MEMORY: [all …]
|