/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 41 private static void deleteTempFolder(File dir) { in deleteTempFolder() argument 42 String files[] = dir.list(); in deleteTempFolder() 45 File f = new File(dir, files[i]); in deleteTempFolder() 53 dir.delete(); in deleteTempFolder() 363 File dir = new File(base, String.valueOf(numDir)); in test_createNewFile() local 368 if (dir.exists()) { in test_createNewFile() 370 dir = new File(base, String.valueOf(numDir)); in test_createNewFile() 380 File f1 = new File(dir, "tempfile.tst"); in test_createNewFile() 387 dir.mkdir(); in test_createNewFile() 389 File f1 = new File(dir, "tempfile.tst"); in test_createNewFile() [all …]
|
D | RandomAccessFileTest.java | 134 File dir = new File("/"); in test_ConstructorLjava_lang_StringLjava_lang_String_I() local 135 assertTrue(dir.isDirectory()); in test_ConstructorLjava_lang_StringLjava_lang_String_I() 137 raf = new RandomAccessFile(dir.getPath(), "r"); in test_ConstructorLjava_lang_StringLjava_lang_String_I()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 49 private void deleteTempFolder(File dir) { in deleteTempFolder() argument 50 String files[] = dir.list(); in deleteTempFolder() 52 File f = new File(dir, files[i]); in deleteTempFolder() 59 dir.delete(); in deleteTempFolder() 138 File dir = new File(base, platformId); in test_renameToLjava_io_File() local 139 dir.mkdir(); in test_renameToLjava_io_File() 140 File f = new File(dir, "xxx.xxx"); in test_renameToLjava_io_File() 150 File dir = new File(""); // current directory in test_toURL3() local 151 String newDirURL = dir.toURL().toString(); in test_toURL3() 157 File dir = new File(cts + "/hello"); in test_deleteOnExit() local [all …]
|
D | OldFileWriterTest.java | 40 File dir = new File(System.getProperty("java.io.tmpdir")); in test_ConstructorLjava_io_File_IOException() local 43 fw = new FileWriter(dir); in test_ConstructorLjava_io_File_IOException() 51 File dir = new File(System.getProperty("java.io.tmpdir")); in test_ConstructorLjava_io_FileZ_IOException() local 54 fw = new FileWriter(dir, true); in test_ConstructorLjava_io_FileZ_IOException()
|
/libcore/luni/src/main/java/java/util/prefs/ |
D | FilePreferencesImpl.java | 50 private File dir; field in FilePreferencesImpl 87 dir = new File(path); in initPrefs() 88 newNode = !dir.exists(); in initPrefs() 95 String[] names = dir.list(new FilenameFilter() { in childrenNamesSpi() 170 boolean removeSucceed = dir.delete(); in removeNodeSpi()
|
/libcore/ |
D | NativeCode.mk | 36 define include-core-native-dir 61 $(foreach dir, \ 63 $(eval $(call include-core-native-dir,$(dir))))
|
D | JavaLibrary.mk | 41 $(foreach dir,$(1),$(patsubst ./%,%,$(shell cd $(LOCAL_PATH) && find $(dir)/src/main/java -name "*.… 45 $(foreach dir,$(1),$(patsubst ./%,%,$(shell cd $(LOCAL_PATH) && find $(dir)/src/test/java -name "*.… 137 @mkdir -p $(dir $@)
|
D | Android.mk | 16 LOCAL_PATH := $(call my-dir)
|
/libcore/luni/src/main/native/ |
D | java_io_File.cpp | 129 ScopedReaddir dir(path.c_str()); in readDirectory() local 131 while ((filename = dir.next()) != NULL) { in readDirectory() 137 return !dir.isBad(); in readDirectory()
|
/libcore/support/src/test/java/tests/resources/x509/ |
D | default.cnf | 85 dir = /tmp/ca # Where everything is kept 86 certs = $dir/certs # Where the issued certs are kept 87 crl_dir = $dir/crl # Where the issued crl are kept 88 database = $dir/index.txt # database index file. 89 new_certs_dir = $dir/newcerts # default place for new certs. 91 certificate = $dir/cacert.pem # The CA certificate 92 serial = $dir/serial # The current serial number 93 crl = $dir/crl.pem # The current CRL 94 private_key = $dir/private/cakey.pem# The private key 95 RANDFILE = $dir/private/.rand # private random number file
|
/libcore/luni/src/main/java/java/io/ |
D | FilenameFilter.java | 40 public abstract boolean accept(File dir, String filename); in accept() argument
|
D | File.java | 123 public File(File dir, String name) { in File() argument 124 this(dir == null ? null : dir.getPath(), name); in File()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ProcessBuilderTest.java | 87 File dir = new File(System.getProperty("java.io.tmpdir")); in testDirectoryFile() local 88 ProcessBuilder pbReturn = pb.directory(dir); in testDirectoryFile() 90 assertEquals(dir, pb.directory()); in testDirectoryFile()
|
/libcore/luni/src/main/java/libcore/net/url/ |
D | FtpURLConnection.java | 145 String dir = url.getFile().substring(0, idx); in cd() local 146 write("CWD " + dir + "\r\n"); in cd() 148 if (reply != FTP_FILEOK && dir.length() > 0 && dir.charAt(0) == '/') { in cd() 149 write("CWD " + dir.substring(1) + "\r\n"); in cd()
|
/libcore/benchmarks/ |
D | Android.mk | 16 LOCAL_PATH:= $(call my-dir)
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoUtils.java | 128 public static void deleteContents(File dir) throws IOException { in deleteContents() argument 129 File[] files = dir.listFiles(); in deleteContents()
|
/libcore/luni/src/test/java/dalvik/system/ |
D | DexClassLoaderTest.java | 118 private void cleanUpDir(File dir) { in cleanUpDir() argument 119 if (!dir.isDirectory()) { in cleanUpDir() 122 File[] files = dir.listFiles(); in cleanUpDir()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ConcurrentHashMap.java | 1885 int ph, dir; K pk; TreeNode<K,V> q; in findTreeNode() local 1897 (dir = compareComparables(kc, k, pk)) != 0) in findTreeNode() 1898 p = (dir < 0) ? pl : pr; in findTreeNode() 1951 int dir, ph; in TreeBin() local 1953 dir = -1; in TreeBin() 1955 dir = 1; in TreeBin() 1958 dir = compareComparables(kc, key, p.key); in TreeBin() 1960 dir = 0; in TreeBin() 1962 if ((p = (dir <= 0) ? p.left : p.right) == null) { in TreeBin() 1964 if (dir <= 0) in TreeBin() [all …]
|
/libcore/luni/src/main/java/java/text/ |
D | Bidi.java | 397 int dir = this.baseIsLeftToRight() in createLineBidi() local 402 parent = createUBiDi(text, 0, embeddings, 0, this.length, dir); in createLineBidi()
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldAndroidZipStressTest.java | 63 public boolean accept(File dir, String name) { in getFiles()
|
/libcore/expectations/ |
D | knownfailures.txt | 1400 description: "java.util.logging: Android's user.home system property points to root (/) dir", 1405 …ts for FileHandler don't work on Android because they try to write to the read-only user.home dir",
|
/libcore/benchmarks/libs/ |
D | caliper.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |