/openjdk7/jdk/test/java/io/File/ |
H A D | DeleteOnExit.java | 35 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 D | Misc.java | 55 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 D | TempFileHelper.java | 49 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 D | JarTest.java | 30 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 D | LocalVmManager.java | 48 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 D | BsdVirtualMachine.java | 40 // "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 D | LinuxVirtualMachine.java | 45 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 D | SolarisVirtualMachine.java | 46 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 D | java_props_md.c | 334 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 D | perfMemory_bsd.cpp | 154 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 D | perfMemory_linux.cpp | 154 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 D | perfMemory_solaris.cpp | 156 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 D | vmError.cpp | 935 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 D | File.java | 1871 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 D | perfMemory_windows.cpp | 158 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);
|