Searched refs:file (Results 126 - 150 of 1222) sorted by relevance

1234567891011>>

/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DConstantLong.java90 * Initialize instance from file data.
92 * @param file Input stream
95 ConstantLong(DataInputStream file) throws IOException argument
97 this(file.readLong());
110 * Dump constant long to file stream in binary format.
112 * @param file Output file stream
115 public final void dump(DataOutputStream file) throws IOException argument
117 file.writeByte(tag);
118 file
[all...]
H A DConstantUtf8.java83 * Initialize instance from file data.
85 * @param file Input stream
88 ConstantUtf8(DataInputStream file) throws IOException argument
92 bytes = file.readUTF();
120 * Dump String in Utf8 format to file stream.
122 * @param file Output file stream
125 public final void dump(DataOutputStream file) throws IOException argument
127 file.writeByte(tag);
128 file
[all...]
H A DCodeException.java92 * Construct object from file stream.
93 * @param file Input stream
96 CodeException(DataInputStream file) throws IOException argument
98 this(file.readUnsignedShort(), file.readUnsignedShort(),
99 file.readUnsignedShort(), file.readUnsignedShort());
132 * Dump code exception to file stream in binary format.
134 * @param file Output file strea
137 dump(DataOutputStream file) argument
[all...]
H A DConstantCP.java84 * Initialize instance from file data.
87 * @param file Input stream
90 ConstantCP(byte tag, DataInputStream file) throws IOException argument
92 this(tag, file.readUnsignedShort(), file.readUnsignedShort());
107 * Dump constant field reference to file stream in binary format.
109 * @param file Output file stream
112 public final void dump(DataOutputStream file) throws IOException argument
114 file
[all...]
H A DConstantNameAndType.java85 * Initialize instance from file data.
87 * @param file Input stream
90 ConstantNameAndType(DataInputStream file) throws IOException argument
92 this((int)file.readUnsignedShort(), (int)file.readUnsignedShort());
119 * Dump name and signature index to file stream in binary format.
121 * @param file Output file stream
124 public final void dump(DataOutputStream file) throws IOException argument
126 file
[all...]
H A DPMGClass.java85 * Construct object from file stream.
88 * @param file Input stream
92 PMGClass(int name_index, int length, DataInputStream file, argument
95 this(name_index, length, file.readUnsignedShort(), file.readUnsignedShort(),
125 * Dump source file attribute to file stream in binary format.
127 * @param file Output file stream
130 public final void dump(DataOutputStream file) throw argument
[all...]
H A DFieldOrMethod.java87 * Construct object from file stream.
88 * @param file Input stream
92 protected FieldOrMethod(DataInputStream file, ConstantPool constant_pool) argument
95 this(file.readUnsignedShort(), file.readUnsignedShort(),
96 file.readUnsignedShort(), null, constant_pool);
98 attributes_count = file.readUnsignedShort();
101 attributes[i] = Attribute.readAttribute(file, constant_pool);
123 * Dump object to file stream on binary format.
125 * @param file Outpu
128 dump(DataOutputStream file) argument
[all...]
H A DLocalVariable.java94 * Construct object from file stream.
95 * @param file Input stream
98 LocalVariable(DataInputStream file, ConstantPool constant_pool) argument
101 this(file.readUnsignedShort(), file.readUnsignedShort(),
102 file.readUnsignedShort(), file.readUnsignedShort(),
103 file.readUnsignedShort(), constant_pool);
138 * Dump local variable to file stream in binary format.
140 * @param file Outpu
143 dump(DataOutputStream file) argument
[all...]
H A DStackMapEntry.java82 * Construct object from file stream.
83 * @param file Input stream
86 StackMapEntry(DataInputStream file, ConstantPool constant_pool) throws IOException argument
88 this(file.readShort(), file.readShort(), null, -1, null, constant_pool);
92 types_of_locals[i] = new StackMapType(file, constant_pool);
94 number_of_stack_items = file.readShort();
97 types_of_stack_items[i] = new StackMapType(file, constant_pool);
116 * @param file Output file strea
119 dump(DataOutputStream file) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/
H A DMethodHTML.java65 * Convert methods and fields into HTML file.
72 private PrintWriter file; // file to write to field in class:MethodHTML
84 file = new PrintWriter(new FileOutputStream(dir + class_name + "_methods.html"));
86 file.println("<HTML><BODY BGCOLOR=\"#C0C0C0\"><TABLE BORDER=0>");
87 file.println("<TR><TH ALIGN=LEFT>Access&nbsp;flags</TH><TH ALIGN=LEFT>Type</TH>" +
91 file.println("</TABLE>");
93 file.println("<TABLE BORDER=0><TR><TH ALIGN=LEFT>Access&nbsp;flags</TH>" +
99 file.println("</TABLE></BODY></HTML>");
100 file
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsAclFileAttributeView.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.ProviderMismatchException;
29 import java.nio.file.attribute.*;
56 private final WindowsPath file; field in class:WindowsAclFileAttributeView
59 WindowsAclFileAttributeView(WindowsPath file, boolean followLinks) { argument
60 this.file = file;
65 private void checkAccess(WindowsPath file, argument
[all...]
H A DWindowsUserDefinedFileAttributeView.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 static java.nio.file.StandardOpenOption.*;
49 private String join(String file, String name) { argument
52 return file + ":" + name;
54 private String join(WindowsPath file, String name) throws WindowsException { argument
55 return join(file.getPathForWin32Calls(), name);
58 private final WindowsPath file; field in class:WindowsUserDefinedFileAttributeView
61 WindowsUserDefinedFileAttributeView(WindowsPath file, boolean followLinks) argument
[all...]
/openjdk7/jdk/test/java/util/jar/JarFile/
H A DSorryClosed.java12 * version 2 for more details (a copy is included in the LICENSE file that
26 * @summary Accessing a closed jar file should generate IllegalStateException.
38 File file = new File(System.getProperty("test.src","."), "test.jar");
42 JarFile f = new JarFile(file);
49 JarFile f = new JarFile(file);
55 JarFile f = new JarFile(file);
61 JarFile f = new JarFile(file);
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_error.c141 source_basename(const char *file) argument
145 if ( file == NULL ) {
148 p = strrchr(file, '/');
150 p = strrchr(file, '\\');
153 p = file;
161 error_assert(const char *condition, const char *file, int line) argument
164 source_basename(file), line);
170 const char *message, const char *file, int line)
184 source_basename(file), line);
187 source_basename(file), lin
169 error_handler(jboolean fatal, jvmtiError error, const char *message, const char *file, int line) argument
[all...]
/openjdk7/jdk/make/sun/cmm/
H A DMakefile8 # 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 $(install-file)
51 $(call chmod-file, 444)
54 $(install-file)
55 $(call chmod-file, 444)
58 $(install-file)
59 $(call chmod-file, 444)
62 $(install-file)
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixSecureDirectoryStream.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.*;
92 UnixPath file = getName(obj);
93 UnixPath child = ds.directory().resolve(file);
115 newdfd1 = openat(dfd, file.asByteArray(), flags , 0);
124 throw new NotDirectoryException(file.toString());
125 x.rethrowAsIOException(file);
215 deleteFile(Path file) argument
271 getFileAttributeViewImpl(UnixPath file, Class<V> type, boolean followLinks) argument
315 final UnixPath file; field in class:UnixSecureDirectoryStream.BasicFileAttributeViewImpl
318 BasicFileAttributeViewImpl(UnixPath file, boolean followLinks) argument
434 PosixFileAttributeViewImpl(UnixPath file, boolean followLinks) argument
[all...]
H A DSolarisUserDefinedFileAttributeView.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.*;
45 private byte[] nameAsBytes(UnixPath file, String name) throws IOException { argument
52 throw new FileSystemException(file.getPathForExceptionMessage(),
59 private final UnixPath file; field in class:SolarisUserDefinedFileAttributeView
62 SolarisUserDefinedFileAttributeView(UnixPath file, boolean followLinks) { argument
63 this.file = file;
[all...]
H A DUnixFileAttributeViews.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.*;
39 protected final UnixPath file; field in class:UnixFileAttributeViews.Basic
42 Basic(UnixPath file, boolean followLinks) { argument
43 this.file = file;
49 file
130 Posix(UnixPath file, boolean followLinks) argument
301 Unix(UnixPath file, boolean followLinks) argument
357 createBasicView(UnixPath file, boolean followLinks) argument
361 createPosixView(UnixPath file, boolean followLinks) argument
365 createUnixView(UnixPath file, boolean followLinks) argument
369 createOwnerView(UnixPath file, boolean followLinks) argument
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DProcessBuilder.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
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/native/sun/awt/debug/
H A Ddebug_trace.c8 * 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
34 MAX_LINE = 100000, /* reasonable upper limit on line number in source file */
44 char file[FILENAME_MAX+1]; member in struct:dtrace_info
63 static dtrace_id DTrace_CreateTraceId(const char * file, int line, dtrace_scope scope) { argument
68 strcpy(info->file, file);
99 * Finds the trace id for a given file/line location or creates one
102 static dtrace_id DTrace_GetTraceId(const char * file, in argument
127 DTrace_IsEnabledAt(dtrace_id * pfileid, dtrace_id * plineid, const char * file, int line) argument
178 DTrace_EnableFile(const char * file, dbool_t enabled) argument
194 DTrace_EnableLine(const char * file, int line, dbool_t enabled) argument
241 DTrace_VPrint( const char * file, int line, int argc, const char * fmt, va_list arglist ) argument
249 DTrace_VPrintln( const char * file, int line, int argc, const char * fmt, va_list arglist ) argument
258 DTrace_PrintFunction( DTRACE_PRINT_CALLBACK pfn, dtrace_id * pFileTraceId, dtrace_id * pLineTraceId, const char * file, int line, int argc, const char * fmt, ... ) argument
355 Java_sun_awt_DebugSettings_setCTracingOn__ZLjava_lang_String_2I( JNIEnv *env, jobject self, jboolean enabled, jstring file, jint line ) argument
[all...]
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/
H A DFileCopier.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
37 for (final File file : fileList) {
38 outputFileList.add(new CopiedFile(file, ClassGenerator.JOBJC_PACKAGE, file.getName().replace("\\.java", "")));
53 for (final File file : targetDirFileList) {
54 if (!file.isFile()) continue;
55 if (!file.getName().endsWith(".java")) continue;
56 fileList.add(file);
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A DelfStringTable.cpp12 * version 2 for more details (a copy is included in the LICENSE file that
34 // Otherwise, fallback to more expensive file operation.
35 ElfStringTable::ElfStringTable(FILE* file, Elf_Shdr shdr, int index) { argument
36 assert(file, "null file handle");
40 m_file = file;
44 long cur_offset = ftell(file);
48 if (fseek(file, shdr.sh_offset, SEEK_SET) ||
49 fread((void*)m_table, shdr.sh_size, 1, file) != 1 ||
50 fseek(file, cur_offse
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/mailto/
H A DHandler.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
82 // String dest = u.file;
121 String file = "";
124 file = spec.substring(start, limit);
130 if (file == null || file.equals(""))
134 for (int i = 0; i < file.length(); i++)
135 if (!Character.isWhitespace(file
[all...]
/openjdk7/langtools/test/tools/javac/api/6431257/
H A DT6431257.java12 * version 2 for more details (a copy is included in the LICENSE file that
55 for (JavaFileObject file : files) {
56 System.out.println("Found " + file.getName() + " in " + packageName);
57 String name = fm.inferBinaryName(CLASS_OUTPUT, file);
60 if (!fm.isSameFile(file, other))
61 throw new AssertionError(file + " != " + other);
62 if (fm.isSameFile(file, object))
63 throw new AssertionError(file + " == " + object);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/resolver/
H A DFileResolverImpl.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
47 private File file ; field in class:FileResolverImpl
51 public FileResolverImpl( ORB orb, File file )
54 this.file = file ;
84 * Checks the lastModified() timestamp of the file and optionally
85 * re-reads the Properties object from the file if newer.
89 if (file
[all...]

Completed in 319 milliseconds

1234567891011>>