/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_pep292.py | 50 eq(s.safe_substitute(d), '%(foo)s baz baz') 57 eq(s.safe_substitute(d), 'tim has eaten 7 bags of ham today') 66 eq(s.safe_substitute(d), "('tim', 'fred') ate ('ham', 'kung pao')") 71 eq(s.safe_substitute(dict(who='tim')), 'tim likes ${what} for ${meal}') 72 eq(s.safe_substitute(dict(what='ham')), '$who likes ham for ${meal}') 73 eq(s.safe_substitute(dict(what='ham', meal='dinner')), 75 eq(s.safe_substitute(dict(who='tim', what='ham')), 77 eq(s.safe_substitute(dict(who='tim', what='ham', meal='dinner')), 126 self.assertRaises(ValueError, s.safe_substitute, {}) 151 eq(s.safe_substitute(who='tim', what='ham'), 'tim likes ham' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_pep292.py | 50 eq(s.safe_substitute(d), '%(foo)s baz baz') 57 eq(s.safe_substitute(d), 'tim has eaten 7 bags of ham today') 66 eq(s.safe_substitute(d), "('tim', 'fred') ate ('ham', 'kung pao')") 71 eq(s.safe_substitute(dict(who='tim')), 'tim likes ${what} for ${meal}') 72 eq(s.safe_substitute(dict(what='ham')), '$who likes ham for ${meal}') 73 eq(s.safe_substitute(dict(what='ham', meal='dinner')), 75 eq(s.safe_substitute(dict(who='tim', what='ham')), 77 eq(s.safe_substitute(dict(who='tim', what='ham', meal='dinner')), 126 self.assertRaises(ValueError, s.safe_substitute, {}) 151 eq(s.safe_substitute(who='tim', what='ham'), 'tim likes ham' [all...] |
/external/chromium_org/tools/deep_memory_profiler/ |
graph.py | 89 print Template(_HTML_TEMPLATE).safe_substitute(
|
/external/chromium_org/tools/deep_memory_profiler/visualizer/ |
template.py | 65 html_file.write(Template(_TEMPLATE).safe_substitute({ 'DATA': data }))
|
/docs/source.android.com/scripts/ |
build.py | 115 final = template.safe_substitute(main=main, sidebar=sidebar, sidebar2=sidebar2, \
|
/external/chromium_org/remoting/tools/build/ |
remoting_localize.py | 721 template_file_name = target.safe_substitute(context)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
string.py | 174 def safe_substitute(self, *args, **kws): member in class:Template
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
string.py | 174 def safe_substitute(self, *args, **kws): member in class:Template
|