Searched defs:template (Results 51 - 75 of 140) sorted by relevance

123456

/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/honggfuzz/hfuzz_cc/
H A Dhfuzz-cc.c201 char template[] = "/tmp/libhfuzz.a.XXXXXX"; local
202 int fd = mkostemp(template, O_CLOEXEC);
204 PLOG_E("mkostemp('%s')", template);
211 PLOG_E("Couldn't write to '%s'", template);
215 if (rename(template, lhfuzzPath) == -1) {
216 PLOG_E("Couldn't rename('%s', '%s')", template, lhfuzzPath);
217 unlink(template);
/external/jsilver/src/com/google/clearsilver/jsilver/template/
H A DHtmlWhiteSpaceStripper.java17 package com.google.clearsilver.jsilver.template;
/external/junit-params/src/main/java/junitparams/naming/
H A DMacroSubstitutionNamingStrategy.java30 String template = getTemplate(testCaseName);
31 String builtName = buildNameByTemplate(template, parametersIndex, parameters);
53 private String buildNameByTemplate(String template, int parametersIndex, Object parameters) { argument
56 String[] parts = MACRO_SPLIT_PATTERN.split(template);
/external/libunwind/tests/
H A DGtest-dyn1.c94 template (int i, template_t self, function
181 get_fdesc (fdesc, template);
/external/ltp/testcases/kernel/mem/mtest06/
H A Dmmap2.c89 char template[PATH_MAX]; local
92 snprintf(template, PATH_MAX, "ashfileXXXXXX");
93 fd = mkstemp(template);
98 unlink(template);
H A Dmmap3.c57 char template[PATH_MAX]; local
60 snprintf(template, PATH_MAX, "ashfileXXXXXX");
61 if ((fd = mkstemp(template)) == -1)
63 unlink(template);
H A Dmmap1.c112 char template[] = "/tmp/ashfileXXXXXX"; local
115 if ((fd = mkstemp(template)) == -1)
118 unlink(template);
/external/ltp/testcases/kernel/security/integrity/ima/src/
H A Dima_measure.c76 /* Calc template hash for an ima entry */
83 static int verify_template_hash(struct event *template) argument
87 rc = memcmp(fox, template->header.digest, sizeof fox);
92 calc_digest(digest, sizeof template->ima_data,
93 &template->ima_data);
94 rc = memcmp(digest, template->header.digest, sizeof digest);
115 * --verify: for all IMA template entries in the runtime binary
116 * measurement list, calculate the template hash value
117 * and compare it with the actual template hash value.
121 * list, display the template informatio
133 struct event template; local
[all...]
/external/mesa3d/src/compiler/glsl/
H A Dir_expression_operation.py24 import mako.template namespace
93 # This template is for operations that can have operands of a several
96 constant_template_common = mako.template.Template("""\
111 # This template is for binary operations that can operate on some combination
113 constant_template_vector_scalar = mako.template.Template("""\
142 # This template is for multiplication. It is unique because it has to support
144 constant_template_mul = mako.template.Template("""\
192 # This template is for operations that are horizontal and either have only a
195 constant_template_horizontal_single_implementation = mako.template.Template("""\
200 # This template i
[all...]
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_uvd.c66 struct pipe_video_buffer template; local
78 template = *tmpl;
79 template.width = align(tmpl->width, VL_MACROBLOCK_WIDTH);
80 template.height = align(tmpl->height / array_size, VL_MACROBLOCK_HEIGHT);
82 vl_video_buffer_template(&templ, &template, resource_formats[0], 1, array_size, PIPE_USAGE_DEFAULT, 0);
91 vl_video_buffer_template(&templ, &template, resource_formats[1], 1, array_size, PIPE_USAGE_DEFAULT, 1);
101 vl_video_buffer_template(&templ, &template, resource_formats[2], 1, array_size, PIPE_USAGE_DEFAULT, 2);
129 template.height *= array_size;
130 return vl_video_buffer_create_ex2(pipe, &template, (struct pipe_resource **)resources);
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_buffer.c395 const struct pipe_resource *template)
406 sbuf->b.b = *template;
410 sbuf->bind_flags = template->bind;
412 if (template->bind & PIPE_BIND_CONSTANT_BUFFER) {
424 if (svga_buffer_needs_hw_storage(template->bind)) {
432 if (!(template->bind & PIPE_BIND_CONSTANT_BUFFER)) {
394 svga_buffer_create(struct pipe_screen *screen, const struct pipe_resource *template) argument
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
H A Dexceptions.py58 Mako-specific template information.
113 format) with template-corresponding lines remapped to the originating
114 template.
133 template filename, the line number adjusted relative to the template
134 source, and code line from that line number of the template."""
136 import mako.template namespace
147 info = mako.template._get_module_info(filename)
170 source_map = mako.template.ModuleInfo.\
212 """Provides a template tha
218 import mako.template namespace
268 import mako.template namespace
[all...]
/external/python/cpython2/Lib/
H A Dre.py114 "compile", "purge", "template", "escape", "I", "L", "M", "S", "X",
201 def template(pattern, flags=0): function
202 "Compile a template pattern, returning a pattern object"
279 def _expand(pattern, match, template):
281 template = sre_parse.parse_template(template, pattern)
282 return sre_parse.expand_template(template, match)
284 def _subx(pattern, template):
286 template = _compile_repl(template, patter
[all...]
/external/python/cpython2/Tools/framer/framer/
H A Dfunction.py3 from framer import template namespace
141 p(template.docstring)
146 p(template.funcdef_start, d)
151 p(template.varargs)
153 p(template.funcdef_end)
/external/apache-xml/src/main/java/org/apache/xalan/templates/
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/autotest/client/site_tests/firmware_TouchMTB/
H A Dfirmware_log.py90 template = '%.2f' variable in class:float_d2
94 return self.template % self.real
98 return self.template % self.real
138 . metric name template: 'max error in {} (mm)'
139 The metric name template will be expanded later. For example,
140 with name variations ['x', 'y'], the above template will be
213 # {metric_attr: (template,
346 # Set the metric attribute to its template
349 template = props[0]
350 setattr(self, key, template)
[all...]
/external/honggfuzz/includes/libcommon/
H A Dfiles.c370 char template[PATH_MAX]; local
371 snprintf(template, sizeof(template), "%s/hfuzz.XXXXXX", dir);
372 if ((*fd = mkstemp(template)) == -1) {
373 PLOG_W("mkstemp('%s')", template);
376 unlink(template);
/external/honggfuzz/libcommon/
H A Dfiles.c370 char template[PATH_MAX]; local
371 snprintf(template, sizeof(template), "%s/hfuzz.XXXXXX", dir);
372 if ((*fd = mkstemp(template)) == -1) {
373 PLOG_W("mkstemp('%s')", template);
376 unlink(template);
/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/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl11.c85 char template[PATH_MAX]; local
98 snprintf(template, PATH_MAX, "fcntl11XXXXXX");
100 if ((fd = mkstemp(template)) < 0)
H A Dfcntl17.c100 char template[PATH_MAX]; local
129 snprintf(template, PATH_MAX, "fcntl17XXXXXX");
131 if ((file_fd = mkstemp(template)) < 0) {
H A Dfcntl19.c86 char template[PATH_MAX]; local
101 snprintf(template, PATH_MAX, "fcntl19XXXXXX");
103 if ((fd = mkstemp(template)) < 0) {
H A Dfcntl20.c86 char template[PATH_MAX]; local
102 snprintf(template, PATH_MAX, "fcntl20XXXXXX");
104 if ((fd = mkstemp(template)) == -1)
H A Dfcntl21.c84 char template[PATH_MAX]; local
99 snprintf(template, PATH_MAX, "fcntl21XXXXXX");
101 if ((fd = mkstemp(template)) < 0) {

Completed in 1934 milliseconds

123456