Searched defs:tmpdir (Results 1 - 15 of 15) sorted by relevance

/openjdk7/jdk/test/java/io/File/
H A DDeleteOnExit.java35 static String tmpdir = System.getProperty("java.io.tmpdir"); field in class:DeleteOnExit
38 static File file1 = new File(tmpdir + "deletedOnExit1");
39 static File file2 = new File(tmpdir + "deletedOnExit2");
40 static File file3 = new File(tmpdir + "deletedOnExit3");
43 static File dir = new File(tmpdir + "deletedOnExitDir");
/openjdk7/jdk/test/java/nio/file/Files/
H A DMisc.java55 static void testCreateDirectories(Path tmpdir) throws IOException { argument
57 createDirectories(tmpdir);
60 Path subdir = tmpdir.resolve("a");
70 Path file = createFile(tmpdir.resolve("x"));
84 static void testIsHidden(Path tmpdir) throws IOException { argument
85 assertTrue(!isHidden(tmpdir));
87 Path file = tmpdir.resolve(".foo");
108 static void testIsSameFile(Path tmpdir) throws IOException { argument
109 Path thisFile = tmpdir.resolve("thisFile");
110 Path thatFile = tmpdir
188 testFileTypeMethods(Path tmpdir) argument
248 testAccessMethods(Path tmpdir) argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DTempFileHelper.java49 private static final Path tmpdir = field in class:TempFileHelper
50 Paths.get(doPrivileged(new GetPropertyAction("java.io.tmpdir")));
92 dir = tmpdir;
142 if (dir == tmpdir && sm != null)
/openjdk7/jdk/test/sun/net/www/protocol/jar/jarbug/src/test/
H A DJarTest.java30 static String tmpdir = System.getProperty("java.io.tmpdir"); field in class:JarTest
93 File result = new File(tmpdir + File.separator + getClass().getName());
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/
H A DLocalVmManager.java48 private File tmpdir; field in class:LocalVmManager
81 tmpdir = new File(PerfDataFile.getTempDirectory());
92 tmpdir = new File(PerfDataFile.getTempDirectory(userName));
137 if (! tmpdir.isDirectory()) {
146 File[] dirs = tmpdir.listFiles(userFilter);
173 File[] files = tmpdir.listFiles(fileFilter);
186 File[] files = tmpdir.listFiles(tmpFileFilter);
/openjdk7/jdk/src/solaris/classes/sun/tools/attach/
H A DBsdVirtualMachine.java40 // "tmpdir" is used as a global well-known location for the files
44 // This is intentionally not the same as java.io.tmpdir, since
47 private static final String tmpdir; field in class:BsdVirtualMachine
73 File f = new File(tmpdir, ".attach_pid" + pid);
255 File f = new File(tmpdir, fn);
301 tmpdir = getTempDir();
H A DLinuxVirtualMachine.java45 private static final String tmpdir = "/tmp"; field in class:LinuxVirtualMachine
269 File f = new File(tmpdir, ".java_pid" + pid);
287 f = new File(tmpdir, fn);
H A DSolarisVirtualMachine.java46 private static final String tmpdir = "/tmp"; field in class:SolarisVirtualMachine
197 String path = tmpdir + "/.java_pid" + pid;;
222 f = new File(tmpdir, fn);
/openjdk7/jdk/src/windows/native/java/lang/
H A Djava_props_md.c334 WCHAR tmpdir[MAX_PATH + 1]; local
336 GetTempPathW(MAX_PATH + 1, tmpdir);
337 sprops.tmp_dir = _wcsdup(tmpdir);
/openjdk7/hotspot/src/os/bsd/vm/
H A DperfMemory_bsd.cpp154 const char* tmpdir = os::get_temp_directory(); local
156 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3;
160 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user);
650 warning("Insufficient space for shared memory file:\n %s\nTry using the -Djava.io.tmpdir= option to select an alternate temp location.\n", filename);
/openjdk7/hotspot/src/os/linux/vm/
H A DperfMemory_linux.cpp154 const char* tmpdir = os::get_temp_directory(); local
156 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3;
160 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user);
650 warning("Insufficient space for shared memory file:\n %s\nTry using the -Djava.io.tmpdir= option to select an alternate temp location.\n", filename);
/openjdk7/hotspot/src/os/solaris/vm/
H A DperfMemory_solaris.cpp156 const char* tmpdir = os::get_temp_directory(); local
158 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3;
162 snprintf(dirname, nbytes, "%s/%s_%s", tmpdir, perfdir, user);
/openjdk7/hotspot/src/share/vm/utilities/
H A DvmError.cpp935 const char * tmpdir = os::get_temp_directory(); local
937 if (tmpdir != NULL && tmpdir[0] != '\0') {
939 tmpdir, os::file_separator(), os::current_process_id());
/openjdk7/jdk/src/share/classes/java/io/
H A DFile.java1871 private static final File tmpdir = new File(AccessController field in class:File.TempDirectory
1872 .doPrivileged(new GetPropertyAction("java.io.tmpdir")));
1874 return tmpdir;
1932 * <code>java.io.tmpdir</code>. On UNIX systems the default value of this
1974 File tmpdir = (directory != null) ? directory
1979 f = TempDirectory.generateFile(prefix, suffix, tmpdir);
/openjdk7/hotspot/src/os/windows/vm/
H A DperfMemory_windows.cpp158 const char* tmpdir = os::get_temp_directory(); local
160 size_t nbytes = strlen(tmpdir) + strlen(perfdir) + strlen(user) + 3;
164 _snprintf(dirname, nbytes, "%s\\%s_%s", tmpdir, perfdir, user);

Completed in 122 milliseconds