Searched refs:destfile (Results 1 - 6 of 6) sorted by relevance

/openjdk7/hotspot/src/os/bsd/vm/
H A DperfMemory_bsd.cpp93 const char* destfile = PerfMemory::get_perfdata_file_path(); local
94 assert(destfile[0] != '\0', "invalid PerfData file path");
98 RESTARTABLE(::open(destfile, O_CREAT|O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE),
103 destfile, strerror(errno));
114 destfile, strerror(errno));
126 warning("Could not close %s: %s\n", destfile, strerror(errno));
130 FREE_C_HEAP_ARRAY(char, destfile, mtInternal);
/openjdk7/hotspot/src/os/linux/vm/
H A DperfMemory_linux.cpp93 const char* destfile = PerfMemory::get_perfdata_file_path(); local
94 assert(destfile[0] != '\0', "invalid PerfData file path");
98 RESTARTABLE(::open(destfile, O_CREAT|O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE),
103 destfile, strerror(errno));
114 destfile, strerror(errno));
126 warning("Could not close %s: %s\n", destfile, strerror(errno));
130 FREE_C_HEAP_ARRAY(char, destfile, mtInternal);
/openjdk7/hotspot/src/os/solaris/vm/
H A DperfMemory_solaris.cpp95 const char* destfile = PerfMemory::get_perfdata_file_path(); local
96 assert(destfile[0] != '\0', "invalid PerfData file path");
100 RESTARTABLE(::open(destfile, O_CREAT|O_WRONLY|O_TRUNC, S_IREAD|S_IWRITE),
105 destfile, strerror(errno));
117 destfile, strerror(errno));
128 warning("Could not close %s: %s\n", destfile, strerror(errno));
132 FREE_C_HEAP_ARRAY(char, destfile, mtInternal);
/openjdk7/langtools/test/com/sun/javadoc/lib/
H A DJavadocTester.java530 public static void copyFile(File destfile, File srcfile) argument
535 File destDir = destfile.getParentFile();
537 FileOutputStream output = new FileOutputStream(destfile);
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DUtil.java210 public static void copyFile(File destfile, File srcfile) argument
215 File destDir = destfile.getParentFile();
217 FileOutputStream output = new FileOutputStream(destfile);
261 File destfile = new File(destdir, files[i]);
263 if(destfile.exists() && ! overwrite) {
271 Util.copyFile(destfile, srcfile);
361 File destfile = new File(destination, file);
362 if(destfile.exists() && (! overwrite)) return;
367 OutputStream out = new FileOutputStream(destfile);
/openjdk7/hotspot/src/os/windows/vm/
H A DperfMemory_windows.cpp89 const char* destfile = PerfMemory::get_perfdata_file_path(); local
90 assert(destfile[0] != '\0', "invalid Perfdata file path");
92 int fd = ::_open(destfile, _O_BINARY|_O_CREAT|_O_WRONLY|_O_TRUNC,
98 destfile, strerror(errno));
107 destfile, strerror(errno));
119 warning("Could not close %s: %s\n", destfile, strerror(errno));
124 FREE_C_HEAP_ARRAY(char, destfile, mtInternal);

Completed in 68 milliseconds