Lines Matching defs:dir
52 * @param dir Directory at which we started
56 private static String findSomeFile(String dir, String subdir, String[] dl) {
59 File df = new File(dir, f.getPath());
67 File df = new File(dir, f.getPath());
71 String ff = findSomeFile(dir, f.getPath(), dl2);
85 private static String findSomeFile(String dir, boolean create) {
86 File d = new File(dir);
89 throw new RuntimeException("Can't list " + dir);
92 File f = new File(dir, dl[i]);
97 String f = findSomeFile(dir, "", dl);
108 throw new RuntimeException("Can't create a file in " + dir);
122 private static String findSomeDir(String dir, boolean create) {
123 File d = new File(dir);
126 throw new RuntimeException("Can't list " + dir);
148 private static String findNon(String dir) {
149 File d = new File(dir);
164 throw new RuntimeException("Can't find a non-existent file in " + dir);