Searched defs:file (Results 401 - 425 of 497) sorted by relevance

<<11121314151617181920

/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/
H A DDirectoryScanner.java74 * scans a file system starting at a given root directory,
77 * When such a file is found, the <code>DirectoryScanner</code> takes
80 * com.sun.jmx.examples.scandir.config.ResultRecord} for this file,
81 * <i>and or</i> delete that file.
84 * The code that would actually delete the file is commented out - so that
110 * Notifications of this type will be emitted whenever a file that
262 // Create a new ScanTask object for our root directory file.
283 // matching file.
287 void actOn(File file) { argument
299 if (deleteFile(file)) {
337 deleteFile(File file) argument
353 notifyMatch(File file) argument
375 logResult(File file,Action[] actions) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
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...]
H A DUnixFileSystemProvider.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.*;
30 import java.nio.file.spi.FileTypeDetector;
60 * Constructs a new file system using the given default directory.
66 return "file";
115 UnixPath file = UnixPath.toUnixPath(obj);
118 return (V) UnixFileAttributeViews.createBasicView(file, followLink
130 readAttributes(Path file, Class<A> type, LinkOption... options) argument
[all...]
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...]
/openjdk7/langtools/test/tools/javac/diags/
H A DExample.java12 * version 2 for more details (a copy is included in the LICENSE file that
43 import com.sun.tools.javac.file.JavacFileManager;
53 * The head of the file, up to the first Java code, is scanned
57 Example(File file) { argument
58 this.file = file;
65 findFiles(file, srcFiles);
71 throw new Error("Example " + file + " has no info file");
125 private void foundInfo(File file) { argument
279 File file; field in class:Example
[all...]
H A DMessageFile.java12 * version 2 for more details (a copy is included in the LICENSE file that
37 * A line of text within the message file.
110 * A message within the message file.
412 MessageFile(File file) throws IOException { argument
413 Reader in = new FileReader(file);
444 void write(File file) throws IOException { argument
445 Writer out = new FileWriter(file);
H A DRunExamples.java12 * version 2 for more details (a copy is included in the LICENSE file that
43 * stdout, a plain text file or an HTML file. This program can be
51 * -o file write output to file: format will be HTML if
52 * file has .html extension; otherwise it will be plain text.
274 TextRunner(File file, boolean showFiles, boolean raw, boolean verbose) argument
277 this.file = file;
278 out = new PrintWriter(new FileWriter(file));
332 File file; field in class:RunExamples.TextRunner
337 HTMLRunner(File file, boolean showFiles, boolean raw, boolean verbose, String title) argument
584 File file; field in class:RunExamples.HTMLRunner
[all...]
/openjdk7/langtools/test/tools/javac/processing/
H A DT6920317.java12 * version 2 for more details (a copy is included in the LICENSE file that
27 * @summary package-info.java file has to be specified on the javac cmdline, else it will not be avail
56 /** Only applies to files on classpath/sourcepath, when there is another file on the
57 * other path of type OLD, in which case, this file must be newer than the other one. */
59 /** Only applies to files on classpath/sourcepath, when there is no file in any other
60 * location, in which case, this file will be generated by the annotation processor. */
96 // Annotation used in test cases to annotate package. This file is
103 // package-info file to use on the command line when requied
175 // command line file: either omitted or given
276 /** Write a file wit
406 read(File file) argument
427 write(JavaFileObject file, byte[] bytes) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/shell/
H A DShellFolder.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
49 * Create a file system shell folder from a file
57 * @return Whether this is a file system shell folder
235 * Return a shell folder from a file object
236 * @exception FileNotFoundException if file does not exist
238 public static ShellFolder getShellFolder(File file) throws FileNotFoundException { argument
239 if (file instanceo
457 getFolderColumnValue(File file, int column) argument
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DRandomAccessFile.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
35 * random access file. A random access file behaves like a large
36 * array of bytes stored in the file system. There is a kind of cursor,
37 * or index into the implied array, called the <em>file pointer</em>;
38 * input operations read bytes starting at the file pointer and advance
39 * the file pointer past the bytes read. If the random access file i
201 RandomAccessFile(File file, String mode) argument
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DSecurityManager.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
170 * the path name of a file (or directory).
176 * specified file (or for files in the specified directory).
513 * on to read a file or open a socket on behalf of another method.
807 * specified by the string argument file. The argument is either a
840 * calling thread is not allowed to read from the specified file
852 * @param fd the system-dependent file descriptor.
854 * permission to access the specified file descripto
887 checkRead(String file) argument
922 checkRead(String file, Object context) argument
978 checkWrite(String file) argument
1006 checkDelete(String file) argument
[all...]
/openjdk7/jdk/src/share/classes/java/security/
H A DKeyStore.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
113 * // get user password and file input stream
191 * Constant to lookup in the Security properties file to determine
193 * In the Security properties file, the default keystore type is given as:
711 * properties file, or the string
714 * The Java security properties file is located in the file named
726 * file) t
1510 newInstance(String type, Provider provider, File file, ProtectionParameter protection) argument
1534 private final File file; field in class:KeyStore.Builder.FileBuilder
1543 FileBuilder(String type, Provider provider, File file, ProtectionParameter protection, AccessControlContext context) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipFile.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 * This class is used to read entries from a zip file.
58 private final String name; // zip file name
60 private final boolean locsig; // if zip file starts with LOCSIG (usually true)
67 * Mode flag to open a zip file for reading.
72 * Mode flag to open a zip file and mark it for deletion. The file will be
91 // in-use zip file i
144 ZipFile(File file, int mode) argument
158 ZipFile(File file) argument
196 ZipFile(File file, int mode, Charset charset) argument
267 ZipFile(File file, Charset charset) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSF2Soundbank.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
55 // version of the Sound Font RIFF file
101 public SF2Soundbank(File file) throws IOException { argument
103 sampleFile = file;
104 InputStream is = new FileInputStream(file);
512 public void save(File file) throws IOException { argument
513 writeSoundbank(new RIFFWriter(file, "sfbk"));
/openjdk7/jdk/src/share/classes/com/sun/tools/script/shell/
H A DMain.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
67 // current script file encoding selected
97 // is treated as script file name and rest of the non-option
189 * Adds script source file Command
190 * @param se ScriptEngine used to evaluate the script file
191 * @param fileName script file name
192 * @param encoding script file encoding
242 * Processes a given source file o
521 fileToURL(File file) argument
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaIcon.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
213 final File file; field in class:AquaIcon.FileIcon
215 public FileIcon(final File file, final int width, final int height) { argument
217 this.file = file;
220 public FileIcon(final File file) { argument
221 this(file, 16, 16);
225 return AquaUtils.getCImageCreator().createImageOfFile(file
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A DvmError.cpp12 * version 2 for more details (a copy is included in the LICENSE file that
45 // List of environment variables that should be reported in error log file.
73 // into an error report file (hs_err_pid<pid>.log) and abort VM. If multiple
370 // In error file give some solutions
384 st->print_cr("# This output file may be truncated or incomplete.");
414 const char *file = p ? p+1 : _filename; local
416 const char *file = _filename;
418 size_t len = strlen(file);
421 strncpy(buf, file, buflen);
478 STEP(63, "(printing core file informatio
[all...]
/openjdk7/jdk/src/windows/native/java/io/
H A DWin32FileSystem_md.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
117 /* Check whether or not the file name in "path" is a Windows reserved
119 returned result from GetFullPathName. If the file name in the path
151 jobject file)
155 WITH_NATIVE_PATH(env, file, ids.path, path) {
173 jobject file, jint a)
187 WITH_NATIVE_PATH(env, file, ids.path, path) {
197 jobject file,
150 Java_java_io_Win32FileSystem_getBooleanAttributes(JNIEnv *env, jobject this, jobject file) argument
172 Java_java_io_Win32FileSystem_checkAccess(JNIEnv *env, jobject this, jobject file, jint a) argument
196 Java_java_io_Win32FileSystem_setPermission(JNIEnv *env, jobject this, jobject file, jint access, jboolean enable, jboolean owneronly) argument
223 Java_java_io_Win32FileSystem_getLastModifiedTime(JNIEnv *env, jobject this, jobject file) argument
245 Java_java_io_Win32FileSystem_getLength(JNIEnv *env, jobject this, jobject file) argument
317 Java_java_io_Win32FileSystem_delete0(JNIEnv *env, jobject this, jobject file) argument
334 Java_java_io_Win32FileSystem_list(JNIEnv *env, jobject this, jobject file) argument
387 Java_java_io_Win32FileSystem_createDirectory(JNIEnv *env, jobject this, jobject file) argument
419 Java_java_io_Win32FileSystem_setLastModifiedTime(JNIEnv *env, jobject this, jobject file, jlong time) argument
446 Java_java_io_Win32FileSystem_setReadOnly(JNIEnv *env, jobject this, jobject file) argument
485 Java_java_io_Win32FileSystem_getSpace0(JNIEnv *env, jobject this, jobject file, jint t) argument
[all...]
/openjdk7/jdk/test/sun/security/tools/keytool/
H A DKeyToolTest.java12 * version 2 for more details (a copy is included in the LICENSE file that
55 * NSS PKCS11 config file are changed, DSA not supported now.
101 * Helper, removes a file
287 * @param file file for keystore, null or "NONE" for PKCS11
293 KeyStore loadStore(String file, String pass, String type) throws Exception { argument
296 if (file != null && !file.equals("NONE")) {
297 is = new FileInputStream(file);
322 testOK("", "-keystore x.jks -storepass changeit -exportcert -alias p1 -file
[all...]
/openjdk7/jdk/test/tools/pack200/
H A DUtils.java12 * version 2 for more details (a copy is included in the LICENSE file that
24 import java.nio.file.Path;
35 import java.nio.file.Files;
47 import static java.nio.file.StandardCopyOption.*;
193 static String baseName(File file, String extension) { argument
194 return baseName(file.getAbsolutePath(), extension);
223 throw new IOException("file not found or readable: " + src);
226 throw new IOException("file not found or writeable: " + dest);
314 // given a jar file foo.jar will write to foo.pack
324 // save the file orderin
[all...]
/openjdk7/jdk/test/tools/pack200/pack200-verifier/src/xmlkit/
H A DClassReader.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
97 for (String file; (file = files.readLine()) != null;) {
98 doFile(file, source, dest, options, encoding, contError);
332 // read the file header
347 public Element readFrom(File file) throws IOException { argument
350 in = new FileInputStream(file);
353 e.setAttr("path", file
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/
H A DTagletManager.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
250 * of directory and JAR file URLs.
253 * @return the resulting array of directory and JAR file URLs
274 * Returns the directory or JAR file URL corresponding to the specified
275 * local file name.
277 * @param file the File object
278 * @return the resulting directory or JAR file URL, or null if unknown
280 private static URL fileToURL(File file) { argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DLog.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
220 * source file name and source code position of the error is added to the set.
262 protected boolean shouldReport(JavaFileObject file, int pos) { argument
263 if (multipleErrors || file == null)
266 Pair<JavaFileObject,Integer> coords = new Pair<JavaFileObject,Integer>(file, pos);
500 JavaFileObject file = source.getFile();
501 if (file != null)
503 file
[all...]
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dgzio.c7 * particular file as subject to the "Classpath" exception as provided
8 * by Oracle in the LICENSE file that accompanied this code.
13 * version 2 for more details (a copy is included in the LICENSE file that
29 * Compile this file with -DNO_GZCOMPRESS to avoid the compression code.
73 #define ASCII_FLAG 0x01 /* bit 0 set: file probably ascii text */
76 #define ORIG_NAME 0x08 /* bit 3 set: original file name present */
77 #define COMMENT 0x10 /* bit 4 set: file comment present */
83 int z_eof; /* set if end of input file */
84 FILE *file; /* .gz file */ member in struct:gz_stream
627 gzprintf(gzFile file, const char *format, ...) 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...]

Completed in 75 milliseconds

<<11121314151617181920