/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_pep292.py | 26 self.assertEqual(s.substitute(dict(who='tim', what='ham')),
28 self.assertRaises(KeyError, s.substitute, dict(who='tim'))
33 self.assertEqual(s.substitute(d), 'tim likes ham for dinner')
34 self.assertRaises(KeyError, s.substitute,
40 eq(s.substitute(dict(who='tim', what='ham')),
43 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $')
49 eq(s.substitute(d), '%(foo)s baz baz')
56 eq(s.substitute(d), 'tim has eaten 7 bags of ham today')
59 eq(s.substitute(d), 'tim has eaten 7 bags of ham today')
65 eq(s.substitute(d), "('tim', 'fred') ate ('ham', 'kung pao')") [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_pep292.py | 26 self.assertEqual(s.substitute(dict(who='tim', what='ham')), 28 self.assertRaises(KeyError, s.substitute, dict(who='tim')) 33 self.assertEqual(s.substitute(d), 'tim likes ham for dinner') 34 self.assertRaises(KeyError, s.substitute, 40 eq(s.substitute(dict(who='tim', what='ham')), 43 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $') 49 eq(s.substitute(d), '%(foo)s baz baz') 56 eq(s.substitute(d), 'tim has eaten 7 bags of ham today') 59 eq(s.substitute(d), 'tim has eaten 7 bags of ham today') 65 eq(s.substitute(d), "('tim', 'fred') ate ('ham', 'kung pao')" [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_pep292.py | 26 self.assertEqual(s.substitute(dict(who='tim', what='ham')), 28 self.assertRaises(KeyError, s.substitute, dict(who='tim')) 33 self.assertEqual(s.substitute(d), 'tim likes ham for dinner') 34 self.assertRaises(KeyError, s.substitute, 40 eq(s.substitute(dict(who='tim', what='ham')), 43 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $') 49 eq(s.substitute(d), '%(foo)s baz baz') 56 eq(s.substitute(d), 'tim has eaten 7 bags of ham today') 59 eq(s.substitute(d), 'tim has eaten 7 bags of ham today') 65 eq(s.substitute(d), "('tim', 'fred') ate ('ham', 'kung pao')" [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_pep292.py | 26 self.assertEqual(s.substitute(dict(who='tim', what='ham')), 28 self.assertRaises(KeyError, s.substitute, dict(who='tim')) 33 self.assertEqual(s.substitute(d), 'tim likes ham for dinner') 34 self.assertRaises(KeyError, s.substitute, 40 eq(s.substitute(dict(who='tim', what='ham')), 43 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $') 49 eq(s.substitute(d), '%(foo)s baz baz') 56 eq(s.substitute(d), 'tim has eaten 7 bags of ham today') 59 eq(s.substitute(d), 'tim has eaten 7 bags of ham today') 65 eq(s.substitute(d), "('tim', 'fred') ate ('ham', 'kung pao')" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_pep292.py | 26 self.assertEqual(s.substitute(dict(who='tim', what='ham')), 28 self.assertRaises(KeyError, s.substitute, dict(who='tim')) 33 self.assertEqual(s.substitute(d), 'tim likes ham for dinner') 34 self.assertRaises(KeyError, s.substitute, 40 eq(s.substitute(dict(who='tim', what='ham')), 43 eq(s.substitute(dict(who='tim', what='ham')), 'tim likes $') 49 eq(s.substitute(d), '%(foo)s baz baz') 56 eq(s.substitute(d), 'tim has eaten 7 bags of ham today') 59 eq(s.substitute(d), 'tim has eaten 7 bags of ham today') 65 eq(s.substitute(d), "('tim', 'fred') ate ('ham', 'kung pao')" [all...] |
/external/python/cpython3/Lib/test/ |
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/deqp/modules/glshared/ |
glsLongStressTestUtil.hpp | 51 std::string substitute (const std::string&) const; 52 std::string substitute (const std::string&, const std::map<std::string, std::string>&) const;
|
glsLongStressTestUtil.cpp | 58 string ProgramLibrary::substitute (const string& templ, const map<string, string>& additionalParams) const function in class:deqp::gls::LongStressTestUtil::ProgramLibrary 77 string ProgramLibrary::substitute (const std::string& templ) const function in class:deqp::gls::LongStressTestUtil::ProgramLibrary 79 return substitute(templ, map<string, string>()); 122 firstLevelParams["VTX_DUMMY_INPUTS"] = substitute(vtxDummyInputs); 126 gls::ProgramContext context(substitute(vertexTemplate, firstLevelParams).c_str(), substitute(fragmentTemplate).c_str(), "a_position"); 161 gls::ProgramContext context(substitute(vertexTemplate).c_str(), substitute(fragmentTemplate).c_str(), "a_position"); 222 firstLevelParams["VTX_TEX_COORD_INPUTS"] = substitute(vtxTexCoordInputs); 223 firstLevelParams["VTX_TEX_COORD_OUTPUTS"] = substitute(vtxTexCoordOutputs) [all...] |
/external/python/cpython2/Lib/test/ |
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/toolchain-utils/crosperf/ |
results_report_templates.py | 21 return _TabMenuTemplate.substitute(table_name=escaped) 55 return _ResultsSectionHTML.substitute( 196 return _MainHTML.substitute(
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/ |
gencjkcodecs.py | 60 code = TEMPLATE.substitute(ENCODING=enc.upper(),
|
/external/python/cpython2/Tools/unicode/ |
gencjkcodecs.py | 60 code = TEMPLATE.substitute(ENCODING=enc.upper(),
|
/external/python/cpython3/Tools/unicode/ |
gencjkcodecs.py | 60 code = TEMPLATE.substitute(ENCODING=enc.upper(),
|
/prebuilts/go/darwin-x86/src/internal/syscall/windows/ |
reparse_windows.go | 31 // of the substitute name string in the PathBuffer array, 36 // substitute name string. If this string is null-terminated, 43 // Flags specifies whether the substitute name is a full path name or 51 // of the substitute name string in the PathBuffer array, 56 // substitute name string. If this string is null-terminated,
|
/prebuilts/go/linux-x86/src/internal/syscall/windows/ |
reparse_windows.go | 31 // of the substitute name string in the PathBuffer array, 36 // substitute name string. If this string is null-terminated, 43 // Flags specifies whether the substitute name is a full path name or 51 // of the substitute name string in the PathBuffer array, 56 // substitute name string. If this string is null-terminated,
|
/external/harfbuzz_ng/src/ |
hb-ot-layout-gsub-table.hh | 118 * substitute GlyphID */ 129 unsigned int count = substitute.len; 135 c->glyphs->add (substitute[iter.get_coverage ()]); 144 unsigned int count = substitute.len; 149 c->output->add (substitute[iter.get_coverage ()]); 171 if (unlikely (index >= substitute.len)) return_trace (false); 173 glyph_id = substitute[index]; 186 if (unlikely (!substitute.serialize (c, substitutes, num_glyphs))) return_trace (false); 194 return_trace (coverage.sanitize (c, this) && substitute.sanitize (c)); 203 substitute; /* Array of substitut member in struct:OT::SingleSubstFormat2 325 substitute; \/* String of GlyphIDs to substitute *\/ member in struct:OT::Sequence 952 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); local 980 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); local 1006 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); local 1037 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); local [all...] |
hb-ot-shape-private.hh | 59 inline void substitute (hb_font_t *font, hb_buffer_t *buffer) const { map.substitute (this, font, buffer); } function in struct:hb_ot_shape_plan_t
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/ |
bgenType.py | 216 def __init__(self, substitute):
217 self.substitute = substitute
233 return self.substitute
|
/external/python/cpython2/Tools/bgen/bgen/ |
bgenType.py | 216 def __init__(self, substitute): 217 self.substitute = substitute 233 return self.substitute
|
/development/testrunner/ |
create_test.py | 111 output = string.Template(TestsConsts.TEST_MANIFEST_TEMPLATE).substitute(mapping) 161 output = string.Template(TestsConsts.TEST_MK_TEMPLATE).substitute(mapping)
|
/external/guice/lib/build/ |
munge.jar | |
/art/compiler/optimizing/ |
load_store_elimination.cc | 135 // Find an instruction's substitute if it's a removed load. 144 HInstruction* substitute = substitute_instructions_for_loads_[i]; local 145 // The substitute list is a flat hierarchy. 146 DCHECK_EQ(FindSubstitute(substitute), substitute); local 147 return substitute; 156 "Unexpected heap_value that has a substitute " << heap_value->DebugName(); 162 // the other removed load has the same substitute and type and is dominated 167 HInstruction* substitute = substitute_instructions_for_loads_[index]; local 179 if (substitute2 == substitute & 210 HInstruction* substitute = substitute_instructions_for_loads_[i]; local 215 DCHECK_EQ(FindSubstitute(substitute), substitute); local [all...] |
/external/skia/tools/bookmaker/ |
includeWriter.cpp | 1597 string substitute; local 1615 string substitute; local 1666 string substitute; local [all...] |
/frameworks/rs/script_api/ |
GenerateStubsWhiteList.cpp | 102 const string substitute = findSubstitute(*i, apiLevel, intSize); local 103 if (substitute.empty()) { 128 istringstream stream(substitute);
|
/external/autotest/client/cros/image_comparison/ |
publisher.py | 98 formatted_html = html.substitute(tags)
|