Home
last modified time | relevance | path

Searched refs:_template (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_mailbox.py51 _template = 'From: foo\n\n%s\n' variable in TestMailbox
65 keys.append(self._box.add(self._template % 0))
75 self.assertEqual(self._box.get_string(keys[0]), self._template % 0)
88 key = self._box.add(StringIO.StringIO(self._template % "0"))
89 self.assertEqual(self._box.get_string(key), self._template % "0")
101 key0 = self._box.add(self._template % 0)
102 key1 = self._box.add(self._template % 1)
109 self.assertEqual(self._box.get_string(key1), self._template % 1)
110 key2 = self._box.add(self._template % 2)
117 self.assertEqual(self._box.get_string(key1), self._template % 1)
[all …]
/external/python/cpython3/Lib/test/
Dtest_mailbox.py51 _template = 'From: foo\n\n%s\n' variable in TestMailbox
65 keys.append(self._box.add(self._template % 0))
81 self.assertEqual(self._box.get_string(keys[0]), self._template % 0)
172 key = self._box.add(io.StringIO(self._template % "0"))
173 self.assertEqual(self._box.get_string(key), self._template % "0")
193 key0 = self._box.add(self._template % 0)
194 key1 = self._box.add(self._template % 1)
200 self.assertEqual(self._box.get_string(key1), self._template % 1)
201 key2 = self._box.add(self._template % 2)
207 self.assertEqual(self._box.get_string(key1), self._template % 1)
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DTemplateParserRuleReturnScope`2.cs37 private TTemplate _template; field in Antlr.Runtime.TemplateParserRuleReturnScope
43 return _template;
48 _template = value;
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTemplateTreeRuleReturnScope`2.cs37 private TTemplate _template; field in Antlr.Runtime.Tree.TemplateTreeRuleReturnScope
43 return _template;
48 _template = value;
/external/catch2/docs/
Dtest-cases-and-sections.md151 …test name_ , _tags_, (_template-type1_, _template-type2_, ..., _template-typen_), (_template-arg1_…
153 _template-type1_ through _template-typen_ is list of template template
154 types which should be combined with each of _template-arg1_ through
155 _template-argm_, resulting in _n * m_ test cases. Inside the test case,
158 To specify more than 1 type as a single _template-type_ or _template-arg_,
163 specify only one type as the full set of either the _template-types_,
164 or the _template-args_.
182 You can also have different arities in the _template-arg_ packs:
/external/tensorflow/tensorflow/python/ops/
Daccumulate_n_benchmark.py118 print(self._template.format(*args))
131 self._template = "{:<15}" * 6
142 print(self._template.format("", "Size", "#Inputs", "#Repeat", "Method",
/external/swiftshader/third_party/subzero/pydir/
Dbisection-tool.py16 self._template = template
50 if self._template:
/external/libchrome/third_party/jinja2/
Denvironment.py1178 self._template = template
1182 context = self._template.new_context(dict(*args, **kwargs))
1183 consume(self._template.root_render_func(context))
/external/python/cpython3/Doc/library/
Dpipes.rst39 .. _template-objects:
Dstring.rst682 .. _template-strings:
/external/smali/dexlib2/accessorTestGenerator/src/main/resources/
DAccessorTest.stg22 operation_template_name(operation) ::= "<operation.name>_template"
/external/python/setuptools/pkg_resources/
D__init__.py253 _template = "{self.dist} is installed but {self.req} is required" variable in VersionConflict
264 return self._template.format(**locals())
283 _template = VersionConflict._template + ' by {self.required_by}' variable in ContextualVersionConflict
293 _template = ("The '{self.req}' distribution was not found " variable in DistributionNotFound
311 return self._template.format(**locals())
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py3555 for _template in ('copy', 'max', 'min', 'min_element', 'sort', 'swap',
3560 (re.compile(r'[^>.]\b' + _template + r'(<.*?>)?\([^\)]'),
3561 _template,
3566 for _template in _templates:
3568 (re.compile(r'(\<|\b)' + _template + r'\s*\<'),
3569 _template + '<>',
/external/python/cpython2/Doc/library/
Dpipes.rst73 .. _template-objects:
/external/libvpx/libvpx/tools/
Dcpplint.py4272 for _template in ('copy', 'max', 'min', 'min_element', 'sort', 'swap',
4277 (re.compile(r'[^>.]\b' + _template + r'(<.*?>)?\([^\)]'),
4278 _template,
4283 for _template in _templates:
4285 (re.compile(r'(\<|\b)' + _template + r'\s*\<'),
4286 _template + '<>',
/external/libaom/libaom/tools/
Dcpplint.py4272 for _template in ('copy', 'max', 'min', 'min_element', 'sort', 'swap',
4277 (re.compile(r'[^>.]\b' + _template + r'(<.*?>)?\([^\)]'),
4278 _template,
4283 for _template in _templates:
4285 (re.compile(r'(\<|\b)' + _template + r'\s*\<'),
4286 _template + '<>',
/external/antlr/tool/src/test/java/org/antlr/test/
DTestCharDFAConversion.java502 public void _template() throws Exception { in _template() method in TestCharDFAConversion
DTestSemanticPredicates.java771 public void _template() throws Exception { in _template() method in TestSemanticPredicates
DTestDFAConversion.java1527 public void _template() throws Exception { in _template() method in TestDFAConversion
/external/google-styleguide/cpplint/
Dcpplint.py5382 for _template in _templates:
5386 (re.compile(r'[^>.]\b' + _template + r'(<.*?>)?\([^\)]'),
5387 _template,
5393 for _template in _templates:
5395 (re.compile(r'(\<|\b)' + _template + r'\s*\<'),
5396 _template + '<>',
/external/llvm/docs/TableGen/
DLangIntro.rst288 .. _template arguments:
/external/swiftshader/third_party/llvm-7.0/llvm/docs/TableGen/
DLangIntro.rst368 .. _template arguments: