Searched defs:dir (Results 101 - 125 of 235) sorted by relevance

12345678910

/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixDirectoryStream.java43 private final UnixPath dir; field in class:UnixDirectoryStream
64 UnixDirectoryStream(UnixPath dir, long dp, DirectoryStream.Filter<? super Path> filter) { argument
65 this.dir = dir;
71 return dir;
171 IOException ioe = x.asIOException(dir);
185 Path entry = dir.resolve(nameAsBytes);
/openjdk7/langtools/test/tools/javac/diags/
H A DMessageInfo.java44 * -examples dir location of examples directory
61 tmpDir = new File(System.getProperty("user.dir"));
98 System.out.println(" -examples dir location of examples directory");
401 static boolean clean(File dir) { argument
403 for (File f: dir.listFiles()) {
/openjdk7/langtools/test/tools/javac/processing/filer/
H A DTestGetResource2.java75 System.err.println("javac result with single source dir: " + result);
145 private File write(File dir, String path, String contents) throws IOException { argument
146 File f = new File(dir, path);
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DClassPath.java183 public boolean accept(File dir, String name) {
339 private String dir; field in class:ClassPath.Dir
341 Dir(String d) { dir = d; }
344 final File file = new File(dir + File.separatorChar +
357 public String getBase() { return dir; }
362 public String toString() { return dir; }
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthArrowButton.java54 public void setDirection(int dir) { argument
55 direction = dir;
56 putClientProperty("__arrow_direction__", Integer.valueOf(dir));
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DOrder0.java129 public Curve getSubCurve(double ystart, double yend, int dir) { argument
/openjdk7/jdk/src/share/classes/sun/font/
H A DExtendedTextLabel.java118 public abstract TextLineComponent getSubset(int start, int limit, int dir); argument
H A DStandardTextSource.java190 public TextSource getSubSource(int start, int length, int dir) { argument
196 if (dir != TextLineComponent.UNCHANGED) {
198 if (!(dir == TextLineComponent.LEFT_TO_RIGHT && ltr) &&
199 !(dir == TextLineComponent.RIGHT_TO_LEFT && !ltr)) {
/openjdk7/jdk/src/share/classes/java/lang/
H A DRuntime.java396 * <tt>exec(command, envp, dir)</tt>
398 * <tt>{@link #exec(String[], String[], File) exec}(cmdarray, envp, dir)</tt>,
417 * @param dir the working directory of the subprocess, or
441 public Process exec(String command, String[] envp, File dir) argument
450 return exec(cmdarray, envp, dir);
557 * <p>The working directory of the new subprocess is specified by <tt>dir</tt>.
558 * If <tt>dir</tt> is <tt>null</tt>, the subprocess inherits the
589 * @param dir the working directory of the subprocess, or
615 public Process exec(String[] cmdarray, String[] envp, File dir) argument
619 .directory(dir)
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/dir/
H A DContextEnumerator.java25 package com.sun.jndi.toolkit.dir;
/openjdk7/jdk/src/share/classes/java/awt/
H A DFileDialog.java85 String dir; field in class:FileDialog
157 fileDialog.dir = ("".equals(directory)) ? null : directory;
377 return dir;
391 * @param dir the specified directory
394 public void setDirectory(String dir) { argument
395 this.dir = (dir != null && dir.equals("")) ? null : dir;
398 peer.setDirectory(this.dir);
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DMIMEConfig.java61 long inMemoryThreshold, String dir, String prefix, String suffix) {
67 setDir(dir);
123 * @param dir
125 public void setDir(String dir) { argument
126 if (tempDir == null && dir != null && !dir.equals("")) {
127 tempDir = new File(dir);
60 MIMEConfig(boolean parseEagerly, int chunkSize, long inMemoryThreshold, String dir, String prefix, String suffix) argument
H A DTempFiles.java109 static File createTempFile(String prefix, String suffix, File dir) throws IOException { argument
113 return File.createTempFile(prefix, suffix, dir);
118 if (dir != null) {
119 Object path = toPath(dir);
120 LOGGER.log(Level.FINEST, "Temp file (path: {0}, prefix:{1}, suffix:{2}) being created using NIO API.", new Object[]{dir.getAbsolutePath(), prefix, suffix});
130 new Object[]{dir != null ? dir.getAbsolutePath() : null, prefix, suffix});
131 return File.createTempFile(prefix, suffix, dir);
136 new Object[]{dir != null ? dir
[all...]
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DBsdNativeDispatcher.c79 entry_dir = (*env)->GetFieldID(env, clazz, "dir", "[B");
145 char* dir; local
154 dir = iter->buf[iter->pos].f_mntonname;
170 len = strlen(dir);
174 (*env)->SetByteArrayRegion(env, bytes, 0, len, (jbyte*)dir);
H A DSolarisNativeDispatcher.c62 entry_dir = (*env)->GetFieldID(env, clazz, "dir", "[B");
91 char* dir; local
99 dir = ent.mnt_mountp;
115 len = strlen(dir);
119 (*env)->SetByteArrayRegion(env, bytes, 0, len, (jbyte*)dir);
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsFileSystem.java52 String dir)
57 WindowsPathParser.Result result = WindowsPathParser.parse(dir);
51 WindowsFileSystem(WindowsFileSystemProvider provider, String dir) argument
/openjdk7/jdk/test/java/io/pathNames/
H A DGeneral.java52 * @param dir Directory at which we started
56 private static String findSomeFile(String dir, String subdir, String[] dl) { argument
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) { argument
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, "", d
122 findSomeDir(String dir, boolean create) argument
148 findNon(String dir) argument
[all...]
/openjdk7/jdk/test/java/nio/file/Files/
H A DCheckPermissions.java108 static void assertCheckWriteToDirectory(Path dir) { argument
109 String s = dir.toString();
213 final Path testdir = Paths.get(System.getProperty("test.dir", ".")).toAbsolutePath();
519 assertCheckPropertyAccess("user.dir");
533 assertCheckPropertyAccess("user.dir");
537 assertCheckPropertyAccess("user.dir");
H A DCopyAndMove.java53 // Different directories. Use test.dir if possible as it might be
55 String testDir = System.getProperty("test.dir", ".");
1113 static Path createSourceFile(Path dir) throws IOException { argument
1115 Path file = dir.resolve(name);
1127 static Path createSourceDirectory(Path dir) throws IOException { argument
1129 Path subdir = dir.resolve(name);
1189 static Path getTargetFile(Path dir) throws IOException { argument
1191 return dir.resolve(name);
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipUtils.java110 public static byte[] toDirectoryPath(byte[] dir) { argument
111 if (dir.length != 0 && dir[dir.length - 1] != '/') {
112 dir = Arrays.copyOf(dir, dir.length + 1);
113 dir[dir.length - 1] = '/';
115 return dir;
[all...]
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DArabicLayoutEngine.cpp212 le_int32 i, dir = 1, out = 0; local
216 dir = -1;
221 for (i = 0; i < count; i += 1, out += dir) {
H A DGlyphPositionAdjustments.cpp115 le_int32 start = 0, end = fGlyphCount, dir = 1; local
128 dir = -1;
131 for (le_int32 i = start; i != end; i += dir) {
169 le_int32 limit = lastExitPoint /*+ dir*/;
173 limit += dir;
176 for (le_int32 j = firstExitPoint; j != limit; j += dir) {
H A DLEFontInstance.cpp77 le_int32 i, out = 0, dir = 1; local
81 dir = -1;
84 for (i = offset; i < offset + count; i += 1, out += dir) {
100 glyphStorage[out += dir] = 0xFFFF;
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ccache/
H A DFileCredentialsCache.java64 private static String dir; field in class:FileCredentialsCache
456 new sun.security.action.GetPropertyAction("user.dir"));
/openjdk7/jdk/src/share/classes/sun/tools/jar/
H A DManifest.java129 public void addFiles(File dir, String[] files) throws IOException { argument
134 if (dir == null) {
137 file = new File(dir, files[i]);

Completed in 116 milliseconds

12345678910