/external/toybox/toys/lsb/ |
mktemp.c | 13 usage: mktemp [-dq] [-p DIR] [TEMPLATE] 15 Safely create a new file "DIR/TEMPLATE" and print its name. 21 Each X in TEMPLATE is replaced with a random printable character. The 22 default TEMPLATE is tmp.XXXXXX, and the default DIR is $TMPDIR if set, 36 char *template = *toys.optargs; local 38 if (!template) template = "tmp.XXXXXX"; 43 template = strchr(template, '/') ? xstrdup(template) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/template/ |
DelegatingTemplateLoader.java | 17 package com.google.clearsilver.jsilver.template;
|
Macro.java | 17 package com.google.clearsilver.jsilver.template; 22 * An executable macro. This exhibits all the same characteristics of a Template. 24 public interface Macro extends Template {
|
TemplateLoader.java | 17 package com.google.clearsilver.jsilver.template; 23 * Loads a 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. 39 Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode); 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 [all...] |
Template.java | 17 package com.google.clearsilver.jsilver.template; 26 * Represents a template that can be rendered with data. 28 public interface Template { 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 [all...] |
/cts/tools/signature-tools/src/signature/io/html/ |
ApiOverviewPage.java | 64 StringTemplate template = TemplateStore local 66 template.setArgumentContext(commonInfos); 67 template.setAttribute("removed_packages", removedPackages); 68 template.setAttribute("added_packages", addedPackages); 69 template.setAttribute("changed_packages", changedPackages); 70 b.append(template.toString());
|
PackageOverviewPage.java | 64 StringTemplate template = TemplateStore.getStringTemplate(PACGE); local 65 template.setArgumentContext(commonInfos); 66 template.setAttribute("package_delta", delta); 67 template.setAttribute("removed_classes", removedClasses); 68 template.setAttribute("added_classes", addedClasses); 69 template.setAttribute("changed_classes", changedClasses); 70 b.append(template.toString());
|
ClassOverviewPage.java | 167 StringTemplate template = TemplateStore.getStringTemplate(PAGE); local 169 template.setAttribute("class_delta", classDelta); 178 template.setAttribute("has_class_signature_delta", hasSignatureDelta); 180 template.setAttribute("removed_fields", removedFields); 181 template.setAttribute("added_fields", addedFields); 182 template.setAttribute("changed_fields", changedFields); 184 template.setAttribute("removed_annotation_fields", 186 template.setAttribute("added_annotation_fields", addedAnnotationFields); 187 template.setAttribute("changed_annotation_fields", 190 template.setAttribute("removed_enum_constants", removedEnumConstants) [all...] |
/system/core/libcutils/ |
ashmem-host.c | 43 char template[PATH_MAX]; local 44 snprintf(template, sizeof(template), "/tmp/android-ashmem-%d-XXXXXXXXX", getpid()); 45 int fd = mkstemp(template); 46 if (fd != -1 && TEMP_FAILURE_RETRY(ftruncate(fd, size)) != -1 && unlink(template) != -1) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/ |
NdkManager.java | 63 // Launch our template to set up the project contents 64 TemplateCore template = TemplateEngine.getDefault().getTemplateById("AddNdkSupport"); //$NON-NLS-1$ local 65 Map<String, String> valueStore = template.getValueStore(); 68 template.executeTemplateProcesses(monitor, false);
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
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/apache-xml/src/main/java/org/apache/xalan/transformer/ |
KeyManager.java | 63 ElemTemplateElement template = (ElemTemplateElement) nscontext; // yuck -sb local 65 if ((null != template) 66 && null != template.getStylesheetRoot().getKeysComposed()) 100 template.getStylesheetRoot().getKeysComposed(),
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/ |
X500NameBuilder.java | 11 private X500NameStyle template; field in class:X500NameBuilder 19 public X500NameBuilder(X500NameStyle template) 21 this.template = template; 26 this.addRDN(oid, template.stringToValue(oid, value)); 51 vals[i] = template.stringToValue(oids[i], values[i]); 85 return new X500Name(template, vals);
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
Platform.java | 44 static String format(String template, Object... args) { 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/lldb/test/ |
dosep.ty | 10 # Command template of the invocation of the test driver. 11 template = '%s/dotest.py %s -p %s %s' variable 29 command = template % (test_root, dotest_options if dotest_options else "", name, root)
|
/external/mesa3d/src/mapi/glapi/ |
glapi_entrypoint.c | 140 static const unsigned int template[] = { local 206 code[0] = template[0] | (dispatch >> 10); 207 code[1] = template[1]; 209 code[2] = template[2] | (dispatch & 0x3ff); 210 code[3] = template[3]; 212 code[4] = template[4]; 213 code[5] = template[5]; 215 code[6] = template[6]; 219 code[0] = template[0] | (dispatch >> (32 + 10)); 220 code[1] = template[1] | ((dispatch & 0xffffffff) >> 10) 270 static const unsigned int template[] = { local [all...] |
/docs/source.android.com/scripts/ |
build.py | 44 # Step 1, concatenate the template pieces into a single template string 48 template = string.Template(t) variable 115 final = template.safe_substitute(main=main, sidebar=sidebar, sidebar2=sidebar2, \
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/ |
Platform.java | 46 static String format(String template, Object... args) { 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/lldb/utils/test/ |
run-dis.py | 27 # Command template of the invocation of lldb disassembler. 28 template = '%s/lldb-disasm.py -C "platform select remote-ios" -o "-n" -q -e %s -n %s' variable 63 command = template % (scriptPath, path, num_symbols if num_symbols > 0 else 1000)
|
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/ |
gen_xmlpool.py | 156 # Process the options template and generate options.h with all 158 template = file ("t_options.h", "r") variable 160 for line in template:
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
TemplateList.java | 41 * 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) 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.getName()) 79 m_namedTemplates.put(template.getName(), template); local 89 m_namedTemplates.put(template.getName(), template); local 556 ElemTemplate template = head.getTemplate(); local 614 ElemTemplate template = head.getTemplate(); local [all...] |
/development/samples/SampleSyncAdapter/samplesyncadapter_server/ |
dashboard.py | 28 from google.appengine.ext.webapp import template namespace 63 self.response.out.write(template.render(path, template_values)) 150 self.response.out.write(template.render(path, template_values)) 192 self.response.out.write(template.render(path, template_values))
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
group-file-lexer.rb | 64 module Template 80 :TEMPLATE => 6, :T__11 => 11, :T__14 => 14, :T__13 => 13, 99 "TEMPLATE", "STRING", "COMMENT", "WS" ].freeze 102 :template!, :string!, :comment!, :ws! ].freeze 460 # lexer rule template! (TEMPLATE) 462 def template! 466 type = TEMPLATE 838 # at line 1:8: ( T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | CONSTANT | ID | TEMPLATE | STRING | COMMENT | WS ) 891 # at line 1:82: TEMPLATE [all...] |
/external/e2fsprogs/tests/progs/ |
random_exercise.c | 73 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/ |
Preconditions.java | 84 * <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. Argument [all...] |