Searched defs:file (Results 276 - 300 of 497) sorted by relevance

<<11121314151617181920

/openjdk7/langtools/test/tools/javac/6394683/
H A DT6394683.java12 * version 2 for more details (a copy is included in the LICENSE file that
27 * @summary need to resolve different file-type precedence semantics for javac and 269
41 TestFile(File file) { argument
42 super(file.getPath());
49 JavaTestFile(File file, String text) { argument
50 super(file);
/openjdk7/langtools/test/tools/javac/6400872/
H A DT6400872.java12 * version 2 for more details (a copy is included in the LICENSE file that
109 static void add(JarOutputStream j, File base, File file) throws IOException { argument
110 File f = new File(base, file.getPath());
115 add(j, base, new File(file, c));
117 JarEntry e = new JarEntry(file.getPath());
/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/test/javax/crypto/spec/RC2ParameterSpec/
H A DRC2AlgorithmParameters.java12 * version 2 for more details (a copy is included in the LICENSE file that
124 private static void dumpBytes(byte[] encoded, String file) argument
127 FileOutputStream fos = new FileOutputStream(file);
/openjdk7/jdk/test/javax/imageio/plugins/shared/
H A DBitDepth.java12 * version 2 for more details (a copy is included in the LICENSE file that
176 File file = new File("BitDepth_" + biTypeNames[type] + "." + format);
178 ImageIO.write(bi, format, file);
185 return file;
195 private boolean testReadRGB(File file) throws IOException { argument
198 BufferedImage bi = ImageIO.read(file);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXDesktopPeer.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
75 public void open(File file) throws IOException { argument
77 launch(file.toURI());
79 throw new IOException(file.toString());
83 public void edit(File file) throws IOException { argument
88 public void print(File file) throws IOException { argument
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DLinuxUserDefinedFileAttributeView.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.*;
52 private byte[] nameAsBytes(UnixPath file, String name) throws IOException { argument
58 throw new FileSystemException(file.getPathForExceptionMessage(),
87 private final UnixPath file; field in class:LinuxUserDefinedFileAttributeView
90 LinuxUserDefinedFileAttributeView(UnixPath file, boolean followLinks) { argument
91 this.file = file;
[all...]
H A DSolarisAclFileAttributeView.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.*;
66 private final UnixPath file; field in class:SolarisAclFileAttributeView
69 SolarisAclFileAttributeView(UnixPath file, boolean followLinks) { argument
70 this.file = file;
75 * Permission checks to access file
77 checkAccess(UnixPath file, boolean checkRead, boolean checkWrite) argument
[all...]
/openjdk7/langtools/test/tools/javac/Paths/6638501/
H A DJarFromManifestFailure.java12 * version 2 for more details (a copy is included in the LICENSE file that
121 static void add(JarOutputStream j, File base, File file) throws IOException { argument
122 File f = new File(base, file.getPath());
124 JarEntry e = new JarEntry(new String(file.getPath() + File.separator).replace('\\', '/'));
125 e.setSize(file.length());
130 add(j, base, new File(file, c));
134 JarEntry e = new JarEntry(file.getPath().replace('\\', '/'));
/openjdk7/langtools/test/tools/javac/T6956462/
H A DT6956462.java12 * version 2 for more details (a copy is included in the LICENSE file that
60 private CompilationUnitTree file; field in class:T6956462.MyVisitor
67 public Tree visitCompilationUnit(CompilationUnitTree file, Void v) { argument
68 this.file = file;
69 for (Tree typeDecl : file.getTypeDecls()) {
104 trees.getScope(trees.getPath(file, ident));
/openjdk7/langtools/test/tools/javac/diags/
H A DMessageInfo.java12 * version 2 for more details (a copy is included in the LICENSE file that
45 * -o file output file
46 * -check just check message file
52 * file javac compiler.properties file
96 System.out.println(" java MessageInfo [options] [file]");
99 System.out.println(" -o file output file");
100 System.out.println(" -check just check message file");
355 getNotYetList(File file) argument
[all...]
/openjdk7/langtools/test/tools/javac/generics/
H A DParametricException.java12 * version 2 for more details (a copy is included in the LICENSE file that
90 public AChurchBoolean readIf(File file, byte[] output) throws IOException { argument
101 }, new Pair<File, byte[]>(file, output));
/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...]
H A DZipArchive.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;
46 import com.sun.tools.javac.file.JavacFileManager.Archive;
47 import com.sun.tools.javac.file.RelativePath.RelativeDirectory;
48 import com.sun.tools.javac.file.RelativePath.RelativeFile;
114 public JavaFileObject getFileObject(RelativeDirectory subdirectory, String file) { argument
115 ZipEntry ze = new RelativeFile(subdirectory, file).getZipEntry(zfile);
116 return new ZipFileObject(this, file, z
[all...]
H A DZipFileIndexArchive.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;
42 import com.sun.tools.javac.file.JavacFileManager.Archive;
43 import com.sun.tools.javac.file.RelativePath.RelativeDirectory;
44 import com.sun.tools.javac.file.RelativePath.RelativeFile;
73 public JavaFileObject getFileObject(RelativeDirectory subdirectory, String file) { argument
74 RelativeFile fullZipFileName = new RelativeFile(subdirectory, file);
94 * A subclass of JavaFileObject representing zip entries using the com.sun.tools.javac.file
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/
H A DAttribute.java110 * Dump attribute to file stream in binary format.
112 * @param file Output file stream
115 public void dump(DataOutputStream file) throws IOException argument
117 file.writeShort(name_index);
118 file.writeInt(length);
127 * @param name the name of the attribute as stored in the class file
136 * @param name the name of the attribute as stored in the class file
148 * @param file Input stream
154 public static final Attribute readAttribute(DataInputStream file, argument
[all...]
H A DClassParser.java66 * Wrapper class that parses a given Java .class file. The method <A
75 * further details about the structure of a bytecode file.
80 private DataInputStream file; field in class:ClassParser
91 private boolean is_zip; // Loaded from zip file
98 * @param file Input stream
101 public ClassParser(InputStream file, String file_name) { argument
104 String clazz = file.getClass().getName(); // Not a very clean solution ...
107 if(file instanceof DataInputStream) // Is already a data stream
108 this.file = (DataInputStream)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 DConstantPool.java89 * Read constants from given file stream.
91 * @param file Input stream
95 ConstantPool(DataInputStream file) throws IOException, ClassFormatException argument
99 constant_pool_count = file.readUnsignedShort();
106 constant_pool[i] = Constant.readConstant(file);
222 * Dump constant pool to file stream in binary format.
224 * @param file Output file stream
227 public void dump(DataOutputStream file) throws IOException argument
229 file
[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 DLocalVariableTypeTable.java8 * contributor license agreements. See the NOTICE file distributed with
10 * The ASF licenses this file to You under the Apache License, Version 2.0
11 * (the "License"); you may not use this file except in compliance with
87 public final void dump(DataOutputStream file) throws IOException argument
89 super.dump(file);
90 file.writeShort(local_variable_type_table_length);
92 local_variable_type_table[i].dump(file);
H A DSignature.java83 * Construct object from file stream.
86 * @param file Input stream
90 Signature(int name_index, int length, DataInputStream file, argument
93 this(name_index, length, file.readUnsignedShort(), constant_pool);
122 * Dump source file attribute to file stream in binary format.
124 * @param file Output file stream
127 public final void dump(DataOutputStream file) throws IOException argument
129 super.dump(file);
[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 DSecuritySupport.java9 * you may not use this file except in compliance with the License.
105 static FileInputStream getFileInputStream(final File file) argument
110 return new FileInputStream(file);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/posix/
H A DDSO.java12 * version 2 for more details (a copy is included in the LICENSE file that
35 private MemoizedObject file; // contains ELFFile field in class:DSO
63 this.file = new ELFFileByName();
69 this.file = new ELFFileByAddress();
86 file = new ELFFileByAddress();
117 /** return true if file is a .so */
151 return (ELFFile) file.getValue();

Completed in 124 milliseconds

<<11121314151617181920