Home
last modified time | relevance | path

Searched refs:substitute (Results 1 - 25 of 79) sorted by relevance

1234

/third_party/python/Lib/test/
H A Dtest_string.py210 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(
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsLongStressTestUtil.cpp58 string ProgramLibrary::substitute (const string& templ, const map<string, string>& additionalParams) const 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_UNUSED_INPUTS"] = substitute(vtxUnusedInputs); in generateBufferContext()
126 gls::ProgramContext context(substitute(vertexTemplate, firstLevelParams).c_str(), substitute(fragmentTemplate).c_str(), "a_position"); in generateBufferContext()
161 gls::ProgramContext context(substitute(vertexTemplate).c_str(), substitute(fragmentTemplate).c_str(), "a_position"); in generateTextureContext()
222 firstLevelParams["VTX_TEX_COORD_INPUTS"] = substitute(vtxTexCoordInputs); in generateBufferAndTextureContext()
223 firstLevelParams["VTX_TEX_COORD_OUTPUTS"] = substitute(vtxTexCoordOutput in generateBufferAndTextureContext()
[all...]
H A DglsLongStressTestUtil.hpp51 std::string substitute (const std::string&) const;
52 std::string substitute (const std::string&, const std::map<std::string, std::string>&) const;
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-layout-gsub-table.hh145 * substitute GlyphID, modulo 0x10000 */
160 + hb_zip (this+coverage, substitute) in closure()
173 + hb_zip (this+coverage, substitute) in collect_glyphs()
190 if (unlikely (index >= substitute.len)) return_trace (false); in apply()
192 c->replace_glyph (substitute[index]); in apply()
213 if (unlikely (!substitute.serialize (c, substitutes))) return_trace (false); in serialize()
225 + hb_zip (this+coverage, substitute) in subset()
240 return_trace (coverage.sanitize (c, this) && substitute.sanitize (c)); in sanitize()
249 substitute; /* Array of substitute member
395 substitute; /* String of GlyphIDs to substitute */ global() member
[all...]
H A Dhb-ot-shape.hh141 HB_INTERNAL void substitute (hb_font_t *font, hb_buffer_t *buffer) const;
/third_party/gn/misc/vim/autoload/
H A Dgn.vim7 let l:new_path = substitute(a:name, '\v^//', '', '')
10 let l:new_path = substitute(l:new_path, '\v:.*$', '', '')
22 let l:new_path = substitute(l:new_path, '\v/?$', '/BUILD.gn', '')
/third_party/skia/third_party/externals/sfntly/cpp/tools/
H A Dgenerate_font_list_cc.py115 h_file.write(Template('namespace $name {\n').substitute(name=args.name))
120 };""").substitute(tests=',\n'.join(map(GetFontPath, args.fonts))))
121 h_file.write(Template('\n} // namespace $name\n').substitute(name=args.name))
/third_party/icu/icu4c/source/common/
H A Dlocdspnm.cpp294 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()
740 if (result.isBogus() && substitute) { in localeIdName()
772 if (result.isBogus() && substitute in languageDisplayName()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dlocdspnm.cpp294 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()
740 if (result.isBogus() && substitute) { in localeIdName()
772 if (result.isBogus() && substitute in languageDisplayName()
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dlocdspnm.cpp294 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 in languageDisplayName()
[all...]
H A Dlocdispnames.cpp304 const char *substitute, in _getStringOrCopyKey()
339 /* no string from a resource bundle: convert the substitute */ in _getStringOrCopyKey()
340 length=(int32_t)uprv_strlen(substitute); in _getStringOrCopyKey()
341 u_charsToUChars(substitute, dest, uprv_min(length, destCapacity)); in _getStringOrCopyKey()
300 _getStringOrCopyKey(const char *path, const char *locale, const char *tableKey, const char* subTableKey, const char *itemKey, const char *substitute, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) _getStringOrCopyKey() argument
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/
H A DVarString.java77 RegexTransformer.substitute(varString, '%', c -> varMap.getOrDefault(c, "%" + c))) in resolve()
84 return RegexTransformer.substitute(varString, '%', c -> varMap.getOrDefault(c, "%" + c)); in get()
/third_party/vk-gl-cts/external/amber/src/tools/
H A Dupdate_vk_wrappers.py128 content += template.substitute(method=method,
167 content += template.substitute(method=method)
/third_party/skia/third_party/externals/spirv-tools/test/tools/
H A Dplaceholder.py210 return Template(self.filename).substitute(vars(testcase))
213 return Template(self.filename).substitute(vars(testcase))
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
H A Dplaceholder.py210 return Template(self.filename).substitute(vars(testcase))
213 return Template(self.filename).substitute(vars(testcase))
/third_party/spirv-tools/test/tools/
H A Dplaceholder.py210 return Template(self.filename).substitute(vars(testcase))
213 return Template(self.filename).substitute(vars(testcase))
/third_party/python/Tools/unicode/
H A Dgencjkcodecs.py60 code = TEMPLATE.substitute(ENCODING=enc.upper(),
/third_party/python/Python/
H A Dsuggestions.c96 // // 1) substitute in levenshtein_distance()
106 size_t substitute = distance + substitution_cost(code, a[index]); in levenshtein_distance() local
112 result = Py_MIN(insert_delete, substitute); in levenshtein_distance()
/third_party/skia/third_party/externals/angle2/scripts/
H A Dgenerate_new_renderer.py275 h_file.write(string.Template(h_file_template).substitute(substitutions))
276 cpp_file.write(string.Template(cpp_file_template).substitute(substitutions))
/third_party/libuv/docs/src/sphinx-plugins/
H A Dmanpage.py24 ref = s.substitute(num=manpage_num, topic=name)
/third_party/skia/tools/skqp/
H A Dgn_to_bp.py188 print >>f, bp.substitute({
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A Dvarsub.bat56 # Don't substitute UnicodeSet vars
/third_party/vixl/tools/
H A Dgenerate_tests.py718 generated_file = template.substitute({
/third_party/protobuf/src/google/protobuf/compiler/java/
H A Djava_message_builder_lite.cc54 #include <google/protobuf/stubs/substitute.h>
/third_party/protobuf/src/google/protobuf/stubs/
H A Dsubstitute.cc33 #include <google/protobuf/stubs/substitute.h>

Completed in 17 milliseconds

1234