/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/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/toolchain-utils/crosperf/ |
results_report_templates.py | 20 return _TabMenuTemplate.substitute(table_name=escaped) 52 return _ResultsSectionHTML.substitute(sect_name=table_name, 192 return _MainHTML.substitute(perf_init=perf_init, chart_js=chart_js,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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-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
|
hb-ot-layout-gsub-table.hh | 118 * substitute GlyphID */ 129 unsigned int count = substitute.len; 135 c->glyphs->add (substitute[iter.get_coverage ()]); 143 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 327 substitute; \/* String of GlyphIDs to substitute *\/ member in struct:OT::Sequence 958 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); local 988 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); local 1015 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); local 1043 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); local [all...] |
/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
|
/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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-apache-regexp.jar | |
/external/guice/lib/build/ |
munge.jar | |
/external/autotest/client/cros/image_comparison/ |
publisher.py | 98 formatted_html = html.substitute(tags)
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_bootstrap_unittest.cc | 25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 54 #include <google/protobuf/stubs/substitute.h>
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
objectivec_map_field.cc | 25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 39 #include <google/protobuf/stubs/substitute.h>
|
objectivec_primitive_field.cc | 25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 41 #include <google/protobuf/stubs/substitute.h>
|
/external/protobuf/src/google/protobuf/stubs/ |
substitute.cc | 25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 33 #include <google/protobuf/stubs/substitute.h> 44 // to Substitute(). 53 string Substitute( 85 << "strings::Substitute format string invalid: asked for \"$" 98 << "Invalid strings::Substitute() format string: \""
|
/external/swiftshader/third_party/LLVM/test/lib/ |
llvm.exp | 48 proc substitute { line test tmpFile } {
55 # Substitute all Tcl variables.
171 set runline [ substitute $runline $test $tmpFile ]
|
/external/clang/docs/tools/ |
dump_format_style.py | 16 def substitute(text, tag, contents): function 195 contents = substitute(contents, 'FORMAT_STYLE_OPTIONS', options_text)
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
varsub.bat | 56 # Don't substitute UnicodeSet vars
|