Lines Matching defs:dir
107 // Attempt to create root dir if it does not yet exist.
169 // Attempt to create root dir if it does not yet exist.
261 private final File dir;
486 dir = (user ? userRootDir: systemRootDir);
487 prefsFile = new File(dir, "prefs.xml");
488 tmpFile = new File(dir, "prefs.tmp");
499 dir = new File(parent.dir, dirName(name));
500 prefsFile = new File(dir, "prefs.xml");
501 tmpFile = new File(dir, "prefs.tmp");
504 newNode = !dir.exists();
618 if (!dir.exists() && !dir.mkdirs())
619 throw new BackingStoreException(dir +
650 File[] dirContents = dir.listFiles();
693 if (!dir.exists())
697 // dir should be empty now. If it's not, empty it
698 File[] junk = dir.listFiles();
706 if (!dir.delete())
707 throw new BackingStoreException("Couldn't delete dir: "
708 + dir);
794 } else if (lastSyncTime != 0 && !dir.exists()) {