Home
last modified time | relevance | path

Searched refs:substitute (Results 1 – 25 of 205) sorted by relevance

123456789

/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/
Djquery.timeago.js65 function substitute(stringOrFunction, number) { function
71 var words = seconds < 45 && substitute($l.seconds, Math.round(seconds)) ||
72 seconds < 90 && substitute($l.minute, 1) ||
73 minutes < 45 && substitute($l.minutes, Math.round(minutes)) ||
74 minutes < 90 && substitute($l.hour, 1) ||
75 hours < 24 && substitute($l.hours, Math.round(hours)) ||
76 hours < 48 && substitute($l.day, 1) ||
77 days < 30 && substitute($l.days, Math.floor(days)) ||
78 days < 60 && substitute($l.month, 1) ||
79 days < 365 && substitute($l.months, Math.floor(days / 30)) ||
[all …]
/external/icu/icu4c/source/layout/
DMultipleSubstSubtables.cpp53 TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[0]); in process() local
55 if (filter != NULL && ! filter->accept(LE_SET_GLYPH(glyph, substitute))) { in process()
59 glyphIterator->setCurrGlyphID(substitute); in process()
66 TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[i]); in process() local
68 if (! filter->accept(substitute)) { in process()
87 TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[i]); in process() local
89 newGlyphs[insert] = LE_SET_GLYPH(glyph, substitute); in process()
DSingleSubstitutionSubtables.cpp49 TTGlyphID substitute = ((TTGlyphID) LE_GET_GLYPH(glyph)) + SWAPW(deltaGlyphID); in process() local
51 if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute))) { in process()
52 glyphIterator->setCurrGlyphID(substitute); in process()
67 TTGlyphID substitute = SWAPW(substituteArray[coverageIndex]); in process() local
69 if (filter == NULL || filter->accept(LE_SET_GLYPH(glyph, substitute))) { in process()
70 glyphIterator->setCurrGlyphID(substitute); in process()
/external/deqp/modules/glshared/
DglsLongStressTestUtil.cpp58 string ProgramLibrary::substitute (const string& templ, const map<string, string>& additionalParams… 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_DUMMY_INPUTS"] = substitute(vtxDummyInputs); in generateBufferContext()
126 …gls::ProgramContext context(substitute(vertexTemplate, firstLevelParams).c_str(), substitute(fragm… in generateBufferContext()
161 …gls::ProgramContext context(substitute(vertexTemplate).c_str(), substitute(fragmentTemplate).c_str… in generateTextureContext()
222 firstLevelParams["VTX_TEX_COORD_INPUTS"] = substitute(vtxTexCoordInputs); in generateBufferAndTextureContext()
223 firstLevelParams["VTX_TEX_COORD_OUTPUTS"] = substitute(vtxTexCoordOutputs); in generateBufferAndTextureContext()
225 firstLevelParams["FRAG_TEX_COORD_INPUTS"] = substitute(fragTexCoordInputs); in generateBufferAndTextureContext()
227 firstLevelParams["FRAG_COLOR_EXPRESSION"] = substitute(fragColorExpression); in generateBufferAndTextureContext()
[all …]
DglsLongStressTestUtil.hpp51 std::string substitute (const std::string&) const;
52 …std::string substitute (const std::string&, const std::map<std::string, std::string>&)…
/external/chromium-trace/catapult/third_party/Paste/tests/
Dtest_template.txt7 >>> Template('Hi {{repr(name)}}').substitute(name='Ian')
9 >>> Template('Hi {{name+1}}').substitute(name='Ian')
27 >>> t.substitute(x=1, y=2, z=3)
29 >>> t.substitute(x=0, y=2, z=3)
32 >>> t.substitute(x=1), t.substitute(x=-10), t.substitute(x=0)
38 >>> t.substitute(x=range(3))
41 >>> t.substitute(z={1: 2, 3: 4})
45 >>> t.substitute(x=[1, 2, 0, 3, 4])
49 >>> t.substitute(x=[1, 2, 0, 3, 0, 4])
84 >>> t.substitute(id=1, class_='foo')
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-layout-gsub-table.hh125 c->glyphs->add (substitute[iter.get_coverage ()]); in closure()
135 c->output->add (substitute[iter.get_coverage ()]); in collect_glyphs()
157 if (unlikely (index >= substitute.len)) return_trace (false); in apply()
159 glyph_id = substitute[index]; in apply()
172 if (unlikely (!substitute.serialize (c, substitutes, num_glyphs))) return_trace (false); in serialize()
180 return_trace (coverage.sanitize (c, this) && substitute.sanitize (c)); in sanitize()
189 substitute; /* Array of substitute member
192 DEFINE_SIZE_ARRAY (6, substitute);
250 unsigned int count = substitute.len; in closure()
252 c->glyphs->add (substitute[i]); in closure()
[all …]
Dhb-ot-shape-private.hh59 …inline void substitute (hb_font_t *font, hb_buffer_t *buffer) const { map.substitute (this, font, … in substitute() function
/external/opencv3/modules/python/src2/
Dgen2.py291 …code += "".join([gen_template_set_prop_from_map.substitute(propname=p.name,proptype=p.tp) for p in…
314 …getset_code.write(gen_template_get_prop_algo.substitute(name=self.name, cname=self.cname, member=p…
316 …getset_code.write(gen_template_get_prop.substitute(name=self.name, member=pname, membertype=p.tp, …
318 getset_inits.write(gen_template_prop_init.substitute(name=self.name, member=pname))
321 …getset_code.write(gen_template_set_prop_algo.substitute(name=self.name, cname=self.cname, member=p…
323 …getset_code.write(gen_template_set_prop.substitute(name=self.name, member=pname, membertype=p.tp, …
324 … getset_inits.write(gen_template_rw_prop_init.substitute(name=self.name, member=pname))
340 code = gen_template_type_impl.substitute(name=self.name, wname=self.wname, cname=self.cname,
547 … ).substitute(py_funcname = self.variants[0].wname, wrap_funcname=self.get_wrapper_name(),
565 … code += gen_template_check_self_algo.substitute(name=selfinfo.name, cname=selfinfo.cname, amp=amp)
[all …]
/external/chromium-trace/catapult/third_party/Paste/paste/debug/
Dwatchthreads.py225 page = page_template.substitute(
279 return environ_template.substitute(
290 environ_template.substitute(
295 environ_template.substitute(
/external/v8/test/mjsunit/
Ddebug-stepin-positions.js90 function replaceStringRange(s, pos, substitute) { argument
91 return s.substring(0, pos) + substitute +
92 s.substring(pos + substitute.length);
/external/opencv3/modules/java/generator/
Dgen_java.py748 return Template("CONST $name=$value$manual").substitute(name=self.name,
765 return Template("PROP $ctype $name").substitute(ctype=self.ctype, name=self.name)
790 return Template("CLASS $namespace.$classpath.$name : $base").substitute(**self.__dict__)
866 self.jn_code.getvalue() + "\n}\n").substitute(\
897 return Template("ARG $ctype$p $name=$defval").substitute(ctype=self.ctype,
925 … return Template("FUNC <$ctype $namespace.$classpath.$name $args>").substitute(**self.__dict__)
1066 …self.save(output_path+"/"+module+".cpp", Template(T_CPP_MODULE).substitute(m = module, M = module.…
1227 " private static native $type $name($args);\n").substitute(\
1304 ).substitute(\
1417 """ ).substitute( \
/external/chromium-trace/catapult/third_party/WebOb/docs/wiki-example-code/
Dexample.py95 text = self.view_template.substitute(
119 text = self.edit_template.substitute(
/external/chromium-trace/catapult/third_party/Paste/paste/util/
Dtemplate.py103 def substitute(self, *args, **kw): member in Template
266 return tmpl.substitute(kw)
270 return tmpl.substitute(vars)
371 return tmpl.substitute(kw)
745 result = template.substitute(vars)
Dtemplate.py.2015-04-30-12322424 ``string.Template``) you can call the ``tmpl.substitute(**kw)``
25 method to make a substitution (or ``tmpl.substitute(a_dict)``).
108 def substitute(self, *args, **kw):
271 return tmpl.substitute(kw)
275 return tmpl.substitute(vars)
376 return tmpl.substitute(kw)
750 result = template.substitute(vars)
/external/chromium-trace/catapult/third_party/WebOb/webob/
Dexc.py288 return t_obj.substitute(args)
293 return self.plain_template_obj.substitute(status=self.status,
299 return self.html_template_obj.substitute(status=self.status,
/external/curl/tests/data/
Dtest108535 # use the startup of the IPv6 test server as a substitute check for this).
/external/clang/docs/tools/
Ddump_format_style.py14 def substitute(text, tag, contents): function
189 contents = substitute(contents, 'FORMAT_STYLE_OPTIONS', options_text)
/external/guice/lib/build/
Dmunge.jar ... int countQuotes (java.lang.String) void substitute () public void process () throws java. ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant-apache-regexp.jar ... int options int subsOptions public java.lang.String substitute (java.lang.String, java.lang ...
/external/opencv/
DNOTICE32 (including, but not limited to, procurement of substitute goods or services;
153 // (including, but not limited to, procurement of substitute goods or services;
313 // (including, but not limited to, procurement of substitute goods or services;
355 // (including, but not limited to, procurement of substitute goods or services;
397 // (including, but not limited to, procurement of substitute goods or services;
439 //(including, but not limited to, procurement of substitute goods or services;
481 // (including, but not limited to, procurement of substitute goods or services;
523 //(including, but not limited to, procurement of substitute goods or services;
564 // (including, but not limited to, procurement of substitute goods or services;
606 // (including, but not limited to, procurement of substitute goods or services;
[all …]
/external/guice/extensions/persist/lib/
Doro-2.0.8.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DBagFormatter.java229 String substitute) { in getAbbreviatedName() argument
238 substitute, in getAbbreviatedName()
243 substitute, in getAbbreviatedName() local
446 String substitute, in addMatching() argument
460 result.append(substitute); in addMatching()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
DBagFormatter.java228 String substitute) { in getAbbreviatedName() argument
237 substitute, in getAbbreviatedName()
242 substitute, in getAbbreviatedName() local
445 String substitute, in addMatching() argument
459 result.append(substitute); in addMatching()
/external/llvm/test/CodeGen/PowerPC/
D2009-08-17-inline-asm-addr-mode-breakage.ll5 ; It is wrong on powerpc to substitute reg+reg for $0; the stw opcode

123456789