/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/windbg/ |
H A D | DLL.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 34 relocation. A DLL can represent either a DLL or an EXE file. */ 42 file = new MemoizedObject() { 57 file = new MemoizedObject() { 65 file. */ 156 file = null; 164 return (COFFFile) file.getValue(); 204 private MemoizedObject file; field in class:DLL
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | DebugSettings.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 * loaded from the awtdebug.properties file at class load 40 * time. The properties file is assumed to be in the 41 * user.home directory. A different file can be used 48 * You can override the properties file by specifying 65 * Java Logging API calls. This file is now used only to 114 * Load debug properties from file, then override 166 * load properties from file, overridin 270 setCTracingOn(boolean enabled, String file) argument 271 setCTracingOn(boolean enabled, String file, int line) argument [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | FileInputStream.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 35 * from a file in a file system. What files 46 * @see java.nio.file.Files#newInputStream 52 /* File Descriptor - handle to the open file */ 55 /* The path of the referenced file (null if the stream is created with a file descriptor) */ 75 * opening a connection to an actual file, 131 FileInputStream(File file) argument [all...] |
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | ProcessBuilder.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 52 * external program file to be invoked and its arguments, if any. 152 * to be appended to a log file: 167 * assert pb.redirectOutput().file() == log; 447 * <li>a redirection to read from a file, created by an invocation of 449 * <li>a redirection to write to a file, created by an invocation of 451 * <li>a redirection to append to a file, created by an invocation of 508 * Redirect.PIPE.file() 538 public File file() { return null; } method in class:ProcessBuilder.Redirect 560 from(final File file) argument 586 to(final File file) argument 616 appendTo(final File file) argument 784 redirectInput(File file) argument 801 redirectOutput(File file) argument 818 redirectError(File file) argument [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | URLStreamHandler.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 239 // Parse the file path if any 327 * fragment in the same file. 363 // Generate the file part. 364 String file = u.getFile(); 365 if (file != null) 366 h += file.hashCode(); 383 * Compare two urls to see whether they refer to the same file, 558 setURL(URL u, String protocol, String host, int port, String file, String ref) argument [all...] |
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | Path.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; 34 * An object that may be used to locate a file in a file system. It will 35 * typically represent a system dependent file path. 38 * sequence of directory and file name elements separated by a special separator 39 * or delimiter. A <em>root component</em>, that identifies a file system 41 * from the root of the directory hierarchy is the name of a file o [all...] |
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/ |
H A D | FileTime.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.attribute; 37 * Represents the value of a file's time stamp attribute. For example, it may 38 * represent the time that the file was last 46 * @see java.nio.file.Files#setLastModifiedTime 47 * @see java.nio.file.Files#getLastModifiedTime 170 * Computes a hash code for this file time. 220 * file' [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | AudioFloatInputStream.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 220 public static AudioFloatInputStream getInputStream(File file) argument 223 .getAudioInputStream(file));
|
H A D | StandardMidiFileReader.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 50 * MIDI file reader. 93 throw new InvalidMidiDataException("not a valid MIDI file"); 135 // if only reading the file format, reset the stream 158 public MidiFileFormat getMidiFileFormat(File file) throws InvalidMidiDataException, IOException { argument 159 FileInputStream fis = new FileInputStream(file); // throws IOException 163 long length = file.length(); 185 throw new InvalidMidiDataException("Invalid or unsupported file typ 217 getSequence(File file) argument [all...] |
H A D | WaveExtensibleFileReader.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 45 * WAVE file reader for files using format WAVE_FORMAT_EXTENSIBLE (0xFFFE). 316 public AudioFileFormat getAudioFileFormat(File file) argument 318 InputStream stream = new FileInputStream(file); 333 public AudioInputStream getAudioInputStream(File file) argument 336 file)));
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | FileDialog.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 36 * from which the user can select a file. 41 * chosen a file. 52 * This constant value indicates that the purpose of the file 53 * dialog window is to locate a file from which to read. 58 * This constant value indicates that the purpose of the file 59 * dialog window is to locate a file to which to write. 79 * in the file dialo 96 String file; field in class:FileDialog 468 setFile(String file) argument [all...] |
/openjdk7/jdk/src/macosx/classes/java/util/prefs/ |
H A D | MacOSXPreferences.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 33 // CF preferences file name for Java nodes with short names 44 private final MacOSXPreferencesFile file; field in class:MacOSXPreferences 103 file = cfFileForNode(this.isUser); 107 newNode = file.addNode(path); 111 // Does not write anything to the file. 144 file.addKeyToNode(path, key, value); 150 return file [all...] |
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/ |
H A D | Utils.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 118 static void recDelete(final File file) { argument 119 if (!file.exists()) return; 120 if (file.isDirectory()) for (final File f : file.listFiles()) recDelete(f); 121 file.delete(); 179 public static String getCanonicalPath(File file) throws RuntimeException{ argument 181 return file [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/ |
H A D | Resolver.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 155 * @param scheme Unless this is "file", unspecified MIME types 157 * file systems discard character encoding information. 219 // ignore the system "file.encoding" property since 225 if (!"file".equalsIgnoreCase(scheme)) 265 * Creates an input source from a given file, autodetecting 268 static public InputSource createInputSource(File file) argument 273 retval = new InputSource(XmlReader.createReader(new FileInputStream(file))); [all...] |
/openjdk7/jdk/src/solaris/instrument/ |
H A D | EncodingSupport_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 49 utfError(char *file, int line, char *message) argument 51 (void)fprintf(stderr, "UTF ERROR [\"%s\":%d]: %s\n", file, line, message);
|
/openjdk7/jdk/src/solaris/native/com/sun/media/sound/ |
H A D | PLATFORM_API_BsdOS_ALSA_CommonUtils.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 31 static void alsaDebugOutput(const char *file, int line, const char *function, int err, const char *fmt, ...) { argument 35 printf("%s:%d function %s: error %d: %s\n", file, line, function, err, snd_strerror(err)); 135 FILE* file; local 137 file = fopen(ALSA_VERSION_PROC_FILE, "r"); 139 if (file) { 140 if (NULL != fgets(ALSAVersionString, ALSAVersionString_LENGTH, file)) { 174 fclose(file); [all...] |
H A D | PLATFORM_API_LinuxOS_ALSA_CommonUtils.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 31 static void alsaDebugOutput(const char *file, int line, const char *function, int err, const char *fmt, ...) { argument 35 printf("%s:%d function %s: error %d: %s\n", file, line, function, err, snd_strerror(err)); 135 FILE* file; local 137 file = fopen(ALSA_VERSION_PROC_FILE, "r"); 139 if (file) { 140 if (NULL != fgets(ALSAVersionString, ALSAVersionString_LENGTH, file)) { 174 fclose(file); [all...] |
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WDropTargetContextPeer.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 65 * upcall to encapsulate file transfer 68 private static FileInputStream getFileStream(String file, long stgmedium) argument 71 return new WDropTargetContextPeerFileStream(file, stgmedium); 124 * package private class to handle file transfers 130 * construct file input stream
|
/openjdk7/jdk/src/windows/classes/sun/nio/fs/ |
H A D | WindowsFileAttributeViews.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.attribute.*; 39 final WindowsPath file; field in class:WindowsFileAttributeViews.Basic 42 Basic(WindowsPath file, boolean followLinks) { argument 43 this.file = file; 49 file.checkRead(); 51 return WindowsFileAttributes.get(file, followLink 165 Dos(WindowsPath file, boolean followLinks) argument 288 createBasicView(WindowsPath file, boolean followLinks) argument 292 createDosView(WindowsPath file, boolean followLinks) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_new.cpp | 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 193 rand_alloc_fail(const char *file, int line) throw (std::bad_alloc) argument 208 fprintf(stderr, "failing allocation at %s, %d\n", file, line); 209 fprintf(logfile, "%s, %d\n", file, line); 218 void *safe_Malloc_outofmem(size_t size, const char *file, int line) argument 221 rand_alloc_fail(file, line); 225 void *safe_Calloc_outofmem(size_t num, size_t size, const char *file, int line) argument 228 rand_alloc_fail(file, lin 232 safe_Realloc_outofmem(void *memblock, size_t size, const char *file, int line) argument 240 operator new(size_t size, const char *file, int line) argument [all...] |
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/ |
H A D | Lock.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 33 import java.nio.file.*; 34 import static java.nio.file.StandardOpenOption.*; 56 // create temporary file 73 static void testLockProtocol(File file, LockSlaveMirror slave) argument 78 // slave VM opens file and acquires exclusive lock 79 slave.open(file.getPath()).lock(); 82 .open(file.toPath(), READ, WRITE); 113 static void testAsyncClose(File file, LockSlaveMirror slave) throws Exception { argument 114 // slave VM opens file an 209 open(String file) argument [all...] |
/openjdk7/jdk/test/java/nio/file/Files/ |
H A D | CheckPermissions.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 26 * @summary Unit test for java.nio.file.Files 33 import java.nio.file.*; 34 import static java.nio.file.Files.*; 35 import static java.nio.file.StandardOpenOption.*; 36 import java.nio.file.attribute.*; 43 * Checks each method that accesses the file system does the right permission 91 static void assertChecked(Path file, List<String> list) { argument 92 String s = file.toString(); 100 static void assertCheckRead(Path file) { argument 104 assertCheckWrite(Path file) argument 119 assertCheckDelete(Path file) argument 123 assertCheckExec(Path file) argument 147 checkRead(String file) argument 154 checkWrite(String file) argument 161 checkDelete(String file) argument 168 checkExec(String file) argument 175 testBasicFileAttributeView(BasicFileAttributeView view, Path file) argument 188 testPosixFileAttributeView(PosixFileAttributeView view, Path file) argument [all...] |
H A D | CopyAndMove.java | 12 * version 2 for more details (a copy is included in the LICENSE file that 26 * @summary Unit test for java.nio.file.Files copy and move methods 33 import java.nio.file.*; 34 import static java.nio.file.Files.*; 35 import static java.nio.file.StandardCopyOption.*; 36 import static java.nio.file.LinkOption.*; 37 import java.nio.file.attribute.*; 54 // a different volume/file system and so improve test coverage. 83 // check file type 127 static Map<String,ByteBuffer> readUserDefinedFileAttributes(Path file) argument 1096 computeHash(Path file) argument 1136 randomizeAttributes(Path file) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/classfile/ |
H A D | ClassFile.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 44 public static ClassFile read(File file) argument 46 return read(file, new Attribute.Factory()); 49 public static ClassFile read(File file, Attribute.Factory attributeFactory) argument 51 FileInputStream in = new FileInputStream(file);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/ |
H A D | BaseFileObject.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; 126 /** The file manager that created this JavaFileObject. */
|