/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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
D | FileTest.java | 20 import java.io.File; 53 private static void deleteTempFolder(File dir) { in deleteTempFolder() 57 File f = new File(dir, files[i]); in deleteTempFolder() 69 if (File.separatorChar == path.charAt(path.length() - 1)) { in addTrailingSlash() 72 return path + File.separator; in addTrailingSlash() 76 private File tempDirectory; 82 …tempDirectory = new File(addTrailingSlash(System.getProperty("java.io.tmpdir")) + "harmony-test-" … in setUp() 97 File f = new File(tempDirectory.getPath(), "input.tst"); in test_ConstructorLjava_io_FileLjava_lang_String0() 103 new File(tempDirectory, null); in test_ConstructorLjava_io_FileLjava_lang_String1() 110 File f = new File((File)null, "input.tst"); in test_ConstructorLjava_io_FileLjava_lang_String2() [all …]
|
D | SerializationStressTest5.java | 20 import java.io.File; 68 File javaDir = findJavaDir(); in test_writeObject_Throwables() 70 Vector<File> classFilesVector = new Vector<File>(); in test_writeObject_Throwables() 80 File[] classFilesArray = new File[classFilesVector.size()]; in test_writeObject_Throwables() 95 private File[] makeClassPathArray() { in makeClassPathArray() 102 int nextInstance = classPath.indexOf(File.pathSeparatorChar, in makeClassPathArray() 104 Vector<File> elms = new Vector<File>(); in makeClassPathArray() 106 elms.add(new File(classPath.substring(instanceOfSep + 1, in makeClassPathArray() 109 nextInstance = classPath.indexOf(File.pathSeparatorChar, in makeClassPathArray() 112 elms.add(new File(classPath.substring(instanceOfSep + 1))); in makeClassPathArray() [all …]
|
D | FileOutputStreamTest.java | 20 import java.io.File; 37 File f; 49 f = new File(fileName = System.getProperty("user.home"), "fos.tst"); in test_ConstructorLjava_io_File() 57 f = new File(fileName = System.getProperty("user.home"), "fos.tst"); in test_ConstructorLjava_io_FileDescriptor() 72 f = new File(fileName = System.getProperty("user.home"), "fos.tst"); in test_ConstructorLjava_lang_String() 85 f = new File(System.getProperty("user.home"), "fos.tst"); in test_ConstructorLjava_lang_StringZ() 114 fos = new FileOutputStream(new File("")); in test_ConstructorLjava_lang_String_I() 129 f = new File(System.getProperty("user.home"), "output.tst"); in test_close() 145 f = new File(fileName = System.getProperty("user.home"), "testfd"); in test_getFD() 157 f = new File(System.getProperty("user.home"), "output.tst"); in test_write$B() [all …]
|
/external/quake/quake/src/QW/server/ |
D | qwsv.dsp | 1 # Microsoft Developer Studio Project File - Name="qwsv" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 90 # Begin Source File 93 # End Source File 94 # Begin Source File 97 # End Source File 98 # Begin Source File 101 # End Source File 102 # Begin Source File 105 # End Source File [all …]
|
/external/flac/libFLAC/ |
D | libFLAC_static.dsp | 1 # Microsoft Developer Studio Project File - Name="libFLAC_static" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 89 # Begin Source File 117 # End Source File 118 # Begin Source File 146 # End Source File 147 # Begin Source File 175 # End Source File 176 # Begin Source File 204 # End Source File [all …]
|
D | libFLAC_dynamic.dsp | 1 # Microsoft Developer Studio Project File - Name="libFLAC_dynamic" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 96 # Begin Source File 124 # End Source File 125 # Begin Source File 153 # End Source File 154 # Begin Source File 182 # End Source File 183 # Begin Source File 211 # End Source File [all …]
|
/external/emma/core/java12/com/vladium/util/ |
D | Files.java | 12 import java.io.File; 36 public static String [] readFileList (final File atfile) in readFileList() 88 public static File [] pathToFiles (final String [] path, final boolean canonical) in pathToFiles() 96 final String separators = ",".concat (File.pathSeparator); in pathToFiles() 112 _result.add (new File (pathname)); in pathToFiles() 117 final File [] result = new File [_result.size ()]; in pathToFiles() 133 return new File (pathname).getCanonicalPath (); in canonicalizePathname() 137 return new File (pathname).getAbsolutePath (); in canonicalizePathname() 141 public static File canonicalizeFile (final File file) in canonicalizeFile() 165 public static String getFileName (final File file) in getFileName() [all …]
|
D | IPathEnumerator.java | 12 import java.io.File; 42 void handleDirStart (File pathDir, File dir); // not generated for path dirs themselves in handleDirStart() 43 void handleFile (File pathDir, File file); in handleFile() 44 void handleDirEnd (File pathDir, File dir); in handleDirEnd() 50 void handleArchiveStart (File parentDir, File archive, Manifest manifest); in handleArchiveStart() 58 void handleArchiveEnd (File parentDir, File archive); in handleArchiveEnd() 68 …public static IPathEnumerator create (final File [] path, final boolean canonical, final IPathHand… in create() 81 final File f = (File) m_path.get (m_pathIndex); in enumerate() 108 final File parent = f.getParentFile (); // could be null in enumerate() 109 final File archive = new File (name); in enumerate() [all …]
|
/external/junit/src/org/junit/rules/ |
D | TemporaryFolder.java | 3 import java.io.File; 28 private File folder; 51 public File newFile(String fileName) throws IOException { in newFile() 52 File file= new File(getRoot(), fileName); in newFile() 60 public File newFile() throws IOException { in newFile() 61 return File.createTempFile("junit", null, folder); in newFile() 67 public File newFolder(String... folderNames) { in newFolder() 68 File file = getRoot(); in newFolder() 70 file = new File(file, folderName); in newFolder() 80 public File newFolder() throws IOException { in newFolder() [all …]
|
/external/quake/quake/src/WinQuake/ |
D | WinQuake.dsp | 1 # Microsoft Developer Studio Project File - Name="winquake" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 157 # Begin Source File 160 # End Source File 161 # Begin Source File 164 # End Source File 165 # Begin Source File 168 # End Source File 169 # Begin Source File 172 # End Source File [all …]
|
/external/expat/lib/ |
D | expat_static.dsp | 1 # Microsoft Developer Studio Project File - Name="expat_static" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 88 # Begin Source File 91 # End Source File 92 # Begin Source File 95 # End Source File 96 # Begin Source File 99 # End Source File 100 # Begin Source File 103 # End Source File [all …]
|
D | expatw_static.dsp | 1 # Microsoft Developer Studio Project File - Name="expatw_static" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 88 # Begin Source File 91 # End Source File 92 # Begin Source File 95 # End Source File 96 # Begin Source File 99 # End Source File 100 # Begin Source File 103 # End Source File [all …]
|
D | expat.dsp | 1 # Microsoft Developer Studio Project File - Name="expat" - 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 110 # End Source File 111 # Begin Source File 114 # End Source File 115 # Begin Source File 118 # End Source File [all …]
|
D | expatw.dsp | 1 # Microsoft Developer Studio Project File - Name="expatw" - 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 110 # End Source File 111 # Begin Source File 114 # End Source File 115 # Begin Source File 118 # End Source File [all …]
|
/external/guava/guava/src/com/google/common/io/ |
D | Files.java | 29 import java.io.File; 72 public static BufferedReader newReader(File file, Charset charset) in newReader() 86 public static BufferedWriter newWriter(File file, Charset charset) in newWriter() 100 final File file) { in newInputStreamSupplier() 118 File file) { 132 final File file, final boolean append) { 150 public static InputSupplier<InputStreamReader> newReaderSupplier(File file, 163 public static OutputSupplier<OutputStreamWriter> newWriterSupplier(File file, 178 public static OutputSupplier<OutputStreamWriter> newWriterSupplier(File file, 193 public static byte[] toByteArray(File file) throws IOException { [all …]
|
/external/quake/quake/src/QW/client/ |
D | qwcl.dsp | 1 # Microsoft Developer Studio Project File - Name="qwcl" - Package Owner=<4> 2 # Microsoft Developer Studio Generated Build File, Format Version 6.00 155 # Begin Source File 158 # End Source File 159 # Begin Source File 162 # End Source File 163 # Begin Source File 166 # End Source File 167 # Begin Source File 170 # End Source File [all …]
|
/external/qemu/distrib/jpeg-6b/ |
D | makelib.ds | 1 # Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 203 # Begin Source File 219 # End Source File 221 # Begin Source File 237 # End Source File 239 # Begin Source File 255 # End Source File 257 # Begin Source File 273 # End Source File 275 # Begin Source File [all …]
|
/external/jpeg/ |
D | makelib.ds | 1 # Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 203 # Begin Source File 219 # End Source File 221 # Begin Source File 237 # End Source File 239 # Begin Source File 255 # End Source File 257 # Begin Source File 273 # End Source File 275 # Begin Source File [all …]
|
/external/smali/util/src/main/java/org/jf/util/ |
D | PathUtil.java | 31 import java.io.File; 39 public static File getRelativeFile(File baseFile, File fileToRelativize) throws IOException { in getRelativeFile() 44 …return new File(getRelativeFileInternal(baseFile.getCanonicalFile(), fileToRelativize.getCanonical… in getRelativeFile() 48 File baseFile = new File(basePath); in getRelativePath() 54 new File(pathToRelativize).getCanonicalFile()); in getRelativePath() 57 static String getRelativeFileInternal(File canonicalBaseFile, File canonicalFileToRelativize) { in getRelativeFileInternal() 79 sb.append(File.separatorChar); in getRelativeFileInternal() 91 sb.append(File.separatorChar); in getRelativeFileInternal() 95 sb.append(File.separatorChar); in getRelativeFileInternal() 108 private static ArrayList<String> getPathComponents(File file) { in getPathComponents() [all …]
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
D | ZipExecTest.java | 19 import java.io.File; 46 File outputZip = File.createTempFile("hyts_", ".zip"); in test_1562() 49 File resources = Support_Resources.createTempFolder(); in test_1562() 76 File fooZip = File.createTempFile("hyts_", ".zip"); in test_zip_class_path() 77 File barZip = File.createTempFile("hyts_", ".zip"); in test_zip_class_path() 88 File resources = Support_Resources.createTempFolder(); in test_zip_class_path() 125 …att.put(Attributes.Name.CLASS_PATH, ".." + File.separator + barZip.getParentFile().getName() + Fil… in test_zip_class_path() 140 File fooJar = File.createTempFile("hyts_", ".jar"); in test_zip_jar_mix() 141 File barZip = File.createTempFile("hyts_", ".zip"); in test_zip_jar_mix() 152 File resources = Support_Resources.createTempFolder(); in test_zip_jar_mix() [all …]
|
/external/emma/core/java12/com/vladium/emma/report/ |
D | SourcePathCache.java | 11 import java.io.File; 44 final File dir = new File (sourcepath [i]); in SourcePathCache() 50 m_sourcepath = new File [_sourcepath.size ()]; in SourcePathCache() 59 public SourcePathCache (final File [] sourcepath, final boolean removeNonExistent) in SourcePathCache() 66 final File dir = sourcepath [i]; in SourcePathCache() 72 m_sourcepath = new File [_sourcepath.size ()]; in SourcePathCache() 81 public synchronized File find (final String packageVMName, final String name) in find() 109 … final File relativeFile = new File (packageVMName.replace ('/', File.separatorChar), name); in find() 111 return new File (m_sourcepath [p], relativeFile.getPath ()).getAbsoluteFile (); in find() 144 public boolean accept (final File file) in accept() [all …]
|
/external/apache-harmony/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 20 import java.io.File; 45 File resources = createTempFolder(); in getURL() 65 public static File createTempFolder() { in createTempFolder() 66 File folder = null; in createTempFolder() 68 folder = File.createTempFile("hyts_resources", "", null); in createTempFolder() 78 public static void copyFile(File root, String folder, String file) { in copyFile() 79 File f; in copyFile() 81 f = new File(root.toString() + "/" + folder); in copyFile() 93 File dst = new File(f.toString() + "/" + file); in copyFile() 100 public static File createTempFile(String suffix) throws IOException { in createTempFile() [all …]
|
/external/littlemock/src/com/google/testing/littlemock/ |
D | AppDataDirGuesser.java | 19 import java.io.File; 40 public File guessSuitableDirectoryForGeneratedClasses() { in guessSuitableDirectoryForGeneratedClasses() 49 File[] results = guessPath(pathFromThisClassLoader); in guessSuitableDirectoryForGeneratedClasses() 87 File[] guessPath(String input) { in guessPath() 88 List<File> results = new ArrayList<File>(); in guessPath() 103 File dataDir = new File("/data/data/" + packageName); in guessPath() 105 File cacheDir = new File(dataDir, "cache"); in guessPath() 113 return results.toArray(new File[results.size()]); in guessPath() 117 boolean fileOrDirExists(File file) { in fileOrDirExists() 122 boolean makeDirectory(File file) { in makeDirectory() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | BuildDependencyGenerator.java | 98 public List<File> getGeneratedFileList() { in getGeneratedFileList() 99 List<File> files = new ArrayList<File>(); in getGeneratedFileList() 100 File outputDir = tool.getOutputDirectory(grammarFileName); in getGeneratedFileList() 107 outputDir = new File(escSpaces); in getGeneratedFileList() 112 files.add(new File(outputDir, recognizer)); in getGeneratedFileList() 116 files.add(new File(tool.getOutputDirectory(), generator.getVocabFileName())); in getGeneratedFileList() 124 files.add(new File(outputDir, fileName)); in getGeneratedFileList() 132 files.add(new File(outputDir, lexer)); in getGeneratedFileList() 137 files.add(new File(outputDir, header)); in getGeneratedFileList() 148 files.add(new File(fname)); in getGeneratedFileList() [all …]
|