/external/python/cpython3/Lib/test/ |
D | test_string.py | 211 self.assertEqual(s.substitute(dict(who='tim', what='ham')), 213 self.assertRaises(KeyError, s.substitute, dict(who='tim')) 214 self.assertRaises(TypeError, Template.substitute) 219 self.assertEqual(s.substitute(d), 'tim likes ham for dinner') 220 self.assertRaises(KeyError, s.substitute, 226 eq(s.substitute(dict(who='tim', what='ham')), 229 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $') 235 eq(s.substitute(d), '%(foo)s baz baz') 242 eq(s.substitute(d), 'tim has eaten 7 bags of ham today') 245 eq(s.substitute(d), 'tim has eaten 7 bags of ham today') [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_string.py | 242 self.assertEqual(s.substitute(dict(who='tim', what='ham')), 244 self.assertRaises(KeyError, s.substitute, dict(who='tim')) 245 self.assertRaises(TypeError, Template.substitute) 250 self.assertEqual(s.substitute(d), 'tim likes ham for dinner') 251 self.assertRaises(KeyError, s.substitute, 257 eq(s.substitute(dict(who='tim', what='ham')), 260 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $') 266 eq(s.substitute(d), '%(foo)s baz baz') 273 eq(s.substitute(d), 'tim has eaten 7 bags of ham today') 276 eq(s.substitute(d), 'tim has eaten 7 bags of ham today') [all …]
|
/external/deqp/modules/glshared/ |
D | glsLongStressTestUtil.cpp | 58 string ProgramLibrary::substitute (const string& templ, const map<string, string>& additionalParams… in substitute() function in deqp::gls::LongStressTestUtil::ProgramLibrary 77 string ProgramLibrary::substitute (const std::string& templ) const in substitute() function in deqp::gls::LongStressTestUtil::ProgramLibrary 79 return substitute(templ, map<string, string>()); in substitute() 122 firstLevelParams["VTX_DUMMY_INPUTS"] = substitute(vtxDummyInputs); in generateBufferContext() 126 …gls::ProgramContext context(substitute(vertexTemplate, firstLevelParams).c_str(), substitute(fragm… in generateBufferContext() 161 …gls::ProgramContext context(substitute(vertexTemplate).c_str(), substitute(fragmentTemplate).c_str… in generateTextureContext() 222 firstLevelParams["VTX_TEX_COORD_INPUTS"] = substitute(vtxTexCoordInputs); in generateBufferAndTextureContext() 223 firstLevelParams["VTX_TEX_COORD_OUTPUTS"] = substitute(vtxTexCoordOutputs); in generateBufferAndTextureContext() 225 firstLevelParams["FRAG_TEX_COORD_INPUTS"] = substitute(fragTexCoordInputs); in generateBufferAndTextureContext() 227 firstLevelParams["FRAG_COLOR_EXPRESSION"] = substitute(fragColorExpression); in generateBufferAndTextureContext() [all …]
|
D | glsLongStressTestUtil.hpp | 51 std::string substitute (const std::string&) const; 52 …std::string substitute (const std::string&, const std::map<std::string, std::string>&)…
|
/external/harfbuzz_ng/src/ |
D | hb-ot-layout-gsub-table.hh | 129 unsigned int count = substitute.len; in closure() 135 c->glyphs->add (substitute[iter.get_coverage ()]); in closure() 144 unsigned int count = substitute.len; in collect_glyphs() 149 c->output->add (substitute[iter.get_coverage ()]); in collect_glyphs() 171 if (unlikely (index >= substitute.len)) return_trace (false); in apply() 173 glyph_id = substitute[index]; in apply() 186 if (unlikely (!substitute.serialize (c, substitutes, num_glyphs))) return_trace (false); in serialize() 194 return_trace (coverage.sanitize (c, this) && substitute.sanitize (c)); in sanitize() 203 substitute; /* Array of substitute member 206 DEFINE_SIZE_ARRAY (6, substitute); [all …]
|
D | hb-ot-shape-private.hh | 59 …inline void substitute (hb_font_t *font, hb_buffer_t *buffer) const { map.substitute (this, font, … in substitute() function
|
/external/toolchain-utils/crosperf/ |
D | results_report_templates.py | 21 return _TabMenuTemplate.substitute(table_name=escaped) 55 return _ResultsSectionHTML.substitute( 196 return _MainHTML.substitute(
|
/external/python/cpython2/Tools/bgen/bgen/ |
D | bgenType.py | 216 def __init__(self, substitute): argument 217 self.substitute = substitute 233 return self.substitute
|
/external/skia/tools/bookmaker/ |
D | includeWriter.cpp | 1597 string substitute; in ConvertRef() local 1604 substitute += c; in ConvertRef() 1607 return substitute; in ConvertRef() 1615 string substitute; in resolveMethod() local 1618 substitute = methodname + "()"; in resolveMethod() 1632 substitute = methodname + "()"; in resolveMethod() 1650 return substitute; in resolveMethod() 1666 string substitute; in resolveRef() local 1686 substitute = fBmhStructDef->fName; in resolveRef() 1690 if (!rootDef && !substitute.length()) { in resolveRef() [all …]
|
/external/libmojo/base/android/jni_generator/ |
D | jni_generator.py | 796 return WrapOutput(template.substitute(values)) 848 ret += [template.substitute(values)] 889 return template.substitute(values) 990 return template.substitute(values) 994 'base::android::JavaParamRef<${TYPE}>(env, ${NAME})').substitute({ 1067 return RemoveIndentedEmptyLines(template.substitute(values)) 1169 function_signature_template.substitute(values)) 1172 function_header_with_unused_template.substitute(values)) 1174 values['FUNCTION_HEADER'] = function_header_template.substitute(values) 1175 return RemoveIndentedEmptyLines(template.substitute(values)) [all …]
|
/external/skqp/tools/bookmaker/ |
D | includeWriter.cpp | 1495 string substitute; in ConvertRef() local 1502 substitute += c; in ConvertRef() 1505 return substitute; in ConvertRef() 1513 string substitute; in resolveMethod() local 1516 substitute = methodname + "()"; in resolveMethod() 1530 substitute = methodname + "()"; in resolveMethod() 1548 return substitute; in resolveMethod() 1591 string substitute; in resolveRef() local 1595 substitute = string(child->fContentStart, in resolveRef() 1600 if (!substitute.length()) { in resolveRef() [all …]
|
/external/python/cpython2/Misc/Vim/ |
D | vim_syntax.py | 68 skip = skip_regex.substitute(sep=separator) 72 yield regex_template.substitute(raw=raw, sep=separator, skip=skip,
|
/external/python/cpython3/Tools/unicode/ |
D | gencjkcodecs.py | 60 code = TEMPLATE.substitute(ENCODING=enc.upper(),
|
/external/python/cpython2/Tools/unicode/ |
D | gencjkcodecs.py | 60 code = TEMPLATE.substitute(ENCODING=enc.upper(),
|
/external/tensorflow/tensorflow/core/framework/ |
D | attr_value_util.cc | 526 bool SubstitutePlaceholders(const SubstituteFunc& substitute, in SubstitutePlaceholders() argument 532 if (!SubstitutePlaceholders(substitute, &p.second)) { in SubstitutePlaceholders() 541 if (!SubstitutePlaceholders(substitute, &p.second)) { in SubstitutePlaceholders() 547 return substitute(value->placeholder(), value); in SubstitutePlaceholders()
|
/external/curl/tests/data/ |
D | test1085 | 35 # use the startup of the IPv6 test server as a substitute check for this).
|
/external/swiftshader/third_party/LLVM/test/lib/ |
D | llvm.exp | 48 proc substitute { line test tmpFile } { procedure 171 set runline [ substitute $runline $test $tmpFile ]
|
/external/clang/docs/tools/ |
D | dump_format_style.py | 16 def substitute(text, tag, contents): function 195 contents = substitute(contents, 'FORMAT_STYLE_OPTIONS', options_text)
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTString.h | 328 CPVRTString& substitute(char _src,char _subDes, bool _all = true); 337 CPVRTString& substitute(const char* _src, const char* _subDes, bool _all = true);
|
/external/swiftshader/third_party/LLVM/test/CodeGen/PowerPC/ |
D | 2009-08-17-inline-asm-addr-mode-breakage.ll | 5 ; It is wrong on powerpc to substitute reg+reg for $0; the stw opcode
|
/external/python/cpython3/Doc/tutorial/ |
D | stdlib2.rst | 85 >>> t.substitute(village='Nottingham', cause='the ditch fund') 88 The :meth:`~string.Template.substitute` method raises a :exc:`KeyError` when a 96 >>> t.substitute(d) 118 ... newname = t.substitute(d=date, n=i, f=ext) 126 of multiple output formats. This makes it possible to substitute custom
|
/external/python/cpython2/Doc/tutorial/ |
D | stdlib2.rst | 85 >>> t.substitute(village='Nottingham', cause='the ditch fund') 88 The :meth:`~string.Template.substitute` method raises a :exc:`KeyError` when a 96 >>> t.substitute(d) 118 ... newname = t.substitute(d=date, n=i, f=ext) 126 of multiple output formats. This makes it possible to substitute custom
|
/external/llvm/test/CodeGen/PowerPC/ |
D | 2009-08-17-inline-asm-addr-mode-breakage.ll | 5 ; It is wrong on powerpc to substitute reg+reg for $0; the stw opcode
|
/external/skia/tools/skqp/ |
D | gn_to_bp.py | 199 print >>f, bp.substitute({
|
/external/skqp/tools/skqp/ |
D | gn_to_bp.py | 201 print >>f, bp.substitute({
|