Searched defs:dir (Results 176 - 200 of 235) sorted by relevance

12345678910

/openjdk7/jdk/src/share/classes/sun/awt/shell/
H A DShellFolder.java258 * Does <code>dir</code> represent a "computer" such as a node on the network, or
261 public static boolean isComputerNode(File dir) { argument
262 return shellFolderManager.isComputerNode(dir);
268 public static boolean isFileSystemRoot(File dir) { argument
269 return shellFolderManager.isFileSystemRoot(dir);
429 public static ShellFolderColumnInfo[] getFolderColumns(File dir) { argument
432 if (dir instanceof ShellFolder) {
433 columns = ((ShellFolder) dir).getFolderColumns();
/openjdk7/hotspot/src/share/vm/code/
H A DdebugInfoRec.cpp41 void* operator new(size_t ignore, DebugInformationRecorder* dir) { argument
43 if (dir->_next_chunk >= dir->_next_chunk_limit) {
45 dir->_next_chunk = NEW_RESOURCE_ARRAY(DIR_Chunk, CHUNK);
46 dir->_next_chunk_limit = dir->_next_chunk + CHUNK;
48 return dir->_next_chunk++;
51 DIR_Chunk(int offset, int length, DebugInformationRecorder* dir) { argument
55 address p = dir->stream()->buffer() + _offset;
66 DebugInformationRecorder* dir) {
64 find_match(GrowableArray<DIR_Chunk*>* arr, int start_index, DebugInformationRecorder* dir) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/dir/
H A DSearchFilter.java25 package com.sun.jndi.toolkit.dir;
H A DHierMemDirCtx.java25 package com.sun.jndi.toolkit.dir;
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/
H A DTTY.java667 * Try to read commands from dir/fname, unless
669 * for dir/fname.
673 String readStartupCommandFile(String dir, String fname, String canonPath) { argument
674 File dotInitFile = new File(dir, fname);
741 String userDir = System.getProperty("user.dir");
/openjdk7/jdk/src/solaris/native/java/util/
H A DTimeZone_md.c81 * Returns a path name created from the given 'dir' and 'name' under
86 getPathName(const char *dir, const char *name) { argument
89 path = (char *) malloc(strlen(dir) + strlen(name) + 2);
93 return strcat(strcat(strcpy(path, dir), "/"), name);
104 findZoneinfoFile(char *buf, size_t size, const char *dir) argument
115 dirp = opendir(dir);
120 entry = (struct dirent *) malloc((size_t) pathconf(dir, _PC_NAME_MAX));
156 pathname = getPathName(dir, dp->d_name);
/openjdk7/jdk/src/windows/native/java/io/
H A DWin32FileSystem_md.c337 DIR *dir; local
343 dir = opendir(path);
345 if (dir == NULL) return NULL;
354 while ((ptr = readdir(dir)) != NULL) {
371 closedir(dir);
381 closedir(dir);
H A Dio_util_md.c88 /* We cache the length of current working dir here to avoid
96 WCHAR *dir; local
105 dir = currentDir(di);
106 if (dir != NULL){
107 dirlen = (int)wcslen(dir);
108 free(dir);
116 dir = _wgetcwd(NULL, MAX_PATH);
117 if (dir != NULL) {
118 curDirLenCached = (int)wcslen(dir);
119 free(dir);
[all...]
/openjdk7/jdk/src/windows/native/java/lang/
H A DProcessImpl_md.c136 jstring dir,
167 if (dir != 0) {
168 pdir = (*env)->GetStringChars(env, dir, NULL);
263 (*env)->ReleaseStringChars(env, dir, pdir);
133 Java_java_lang_ProcessImpl_create(JNIEnv *env, jclass ignored, jstring cmd, jstring envBlock, jstring dir, jlongArray stdHandles, jboolean redirectErrorStream) argument
/openjdk7/jdk/test/tools/pack200/
H A DUtils.java118 static void dirlist(File dir) { argument
119 File[] files = dir.listFiles();
120 System.out.println("--listing " + dir.getAbsolutePath() + "---");
255 static void recursiveDelete(File dir) throws IOException { argument
256 if (dir.isFile()) {
257 dir.delete();
258 } else if (dir.isDirectory()) {
259 File[] entries = dir.listFiles();
266 dir.delete();
285 for (File dir
[all...]
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DArabicShaping.cpp192 le_int32 in, e, out = 0, dir = 1; local
197 dir = -1;
200 for (in = offset, e = offset + charCount; in < e; in += 1, out += dir) {
H A DLEGlyphStorage.cpp122 le_int32 i, count = fGlyphCount, dir = 1, out = 0; local
126 dir = -1;
129 for (i = 0; i < count; i += 1, out += dir) {
/openjdk7/jdk/src/share/classes/sun/rmi/log/
H A DReliableLog.java96 private File dir; // base directory field in class:ReliableLog
145 dir = new File(dirPath);
146 if (!(dir.exists() && dir.isDirectory())) {
148 if (!dir.mkdir()) {
452 return dir.getPath() + File.separator + name;
/openjdk7/jdk/src/solaris/bin/
H A Djava_md_common.c127 char dir[2*PATH_MAX]; local
128 JLI_Snprintf(dir, sizeof(dir), "%s%c%s", getcwd(cwdbuf, sizeof(cwdbuf)),
130 result = Resolve(dir, program);
182 CheckSanity(char *path, char *dir) argument
186 if (JLI_StrLen(path) + JLI_StrLen(dir) + 11 > PATH_MAX)
189 JLI_Snprintf(buffer, sizeof(buffer), "%s/%s/bin/java", path, dir);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DLinuxWatchService.java81 WatchKey register(Path dir, argument
87 return poller.register(dir, events, modifiers);
105 LinuxWatchKey(UnixPath dir, LinuxWatchService watcher, int ifd, int wd) { argument
106 super(dir, watcher);
209 UnixPath dir = (UnixPath)obj;
241 attrs = UnixFileAttributes.get(dir, true);
243 return x.asIOException(dir);
246 return new NotDirectoryException(dir.getPathForExceptionMessage());
253 NativeBuffers.asNativeBuffer(dir.getByteArrayForSysCalls());
263 return x.asIOException(dir);
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DCurve.java867 public abstract Curve getSubCurve(double ystart, double yend, int dir); argument
/openjdk7/jdk/src/share/classes/sun/font/
H A DExtendedTextSourceLabel.java891 public TextLineComponent getSubset(int start, int limit, int dir) { argument
892 return new ExtendedTextSourceLabel(source.getSubSource(start, limit-start, dir), decorator);
/openjdk7/jdk/src/share/classes/java/io/
H A DFile.java79 * <code>user.dir</code>, and is typically the directory in which the Java
539 * system property <code>user.dir</code>, is returned. Otherwise this
1879 static File generateFile(String prefix, String suffix, File dir) argument
1889 File f = new File(dir, name);
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFiles.java383 * name of the directory entry against {@code dir}.
393 * @param dir
408 public static DirectoryStream<Path> newDirectoryStream(Path dir) argument
411 return provider(dir).newDirectoryStream(dir, AcceptAllFilter.FILTER);
420 * name of the directory entry against {@code dir}. The entries returned by
427 * Path dir = ...
428 * try (DirectoryStream&lt;Path&gt; stream = Files.newDirectoryStream(dir, "*.java")) {
444 * @param dir
463 public static DirectoryStream<Path> newDirectoryStream(Path dir, Strin argument
539 newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter) argument
625 createDirectory(Path dir, FileAttribute<?>... attrs) argument
676 createDirectories(Path dir, FileAttribute<?>... attrs) argument
727 createAndCheckIsDirectory(Path dir, FileAttribute<?>... attrs) argument
797 createTempFile(Path dir, String prefix, String suffix, FileAttribute<?>... attrs) argument
896 createTempDirectory(Path dir, String prefix, FileAttribute<?>... attrs) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKPainter.java775 Graphics g, int x, int y, int w, int h, int dir) {
780 if (! ENGINE.paintCachedImage(g, x, y, w, h, id, gtkState, dir)) {
781 Orientation orientation = (dir == JSlider.HORIZONTAL ?
783 String detail = (dir == JSlider.HORIZONTAL ?
785 ENGINE.startPainting(g, x, y, w, h, id, gtkState, dir);
1094 Graphics g, int x, int y, int w, int h, int dir) {
1134 dir, value, visible, rtl))
1137 dir, value, visible, rtl);
1138 Orientation orientation = (dir == JScrollBar.HORIZONTAL ?
1333 int state, int x, int y, int w, int h, ArrowType dir) {
774 paintSliderThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int dir) argument
1093 paintScrollBarThumbBackground(SynthContext context, Graphics g, int x, int y, int w, int h, int dir) argument
1332 paintMenuArrowIcon(SynthContext context, Graphics g, int state, int x, int y, int w, int h, ArrowType dir) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/
H A DOptions.java400 public void addGrammarRecursive( File dir ) {
401 addRecursive(dir,".xsd",grammars);
404 private void addRecursive( File dir, String suffix, List<InputSource> result ) { argument
405 File[] files = dir.listFiles();
451 public void addBindFileRecursive( File dir ) {
452 addRecursive(dir,".xjb",bindFiles);
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_BsdOS_ALSA_PCM.c310 int ret, dir; local
339 dir = 0;
340 ret = snd_pcm_hw_params_set_rate_near(info->handle, info->hwParams, &rrate, &dir);
359 dir = 0;
361 ret = snd_pcm_hw_params_set_period_time_near(info->handle, info->hwParams, &periodTime, &dir);
368 dir = 0;
370 ret = snd_pcm_hw_params_set_periods_near(info->handle, info->hwParams, &periods, &dir);
423 int dir; local
465 ret = snd_pcm_hw_params_get_period_size(info->hwParams, &info->periodSize, &dir);
469 snd_pcm_hw_params_get_periods(info->hwParams, &(info->periods), &dir);
[all...]
H A DPLATFORM_API_LinuxOS_ALSA_PCM.c310 int ret, dir; local
339 dir = 0;
340 ret = snd_pcm_hw_params_set_rate_near(info->handle, info->hwParams, &rrate, &dir);
359 dir = 0;
361 ret = snd_pcm_hw_params_set_period_time_near(info->handle, info->hwParams, &periodTime, &dir);
368 dir = 0;
370 ret = snd_pcm_hw_params_set_periods_near(info->handle, info->hwParams, &periods, &dir);
423 int dir; local
465 ret = snd_pcm_hw_params_get_period_size(info->hwParams, &info->periodSize, &dir);
469 snd_pcm_hw_params_get_periods(info->hwParams, &(info->periods), &dir);
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWFileDialogPeer.java241 public void setDirectory(String dir) {} argument
/openjdk7/jdk/test/java/nio/file/Files/
H A DPassThroughFileSystem.java304 public DirectoryStream<Path> newDirectoryStream(Path dir, DirectoryStream.Filter<? super Path> filter) argument
307 return wrap(Files.newDirectoryStream(dir, filter));
311 public void createDirectory(Path dir, FileAttribute<?>... attrs) argument
314 Files.createDirectory(unwrap(dir), attrs);

Completed in 138 milliseconds

12345678910