/openjdk7/jdk/src/share/classes/sun/net/www/ |
H A D | ParseUtil.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 229 public String canonizeString(String file) { argument 231 int lim = file.length(); 234 while ((i = file.indexOf("/../")) >= 0) { 235 if ((lim = file.lastIndexOf('/', i - 1)) >= 0) { 236 file = file.substring(0, lim) + file 261 fileToEncodedURL(File file) argument [all...] |
/openjdk7/langtools/test/tools/javac/tree/ |
H A D | TreePosTest.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 108 * viewer is being used. In jtreg mode, the default base directory for file 125 * Run the program. A base directory can be provided for file arguments. 128 * @param baseDir base directory for any file arguments. 174 for (File file: files) { 175 if (file.exists()) 176 test(file); 178 error("File not found: " + file); 203 out.println("-ef file Exclude file o 217 test(File file) argument 266 read(File file) argument 546 addEntry(JavaFileObject file, String check, Info encl, Info self) argument 748 Entry(JavaFileObject file, String check, Info encl, Info self) argument 760 final JavaFileObject file; field in class:TreePosTest.Viewer.Entry [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | JavaClass.java | 73 * fields, methods and commands contained in a Java .class file. 78 * class file. Those interested in programatically generating classes 133 * @param source Read from file or generated in memory? 170 // Get source file name if available 257 * Dump class to a file. 259 * @param file Output file 262 public void dump(File file) throws IOException argument 264 String parent = file.getParent(); 273 dump(new DataOutputStream(new FileOutputStream(file))); 311 dump(OutputStream file) argument 321 dump(DataOutputStream file) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/ |
H A D | Scanner.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 64 //Scanner (IncludeEntry file, String[] keywords, boolean vbose, boolean scanStateful, boolean emitAllIncludes) throws IOException 66 //Scanner (IncludeEntry file, String[] keywords, boolean vbose, boolean emitAllIncludes) throws IOException 70 Scanner (IncludeEntry file, String[] keywords, boolean vbose, argument 73 readFile (file); 123 void readFile (IncludeEntry file) throws IOException argument 125 String filename = file.name (); 127 readFile (file, filenam 133 readFile(IncludeEntry file, String filename) argument 450 scanIncludedFile(IncludeEntry file, String filename, boolean includeIsImport) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/posix/elf/ |
H A D | ELFFileParser.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 49 RandomAccessFile file = new RandomAccessFile(filename, "r"); 50 return parse(new RandomAccessFileDataSource(file)); 67 private DataSource file; field in class:ELFFileParser.ELFFileImpl 71 ELFFileImpl(DataSource file) throws ELFException { argument 72 this.file = file; 80 // Check the magic number before we continue reading the file. 82 throw new ELFException("Bad magic number for file."); 108 /** Marks the file a [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/windbg/ |
H A D | WindbgDebuggerLocal.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 365 private String findFullPath(String file) { argument 366 File f = new File(file); 368 return file; 371 file = f.getName(); 374 f = new File(st.nextToken(), file); 383 private synchronized void addLoadObject(String file, long size, long base) { argument 384 String path = findFullPath(file); 403 nameToDllMap.put(new File(file).getName(), dll);
|
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | Files.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 java.nio.file; 28 import java.nio.file.attribute.*; 29 import java.nio.file.spi.FileSystemProvider; 30 import java.nio.file.spi.FileTypeDetector; 53 * file system provider to perform the file operations. 71 * Opens a file, returnin [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/ |
H A D | MotifFileChooserUI.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 110 private String fileNameString(File file) { argument 111 if (file == null) { 116 return file.getPath(); 118 return file.getName(); 583 File file = (File) fileList.getModel().getElementAt(index); 584 setFileName(chooser.getName(file));
|
/openjdk7/hotspot/src/share/vm/c1/ |
H A D | c1_LIRGenerator.hpp | 12 * version 2 for more details (a copy is included in the LICENSE file that 154 // only the classes below belong in the same file 173 LIR_List* lir(const char * file, int line) const { argument 174 _lir->set_file_and_line(file, line);
|
/openjdk7/jdk/make/tools/reorder/tools/ |
H A D | mcount.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 151 const char *file; local 155 file = NULL; 165 file = getStabString(elfInfo, stab->n_strx + offset); 167 objFileList->objFileName = file; 168 /*fprintf(stderr,"new obj file %s.\n", file);*/ 169 objFileList->nameLen = strlen(file); 279 const char *file; local 342 checkObjFileList(ElfInfo *elfInfo, const char *file) argument 378 const char *file; local [all...] |
/openjdk7/hotspot/src/share/vm/shark/ |
H A D | sharkBuilder.cpp | 13 * version 2 for more details (a copy is included in the LICENSE file that 483 CallInst* SharkBuilder::CreateUnimplemented(const char* file, int line) { argument 487 LLVMValue::intptr_constant((intptr_t) file), 492 CallInst* SharkBuilder::CreateShouldNotReachHere(const char* file, int line) { argument 496 LLVMValue::intptr_constant((intptr_t) file),
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | ostream.hpp | 12 * version 2 for more details (a copy is included in the LICENSE file that 199 fileStream(FILE* file) { _file = file; _need_close = false; } argument 239 rotatingFileStream(FILE* file) : fileStream(file) {} argument
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WFileDialogPeer.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 64 File file = new File(filename); 65 return fileFilter.accept(new File(file.getParent()), file.getName()); 122 * The function converts the file names (the buffer parameter) 128 * The directory and file name strings are NULL separated. 130 * separator between the path and the file name. 151 jFile = wFiles[1]; // choose any file 242 setFile(String file) argument [all...] |
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | WinNTFileSystem_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 174 * Retrieves file information for the specified file. If the file is 307 /* Check whether or not the file name in "path" is a Windows reserved 360 jobject file) 365 WCHAR *pathbuf = fileToNTPath(env, file, ids.path); 386 jobject file, jin 359 Java_java_io_WinNTFileSystem_getBooleanAttributes(JNIEnv *env, jobject this, jobject file) argument 385 Java_java_io_WinNTFileSystem_checkAccess(JNIEnv *env, jobject this, jobject file, jint access) argument 415 Java_java_io_WinNTFileSystem_setPermission(JNIEnv *env, jobject this, jobject file, jint access, jboolean enable, jboolean owneronly) argument 461 Java_java_io_WinNTFileSystem_getLastModifiedTime(JNIEnv *env, jobject this, jobject file) argument 498 Java_java_io_WinNTFileSystem_getLength(JNIEnv *env, jobject this, jobject file) argument 595 Java_java_io_WinNTFileSystem_delete0(JNIEnv *env, jobject this, jobject file) argument 610 Java_java_io_WinNTFileSystem_list(JNIEnv *env, jobject this, jobject file) argument 717 Java_java_io_WinNTFileSystem_createDirectory(JNIEnv *env, jobject this, jobject file) argument 757 Java_java_io_WinNTFileSystem_setLastModifiedTime(JNIEnv *env, jobject this, jobject file, jlong time) argument 790 Java_java_io_WinNTFileSystem_setReadOnly(JNIEnv *env, jobject this, jobject file) argument 841 Java_java_io_WinNTFileSystem_getSpace0(JNIEnv *env, jobject this, jobject file, jint t) argument [all...] |
H A D | io_util_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 61 fileToNTPath(JNIEnv *env, jobject file, jfieldID id) { argument 63 if (file != NULL) { 64 path = (*env)->GetObjectField(env, file, id); 320 /* Handle is for regular file */ 447 * System.out and then opens a file, they might get file descriptor
|
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | PassThroughFileSystem.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 24 import java.nio.file.*; 25 import java.nio.file.attribute.*; 26 import java.nio.file.spi.FileSystemProvider; 33 * A "pass through" file system implementation that passes through, or delegates, 34 * everything to the default file system. 47 * Creates a new "pass through" file system. Useful for test environments 212 public void setAttribute(Path file, String attribute, Object value, LinkOption... options) argument 215 Files.setAttribute(unwrap(file), attribute, value, options); 219 public Map<String,Object> readAttributes(Path file, Strin argument 226 getFileAttributeView(Path file, Class<V> type, LinkOption... options) argument 234 readAttributes(Path file, Class<A> type, LinkOption... options) argument 243 delete(Path file) argument 318 newByteChannel(Path file, Set<? extends OpenOption> options, FileAttribute<?>... attrs) argument 328 isHidden(Path file) argument 333 getFileStore(Path file) argument 338 isSameFile(Path file, Path other) argument 343 checkAccess(Path file, AccessMode... modes) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ |
H A D | Util.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 59 * Resource bundle corresponding to the doclets.properties file. 205 * Copy source file to destination file. 309 //do not copy doc-file directories. 316 //Make sure the doc-file being copied exists. 325 * Copy a file in the resources directory to the destination 327 * <code>overwrite</code> is true and the destination file 358 copyFile(Configuration configuration, String file, String source, String destination, boolean overwrite, boolean replaceNewLine) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/ |
H A D | ClientCodeWrapper.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 223 public String inferBinaryName(Location location, JavaFileObject file) { argument 225 return clientJavaFileManager.inferBinaryName(location, unwrap(file));
|
/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | debug_malloc.c | 60 * They should be used through the include file "debug_malloc.h". 271 * 'name' which was called in file 'file' at line number 'line'. The malloc 275 memory_error(void *mptr, const char *name, int mid, const char *mfile, int mline, const char *file, int line) argument 284 if (file == NULL) 285 file = "UNKNOWN_FILE"; 296 " and was allocated from file \"%s\" at line %d." 298 "in file \"%s\" at line %d.]", 300 name, file, line); 344 error_message("#%d: addr=%p size1=%d size2=%d file 361 setup_space_and_issue_warrant(void *mptr, size_t size, const char *file, int line) argument 423 memory_check(void *uptr, int mid, const char *mfile, int mline, const char *file, int line) argument 439 memory_error(user2malloc_(uptr), "memory_check", mid, mfile, mline, file, line); local 444 memory_error(user2malloc_(uptr), "memory_check", mid, mfile, mline, file, line); local 449 memory_error(user2malloc_(uptr), "memory_check", mid, mfile, mline, file, line); local 454 memory_error(user2malloc_(uptr), "memory_check", mid, mfile, mline, file, line); local 472 memory_error(user2malloc_(uptr), "memory_check", mid, mfile, mline, file, line); local 517 actual_free(void *uptr, const char *file, int line) argument 545 delayed_free(void *uptr, const char* file, int line) argument 567 delayed_free_all(const char *file, int line) argument 582 debug_free(void *uptr, const char *file, int line) argument 597 debug_malloc(size_t nbytes, const char *file, int line) argument 619 debug_realloc(void *uptr, size_t nbytes, const char *file, int line) argument 659 debug_calloc(size_t nelem, size_t elsize, const char *file, int line) argument 679 debug_strdup(const char *s1, const char *file, int line) argument 703 debug_malloc_verify(const char *file, int line) argument 718 memory_check(malloc2user_(mptr), MID(mptr), MFILE(mptr), MLINE(mptr), file, line); local 726 debug_malloc_police(const char *file, int line) argument 756 debug_malloc_verify(const char *file, int line) argument 763 debug_malloc_police(const char *file, int line) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jar/ |
H A D | Main.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 29 import java.nio.file.Path; 30 import java.nio.file.Files; 39 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING; 43 * (Java Archive) file format. The JAR format is based on the ZIP file 56 // decide whether or not an existing entry in a jar file needs to be 73 * Mflag: DO NOT generate a manifest file (jus 135 createTempFileInSameDirectoryAs(File file) argument 705 addFile(ZipOutputStream zos, File file) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/javac/ |
H A D | BatchEnvironment.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 * WARNING: The contents of this source file are not part of any 94 * coverage data file 263 * Return coverage data file 345 // the error once, and outside of any particular file. 429 // this file. 459 * Parse a source file 461 public void parseFile(ClassFile file) throw argument 564 loadFile(ClassFile file) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/ |
H A D | JConsole.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 1025 * of directory and JAR file URLs. 1028 * @return the resulting array of directory and JAR file URLs 1042 * Returns the directory or JAR file URL corresponding to the specified 1043 * local file name. 1045 * @param file the File object 1046 * @return the resulting directory or JAR file URL, or null if unknown 1048 private static URL fileToURL(File file) throw argument [all...] |
H A D | Plotter.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 293 private void saveDataToFile(File file) { argument 295 PrintStream out = new PrintStream(new FileOutputStream(file)); 319 file.getAbsolutePath(), 320 file.length())); 323 String path = file.getAbsolutePath(); 995 setFileFilter(new FileNameExtensionFilter("CSV file", "csv")); 1000 File file [all...] |
/openjdk7/jdk/src/share/native/sun/security/pkcs11/wrapper/ |
H A D | p11_util.c | 55 /* declare file private functions */ 1109 void *p11malloc(size_t c, char *file, int line) { argument 1111 printf("malloc\t%08x\t%d\t%s:%d\n", p, c, file, line); fflush(stdout); 1115 void p11free(void *p, char *file, int line) { argument 1116 printf("free\t%08x\t\t%s:%d\n", p, file, line); fflush(stdout);
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XFileDialogPeer.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 47 // This variable holds value exactly the same as value of the 'target.file' variable except: 49 // 2) keep the same value if 'target.file' is incorrect (see setFile()) 52 String file; field in class:XFileDialogPeer 62 // Seems that the purpose of this variable is cashing of 'target.file' variable in order to help method show() 63 // We should think about using 'target.file' instead of 'savedFile' 64 // Perhaps, 'target.file' just more correct (see target.setFile()) 69 // at the time of the next showing of the file dialo 387 handleSelection(String file) argument 672 setFile(String file) argument [all...] |