/external/chromium_org/tools/win/sizeviewer/ |
sizeviewer.py | 85 with open(os.path.join(BASE_DIR, 'template.html'), 'r') as templatef: 86 template = templatef.read() 87 f.write(string.Template(template).substitute(
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
Parameter.java | 54 * A template parameter editable and edited by the user. 57 * template, but the actual editing operation of that template in the wizard: it 73 AdtPlugin.printErrorToConsole("Unexpected template type '" + name + "'"); 140 AdtPlugin.printErrorToConsole("Unexpected template constraint '" + name + "'"); 155 /** The template defining the parameter */ 156 public final TemplateMetadata template; field in class:Parameter 178 * A template expression using other template parameters for producing a 220 Parameter(@NonNull TemplateMetadata template, @NonNull Element parameter) [all...] |
/development/samples/SampleSyncAdapter/samplesyncadapter_server/ |
dashboard.py | 28 from google.appengine.ext.webapp import template namespace 63 self.response.out.write(template.render(path, template_values)) 150 self.response.out.write(template.render(path, template_values)) 192 self.response.out.write(template.render(path, template_values))
|
/external/chromium_org/build/android/gyp/ |
gcc_preprocess.py | 27 options.template 36 parser.add_option('--template', help='Path to template.')
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
TranslateInfoBar.java | 117 String template = context.getString(R.string.translate_infobar_text); local 118 return formatBeforeInfoBarMessage(template, mOptions.sourceLanguage(), 289 private CharSequence formatBeforeInfoBarMessage(String template, String sourceLanguage, 308 return TextUtils.expandTemplate(template, formattedSourceLanguage, formattedTargetLanguage);
|
/external/chromium_org/third_party/jinja2/ |
environment.py | 36 # for direct template usage we have up to ten living environments 107 they are not shared and if no template was loaded so far. 108 Modifications on environments after the first template was loaded 160 if present, to be stripped from the end of the template. 174 undefined values in the template. 185 be a callable that is passed the template name and has to 193 The template loader for this environment. 198 out the least recently used template. If the cache size is set to 203 Some loaders load templates from locations where the template 205 `auto_reload` is set to `True` (default) every time a template i [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/ |
Makefile | 24 include ../Makefile.template
|
/external/chromium_org/tools/grit/grit/gather/ |
admin_template.py | 6 '''Gatherer for administrative template files. 22 '''Gatherer for the translateable portions of an admin template.
|
/external/clang/include/clang/Sema/ |
Makefile | 12 $(Echo) "Building Clang attribute template instantiate code with tablegen" 13 $(Verb) $(ClangTableGen) -gen-clang-attr-template-instantiate -o \
|
/external/mesa3d/src/gallium/auxiliary/ |
Makefile | 24 include ../Makefile.template
|
/frameworks/base/core/java/android/webkit/ |
URLUtil.java | 86 public static String composeSearchUrl(String inQuery, String template, 88 int placeHolderIndex = template.indexOf(queryPlaceHolder); 95 buffer.append(template.substring(0, placeHolderIndex)); 104 buffer.append(template.substring(
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsCollectionTest.java | 173 NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets) { 175 template, Long.MIN_VALUE, Long.MAX_VALUE).getTotal(null); 180 NetworkTemplate template, long rxBytes, long rxPackets, long txBytes, long txPackets) { 182 template, Long.MIN_VALUE, Long.MAX_VALUE).getTotalIncludingTags(null);
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
VCardRecord.java | 93 CharSequence template = activity.getResources().getText(R.string.import_vcard); local 94 String description = TextUtils.expandTemplate(template, getDisplayName()).toString(); 101 CharSequence template = context.getResources().getText(R.string.vcard_title); local 102 return TextUtils.expandTemplate(template, getDisplayName()).toString();
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
build_ext.py | 718 template = "python%s" 720 template = template + '_d' 721 extra = [(template % (sysconfig.get_config_var('VERSION')))] 736 template = "python%d%d" 738 template = template + '_d' 739 pythonlib = (template % 749 template = "python%d%d" 753 # template = template + '_d [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
build_ext.py | 718 template = "python%s" 720 template = template + '_d' 721 extra = [(template % (sysconfig.get_config_var('VERSION')))] 736 template = "python%d%d" 738 template = template + '_d' 739 pythonlib = (template % 749 template = "python%d%d" 753 # template = template + '_d [all...] |
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 258 String template = context.getString(R.string.numeric_date_template); local 261 value = String.format(template, "yyyy", "MM", "dd"); 263 value = String.format(template, "yyyy", "dd", "MM"); 267 value = String.format(template, "MM", "dd", "yyyy"); 269 value = String.format(template, "MM", "yyyy", "dd"); 273 value = String.format(template, "dd", "MM", "yyyy"); 275 value = String.format(template, "dd", "yyyy", "MM");
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
aetypes.py | 559 template = """ 563 exec template % ("Text", 'text') 564 exec template % ("Character", 'cha ') 565 exec template % ("Word", 'cwor') 566 exec template % ("Line", 'clin') 567 exec template % ("paragraph", 'cpar') 568 exec template % ("Window", 'cwin') 569 exec template % ("Document", 'docu') 570 exec template % ("File", 'file') 571 exec template % ("InsertionPoint", 'cins' [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
template.rb | 8 module Template 16 @template_library ||= ANTLR3::Template::Group.new 20 super.push( :template ) 25 ANTLR3::Template::Group.load( group_file ) 40 self.class.template_library or ANTLR3::Template::Group.new 88 autoload :GroupFile, 'antlr3/template/group-file' 91 autoload :Lexer, 'antlr3/template/group-file' 92 autoload :Parser, 'antlr3/template/group-file' 105 end or raise( LoadError, "no such template group file to load %s" % group_file ) 124 template = Context.new( values [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
ProcessorLRE.java | 82 // Literal Result Template as stylesheet. 178 ElemTemplate template = new ElemTemplate(); local 180 template.setLocaterInfo(slocator); 182 appendAndPush(handler, template); 187 template.setMatch(rootMatch); 189 // template.setDOMBackPointer(handler.getOriginatingNode()); 190 stylesheet.setTemplate(template);
|
/external/chromium_org/base/android/jni_generator/ |
jni_generator.py | 15 from string import Template 588 template = Template("""\ 642 return WrapOutput(template.substitute(values)) 675 template = Template("""\ 696 ret += [template.substitute(values)] 746 template = Template(""" 752 return template.substitute(values [all...] |
/external/chromium/chrome/common/extensions/docs/js/ |
api_page_generator.js | 10 * 1) API_TEMPLATE which is the main template for the api pages. 21 var API_TEMPLATE = "template/api_template.html"; 37 // Data to feed as context into the template. 79 * Main entry point for composing the page. It will fetch it's template, 82 * render the template from |pageData|. 95 // Fetch the api template and insert into the <body>. 226 * Special pages like the samples gallery may want to modify their template 227 * data to include additional information. This hook allows a page template 231 * To specify such code, the page template should include a script block with 242 * template is rendered, and will therefore not be exposed to the end use [all...] |
/libcore/luni/src/main/java/java/text/ |
MessageFormat.java | 351 * @param template 358 public MessageFormat(String template, Locale locale) { 360 applyPattern(template); 368 * @param template 373 public MessageFormat(String template) { 374 this(template, Locale.getDefault()); 380 * @param template 385 public void applyPattern(String template) { 386 int length = template.length(); 395 if (Format.upTo(template, position, buffer, '{')) [all...] |
/external/chromium_org/third_party/jstemplate/ |
jstemplate_example.js | 38 * template HTML into a text area to make the HTML source visible. 41 elem('template').value = elem('tc').innerHTML; 58 elem('tc').innerHTML = elem('template').value; 73 * @param {Object} data Test data to apply the template to. 88 * @param {Object} data Test data to apply the template to. 101 * @param {Object} data Test data to apply the template to. 120 * @param {Object} data Test data to apply the template to.
|
/external/chromium_org/remoting/tools/build/ |
remoting_localize.py | 7 localize.py -- Generates an output file from the given template replacing 10 The script uses Jinja2 template processing library (src/third_party/jinja2). 38 from string import Template 647 class GypTemplate(Template): 677 template = None 708 template = env.get_template(template_name) 724 WriteIfChanged(template_file_name, template.render(context), 729 WriteIfChanged(options.output, template.render(context), options.encoding) 764 '-t', '--template', dest='template', type='string' [all...] |
/prebuilts/python/darwin-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)
|