/openjdk7/langtools/test/tools/javac/api/ |
H A D | TestClientCodeWrapper.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 177 /** Get a file manager to use for the test compilation. */ 191 /** Get a set of file objects to use for the test compilation. */ 326 public String inferBinaryName(Location location, JavaFileObject file) { argument 328 return super.inferBinaryName(location, unwrap(file));
|
/openjdk7/langtools/test/tools/javac/diags/ |
H A D | HTMLWriter.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 327 * @param file the target for the link 331 public void writeLink(File file, String body) throws IOException { argument 334 String path = file.getPath().replace(File.separatorChar, '/'); 335 if (file.isAbsolute() && !path.startsWith("/")) 345 * @param file the target and body for the link 348 public void writeLink(File file) throws IOException { argument 349 writeLink(file, file.getPath());
|
/openjdk7/langtools/test/tools/javac/failover/ |
H A D | CheckAttributedTree.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 111 * viewer is being used. In jtreg mode, the default base directory for file 128 * Run the program. A base directory can be provided for file arguments. 131 * @param baseDir base directory for any file arguments. 177 for (File file: files) { 178 if (file.exists()) 179 test(file); 181 error("File not found: " + file); 206 out.println("-ef file Exclude file o 220 test(File file) argument 269 read(File file) argument 558 addEntry(JavaFileObject file, String check, Info encl, Info self) argument 760 Entry(JavaFileObject file, String check, Info encl, Info self) argument 772 final JavaFileObject file; field in class:CheckAttributedTree.Viewer.Entry [all...] |
/openjdk7/jdk/test/sun/security/krb5/auto/ |
H A D | KDC.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 59 * it will not automatically notice any changes to these settings (or file 107 * save the keys into a keytab file. 118 * <li> <code>writeKtab</code>: Writes all principals' keys into a keytab file 119 * <li> <code>saveConfig</code>: Saves a krb5.conf file to access this KDC 265 * Writes all principals' keys from multiple KDCs into one keytab file. 283 * @throws java.io.IOException for any file output error 293 * Appends all principals' keys from multiple KDCs to one keytab file. 356 * into the file. The method should be called like: 404 * @param file th 411 saveConfig(String file, KDC kdc, Object... more) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JFileChooser.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 57 * choose a file. 65 * The following code pops up a file chooser for the user's home directory that 74 * System.out.println("You chose to open this file: " + 86 * description: A component which allows for the interactive selection of a file. 105 * "Open" file operation. 111 * "Save" file operation. 117 * developer-specified file operatio 480 setSelectedFile(File file) argument [all...] |
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | ClassLoader.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 68 * typical strategy is to transform the name into a file name and then read a 69 * "class file" of that name from a file system. 112 * <p> Normally, the Java virtual machine loads classes from the local file 117 * <p> However, some classes may not originate from a file; they may originate 535 * of a valid class file as defined by 600 * of a valid class file a 1881 loadLibrary0(Class fromClass, final File file) argument 1892 loadLibrary1(Class fromClass, final File file) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | DLSSoundbank.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 197 public DLSSoundbank(File file) throws IOException { argument 199 sampleFile = file; 200 InputStream is = new FileInputStream(file); 235 "DLS file isn't supported!"); 876 public void save(File file) throws IOException { argument 877 writeSoundbank(new RIFFWriter(file, "DLS "));
|
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/ |
H A D | UnicodeSpec.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 39 * properties from a Unicode data file. One instance of class UnicodeSpec 40 * holds a decoded version of one line of the data file. The file may 113 * Given one line of a Unicode data file as a String, parse the line 116 * @param s a line of the Unicode data file to be parsed 156 * @param s the codePoint attribute extracted from a line of the Unicode data file 209 * @param s the combining attribute extracted from a line of the Unicode data file 393 readSpecFile(File file, int plane) argument [all...] |
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CFileDialog.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 71 String file = null; 88 file = files[0].getName(); // pick any file 94 accessor.setFile(target, file); 131 * If the file dialog has a file filter, ask it if inFilename is acceptable. 132 * If the dialog doesn't have a file filte 149 nativeRunFileDialog(String title, int mode, boolean multipleMode, boolean shouldNavigateApps, boolean canChooseDirectories, boolean hasFilenameFilter, String directory, String file) argument 159 setFile(String file) argument [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | debug.cpp | 12 * version 2 for more details (a copy is included in the LICENSE file that 128 // file names are always only constant literals. 156 // "file:line!" means the assert suppression is not silent 163 // match the file 221 void report_vm_error(const char* file, int line, const char* error_msg, argument 224 if (Debugging || error_is_suppressed(file, line)) return; 226 VMError err(thread, file, line, error_msg, detail_msg); 230 void report_fatal(const char* file, int line, const char* message) argument 232 report_vm_error(file, line, "fatal error", message); 238 void report_vm_out_of_memory(const char* file, in argument 259 report_should_not_call(const char* file, int line) argument 263 report_should_not_reach_here(const char* file, int line) argument 267 report_unimplemented(const char* file, int line) argument 271 report_untested(const char* file, int line, const char* message) argument [all...] |
H A D | ostream.cpp | 12 * version 2 for more details (a copy is included in the LICENSE file that 465 // write to gc log file at safepoint. If in future, changes made for mutator threads or 480 // rotate in same file 486 // rotate file in names file.0, file.1, file.2, ..., file.<MaxGCLogFileNumbers-1> 487 // close current file, rotate to next file 596 fileStream* file = new(ResourceObj::C_HEAP, mtInternal) fileStream(try_name); local 693 fileStream* file = _log_file; local 716 fileStream* file = _log_file; local [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/org/objectweb/asm/ |
H A D | ClassWriter.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 27 * This file is available under and governed by the GNU General Public 30 * file: 65 * file format. It can be used alone, to generate a Java class "from scratch", 368 * file from which this class was compiled. 635 public void visitSource(final String file, final String debug) { argument 636 if (file != null) { 637 sourceFile = newUTF8(file); [all...] |
/openjdk7/jdk/src/solaris/native/java/lang/ |
H A D | UNIXProcess_md.c | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 81 * file descriptors. 162 * no standard (not even de-facto) header file where the 412 /* We're trying to close all file descriptors, but opendir() might 413 * itself be implemented using a file descriptor, and we certainly 415 * opendir() is implemented using a file descriptor, then it uses 416 * the lowest numbered file descriptor, just like open(). So we 426 * 6395699: /proc/self/fd fails to report file descriptor 525 execve_as_traditional_shell_script(const char *file, const char *argv[], const char *const envp[]) argument 548 execve_with_shell_fallback(const char *file, const char *argv[], const char *const envp[]) argument 572 JDK_execvpe(const char *file, const char *argv[], const char *const envp[]) argument [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | awt_p.h | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 261 char *file; member in struct:FileDialogData
|
/openjdk7/jdk/test/java/lang/ProcessBuilder/ |
H A D | Basic.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 117 for (String file : path.split(File.pathSeparator)) { 120 sb.append(new File(file).getAbsolutePath()); 382 ! matches(m, "No such file")) 395 ! matches(m, "No such file")) 766 static void setFileContents(File file, String contents) { argument 768 Writer w = new FileWriter(file); 774 static String fileContents(File file) { argument 776 Reader r = new FileReader(file); 817 equal(PIPE.file(), nul [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | ZipFileIndex.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package com.sun.tools.javac.file; 49 import com.sun.tools.javac.file.RelativePath.RelativeDirectory; 50 import com.sun.tools.javac.file.RelativePath.RelativeFile; 55 * It supports invocations where it will serialize an optimized zip index file 58 * In order to use a secondary index file, set "usezipindex" in the Options 68 * file created for each archive, used by the compiler for compilation, at the 136 // Validate integrity of the zip file [all...] |
/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | hprof_init.c | 41 /* Main source file, the basic JVMTI connection/startup code. */ 48 * This file contains all the startup logic (Agent_Onload) and 50 * All JVMTI Event callbacks are in this file. 158 data.fd = -1; /* Non-zero file or socket. */ 203 my_crw_fatal_error_handler(const char * msg, const char *file, int line) argument 208 "%s [%s:%d]", msg, file, line); 264 /* Find a file that doesn't exist */ 274 /* Close the file. */ 322 /* Odds are with Windows, this file may not be so unique. */ 392 "file [all...] |
/openjdk7/jdk/src/share/native/java/util/zip/ |
H A D | zip_util.c | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 54 /* USE_MMAP means mmap the CEN & ENDHDR part of the zip file. */ 59 #define MAXREFS 0xFFFF /* max number of open zip file references */ 81 * respect to file access needs. 85 * Opens the named file for reading, returning a ZFILE. 150 * only on Solaris. Continue reading jar file in this case is the best 151 * thing to do since zip file reading is relatively fast and it is very onerous 161 * Initialize zip file suppor 885 jzfile *file = ZIP_Open_Generic(name, pmsg, O_RDONLY, 0); local [all...] |
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/ |
H A D | SynthFileChooserUIImpl.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 428 private String fileNameString(File file) { argument 429 if (file == null) { 434 return file.getPath(); 436 return file.getName();
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/generator/ |
H A D | WrapperGenerator.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 835 pw.println("// This file is an automatically generated file, please do not edit this file, modify the WrapperGenerator.java file instead !\n" ); 935 pw.println("// This file is an automatically generated file, please do not edit this file, modif 1124 writeNativeSizer(String file) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/ |
H A D | Parser.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 61 // appearing at global scope and then reopened in the main IDL file. Only 115 void parse (String file) throws IOException argument 118 fileEntry.name ('"' + file + '"'); 121 // Set absolute file path 122 fileEntry.absFilename (Util.getAbsolutePath (file, paths)); 146 ParseException.nothing (file); 233 // oversight. If module X.Y.Z first appears in an include file, the [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalFileChooserUI.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 562 * by the file chooser's layout manager. 566 * width and height of the file chooser 584 * width and height of the file chooser 595 * width and height of the file chooser 601 private String fileNameString(File file) { argument 602 if (file == null) { 607 (fc.isDirectorySelectionEnabled() && fc.isFileSelectionEnabled() && fc.getFileSystemView().isFileSystemRoot(file))) { [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/datatransfer/ |
H A D | DataTransferer.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 201 * "file.encoding" system property. 581 * the flavormap.properties file. It stores the "eoln" and "terminators" 583 * MIME parameters specific to the flavormap.properties file format. 605 * was listed in the flavormap.properties file. 1117 // loaded from flavormap.properties file 1309 // Target data is a file list. Source data must be a 1349 // Some implementations are fussy about the number of slashes (file 1464 isForbiddenToRead(File file, ProtectionDomain protectionDomain) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | SunFontManager.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 138 /* Pool of 20 font file channels chosen because some UTF-8 locale 270 * If no mapping exists, it means there is no font file for the style 271 * If the mapping exists but the file doesn't exist in the deferred 274 * a single file being opened at JRE start-up there's a big payoff. 287 /* Lucida Sans full names (map Bold and DemiBold to same file) */ 297 /* Typewriter full names (map Bold and DemiBold to same file) */ 312 /* Lucida Bright full names (map Bold and DemiBold to same file) */ 1871 registerFontFile(String file) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Formatter.java | 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 112 * System.err.printf("Unable to open file '%1$s': %2$s", 114 * // -> "Unable to open file 'food': No such file or directory" 1880 private Formatter(Charset charset, Locale l, File file) argument 1884 new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), charset))); 1949 * Constructs a new formatter with the specified file name. 1959 * The name of the file t 2082 Formatter(File file) argument 2117 Formatter(File file, String csn) argument 2156 Formatter(File file, String csn, Locale l) argument [all...] |