/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
JacocoCodeCoverageTest.java | 155 * Get build.xml from template and replace filesets to their corresponding value 160 InputStream template = getClass().getResourceAsStream(ANT_BUILD_XML_PATH); local 161 if (template == null) { 165 String text = StreamUtil.getStringFromStream(template);
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
SaveUi.java | 267 final RemoteViews template = customDescription.getPresentation(); local 268 if (template == null) { 277 if (!InternalTransformation.batchApply(valueFinder, template, transformations)) { 321 template.setApplyTheme(THEME_ID); 322 final View customSubtitleView = template.apply(context, null, handler); 341 if (sDebug) Slog.d(TAG, "Applying template updates for batch update #" + i); 352 if (!InternalTransformation.batchApply(valueFinder, template, 358 template.reapply(context, customSubtitleView);
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
PermissionPolicyTest.java | 296 SimpleDateFormat template = new SimpleDateFormat("yyyy-MM-dd"); local 297 patchDate = template.parse(date);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
tempfile.py | 13 template - the default prefix for all temporary names.
79 template = "tmp"
variable 242 """Accessor for tempdir.template."""
243 return template
259 def mkstemp(suffix="", prefix=template, dir=None, text=False):
296 def mkdtemp(suffix="", prefix=template, dir=None):
327 def mktemp(suffix="", prefix=template, dir=None):
420 prefix=template, dir=None, delete=True):
458 prefix=template, dir=None):
494 suffix="", prefix=template, dir=None): [all...] |
/external/boringssl/src/crypto/obj/ |
obj.c | 267 ASN1_OBJECT *match, template; local 269 template.sn = short_name; 270 match = lh_ASN1_OBJECT_retrieve(global_added_by_short_name, &template); 303 ASN1_OBJECT *match, template; local 305 template.ln = long_name; 306 match = lh_ASN1_OBJECT_retrieve(global_added_by_long_name, &template); 358 ASN1_OBJECT *match, template; local 360 template.nid = nid; 361 match = lh_ASN1_OBJECT_retrieve(global_added_by_nid, &template);
|
/external/jsilver/src/com/google/clearsilver/jsilver/ |
JSilver.java | 46 import com.google.clearsilver.jsilver.template.DelegatingTemplateLoader; 47 import com.google.clearsilver.jsilver.template.HtmlWhiteSpaceStripper; 48 import com.google.clearsilver.jsilver.template.Template; 49 import com.google.clearsilver.jsilver.template.TemplateLoader; 73 * // Render template to System.out. Writer output = ...; 136 // Loads the template from the resource loader, manipulating the AST as 164 // Do we want to load precompiled Template class objects? 166 // Load precompiled template classes. 239 * Renders a given template and provided data, writing to an arbitrary output [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
BaseCompiledTemplate.java | 29 import com.google.clearsilver.jsilver.template.DefaultRenderingContext; 30 import com.google.clearsilver.jsilver.template.Macro; 31 import com.google.clearsilver.jsilver.template.RenderingContext; 32 import com.google.clearsilver.jsilver.template.Template; 33 import com.google.clearsilver.jsilver.template.TemplateLoader; 44 public abstract class BaseCompiledTemplate implements Template { 93 * Sets the EscapeMode in which this template was generated. 308 * @param ignoreMissingFile {@code true} if any FileNotFound error generated by the template 310 * @param context Rendering context to use for the included template 329 Template template = null; local [all...] |
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl17.c | 100 char template[PATH_MAX]; local 129 snprintf(template, PATH_MAX, "fcntl17XXXXXX"); 131 if ((file_fd = mkstemp(template)) < 0) {
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_winsys_dri.c | 184 struct pipe_resource template, *tex; local 238 memset(&template, 0, sizeof(template)); 239 template.target = PIPE_TEXTURE_2D; 240 template.format = PIPE_FORMAT_B8G8R8X8_UNORM; 241 template.last_level = 0; 242 template.width0 = reply->width; 243 template.height0 = reply->height; 244 template.depth0 = 1; 245 template.array_size = 1 [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_tracker.c | 332 struct pipe_resource *template; local 348 template = &srf->template; 349 template->format = fdesc.format; 350 template->target = PIPE_TEXTURE_2D; 351 template->width0 = width; 352 template->height0 = height; 353 template->depth0 = 1; 354 template->array_size = 1; 355 template->last_level = 0 439 struct pipe_resource *template = &srf->template; local [all...] |
/external/python/cpython2/Lib/ |
tempfile.py | 13 template - the default prefix for all temporary names. 80 template = "tmp" variable 263 """Accessor for tempdir.template.""" 264 return template 280 def mkstemp(suffix="", prefix=template, dir=None, text=False): 317 def mkdtemp(suffix="", prefix=template, dir=None): 353 def mktemp(suffix="", prefix=template, dir=None): 448 prefix=template, dir=None, delete=True): 491 prefix=template, dir=None): 527 suffix="", prefix=template, dir=None) [all...] |
/external/python/cpython3/Lib/ |
re.py | 134 "findall", "finditer", "compile", "purge", "template", "escape", 158 TEMPLATE = sre_compile.SRE_FLAG_TEMPLATE # disable backtracking 159 T = TEMPLATE 240 def template(pattern, flags=0): function 241 "Compile a template pattern, returning a pattern object" 319 def _expand(pattern, match, template): 321 template = sre_parse.parse_template(template, pattern) 322 return sre_parse.expand_template(template, match) 324 def _subx(pattern, template) [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
DataUsageController.java | 112 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId); local 113 template = NetworkTemplate.normalize(template, mTelephonyManager.getMergedSubscriberIds()); 115 return getDataUsageInfo(template); 126 NetworkTemplate template = NetworkTemplate.buildTemplateMobileAll(subscriberId); local 127 template = NetworkTemplate.normalize(template, mTelephonyManager.getMergedSubscriberIds()); 129 return getDataUsageInfo(template, uId); 137 NetworkTemplate template = NetworkTemplate.buildTemplateWifiWildcard(); local 138 return getDataUsageInfo(template); [all...] |
/frameworks/base/core/java/android/app/usage/ |
NetworkStatsManager.java | 166 public Bucket querySummaryForDevice(NetworkTemplate template, 169 NetworkStats stats = new NetworkStats(mContext, template, mFlags, startTime, endTime, 201 NetworkTemplate template; local 203 template = createTemplate(networkType, subscriberId); 205 if (DBG) Log.e(TAG, "Cannot create template", e); 209 return querySummaryForDevice(template, startTime, endTime); 234 NetworkTemplate template; local 236 template = createTemplate(networkType, subscriberId); 238 if (DBG) Log.e(TAG, "Cannot create template", e); 243 stats = new NetworkStats(mContext, template, mFlags, startTime, endTime, mService) 271 NetworkTemplate template; local 338 NetworkTemplate template; local 381 NetworkTemplate template; local 454 NetworkTemplate template = createTemplate(networkType, subscriberId); local 500 final NetworkTemplate template; local [all...] |
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/template/ |
RecyclerMixin.java | 17 package com.android.setupwizardlib.template; 136 @SuppressWarnings("NullableProblems") // If clients guarantee that the template has a recycler 137 // view, and call this after the template is inflated, 147 @SuppressWarnings("NullableProblems") // If clients guarantee that the template has a header, 155 * should be called when {@link View#onLayout(boolean, int, int, int, int)} of the template
|
/packages/apps/Settings/src/com/android/settings/applications/appops/ |
AppOpsCategory.java | 57 public AppOpsCategory(AppOpsState.OpsTemplate template) { 59 args.putParcelable("template", template); 121 public AppListLoader(Context context, AppOpsState state, AppOpsState.OpsTemplate template) { 124 mTemplate = template; 349 AppOpsState.OpsTemplate template = null; local 351 template = fargs.getParcelable("template"); 353 return new AppListLoader(getActivity(), mState, template);
|
/prebuilts/gdb/darwin-x86/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...] |
/prebuilts/gdb/linux-x86/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...] |
/prebuilts/go/darwin-x86/src/html/template/ |
escape.go | 5 package template package 12 "text/template" 13 "text/template/parse" 16 // escapeTemplate rewrites the named template, which must be 21 func escapeTemplate(tmpl *Template, node parse.Node, name string) error { 62 var funcMap = template.FuncMap{ 89 // derived[c.mangle(name)] maps to a template derived from the template 91 derived map[string]*template.Template 842 func (e *escaper) template(name string) *template.Template { func [all...] |
/prebuilts/go/darwin-x86/src/text/template/ |
exec.go | 5 package template package 15 "text/template/parse" 20 // recursive template invocations. This limit allows us to return 25 // template so that multiple executions of the same template 28 tmpl *Template 86 // the way ErrorContext embeds the template name makes the 90 // error evaluating its template. (If a write error occurs, the actual 93 Name string // Name of template. 105 format = fmt.Sprintf("template: %s: %s", name, format [all...] |
funcs.go | 5 package template package 25 // When template execution invokes a function with an argument list, that list 118 // findFunction looks for a function in the template, and global map. 119 func findFunction(name string, tmpl *Template) (reflect.Value, bool) { 648 // using the same rules as the default string evaluation during template
|
/prebuilts/go/linux-x86/src/html/template/ |
escape.go | 5 package template package 12 "text/template" 13 "text/template/parse" 16 // escapeTemplate rewrites the named template, which must be 21 func escapeTemplate(tmpl *Template, node parse.Node, name string) error { 62 var funcMap = template.FuncMap{ 89 // derived[c.mangle(name)] maps to a template derived from the template 91 derived map[string]*template.Template 842 func (e *escaper) template(name string) *template.Template { func [all...] |
/prebuilts/go/linux-x86/src/text/template/ |
exec.go | 5 package template package 15 "text/template/parse" 20 // recursive template invocations. This limit allows us to return 25 // template so that multiple executions of the same template 28 tmpl *Template 86 // the way ErrorContext embeds the template name makes the 90 // error evaluating its template. (If a write error occurs, the actual 93 Name string // Name of template. 105 format = fmt.Sprintf("template: %s: %s", name, format [all...] |
funcs.go | 5 package template package 25 // When template execution invokes a function with an argument list, that list 118 // findFunction looks for a function in the template, and global map. 119 func findFunction(name string, tmpl *Template) (reflect.Value, bool) { 648 // using the same rules as the default string evaluation during template
|
/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...] |