/openjdk7/langtools/test/tools/javac/api/ |
H A D | T6501502.java | 49 fm = c.getStandardFileManager(null, null, null); 63 FileObject fo = fm.getJavaFileObjects(f).iterator().next(); 70 StandardJavaFileManager fm; field in class:T6501502
|
H A D | T6400207.java | 37 static void testList(JavaFileManager fm, argument 46 fm.list(location, packageName, kinds, false); 64 JavaFileManager fm = 77 testList(fm, null, null, null); 78 testList(fm, bogusLocation, packageName, kinds); 79 testList(fm, knownLocation, packageName, kinds); 80 testList(fm, null, packageName, kinds); 81 testList(fm, knownLocation, null, kinds); 82 testList(fm, knownLocation, packageName, null); 83 testList(fm, bogusLocatio [all...] |
H A D | T6306137.java | 40 final StandardJavaFileManager fm; field in class:T6306137 59 fm = compiler.getStandardFileManager(dl, null, null); 62 fm.getJavaFileObjectsFromFiles(Arrays.asList(new File(srcdir, "T6306137.java"))); 68 compiler.getTask(null, fm, dl, args, null, files).call();
|
H A D | T6397104.java | 43 void test(StandardJavaFileManager fm, argument 52 : fm.getJavaFileObjectsFromFiles(Arrays.asList(siblingFile)).iterator().next(); 54 fm.getFileForOutput(location, "java.lang", relName, sibling); 68 StandardJavaFileManager fm; 71 fm = tool.getStandardFileManager(null, null, null); 72 fm.setLocation(location, Arrays.asList(new File("."))); 73 test(fm, location, siblingFile, relName, expectedPath); 76 fm = tool.getStandardFileManager(null, null, null); 77 test(fm, CLASS_OUTPUT, siblingFile, relName, expectedPath);
|
H A D | TestJavacTask_Lock.java | 65 StandardJavaFileManager fm; field in class:TestJavacTask_Lock 69 fm = comp.getStandardFileManager(null, null, null); 86 fm.getJavaFileObjects(new File(testSrc, thisClassName + ".java")); 90 CompilationTask t = comp.getTask(null, fm, null, options, null, files);
|
H A D | TestJavacTask_Multiple.java | 70 StandardJavaFileManager fm = comp.getStandardFileManager(null, null, null); 72 test(comp, fm, tk); 83 void test(JavaCompiler comp, StandardJavaFileManager fm, TestKind tk) { argument 88 fm.getJavaFileObjects(new File(testSrc, thisClassName + ".java")); 95 CompilationTask t = comp.getTask(null, fm, null, options, null, files);
|
H A D | TestJavacTask_ParseAttrGen.java | 43 StandardJavaFileManager fm; field in class:TestJavacTask_ParseAttrGen 47 fm = comp.getStandardFileManager(null, null, null); 67 fm.getJavaFileObjects(new File(testSrc, thisClassName + ".java")); 70 fm.setLocation(StandardLocation.CLASS_OUTPUT, Arrays.asList(tmpDir)); 71 JavacTask t = (JavacTask) comp.getTask(null, fm, null, null, null, files);
|
H A D | T6877206.java | 85 void test(StandardJavaFileManager fm, File f, String pkg, int expect) throws Exception { argument 89 fm.setLocation(StandardLocation.CLASS_PATH, Collections.singleton(f)); 92 for (JavaFileObject fo: fm.list(StandardLocation.CLASS_PATH, 105 fm.close();
|
/openjdk7/langtools/test/tools/javac/ |
H A D | T6358166.java | 50 JavacFileManager fm = new JavacFileManager(new Context(), false, null); 51 JavaFileObject f = fm.getFileForInput(testSrc + File.separatorChar + self + ".java"); 53 test(fm, f, "-verbose", "-d", "."); 55 test(fm, f, "-verbose", "-d", ".", "-XprintRounds", "-processorpath", ".", "-processor", self); 58 static void test(JavacFileManager fm, JavaFileObject f, String... args) throws Throwable { argument 60 fm.setContext(context);
|
H A D | T6358168.java | 52 JavacFileManager fm = new JavacFileManager(new Context(), false, null); 53 JavaFileObject f = fm.getFileForInput(testSrc + File.separatorChar + T6358168.class.getName() + ".java"); 57 testNoAnnotationProcessing(fm, f); 60 testAnnotationProcessing(fm, f); 69 static void testNoAnnotationProcessing(JavacFileManager fm, JavaFileObject f) throws Throwable { argument 71 fm.setContext(context); 88 static void testAnnotationProcessing(JavacFileManager fm, JavaFileObject f) throws Throwable { argument 90 fm.setContext(context);
|
H A D | T6358024.java | 46 static JavacFileManager fm; field in class:T6358024 52 fm = new JavacFileManager(new Context(), false, null); 53 JavaFileObject f = fm.getFileForInput(testSrc + File.separatorChar + self + ".java"); 55 test(fm, f, 59 test(fm, f, 66 static void test(JavacFileManager fm, JavaFileObject f, Option[] opts, int expect) throws Throwable { argument 78 fm,
|
/openjdk7/langtools/test/tools/javac/unit/ |
H A D | T6198196.java | 36 static StandardJavaFileManager fm; field in class:T6198196 39 fo = fm.getJavaFileObjectsFromStrings(Arrays.asList(pathname)).iterator().next(); 46 fm = ToolProvider.getSystemJavaCompiler().getStandardFileManager(null, null, null);
|
/openjdk7/langtools/test/tools/javac/api/lib/ |
H A D | ToolTester.java | 40 public final StandardJavaFileManager fm = getFileManager(tool, null, null); field in class:ToolTester 45 StandardJavaFileManager fm = tool.getStandardFileManager(dl, null, encoding); 47 fm.setLocation(SOURCE_PATH, Arrays.asList(test_src)); 48 fm.setLocation(CLASS_PATH, test_class_path); 49 fm.setLocation(CLASS_OUTPUT, Arrays.asList(test_classes)); 53 return fm;
|
/openjdk7/langtools/test/tools/javac/classreader/ |
H A D | T7031108.java | 71 StandardJavaFileManager fm = comp.getStandardFileManager(null, null, null); 75 fm.setLocation(StandardLocation.CLASS_OUTPUT, Arrays.asList(cwd)); 76 compile(comp, fm, null, null, pC); 79 fm.setLocation(StandardLocation.ANNOTATION_PROCESSOR_PATH, 80 fm.getLocation(StandardLocation.CLASS_PATH)); 81 fm.setLocation(StandardLocation.CLASS_PATH, Arrays.asList(cwd)); 82 compile(comp, fm, null, getClass().getName(), dummy); 88 compile(comp, fm, dc, getClass().getName(), dummy); 107 void compile(JavaCompiler comp, JavaFileManager fm, argument 116 CompilationTask task = comp.getTask(null, fm, d [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/ |
H A D | MetalToolTipUI.java | 133 private int calcAccelSpacing(JComponent c, FontMetrics fm, String accel) { argument 137 SwingUtilities2.stringWidth(c, fm, accel);
|
/openjdk7/jdk/src/macosx/classes/sun/font/ |
H A D | CFontConfiguration.java | 40 public CFontConfiguration(SunFontManager fm) { argument 41 super(fm); 44 public CFontConfiguration(SunFontManager fm, argument 48 super(fm, preferLocaleFonts, preferPropFonts);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/ |
H A D | Server.java | 71 // static CwdFileManager fm = new CwdFileManager(tool.getStandardFileManager()); 72 static StandardJavaFileManager fm = tool.getStandardFileManager(null, null, null); field in class:Server 77 // FIXME tool.setFileManager(fm); 105 // fm.cwd=null; 129 fm.setLocation(location, path); 130 res = compile(out, fm, args); 191 private int compile(OutputStream out, StandardJavaFileManager fm, List<String> args) { argument
|
/openjdk7/langtools/test/tools/javac/diags/ |
H A D | CheckResourceKeys.java | 296 JavaFileManager fm = c.getStandardFileManager(null, null, null); 297 JavaFileManager.Location javacLoc = findJavacLocation(fm); 306 for (JavaFileObject fo: fm.list(javacLoc, 321 JavaFileManager.Location findJavacLocation(JavaFileManager fm) { argument 326 JavaFileObject fo = fm.getJavaFileForInput(l,
|
/openjdk7/langtools/test/tools/javap/classfile/deps/ |
H A D | GetDeps.java | 68 final StandardJavaFileManager fm = new JavacFileManager(new Context(), false, null); 70 fm.setLocation(StandardLocation.CLASS_PATH, classpath); 72 ClassFileReader reader = new ClassFileReader(fm); 138 private JavaFileManager fm; field in class:GetDeps.ClassFileReader 140 ClassFileReader(JavaFileManager fm) { argument 141 this.fm = fm; 147 JavaFileObject fo = fm.getJavaFileForInput( 150 fo = fm.getJavaFileForInput(
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | GraphicsUtilities.java | 57 FontMetrics fm = g.getFontMetrics(); 58 return fm.getStringBounds(s, 0, s.length(), g); 64 public static int getStringWidth(String s, FontMetrics fm) { argument 65 return fm.stringWidth(s);
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | FontStrikeDesc.java | 191 public static int getFMHintIntVal(Object fm) { argument 192 if (fm == VALUE_FRACTIONALMETRICS_OFF || 193 fm == VALUE_FRACTIONALMETRICS_DEFAULT) { 201 int fStyle, int aa, int fm) { 206 fmHint = fm; 224 if (fm == INTVAL_FRACTIONALMETRICS_ON) { 200 FontStrikeDesc(AffineTransform devAt, AffineTransform at, int fStyle, int aa, int fm) argument
|
H A D | NullFontScaler.java | 70 int fm, float boldness, float italic, boolean disableHinting) { 69 createScalerContext(double[] matrix, int aa, int fm, float boldness, float italic, boolean disableHinting) argument
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WFontConfiguration.java | 42 public WFontConfiguration(SunFontManager fm) { argument 43 super(fm); 48 public WFontConfiguration(SunFontManager fm, argument 51 super(fm, preferLocaleFonts, preferPropFonts);
|
/openjdk7/langtools/test/tools/javac/6508981/ |
H A D | TestInferBinaryName.java | 73 JavaFileManager fm = 76 fm, testClassName, "com.sun.tools.javac.file.RegularFileObject"); 81 JavaFileManager fm = 84 fm, testClassName, "com.sun.tools.javac.file.SymbolArchive$SymbolFileObject"); 89 JavaFileManager fm = 92 fm, testClassName, "com.sun.tools.javac.file.ZipArchive$ZipFileObject"); 97 JavaFileManager fm = 100 fm, testClassName, "com.sun.tools.javac.file.ZipFileIndexArchive$ZipFileIndexFileObject"); 105 JavaFileManager fm = 108 fm, testClassNam 119 test(String testName, JavaFileManager fm, String testClassName, String implClassName) argument [all...] |
/openjdk7/langtools/test/tools/javac/7003595/ |
H A D | T7003595.java | 53 static StandardJavaFileManager fm = JavacTool.create().getStandardFileManager(null, null, null); field in class:T7003595 144 JavacTask ct = (JavacTask)tool.getTask(null, fm, null,
|