Searched defs:template (Results 1 - 24 of 24) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/net/www/
H A DMimeLauncher.java66 protected String getTempFileName(URL url, String template) { argument
67 String tempFilename = template;
/openjdk7/jdk/make/tools/src/build/tools/charsetmapping/
H A DDBCS.java67 genClass0(args[0], args[1], "DoubleByte-X.java.template",
81 private static void genClass0(String srcDir, String dstDir, String template, argument
191 Scanner s = new Scanner(new File(srcDir, template));
H A DSBCS.java58 genClass0(args[0], args[1], "SingleByte-X.java.template",
112 String template,
211 Scanner s = new Scanner(new File(srcDir, template));
111 genClass0(String srcDir, String dstDir, String template, String clzName, String csName, String hisName, String pkgName, boolean isASCII) argument
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/
H A DGenerator.java49 /** A map of variables that are used for variable substitution in the template files. */
149 //construct the map which is used to do variable substitution of the template
223 "resources/" + templateName + ".template");
250 TemplateReader(Map<String, String> variables, InputStream template) { argument
251 super(new InputStreamReader(template));
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DHostnameChecker.java237 * Returns true if name matches against template.<p>
243 * The <code>template</code> parameter
246 private boolean isMatched(String name, String template) { argument
248 return matchAllWildcards(name, template);
250 return matchLeftmostWildcard(name, template);
258 * Returns true if name matches against template.<p>
268 String template) {
270 template = template.toLowerCase();
272 StringTokenizer templateSt = new StringTokenizer(template, "
267 matchAllWildcards(String name, String template) argument
297 matchLeftmostWildcard(String name, String template) argument
327 matchWildCards(String name, String template) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/
H A DLocationPathPattern.java51 public void setTemplate(final Template template) { argument
52 _template = template;
53 _priority = template.getPriority();
54 _importPrecedence = template.getImportPrecedence();
55 _position = template.getPosition();
72 * template. This method is called for templates that are in the same
76 * o) then check the position - the template that occured last wins
H A DTestSeq.java44 * A test sequence may have a default template, which will be
70 * Default template for this test sequence
134 final Template template = (_patterns.size() == 0) ? _default
136 return template.getPriority();
144 final Template template = (_patterns.size() == 0) ? _default
146 return template.getPosition();
179 * this test sequence. Note that a single template can occur
194 * Get the instruction handle to a template's code. This is
195 * used when a single template occurs in several test
199 private InstructionHandle getTemplateHandle(Template template) { argument
[all...]
H A DSymbolTable.java82 public Template addTemplate(Template template) { argument
83 final QName name = template.getName();
85 return (Template)_templates.put(name, template);
H A DTemplate.java50 private QName _name; // The name of the template (if any)
51 private QName _mode; // Mode in which this template is instantiated.
52 private Pattern _pattern; // Matching pattern defined for this template.
53 private double _priority; // Matching priority of this template.
59 // True if this is a simple named template. A simple named
60 // template is a template which only has a name but no match pattern.
63 // The list of parameters in this template. This is only used
128 * Compare this template to another. First checks priority, then position.
130 public int compareTo(Object template) { argument
[all...]
H A DMode.java154 * Stores ranges of template precendences for the compilation
215 public void addTemplate(Template template) { argument
216 _templates.addElement(template);
275 // Get the next template
276 final Template template = (Template)templates.nextElement();
279 * Add this template to a table of named templates if it has a name.
283 if (template.isNamed() && !template.disabled()) {
284 _namedTemplates.put(template, this);
287 // Add this template t
301 flattenAlternative(Pattern pattern, Template template, Hashtable keys) argument
514 compileNamedTemplate(Template template, ClassGenerator classGen) argument
1505 getTemplateInstructionHandle(Template template) argument
[all...]
H A DParser.java90 private Template _template; // Reference to the template being parsed.
633 initAttrTable("template",
673 initAttrTable("call-template", new String[] {"name"});
696 initStdClass("template", "Template");
721 initStdClass("call-template", "CallTemplate");
928 public void setTemplate(Template template) { argument
929 _template = template;
H A DStylesheet.java181 * Flag indicating if this is a simplified stylesheets. A template
202 * Set to true to enable template inlining optimization.
457 * Returns true if at least one template in the stylesheet has params
466 final Template template = (Template)templates.elementAt(i);
467 if (template.hasParams()) {
546 // If this is a simplified stylesheet we must create a template that
547 // grabs the root node of the input doc ( <xsl:template match="/"/> ).
548 // This template needs the current element (the one passed to this
553 Template template = new Template();
554 template
1443 addTemplate(Template template) argument
[all...]
/openjdk7/jdk/make/tools/swing-beans/
H A DGenSwingBeanInfo.java39 * A utlity for generating a BeanInfo source file from a template and a
75 * @param templateFilename Location of the BeanInfo template
105 * Load the contents of the BeanInfo template into a string and
109 String template = "<no template>";
122 template = buffer.toString();
126 messageAndExit("GenSwingBeanInfo: Couldn't load template: " + templateFilename + e);
128 return template;
421 // Dump the template to out, substituting values for
426 String template
503 printDescriptors(PrintStream out, String s, String template, int tokenStart) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DTemplateManager.java48 * The template manager is responsible for reading the attribute configuration
68 final Template template; field in class:TemplateManager.KeyAndTemplate
70 KeyAndTemplate(TemplateKey key, Template template) { argument
72 this.template = template;
76 // primitive templates contains the individual template configuration
80 // composite templates is a cache of the exact configuration template for
83 // primitive template entries. the result is then stored in this map
92 // add a template. Called by Config.
96 Template template
201 add(Template template) argument
[all...]
/openjdk7/langtools/test/tools/javac/generics/diamond/7030687/
H A DParserTest.java122 String template = "class Test {\n" + field in class:ParserTest.JavaSource
130 source = template.replace("#T", qualifierArity.getType(typeArgumentKinds));
/openjdk7/langtools/test/tools/javac/multicatch/7030606/
H A DDisjunctiveTypeWellFormednessTest.java143 String template = "class Test {\n" + field in class:DisjunctiveTypeWellFormednessTest.JavaSource
153 source = template.replace("#T", Alternative.makeDisjunctiveType(alternatives));
/openjdk7/langtools/test/tools/javac/processing/model/type/
H A DTestUnionType.java90 public static final String template = field in class:TestUnionType.TestFileObject
110 return template
/openjdk7/langtools/test/tools/javap/
H A DTestSuperclass.java158 static final String template = field in class:TestSuperclass.JavaSource
165 source = template
/openjdk7/langtools/test/tools/javac/TryWithResources/
H A DInterruptedExceptionTest.java161 String template = "#S1 #CK Resource#G #EC AutoCloseable {\n" + field in class:InterruptedExceptionTest.JavaSource
174 source = template.replace("#S1", suppress_decl.getSuppressAnno())
H A DUnusedResourcesTest.java113 String template = "class Resource implements AutoCloseable {\n" + field in class:UnusedResourcesTest.JavaSource
142 source = template.replace("#S", suppressLevel.getSuppressAnno()).
/openjdk7/langtools/test/tools/javac/generics/diamond/7030150/
H A DGenericConstructorAndDiamondTest.java200 String template = "class Foo<X #BK> {\n" + field in class:GenericConstructorAndDiamondTest.JavaSource
213 source = template.replace("#BK", boundKind.boundStr).
/openjdk7/langtools/test/tools/javac/generics/rawOverride/7062745/
H A DGenericOverrideTest.java179 String template = "import java.util.*;\n" + field in class:GenericOverrideTest.JavaSource
191 source = template.replace("#S1", sig1.paramStr).
/openjdk7/langtools/test/tools/javac/varargs/warning/
H A DWarn4.java143 String template; field in class:Warn4.Signature
146 Signature(String template, Warning[][] warnings) { argument
147 this.template = template;
236 String meth1 = vararg_meth.template.replace("#arity", "...");
240 String meth2 = client_meth.template.replace("#arity", "");
H A DWarn5.java276 String template = "import com.sun.tools.javac.api.*;\n" + field in class:Warn5.JavaSource
288 source = template.replace("#T", trustMe.anno).

Completed in 132 milliseconds