Lines Matching defs:dir
260 String dir = args[++i];
261 dir = (dir.endsWith(File.separator) ?
262 dir : (dir + File.separator));
263 dir = dir.replace(File.separatorChar, '/');
264 while (dir.indexOf("//") > -1) {
265 dir = dir.replace("//", "/");
267 paths.add(dir.replace(File.separatorChar, '/'));
268 nameBuf[k++] = dir + args[++i];
290 void expand(File dir, String[] files, boolean isUpdate) {
296 if (dir == null) {
299 f = new File(dir, files[i]);
549 throw new IOException(formatMsg("error.create.dir",
554 throw new IOException(formatMsg("error.create.dir",
568 "error.create.dir", d.getPath()));
649 "Usage: zip {ctxu}[vf0] [zip-file] [-encoding encname][-C dir] files ...\n" +