/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/icu/icu4c/source/layout/ |
SingleSubstitutionSubtables.cpp | 49 TTGlyphID substitute = ((TTGlyphID) LE_GET_GLYPH(glyph)) + SWAPW(deltaGlyphID); local 51 if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute))) { 52 glyphIterator->setCurrGlyphID(substitute); 67 TTGlyphID substitute = SWAPW(substituteArray[coverageIndex]); local 69 if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute))) { 70 glyphIterator->setCurrGlyphID(substitute);
|
MultipleSubstSubtables.cpp | 53 TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[0]); local 55 if (filter != NULL && ! filter->accept(LE_SET_GLYPH(glyph, substitute))) { 59 glyphIterator->setCurrGlyphID(substitute); 66 TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[i]); local 68 if (! filter->accept(substitute)) { 87 TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[i]); local 89 newGlyphs[insert] = LE_SET_GLYPH(glyph, substitute);
|
/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...] |
/build/core/clang/ |
arm64.mk | 19 # We don't have any arm64 flags to substitute yet.
|
mips.mk | 17 # We don't have any mips flags to substitute yet.
|
mips64.mk | 17 # We don't have any mips64 flags to substitute yet.
|
x86.mk | 16 # We don't have any x86 flags to substitute yet.
|
x86_64.mk | 15 # We don't have any x86_64 flags to substitute yet.
|
/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 | 111 * substitute GlyphID */ 124 c->glyphs->add (substitute[iter.get_coverage ()]); 134 c->output->add (substitute[iter.get_coverage ()]); 156 if (unlikely (index >= substitute.len)) return TRACE_RETURN (false); 158 glyph_id = substitute[index]; 171 if (unlikely (!substitute.serialize (c, substitutes, num_glyphs))) return TRACE_RETURN (false); 178 return TRACE_RETURN (coverage.sanitize (c, this) && substitute.sanitize (c)); 187 substitute; /* Array of substitute member in struct:OT::SingleSubstFormat2 190 DEFINE_SIZE_ARRAY (6, substitute); 322 substitute; \/* String of GlyphIDs to substitute *\/ member in struct:OT::Sequence 947 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); local 973 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); local 1000 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); local [all...] |
/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 | |
/frameworks/rs/api/ |
GenerateStubsWhiteList.cpp | 108 const string substitute = findSubstitute(*i, apiLevel, intSize); local 109 if (substitute.empty()) { 114 istringstream stream(substitute);
|
/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/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/clang/docs/tools/ |
dump_format_style.py | 14 def substitute(text, tag, contents): function 141 contents = substitute(contents, 'FORMAT_STYLE_OPTIONS', options_text)
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusstringformat.h | 160 StringDigitSubstitute substitute) 163 nativeStringFormat, language, substitute));
|
/external/protobuf/src/google/protobuf/compiler/java/ |
java_field.cc | 25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 49 #include <google/protobuf/stubs/substitute.h>
|
/external/skia/src/pdf/ |
SkPDFTypes.h | 337 The PDF Substitute Map manages substitute objects and owns the 343 /** Set substitute object for the passed object. 344 Refs substitute. 346 void setSubstitute(SkPDFObject* original, SkPDFObject* substitute); 348 /** Find and return any substitute object set for the passed object. If
|
/external/v8/test/mjsunit/ |
debug-stepin-positions.js | 22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 85 function replaceStringRange(s, pos, substitute) { 86 return s.substring(0, pos) + substitute + 87 s.substring(pos + substitute.length);
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/ |
template.py | 24 ``string.Template``) you can call the ``tmpl.substitute(**kw)`` 25 method to make a substitution (or ``tmpl.substitute(a_dict)``). 103 def substitute(self, *args, **kw): member in class:Template 266 return tmpl.substitute(kw) 270 return tmpl.substitute(vars) 371 return tmpl.substitute(kw) 745 result = template.substitute(vars)
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/ |
BagFormatter.java | 228 String substitute) { 237 substitute, 242 substitute, local 445 String substitute, 459 result.append(substitute); [all...] |