/external/python/cpython3/Lib/test/ |
D | test_string.py | 210 self.assertEqual(s.substitute(dict(who='tim', what='ham')), 212 self.assertRaises(KeyError, s.substitute, dict(who='tim')) 213 self.assertRaises(TypeError, Template.substitute) 218 self.assertEqual(s.substitute(d), 'tim likes ham for dinner') 219 self.assertRaises(KeyError, s.substitute, 225 self.assertEqual(s.substitute(d), 'tim likes ham for dinner') 230 self.assertEqual(s.substitute(d), 'tim likes ham for dinner') 235 eq(s.substitute(dict(who='tim', what='ham')), 238 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $') 244 eq(s.substitute(d), '%(foo)s baz baz') [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/llvm-project/llvm/test/CodeGen/NVPTX/ |
D | wmma.py | 305 test_params["intrinsic"] = Template(intrinsic_template).substitute(params) 307 test_params["instruction"] = Template(instruction_template).substitute(params) 318 print(Template(load_template).substitute(test_params)) 379 test_params["intrinsic"] = Template(intrinsic_template).substitute(params) 381 test_params["instruction"] = Template(instruction_template).substitute(params) 392 print(Template(store_template).substitute(test_params)) 469 test_params["intrinsic"] = Template(intrinsic_template).substitute(params) 471 test_params["instruction"] = Template(instruction_template).substitute(params) 480 print(Template(mma_template).substitute(test_params))
|
D | ld-st-addrrspace.py | 90 params["generic_ptr"] = Template(generic_ptr_template).substitute(params) 92 print(Template(load_template).substitute(params))
|
/external/harfbuzz_ng/src/ |
D | hb-ot-layout-gsub-table.hh | 150 + hb_zip (this+coverage, substitute) in closure() 160 + hb_zip (this+coverage, substitute) in collect_glyphs() 177 if (unlikely (index >= substitute.len)) return_trace (false); in apply() 179 c->replace_glyph (substitute[index]); in apply() 200 if (unlikely (!substitute.serialize (c, substitutes))) return_trace (false); in serialize() 212 + hb_zip (this+coverage, substitute) in subset() 227 return_trace (coverage.sanitize (c, this) && substitute.sanitize (c)); in sanitize() 236 substitute; /* Array of substitute member 239 DEFINE_SIZE_ARRAY (6, substitute); 304 { return hb_all (substitute, glyphs); } in intersects() [all …]
|
/external/toolchain-utils/crosperf/ |
D | results_report_templates.py | 23 return _TabMenuTemplate.substitute(table_name=escaped) 57 return _ResultsSectionHTML.substitute( 198 return _MainHTML.substitute(
|
/external/libchrome/base/android/jni_generator/ |
D | jni_registration_generator.py | 131 return template.substitute(registration_dict) 180 forward_declaration += template.substitute(value) 194 register_body = template.substitute(value) 239 return template.substitute(values) 256 ret += [template.substitute(values)] 287 self._SetDictValue('JNI_NATIVE_METHOD', template.substitute(values))
|
D | jni_generator.py | 832 return template.substitute(values) 864 ret += [template.substitute(values)] 889 ret += [template.substitute(values)] 964 return WrapOutput(template.substitute(values)) 1021 'base::android::JavaParamRef<${TYPE}>(env, ${NAME})').substitute({ 1116 return RemoveIndentedEmptyLines(template.substitute(values)) 1242 function_signature_template.substitute(values)) 1245 function_header_with_unused_template.substitute(values)) 1247 values['FUNCTION_HEADER'] = function_header_template.substitute(values) 1253 return RemoveIndentedEmptyLines(template.substitute(values)) [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/units/ |
D | UnitConverter.java | 186 resultCollector.substitute(new BigDecimal("0.3048"), this.CONSTANT_FT2M); in getConversionRate() 187 …resultCollector.substitute(new BigDecimal("411557987.0").divide(new BigDecimal("131002976.0"), DEC… in getConversionRate() 188 resultCollector.substitute(new BigDecimal("9.80665"), this.CONSTANT_GRAVITY); in getConversionRate() 189 resultCollector.substitute(new BigDecimal("6.67408E-11"), this.CONSTANT_G); in getConversionRate() 190 resultCollector.substitute(new BigDecimal("0.00454609"), this.CONSTANT_GAL_IMP2M3); in getConversionRate() 191 resultCollector.substitute(new BigDecimal("0.45359237"), this.CONSTANT_LB2KG); in getConversionRate() 196 private void substitute(BigDecimal value, int power) { in substitute() method in UnitConverter.Factor
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
D | UnitConverter.java | 179 resultCollector.substitute(new BigDecimal("0.3048"), this.CONSTANT_FT2M); in getConversionRate() 180 …resultCollector.substitute(new BigDecimal("411557987.0").divide(new BigDecimal("131002976.0"), DEC… in getConversionRate() 181 resultCollector.substitute(new BigDecimal("9.80665"), this.CONSTANT_GRAVITY); in getConversionRate() 182 resultCollector.substitute(new BigDecimal("6.67408E-11"), this.CONSTANT_G); in getConversionRate() 183 resultCollector.substitute(new BigDecimal("0.00454609"), this.CONSTANT_GAL_IMP2M3); in getConversionRate() 184 resultCollector.substitute(new BigDecimal("0.45359237"), this.CONSTANT_LB2KG); in getConversionRate() 189 private void substitute(BigDecimal value, int power) { in substitute() method in UnitConverter.Factor
|
/external/python/cpython2/Tools/bgen/bgen/ |
D | bgenType.py | 216 def __init__(self, substitute): argument 217 self.substitute = substitute 233 return self.substitute
|
/external/fonttools/Tests/feaLib/data/ |
D | mini.fea | 10 substitute f i by f_i; 11 substitute f l by f_l;
|
/external/icu/icu4c/source/common/ |
D | locdspnm.cpp | 294 UDisplayContext substitute; member in LocaleDisplayNamesImpl 341 UnicodeString& result, bool substitute) const; 363 , substitute(UDISPCTX_SUBSTITUTE) in LocaleDisplayNamesImpl() 376 , substitute(UDISPCTX_SUBSTITUTE) in LocaleDisplayNamesImpl() 392 substitute = value; in LocaleDisplayNamesImpl() 545 return substitute; in getContext() 620 localeIdName(lang, resultName, substitute == UDISPCTX_SUBSTITUTE); in localeDisplayName() 719 UnicodeString& result, bool substitute) const { in localeIdName() 726 if (substitute) { in localeIdName() 745 if (substitute == UDISPCTX_SUBSTITUTE) { in languageDisplayName() [all …]
|
/external/llvm-project/clang/test/CodeGen/ |
D | builtins-nvptx-mma.py | 198 "intrinsic" : Template(intrinsic_template).substitute({ 206 results[(min_ptx,min_sm)] += Template(load_template).substitute(params) 265 "intrinsic" : Template(intrinsic_template).substitute({ 273 results[(min_ptx, min_sm)] += Template(mma_template).substitute(params) 303 print(Template(run_template).substitute({
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CharacterFallbacks.java | 40 String substitute = characterFallbacks.getStringValue(path); in CharacterFallbacks() local 46 substitutes.add(substitute); in CharacterFallbacks()
|
D | SimpleXMLSource.java | 181 public static String replace(UnicodeSet unicodeSet, String valueToMatch, String substitute) { in replace() argument 194 if (substitute.length() != 0) { in replace() 195 b.append(substitute); in replace()
|
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/ |
D | VarString.java | 77 RegexTransformer.substitute(varString, '%', c -> varMap.getOrDefault(c, "%" + c))) in resolve() 84 return RegexTransformer.substitute(varString, '%', c -> varMap.getOrDefault(c, "%" + c)); in get()
|
/external/python/pybind11/ |
D | setup.py | 58 return string.Template(contents.decode()).substitute(opts).encode() 60 return string.Template(contents).substitute(opts)
|
/external/skqp/tools/bookmaker/ |
D | includeWriter.cpp | 2094 string substitute; in resolveMethod() local 2097 substitute = methodname + "()"; in resolveMethod() 2111 substitute = methodname + "()"; in resolveMethod() 2126 substitute = methodname + "()"; in resolveMethod() 2149 return substitute; in resolveMethod() 2177 string substitute; in resolveRef() local 2197 substitute = fBmhStructDef->fName; in resolveRef() 2204 if (!rootDef && !substitute.length()) { in resolveRef() 2223 substitute = this->resolveAlias(rootDef); in resolveRef() 2225 if (!substitute.length()) { in resolveRef() [all …]
|
/external/python/google-api-python-client/ |
D | describe.py | 250 return string.Template(METHOD_TEMPLATE).substitute( 320 string.Template(COLLECTION_LINK).substitute(href=href, name=name) 330 string.Template(METHOD_LINK).substitute(
|
/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/swiftshader/third_party/SPIRV-Tools/test/tools/ |
D | placeholder.py | 210 return Template(self.filename).substitute(vars(testcase)) 213 return Template(self.filename).substitute(vars(testcase))
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/tools/ |
D | placeholder.py | 210 return Template(self.filename).substitute(vars(testcase)) 213 return Template(self.filename).substitute(vars(testcase))
|