/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
string.py | 124 class Template: 131 def __init__(self, template): 132 self.template = template 138 lines = self.template[:i].splitlines(True) 172 return self.pattern.sub(convert, self.template) 205 return self.pattern.sub(convert, self.template)
|
tempfile.py | 13 template - the default prefix for all temporary names. 80 template = "tmp" variable 253 """Accessor for tempdir.template.""" 254 return template 270 def mkstemp(suffix="", prefix=template, dir=None, text=False): 307 def mkdtemp(suffix="", prefix=template, dir=None): 338 def mktemp(suffix="", prefix=template, dir=None): 431 prefix=template, dir=None, delete=True): 469 prefix=template, dir=None): 505 suffix="", prefix=template, dir=None) [all...] |
/external/chromium_org/chrome/browser/resources/ |
about_flash.js | 12 // This is the javascript code that processes the template:
|
about_nacl.js | 15 // Process the template.
|
about_conflicts.js | 6 * This variable structure is here to document the structure that the template 36 // This is the javascript code that processes the template:
|
components.js | 15 // This is the javascript code that processes the template: 34 * template expects each component's format to match the following
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
easy_template.py | 17 def TemplateToPython(template, statement_re, expr_re): 21 for line in template.splitlines(1): # 1 => keep line ends
|
/frameworks/base/core/tests/coretests/src/android/text/ |
TextUtilsTest.java | 150 SpannableString template; local 156 template = new SpannableString("a^1b"); 157 template.setSpan("before", 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 158 template.setSpan("during", 1, 3, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 159 template.setSpan("after", 3, 4, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 160 template.setSpan("during+after", 1, 4, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 162 result = (Spanned) TextUtils.expandTemplate(template, "foo"); 176 result = (Spanned) TextUtils.expandTemplate(template, "");
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsCollection.java | 136 NetworkTemplate template, int uid, int set, int tag, int fields) { 137 return getHistory(template, uid, set, tag, fields, Long.MIN_VALUE, Long.MAX_VALUE); 145 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end) { 152 && templateMatches(template, key.ident)) { 163 public NetworkStats getSummary(NetworkTemplate template, long start, long end) { 175 if (templateMatches(template, key.ident)) { 489 private static boolean templateMatches(NetworkTemplate template, NetworkIdentitySet identSet) { 491 if (template.matches(ident)) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
HtmlConversationTemplates.java | 248 throw new NotFoundException("Unable to open template id=" + Integer.toHexString(id) 253 private void append(String template, Object... args) { 254 mFormatter.format(template, args);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
tempfile.py | 13 template - the default prefix for all temporary names. 80 template = "tmp" variable 253 """Accessor for tempdir.template.""" 254 return template 270 def mkstemp(suffix="", prefix=template, dir=None, text=False): 307 def mkdtemp(suffix="", prefix=template, dir=None): 338 def mktemp(suffix="", prefix=template, dir=None): 431 prefix=template, dir=None, delete=True): 469 prefix=template, dir=None): 505 suffix="", prefix=template, dir=None) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateWizard.java | 116 protected WizardPage getDependencyPage(TemplateMetadata template, boolean create) { 125 mDependencyPage.setTemplate(template); 130 * Returns the project where the template is being inserted 132 * @return the project to insert the template into 147 * Computes the changes to the {@link #getProject()} this template should 157 monitor.beginTask("Creating template...", changes.size());
|
/developers/build/buildSrc/src/main/groovy/com/example/android/samples/build/ |
SampleGenProperties.groovy | 31 * of convenience methods for setting up template-generation tasks. 80 * @return The path that contains template files -- can be cleaned without harming 84 return "${targetSamplePath()}/src/template" 102 * The path to the template parameters file 105 return "${targetProjectPath}/template-params.xml" 142 * Returns the path to the template include directory 153 * @param relativeInputPath Input file as a relative path from the template directory 173 * Returns the tree(s) where the templates to be processed live. The template 183 xml.template.each { template - [all...] |
/external/chromium/testing/gmock/scripts/generator/cpp/ |
gmock_class_test.py | 149 '// type has multiple template arguments. To fix it, use a\n'
|
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/handlers/ |
testfilehandler.py | 36 from google.appengine.ext.webapp import template namespace 116 json = template.render("templates/showfilelist.jsonp", template_values) 119 self.response.out.write(template.render("templates/showfilelist.html", 283 self.response.out.write(template.render("templates/uploadform.html",
|
/external/chromium_org/third_party/jinja2/ |
debug.py | 113 """`True` if this is a template syntax error.""" 169 # calls we can't avoid and that are useless in template debugging 179 # fake template exceptions 180 template = tb.tb_frame.f_globals.get('__jinja_template__') 181 if template is not None: 182 lineno = template.get_corresponding_lineno(tb.tb_lineno) 183 tb = fake_exc_info(exc_info[:2] + (tb,), template.filename, 226 # we don't want to keep the reference to the template around 239 location = 'template' 243 location = 'top-level template code [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
Makefile | 63 include ../../Makefile.template
|
/external/chromium_org/tools/ |
licenses.py | 403 def EvaluateTemplate(template, env, escape=True): 404 """Expand a template with variables like {{foo}} using a 409 template = template.replace('{{%s}}' % key, val) 410 return template
|
/external/markdown/markdown/extensions/ |
headerid.py | 27 To fit within a html template's hierarchy, set the header base level:
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
Makefile | 63 include ../../Makefile.template
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPHeaderList.java | 411 * Template match against a template. null field in template indicates wild 414 public boolean match(SIPHeaderList<?> template) { 415 if (template == null) 417 if (!this.getClass().equals(template.getClass())) 419 SIPHeaderList<SIPHeader> that = (SIPHeaderList<SIPHeader>) template;
|
/frameworks/webview/chromium/tools/buildbot/ |
webview_buildbot_functions.sh | 144 git clone --template=${DEPOT_TOOLS_DIR}/git-templates \
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
MoreKeysResources.java | 88 throw new RuntimeException("Can't find java template " + JAVA_TEMPLATE); 90 throw new RuntimeException("Found multiple java template " + JAVA_TEMPLATE); 91 final String template = list.get(0); local 92 final String javaPackage = template.substring(0, template.lastIndexOf('/')); 105 lnr = new LineNumberReader(new InputStreamReader(JarUtils.openResource(template)));
|
/external/chromium_org/chrome/common/extensions/ |
PRESUBMIT.py | 49 for template in template_path_list: 50 if unix_name == _UnixName(template.split(os.sep)[-1]): 51 matches.append(template)
|
/external/chromium_org/tools/grit/grit/ |
grd_reader_unittest.py | 263 template = u''' 276 data = StringIO.StringIO(template % data) 284 top_grd = StringIO.StringIO(template % u'<part file="bad.grp" />')
|