Searched refs:file (Results 251 - 275 of 1222) sorted by relevance

<<11121314151617181920>>

/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DConstantInterfaceMethodref.java78 * Initialize instance from file data.
80 * @param file input stream
83 ConstantInterfaceMethodref(DataInputStream file) throws IOException argument
85 super(Constants.CONSTANT_InterfaceMethodref, file);
H A DConstantMethodref.java78 * Initialize instance from file data.
80 * @param file input stream
83 ConstantMethodref(DataInputStream file) throws IOException argument
85 super(Constants.CONSTANT_Methodref, file);
/openjdk7/jdk/src/share/classes/java/io/
H A DDeleteOnExitHook.java8 * 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
32 * A set is used both to prevent double-insertion of the same file as well as offer
40 // Application shutdown hooks may add the first file to the
57 static synchronized void add(String file) { argument
59 // DeleteOnExitHook is running. Too late to add a file
63 files.add(file);
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DAsynchronousFileChannel.java8 * 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
28 import java.nio.file.*;
29 import java.nio.file.attribute.FileAttribute;
30 import java.nio.file.spi.*;
40 * An asynchronous channel for reading, writing, and manipulating a file.
42 * <p> An asynchronous file channel is created when a file is opened by invoking
43 * one of the {@link #open open} methods defined by this class. The file contain
241 open(Path file, Set<? extends OpenOption> options, ExecutorService executor, FileAttribute<?>... attrs) argument
295 open(Path file, OpenOption... options) argument
[all...]
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFileStore.java8 * 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.*;
33 * partition, volume, concrete file system or other implementation specific means
34 * of file storage. The {@code FileStore} for where a file is stored is obtained
35 * by invoking the {@link Files#getFileStore getFileStore} method, or all file
39 * <p> In addition to the methods defined by this class, a file stor
[all...]
H A DPaths.java8 * 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.spi.FileSystemProvider;
68 * Path path = dir.resolve("file");
98 * "file", the given URI has a non-empty path component, and undefined query
101 * {@link FileSystems#getDefault default} file system.
124 * The file system, identified by the URI, does not exist and
129 * permission to access the file syste
[all...]
H A DDirectoryStream.java8 * 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;
86 * <p> The elements returned by the iterator are in no specific order. Some file
H A DWatchEvent.java8 * 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;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DDataFile.java8 * 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
41 DataFile(File file) { argument
43 weak = new WeakDataFile(this, file);
54 * Read data from the given file pointer position.
70 * Write data to the file
72 * @param data that needs to written to a file
75 * @return file pointer before the write operation(or at which the
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DTransferToChannel.java12 * version 2 for more details (a copy is included in the LICENSE file that
37 static File file; field in class:TransferToChannel
44 file = File.createTempFile("readingin", null);
46 file.deleteOnExit();
48 generateBigFile(file);
49 FileInputStream fis = new FileInputStream(file);
54 file.delete();
62 System.err.println("Transferred file...");
70 System.err.println("Transferred file...");
125 static void generateBigFile(File file) throw argument
[all...]
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileStore.java44 import java.nio.file.Files;
45 import java.nio.file.FileStore;
46 import java.nio.file.FileSystems;
47 import java.nio.file.Path;
48 import java.nio.file.attribute.BasicFileAttributes;
49 import java.nio.file.attribute.FileAttributeView;
50 import java.nio.file.attribute.FileStoreAttributeView;
51 import java.nio.file.attribute.BasicFileAttributeView;
/openjdk7/jdk/src/share/instrument/
H A DJPLISAssert.h8 * 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
69 const char * file,
82 const char * file,
/openjdk7/jdk/test/java/util/zip/ZipFile/
H A DComment.java12 * version 2 for more details (a copy is included in the LICENSE file that
26 @summary Make sure zip file comments of various sizes can be written.
84 try (RandomAccessFile file = new RandomAccessFile(name, "r")) {
86 file.seek(file.length() - comment.length()
88 int b1 = file.readUnsignedByte();
89 int b2 = file.readUnsignedByte();
91 throw new Exception("Zip file comment length corrupted");
94 file.seek(file
[all...]
/openjdk7/jdk/test/javax/sound/midi/Gervill/DLSSoundbankReader/
H A DTestGetSoundbankFile.java8 * 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 File file = new File(System.getProperty("test.src", "."), "ding.dls");
46 Soundbank dls = new DLSSoundbankReader().getSoundbank(file);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SF2SoundbankReader/
H A DTestGetSoundbankFile.java8 * 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 File file = new File(System.getProperty("test.src", "."), "ding.sf2");
46 Soundbank sf2 = new SF2SoundbankReader().getSoundbank(file);
/openjdk7/jdk/test/javax/swing/JFileChooser/6484091/
H A Dbug6484091.java12 * version 2 for more details (a copy is included in the LICENSE file that
57 for (File file : dir.listFiles()) {
58 System.out.println(file.getName());
/openjdk7/jdk/src/share/sample/nio/server/
H A DURLDumper.java57 System.out.println("Usage: URLDumper <URL> <file>");
62 String file = args[1];
65 FileOutputStream fos = new FileOutputStream(file);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixFileStore.java8 * 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
28 import java.nio.file.*;
29 import java.nio.file.attribute.*;
43 // original path of file that identified file system
44 private final UnixPath file; field in class:UnixFileStore
52 // return the device ID where the given file resides
53 private static long devFor(UnixPath file) throw argument
62 UnixFileStore(UnixPath file) argument
79 UnixPath file() { method in class:UnixFileStore
[all...]
/openjdk7/langtools/test/tools/javadoc/
H A DT6551367.java12 * version 2 for more details (a copy is included in the LICENSE file that
45 for (String file : args) {
46 File source = new File(testSrc, file);
/openjdk7/jdk/src/macosx/classes/java/util/prefs/
H A DMacOSXPreferences.java8 * 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/windows/native/sun/windows/
H A Dawt_new.cpp8 * 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/beans/PropertyChangeSupport/
H A DTestSerialization.java12 * version 2 for more details (a copy is included in the LICENSE file that
50 String file = System.getProperty("java.version") + ".ser";
51 serialize(file, create());
55 for (String file : args) {
56 check(deserialize(file));
57 check(array, read(file));
83 throw new Error("Different file sizes: " + length + " != " + a2.length);
115 private static byte[] read(String file) throws Exception { argument
118 stream = new FileInputStream(new File(System.getProperty("test.src", "."), file));
131 private static PropertyChangeSupport deserialize(String file) throw argument
143 serialize(String file, PropertyChangeSupport pcs) argument
[all...]
/openjdk7/jdk/test/java/beans/VetoableChangeSupport/
H A DTestSerialization.java12 * version 2 for more details (a copy is included in the LICENSE file that
50 String file = System.getProperty("java.version") + ".ser";
51 serialize(file, create());
55 for (String file : args) {
56 check(deserialize(file));
57 check(array, read(file));
83 throw new Error("Different file sizes: " + length + " != " + a2.length);
115 private static byte[] read(String file) throws Exception { argument
118 stream = new FileInputStream(new File(System.getProperty("test.src", "."), file));
131 private static VetoableChangeSupport deserialize(String file) throw argument
143 serialize(String file, VetoableChangeSupport vcs) argument
[all...]
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileLog.cpp12 * version 2 for more details (a copy is included in the LICENSE file that
37 CompileLog::CompileLog(const char* file, FILE* fp, intx thread_id) argument
41 _file = file;
203 void CompileLog::finish_log_on_error(outputStream* file, char* buf, int buflen) { argument
210 const char* partial_file = log->file();
215 file->print_raw("<compilation_log thread='");
217 file->print_raw(buf);
218 file->print_raw_cr("'>");
230 file->write(buf, nr);
238 file
296 finish_log(outputStream* file) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DPaths.java8 * 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;
88 /** Access to (possibly cached) file info */
190 boolean isDefaultBootClassPathRtJar(File file) { argument
191 return file.equals(defaultBootClassPathRtJar);
286 for (File file : getPathEntries(files, emptyPathDefault))
287 addFile(file, warn);
296 public void addFile(File file, boolea argument
497 isArchive(File file) argument
537 fileToURL(File file) argument
[all...]

Completed in 274 milliseconds

<<11121314151617181920>>