/external/mesa3d/src/mesa/main/ |
H A D | format_pack.py | 3 from mako.template import Template 1001 template = Template(string); variable 1003 print template.render(argv = argv[0:])
|
H A D | format_unpack.py | 3 from mako.template import Template 892 template = Template(string); variable 894 print template.render(argv = argv[0:])
|
/external/toybox/toys/lsb/ |
H A D | mktemp.c | 37 char *template = *toys.optargs; local 39 if (!template) template = "tmp.XXXXXX"; 44 template = strchr(template, '/') ? xstrdup(template) 45 : xmprintf("%s/%s", TT.tmpdir, template); 47 if (d_flag ? !mkdtemp(template) : mkstemp(template) == -1) { 50 d_flag ? "directory" : "file", TT.tmpdir, template); [all...] |
/external/valgrind/none/tests/ |
H A D | nocwd.c | 12 char template[] = "/tmp/wd_test_XXXXXX"; local 13 char *tmpdir = mkdtemp(template);
|
/external/capstone/bindings/ |
H A D | const_generator.py | 10 template = { variable 70 templ = template[lang]
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
H A D | ArgsValidate2.java | 16 public static final String POSSIBLE_TEMPLATE_FILE = "mayOrMayNotExist.template"; 18 @Parameter(names = { "-template"}, 23 public File template = new File(POSSIBLE_TEMPLATE_FILE); field in class:ArgsValidate2
|
/external/jsilver/src/com/google/clearsilver/jsilver/template/ |
H A D | DelegatingTemplateLoader.java | 17 package com.google.clearsilver.jsilver.template;
|
H A D | Macro.java | 17 package com.google.clearsilver.jsilver.template;
|
H A D | Template.java | 17 package com.google.clearsilver.jsilver.template; 26 * Represents a template that can be rendered with data. 31 * Render the template. 33 * @param data Data to merge with template. 35 * @param resourceLoader ResourceLoader to use instead of the default template one when loading 41 * Render the template with a custom RenderingContext. 50 * @param data Data to merge with template. 57 * Name of template (e.g. mytemplate.cs). 68 * Return the EscapeMode in which this template was generated.
|
H A D | TemplateLoader.java | 17 package com.google.clearsilver.jsilver.template; 28 * Load a template from a named resource, with the provided escape mode. If the mode is 30 * template. If the mode is ESCAPE_AUTO, enable <a href="http://go/autoescapecs">auto escaping</a> 31 * on templates. For each variable in the template, this will determine what type of escaping 34 * @param templateName e.g. some/path/to/template.cs 37 * @param escapeMode the type of escaping to apply to the entire template. 42 * Create a temporary template from content, with the provided escape mode. If the mode is 44 * template. If the mode is ESCAPE_AUTO, enable <a href="http://go/autoescapecs">auto escaping</a> 45 * on templates. For each variable in the template, this will determine what type of escaping 48 * @param name A name to identify the temporary template i [all...] |
H A D | RenderingContext.java | 17 package com.google.clearsilver.jsilver.template; 27 * State that is shared across a template rendering. 76 * Push a new template onto the current execution context. This is to generate stack traces when 81 void pushExecutionContext(Template template); argument 89 * Sets the current position in the template. Used to help generate error messages. 111 * Returns the ResourceLoader object to use to fetch files needed to render the current template. 116 * Returns the configured AutoEscapeOptions to be used while rendering the current template. 121 * Push a new auto escaping mode onto the context. Any template loads via include() or 122 * evaluateVariable() will use this auto escaping mode when loading the template. 151 * Start an auto escaping context to parse and auto escape template content [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_resource.c | 10 const struct pipe_resource *template) 12 if (template->target == PIPE_BUFFER) 13 return i915_buffer_create(screen, template); 16 if (!(template->bind & PIPE_BIND_LINEAR)) 17 return i915_texture_create(screen, template, FALSE); 19 return i915_texture_create(screen, template, TRUE); 25 const struct pipe_resource *template, 29 if (template->target == PIPE_BUFFER) 32 return i915_texture_from_handle(screen, template, whandle); 9 i915_resource_create(struct pipe_screen *screen, const struct pipe_resource *template) argument 24 i915_resource_from_handle(struct pipe_screen * screen, const struct pipe_resource *template, struct winsys_handle *whandle, unsigned usage) argument
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/template/ |
H A D | VelocityTest.java | 16 package org.yaml.snakeyaml.emitter.template; 40 assertEquals(Util.getLocalResource("template/etalon1.yaml"), output); 52 Template t = ve.getTemplate("template/mybean1.vm"); 57 String etalon = Util.getLocalResource("template/etalon2-template.yaml").trim();
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
H A D | dottreegen.py | 52 template=( variable in class:DOTTreeGenerator 65 template="$name$ [label=\"$text$\"];\n" 69 template="$parent$ -> $child$ // \"$parentText$\" -> \"$childText$\"\n" variable in class:DOTTreeGenerator
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/ |
H A D | X500NameBuilder.java | 14 private X500NameStyle template; field in class:X500NameBuilder 28 * @param template the style template for string to DN conversion. 30 public X500NameBuilder(X500NameStyle template) argument 32 this.template = template; 44 this.addRDN(oid, template.stringToValue(oid, value)); 89 vals[i] = template.stringToValue(oids[i], values[i]); 141 return new X500Name(template, vals);
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/ |
H A D | Platform.java | 46 static String format(String template, Object... args) { argument 49 template.length() + 16 * args.length); 53 int placeholderStart = template.indexOf("%s", templateStart); 57 builder.append(template.substring(templateStart, placeholderStart)); 61 builder.append(template.substring(templateStart));
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
H A D | Platform.java | 44 static String format(String template, Object... args) { argument 47 template.length() + 16 * args.length); 51 int placeholderStart = template.indexOf("%s", templateStart); 55 builder.append(template.substring(templateStart, placeholderStart)); 59 builder.append(template.substring(templateStart));
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
H A D | Platform.java | 50 static String format(String template, Object... args) { argument 51 return String.format(template, args);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
H A D | Platform.java | 30 * Format the template with args, only supports the placeholder 33 static String format(String template, Object... args) { argument 34 return String.format(template, args);
|
/external/jsilver/src/com/google/clearsilver/jsilver/ |
H A D | TemplateRenderer.java | 22 import com.google.clearsilver.jsilver.template.Template; 27 * Renders a template. 32 * Renders a given template and provided data, writing to an arbitrary output. 34 * @param templateName Name of template to load (e.g. "things/blah.cs"). 35 * @param data Data to be used in template. 36 * @param output Where template should be rendered to. This can be a Writer, PrintStream, 52 * Same as {@link #render(String, Data, Appendable)}, except returns rendered template as a 58 * Renders a given template and provided data, writing to an arbitrary output. 60 * @param template Template to render. 61 * @param data Data to be used in template 68 render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) argument 75 render(Template template, Data data, Appendable output) argument 81 render(Template template, Data data) argument [all...] |
/external/libdaemon/libdaemon/ |
H A D | dlog.c | 51 void daemon_logv(int prio, const char* template, va_list arglist) { argument 58 vsyslog(prio | LOG_DAEMON, template, arglist); 65 vfprintf(stderr, template, arglist); 70 vfprintf(stdout, template, arglist); 78 void daemon_log(int prio, const char* template, ...) { argument 81 va_start(arglist, template); 82 daemon_logv(prio, template, arglist);
|
/external/testng/src/main/java/org/testng/mustache/ |
H A D | Mustache.java | 11 public String run(String template, Map<String, Object> m) throws IOException { argument 12 return run(template, new Model(m)); 15 String run(String template, Model model) throws IOException { argument 20 while (ti < template.length()) { 23 if (template.charAt(ti) == '\n') lineNumber++; 25 if (template.charAt(ti) == '{' && ti + 1 < template.length() 26 && template.charAt(ti + 1) == '{') { 30 while (index < template.length() && ! foundEnd) { 32 foundEnd = template 98 findClosingIndex(String template, int ti, String conditionalVariable) argument [all...] |
/external/toolchain-utils/automation/clients/report/dejagnu/ |
H A D | report.py | 100 from django import template namespace 101 from django.template import loader 113 ctx = template.Context({'test_runs': tmpl_args})
|
/external/walt/server/ |
H A D | main.py | 28 from bottle import route, template, run, request, static_file namespace 41 return template('make_table', filenames=filenames)
|
/external/wayland/cursor/ |
H A D | os-compatibility.c | 106 static const char template[] = "/weston-shared-XXXXXX"; local 118 name = malloc(strlen(path) + sizeof(template)); 123 strcat(name, template);
|