Searched defs:filename (Results 151 - 174 of 174) sorted by relevance

1234567

/openjdk7/langtools/src/share/classes/com/sun/tools/javac/main/
H A DJavaCompiler.java566 * @param filename The file name of the input stream to be opened.
568 public CharSequence readSource(JavaFileObject filename) { argument
570 inputFiles.add(filename);
571 return filename.getCharContent(false);
573 log.error("error.reading.file", filename, JavacFileManager.getMessage(e));
579 * @param filename The name of the file from which input stream comes.
582 protected JCCompilationUnit parse(JavaFileObject filename, CharSequence content) { argument
588 log.printVerbose("parsing.started", filename);
591 TaskEvent e = new TaskEvent(TaskEvent.Kind.PARSE, filename);
601 tree.sourcefile = filename;
621 parse(String filename) argument
629 parse(JavaFileObject filename) argument
[all...]
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_check.c1092 get_binary_file_image(char *filename, int *pnbytes) argument
1100 fd = md_open_binary(filename);
1126 check_binary_file(char *filename) argument
1134 image = get_binary_file_image(filename, &nbytes);
1136 check_printf("No file image: %s\n", filename);
1142 filename, nbytes, p);
H A Dhprof_init.c258 /* Accept a filename, and adjust the name so that it is unique for this PID */
260 make_unique_filename(char **filename) argument
265 fd = md_open(*filename);
277 /* Make filename name.PID[.txt] */
279 old_name = *filename;
319 *filename = new_name;
549 option_error("syntax error parsing file=filename");
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DConfig.java200 private Config(String filename, InputStream in) throws IOException { argument
202 if (filename.startsWith("--")) {
204 String config = filename.substring(2).replace("\\n", "\n");
207 in = new FileInputStream(expand(filename));
/openjdk7/jdk/src/share/demo/jvmti/heapTracker/
H A DheapTracker.c491 char *filename; local
503 filename = NULL;
532 error = (*jvmti)->GetSourceFileName(jvmti, klass, &filename);
534 check_jvmti_error(jvmti, error, "Cannot get source filename");
568 (filename==NULL?"UnknownFile":filename),
575 deallocate(jvmti, filename);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixNativeDispatcher.java99 * FILE* fopen(const char *filename, const char* mode);
101 static long fopen(UnixPath filename, String mode) throws UnixException { argument
102 NativeBuffer pathBuffer = copyToNativeBuffer(filename);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicFileChooserUI.java380 public void setFileName(String filename) { argument
841 String filename = getFileName();
845 if (filename != null) {
846 // Remove whitespaces from end of filename
847 int i = filename.length() - 1;
849 while (i >=0 && filename.charAt(i) <= ' ') {
853 filename = filename.substring(0, i + 1);
856 if (filename == null || filename
991 isGlobPattern(String filename) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalFileChooserUI.java811 public void setFileName(String filename) { argument
813 fileNameTextField.setText(filename);
/openjdk7/jdk/src/share/classes/sun/awt/
H A DSunToolkit.java770 String filename) {
773 security.checkRead(filename);
776 Image img = (Image)imgCache.get(filename);
779 img = tk.createImage(new FileImageSource(filename));
780 imgCache.put(filename, img);
788 public Image getImage(String filename) { argument
789 return getImageFromHash(this, filename);
796 public Image createImage(String filename) { argument
799 security.checkRead(filename);
801 return createImage(new FileImageSource(filename));
769 getImageFromHash(Toolkit tk, String filename) argument
[all...]
/openjdk7/hotspot/src/share/vm/classfile/
H A DclassLoader.cpp253 char* filename; local
255 filename = name_buf;
257 filename = NEW_RESOURCE_ARRAY(char, name_len + 1);
262 !(*ReadMappedEntry)(_zip, entry, &buffer, filename)) {
266 if (!(*ReadEntry)(_zip, entry, buffer, filename)) return NULL;
476 // Canonicalized filename
667 const char* filename() { function in class:PackageInfo
845 Handle p = java_lang_String::create_from_str(pp->filename(), THREAD);
H A DjavaClasses.cpp1739 oop filename = StringTable::intern(source, CHECK_0); local
1740 java_lang_StackTraceElement::set_fileName(element(), filename); local
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsFileChooserUI.java880 public void setFileName(String filename) { argument
882 filenameTextField.setText(filename);
/openjdk7/jdk/src/share/classes/java/awt/
H A DToolkit.java906 * with the same filename to the same returned Image.
926 * @param filename the name of a file containing pixel data
934 public abstract Image getImage(String filename); argument
986 * @param filename the name of a file containing pixel data
994 public abstract Image createImage(String filename); argument
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/
H A DHtmlDocletWriter.java76 * "java/lang/Object.html", then the filename is "Object.html".
78 public String filename = ""; field in class:HtmlDocletWriter
98 * @param filename File to be generated.
101 String filename) throws IOException {
102 super(configuration, filename);
104 this.filename = filename;
112 * @param filename Name of file to be generated.
116 String path, String filename,
118 super(configuration, path, filename);
100 HtmlDocletWriter(ConfigurationImpl configuration, String filename) argument
115 HtmlDocletWriter(ConfigurationImpl configuration, String path, String filename, String relativePath) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/
H A DHtmlWriter.java158 * @param filename File Name to which the PrintWriter will
167 String path, String filename, String docencoding)
169 super(Util.genWriter(configuration, path, filename, docencoding));
171 htmlFilename = filename;
166 HtmlWriter(Configuration configuration, String path, String filename, String docencoding) argument
/openjdk7/jdk/src/share/classes/sun/security/tools/
H A DKeyTool.java117 private String filename = null; field in class:KeyTool
266 FILEOUT("file", "<filename>", "output.file.name"),
267 FILEIN("file", "<filename>", "input.file.name"),
269 INFILE("infile", "<filename>", "input.file.name"),
276 OUTFILE("outfile", "<filename>", "output.file.name"),
292 JARFILE("jarfile", "<filename>", "signed.jar.file"),
486 filename = args[++i];
923 if (filename != null) {
925 (filename));
935 if (verbose && filename !
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaFileChooserUI.java472 public void setFileName(final String filename) { argument
474 filenameTextField.setText(filename);
825 // Make a file from the filename
826 File makeFile(final JFileChooser fc, final String filename) { argument
828 // whitespace is legal on Macs, even on beginning and end of filename
829 if (filename != null && !filename.equals("")) {
831 selectedFile = fs.createFileObject(filename);
833 selectedFile = fs.createFileObject(fc.getCurrentDirectory(), filename);
904 final String filename
[all...]
/openjdk7/jdk/src/share/classes/sun/security/tools/policytool/
H A DPolicyTool.java172 void openPolicy(String filename) throws FileNotFoundException, argument
198 if (filename == null) {
208 setPolicyFileName(filename);
209 parser.read(new FileReader(filename));
305 void savePolicy(String filename) argument
312 parser.write(new FileWriter(filename));
2281 // pop up a dialog box for the user to enter a filename.
2296 // get the entered filename
2298 String filename = saveAsFile.getPath();
2303 tool.savePolicy(filename);
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dgtk2_interface.h616 const gchar *filename; member in struct:__anon1007
731 GdkPixbuf *gtk2_get_icon(const gchar *filename, gint size);
750 GdkPixbuf *(*fp_gdk_pixbuf_new_from_file)(const char *filename, GError **error);
766 const gchar *filename);
768 const char *filename);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/
H A DCOFFFileParser.java64 public COFFFile parse(String filename) throws COFFException { argument
66 File file = new File(filename);
/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.cpp1890 static bool file_exists(const char* filename) { argument
1892 if (filename == NULL || strlen(filename) == 0) {
1895 return os::stat(filename, &statbuf) == 0;
2097 void * os::dll_load(const char *filename, char *ebuf, int ebuflen) { argument
2098 void * result= ::dlopen(filename, RTLD_LAZY);
2111 void * os::dll_load(const char *filename, char *ebuf, int ebuflen) argument
2113 void * result= ::dlopen(filename, RTLD_LAZY);
2134 int file_descriptor= ::open(filename, O_RDONLY | O_NONBLOCK);
2294 static bool _print_ascii_file(const char* filename, outputStrea argument
5499 char filename[MAX_PATH]; local
[all...]
/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.cpp1652 static bool file_exists(const char* filename) { argument
1654 if (filename == NULL || strlen(filename) == 0) {
1657 return os::stat(filename, &statbuf) == 0;
1851 void * os::dll_load(const char *filename, char *ebuf, int ebuflen) argument
1862 ElfFile ef(filename);
1880 filename);
1893 result = os::Linux::dlopen_helper(filename, ebuf, ebuflen);
1899 VM_LinuxDllLoad op(filename, ebuf, ebuflen);
1911 result = os::Linux::dlopen_helper(filename, ebu
2062 dlopen_helper(const char *filename, char *ebuf, int ebuflen) argument
2071 dll_load_in_vmthread(const char *filename, char *ebuf, int ebuflen) argument
2116 _print_ascii_file(const char* filename, outputStream* st) argument
5238 char filename[MAX_PATH]; local
[all...]
/openjdk7/hotspot/src/os/solaris/vm/
H A Dos_solaris.cpp1891 static bool file_exists(const char* filename) { argument
1893 if (filename == NULL || strlen(filename) == 0) {
1896 return os::stat(filename, &statbuf) == 0;
2079 void * os::dll_load(const char *filename, char *ebuf, int ebuflen) argument
2081 void * result= ::dlopen(filename, RTLD_LAZY);
2102 int file_descriptor= ::open(filename, O_RDONLY | O_NONBLOCK);
2225 static bool _print_ascii_file(const char* filename, outputStream* st) { argument
2226 int fd = ::open(filename, O_RDONLY);
5830 char filename[MAX_PAT local
[all...]
/openjdk7/hotspot/src/os/windows/vm/
H A Dos_windows.cpp1145 static bool file_exists(const char* filename) { argument
1146 if (filename == NULL || strlen(filename) == 0) {
1149 return GetFileAttributes(filename) != INVALID_FILE_ATTRIBUTES;
1256 static char filename[ MAX_PATH ]; local
1280 filename, sizeof(filename))) {
1281 filename[0] = '\0';
1292 result = func(pid, filename, (address)modinfo.lpBaseOfDll,
4591 char filename[MAX_PAT local
[all...]

Completed in 212 milliseconds

1234567