Searched defs:template (Results 26 - 50 of 82) sorted by relevance

1234

/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
H A Dgroup-file-lexer.rb102 :template!, :string!, :comment!, :ws! ].freeze
460 # lexer rule template! (TEMPLATE)
462 def template!
892 template!
/external/doclava/src/com/google/doclava/
H A DDoclavaDiff.java331 private void generateHtml(String template, Data data, File file) { argument
337 String rendered = jSilver.render(template, data);
/external/e2fsprogs/tests/progs/
H A Drandom_exercise.c73 char template[16] = "EX.XXXXXX"; local
78 mktemp(template);
81 if (mkdir(template, 0700) < 0)
83 fd = open(template, O_RDONLY, 0600);
85 template, fd);
88 fd = open(template, O_CREAT|O_RDWR, 0600);
91 template, fd, size);
98 strcpy(state_array[fd].name, template);
/external/guava/guava/src/com/google/common/base/
H A DPreconditions.java84 * <p>In {@code Preconditions} error message template strings, only the {@code "%s"} specifier is
133 * @param errorMessageTemplate a template for the exception message should the check fail. The
134 * message is formed by replacing each {@code %s} placeholder in the template with an
138 * @param errorMessageArgs the arguments to be substituted into the message template. Arguments
185 * @param errorMessageTemplate a template for the exception message should the check fail. The
186 * message is formed by replacing each {@code %s} placeholder in the template with an
190 * @param errorMessageArgs the arguments to be substituted into the message template. Arguments
238 * @param errorMessageTemplate a template for the exception message should the check fail. The
239 * message is formed by replacing each {@code %s} placeholder in the template with an
243 * @param errorMessageArgs the arguments to be substituted into the message template
412 format(String template, @Nullable Object... args) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DQuantityFormatter.java50 * Adds a template.
52 * @param template the text for that plural variant with "{0}" as the quantity. For
53 * example, in English, the template for the "one" variant may be "{0} apple" while the
54 * template for the "other" variant may be "{0} apples"
57 * if template has more than just the {0} placeholder.
59 public Builder add(String variant, String template) { argument
65 SimplePatternFormatter newT = SimplePatternFormatter.compile(template);
68 "Extra placeholders: " + template);
77 * @throws IllegalStateException if no template is specified for the "other" variant.
116 * variant to use for fetching the formatting template
[all...]
H A DCompactDecimalDataCache.java292 String template = pluralVariantData.getString();
297 pluralVariant, thisIndex, template, locale, style, result);
301 "Plural variant '" + pluralVariant + "' template '" +
302 template + "' for 10^" + thisIndex +
334 * @param template e.g "00K"
338 * @return number of zeros found before any decimal point in template.
341 String pluralVariant, int idx, String template, ULocale locale, String style,
343 int firstIdx = template.indexOf("0");
344 int lastIdx = template.lastIndexOf("0");
347 "Expect at least one zero in template '"
340 populatePrefixSuffix( String pluralVariant, int idx, String template, ULocale locale, String style, Data result) argument
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
H A DJCs.java24 import com.google.clearsilver.jsilver.template.HtmlWhiteSpaceStripper;
25 import com.google.clearsilver.jsilver.template.Template;
42 private Template template = null; field in class:JCs
77 template = null;
90 template =
111 template = getJSilver().getTemplateLoader().createTemp("parseStr", content, getEscapeMode());
121 if (template == null) {
145 jSilver.render(template, data, output, resourceLoaderAdaptor);
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_resource_buffer.c138 const struct pipe_resource *template)
145 buf->b.b = *template;
149 buf->data = align_malloc(template->width0, 16);
137 i915_buffer_create(struct pipe_screen *screen, const struct pipe_resource *template) argument
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_buffer.c340 const struct pipe_resource *template)
349 sbuf->b.b = *template;
354 if(svga_buffer_needs_hw_storage(template->bind)) {
359 sbuf->swbuf = align_malloc(template->width0, 64);
339 svga_buffer_create(struct pipe_screen *screen, const struct pipe_resource *template) argument
H A Dsvga_resource_texture.c406 const struct pipe_resource *template)
414 tex->b.b = *template;
419 assert(template->last_level < SVGA_MAX_TEXTURE_LEVELS);
420 if(template->last_level >= SVGA_MAX_TEXTURE_LEVELS)
424 tex->key.size.width = template->width0;
425 tex->key.size.height = template->height0;
426 tex->key.size.depth = template->depth0;
428 if(template->target == PIPE_TEXTURE_CUBE) {
438 if (template->bind & PIPE_BIND_SAMPLER_VIEW)
441 if (template
405 svga_texture_create(struct pipe_screen *screen, const struct pipe_resource *template) argument
497 svga_texture_from_handle(struct pipe_screen *screen, const struct pipe_resource *template, struct winsys_handle *whandle) argument
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/template/
H A DDefaultRenderingContext.java17 package com.google.clearsilver.jsilver.template;
167 public void pushExecutionContext(Template template) { argument
168 executionStack.add(template);
279 // We do not allow a macro call to change context of the rest of the template.
280 // Since the rest of the template has already been auto-escaped at parse time
H A DHtmlWhiteSpaceStripper.java17 package com.google.clearsilver.jsilver.template;
/external/apache-xml/src/main/java/org/apache/xalan/templates/
H A DTemplateSubPatternAssociation.java33 * A class to contain a match pattern and it's corresponding template.
46 /** The template element */
59 * Construct a match pattern from a pattern and template.
60 * @param template The node that contains the template for this pattern.
64 TemplateSubPatternAssociation(ElemTemplate template, StepPattern pattern, String pat) argument
68 m_template = template;
104 * Set Target String for this template pattern
119 * @return True if the given mode matches this template's mode
141 * Return the mode associated with the template
[all...]
H A DTemplateList.java41 * Encapsulates a template list, and helps locate individual templates.
58 * Add a template to the table of named templates and/or the table of templates
62 * @param template
64 public void setTemplate(ElemTemplate template) argument
66 XPath matchXPath = template.getMatch();
68 if (null == template.getName() && null == matchXPath)
70 template.error(XSLTErrorResources.ER_NEED_NAME_OR_MATCH_ATTRIB,
71 new Object[]{ "xsl:template" });
74 if (null != template.getName())
76 ElemTemplate existingTemplate = (ElemTemplate) m_namedTemplates.get(template
343 insertPatternInTable(StepPattern pattern, ElemTemplate template) argument
[all...]
/external/guava/guava-testlib/src/com/google/common/testing/
H A DRelationshipTester.java121 private void assertWithTemplate(String template, Item<T> item, Item<T> other, boolean condition) { argument
123 throw new AssertionFailedError(template
/external/jetty/src/java/org/eclipse/jetty/webapp/
H A DWebInfConfiguration.java212 public void cloneConfigure(WebAppContext template, WebAppContext context) throws Exception argument
214 File tmpDir=File.createTempFile(WebInfConfiguration.getCanonicalNameForWebAppTmpDir(context),"",template.getTempDirectory().getParentFile());
H A DTagLibConfiguration.java521 public void cloneConfigure(WebAppContext template, WebAppContext context) throws Exception argument
/external/libunwind/tests/
H A DGtest-dyn1.c94 template (int i, template_t self, function
181 get_fdesc (fdesc, template);
/external/ltrace/sysdeps/linux-gnu/ia64/
H A Dbreakpoint.c182 int template; local
194 template = extract_bit_field(bundle.cbundle, 0, 5);
195 if (slotnum == 1 && template_encoding_table[template][1] == L) {
H A Dtrace.c48 unsigned long template:5; member in struct:bundle_t::__anon11417::__anon11418
/external/jsilver/src/com/google/clearsilver/jsilver/
H A DJSilver.java46 import com.google.clearsilver.jsilver.template.DelegatingTemplateLoader;
47 import com.google.clearsilver.jsilver.template.HtmlWhiteSpaceStripper;
48 import com.google.clearsilver.jsilver.template.Template;
49 import com.google.clearsilver.jsilver.template.TemplateLoader;
73 * // Render template to System.out. Writer output = ...;
136 // Loads the template from the resource loader, manipulating the AST as
166 // Load precompiled template classes.
239 * Renders a given template and provided data, writing to an arbitrary output.
241 * @param templateName Name of template to load (e.g. "things/blah.cs").
242 * @param data Data to be used in template
295 render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) argument
314 render(Template template, Data data, Appendable output) argument
320 render(Template template, Data data) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_tracker.c290 struct pipe_resource *template; local
306 template = &srf->template;
307 template->format = fdesc.format;
308 template->target = PIPE_TEXTURE_2D;
309 template->width0 = width;
310 template->height0 = height;
311 template->depth0 = 1;
312 template->array_size = 1;
313 template
347 struct pipe_resource *template = &srf->template; local
[all...]
/external/mesa3d/src/gallium/state_trackers/xorg/
H A Dxorg_dri2.c108 struct pipe_resource template; local
110 memset(&template, 0, sizeof(template));
111 template.target = PIPE_TEXTURE_2D;
115 template.format = PIPE_FORMAT_Z16_UNORM;
118 template.format = PIPE_FORMAT_Z32_UNORM;
121 template.format = ms->ds_depth_bits_last ?
126 template.format = ms->ds_depth_bits_last ?
129 template.width0 = pDraw->width;
130 template
[all...]
/external/boringssl/src/crypto/conf/
H A Dconf.c346 CONF_VALUE template; local
348 memset(&template, 0, sizeof(template));
349 template.section = (char *) section;
350 return lh_CONF_VALUE_retrieve(conf->data, &template);
363 CONF_VALUE template, *value; local
365 memset(&template, 0, sizeof(template));
366 template.section = (char *) section;
367 template
[all...]
/external/boringssl/src/crypto/obj/
H A Dobj.c241 ASN1_OBJECT *match, template; local
243 template.sn = short_name;
244 match = lh_ASN1_OBJECT_retrieve(global_added_by_short_name, &template);
275 ASN1_OBJECT *match, template; local
277 template.ln = long_name;
278 match = lh_ASN1_OBJECT_retrieve(global_added_by_long_name, &template);
328 ASN1_OBJECT *match, template; local
330 template.nid = nid;
331 match = lh_ASN1_OBJECT_retrieve(global_added_by_nid, &template);

Completed in 583 milliseconds

1234