Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 90) sorted by relevance

1234

/build/tools/atree/
Dfiles.cpp14 is_comment_line(const char* p) in is_comment_line() argument
16 while (*p && isspace(*p)) { in is_comment_line()
17 p++; in is_comment_line()
19 return *p == '#'; in is_comment_line()
34 is_whitespace_line(const char* p) in is_whitespace_line() argument
36 while (*p) { in is_whitespace_line()
37 if (!isspace(*p)) { in is_whitespace_line()
40 p++; in is_whitespace_line()
46 is_exclude_line(const char* p) { in is_exclude_line() argument
47 while (*p) { in is_exclude_line()
[all …]
Datree.cpp67 const char* p = arg; in add_variable() local
68 while (*p && *p != '=') p++; in add_variable()
70 if (*p == 0 || p == arg || p[1] == 0) { in add_variable()
75 var << "${" << string(arg, p-arg) << "}"; in add_variable()
76 g_variables[var.str()] = string(p+1); in add_variable()
Dfs.cpp119 string p = path.substr(0, pos); in mkdir_recursively() local
121 err = stat(p.c_str(), &st); in mkdir_recursively()
123 err = mkdir(p.c_str(), 0770); in mkdir_recursively()
132 path.c_str(), p.c_str()); in mkdir_recursively()
136 if (p == path) { in mkdir_recursively()
/build/tools/
Ddiff_package_overlays.py65 for p in current_overlays:
66 if p not in previous_overlays:
67 result.append(p)
68 elif current_overlays[p] != previous_overlays[p]:
69 result.append(p)
70 for p in previous_overlays:
71 if p not in current_overlays:
72 if p in all_packages:
74 result.append(p)
77 carryon.append(p)
[all …]
Dparsedeps.py31 p = self.lines.get(prereq)
32 if not p:
33 p = Dependency(prereq)
34 self.lines[prereq] = p
35 t.add(p)
/build/core/
Dproduct.mk120 $(foreach p,$(PRODUCTS),$(call dump-product,$(p)))
165 $(foreach p,$(PRODUCTS), \
166 $(eval pn := $(strip $(PRODUCTS.$(p).PRODUCT_NAME))) \
167 $(if $(pn),,$(error $(p): PRODUCT_NAME must be defined.)) \
169 $(error $(p): PRODUCT_NAME must be unique; "$(pn)" already used by $(strip \
179 $(error $(p): PRODUCT_NAME must be a valid C identifier, not "$(pn)") \
181 $(eval pb := $(strip $(PRODUCTS.$(p).PRODUCT_BRAND))) \
182 $(if $(pb),,$(error $(p): PRODUCT_BRAND must be defined.)) \
183 $(foreach cf,$(strip $(PRODUCTS.$(p).PRODUCT_COPY_FILES)), \
185 $(error $(p): malformed COPY_FILE "$(cf)") \
[all …]
Dpost_clean.mk31 $(foreach p, $(PACKAGES), $(if $(PACKAGES.$(p).RESOURCE_OVERLAYS), \
39 overlay_cleanup_cmd := $(strip rm -rf $(foreach p, $(packages_overlay_changed),\
40 $(TARGET_OUT_COMMON_INTERMEDIATES)/APPS/$(p)_intermediates))
69 $(foreach p, $(ALL_MODULES), \
70 $(if $(ALL_MODULES.$(p).AIDL_FILES),\
71 $(eval modules_with_aidl_files += $(p))\
73 $(if $(filter-out $(ALL_MODULES.$(p).AIDL_FILES),$(AIDL_FILES.$(p))),\
74 $(eval intermediates_to_clean += $(ALL_MODULES.$(p).INTERMEDIATE_SOURCE_DIR))))
85 $(foreach p, $(filter-out $(ALL_MODULES),$(MODULES_WITH_AIDL_FILES)),\
/build/tools/releasetools/
Drangelib.py66 for p in text.split():
67 if "-" in p:
68 s, e = p.split("-")
76 s = int(p)
119 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))),
122 out.append(p)
131 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))),
134 out.append(p)
144 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))),
147 out.append(p)
[all …]
Dcommon.py214 p = Partition()
215 p.mount_point = pieces[0]
216 p.fs_type = pieces[1]
217 p.device = pieces[2]
218 p.length = 0
222 p.device2 = pieces[3]
226 p.device2 = None
229 p.device2 = None
235 p.length = int(i[7:])
237 print "%s: unknown option \"%s\"" % (p.mount_point, i)
[all …]
Dedify_generator.py176 p = fstab[mount_point]
184 (p.fs_type, common.PARTITION_TYPES[p.fs_type],
185 p.device, p.mount_point, mount_dict.get(p.fs_type, "")))
186 self.mounts.add(p.mount_point)
211 p = fstab[partition]
213 (p.fs_type, common.PARTITION_TYPES[p.fs_type],
214 p.device, p.length, p.mount_point))
265 p = fstab[mount_point]
266 partition_type = common.PARTITION_TYPES[p.fs_type]
267 args = {'device': p.device, 'fn': fn}
[all …]
Dblockimgdiff.py41 for p in src:
42 f_src.write(p)
45 for p in tgt:
46 f_tgt.write(p)
52 p = subprocess.call(["imgdiff", "-z", srcfile, tgtfile, patchfile],
56 p = subprocess.call(["bsdiff", srcfile, tgtfile, patchfile])
58 if p:
59 raise ValueError("diff failed: " + str(p))
323 for p in src:
324 src_sha1.update(p)
[all …]
/build/tools/droiddoc/templates-pdk/
Dsdkpage.cs25 <p>Redirecting to
31 </a> ...</p>
53 <p><strong>This is NOT the current Android SDK release.</strong></p>
54 <p><a href="/sdk/index.html">Download the current Android SDK</a></p>
76 <p>The Android NDK is a companion tool to the Android SDK that lets you build
82 does not change.</p>
84 <p>Using native code does not result in an automatic performance increase,
89 </p>
90 <p>
95 </p>
[all …]
/build/core/tasks/
Dproduct-graph.mk19 $(sort $(foreach p, \
22 , $(if $(strip $(p)),$(strip $(p)),)) \
27 $(foreach p,$(1),\
28 $(if $(filter $(p),$(_all_products_visited)),, \
29 $(p) \
30 $(eval _all_products_visited += $(p)) \
31 $(call all-products-inner, $(PRODUCTS.$(strip $(p)).INHERITS_FROM))
Dide.mk55 $(hide) for p in $(PRIVATE_DIRS) ; do \
57 ( if [ -d $$p/src ] ; then echo -n $$p/src ; else echo -n $$p ; fi ) >> $@ ; \
/build/tools/droiddoc/templates-sdk/assets/js/
Dprettify.js5 …(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(…
6p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}r…
7p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){… variable
8 ….substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.p…
9 l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=…
/build/tools/droiddoc/templates-sdk-dyn/assets/js/
Dprettify.js5 …(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(…
6p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}r…
7p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){… variable
8 ….substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.p…
9 l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=…
/build/tools/droiddoc/templates-ds/assets/js/
Dprettify.js5 …(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(…
6p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}r…
7p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){… variable
8 ….substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.p…
9 l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=…
/build/tools/droiddoc/templates-sac/assets/js/
Dprettify.js5 …(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(…
6p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}r…
7p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){… variable
8 ….substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.p…
9 l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=…
/build/tools/droiddoc/templates-pdk/assets/
Dprettify.js15 …1:0,p=f.length;e<p;++e){var t=f[e];switch(t){case Vb:case Wb:case Xb:case Yb:case Zb:case $b:case …
16 …cc,R)),s=f.length,k=[],h,e=0;for(h=0;e<s;++e){var p=f[e];if(p===H)++h;else if(Q===p.charAt(0)){var…
17p=f[e];if(p===H){++h;if(k[h]===undefined)f[e]=dc}else if(Q===p.charAt(0))if((t=+p.substring(1))&&t…
21p;if(typeof h===nc)p=z;else{var t=c[k.charAt(0)];if(t){e=k.match(t[1]);h=t[0]}else{for(var u=0;u<g…
22 h.substring(0,5))&&!(e&&e[1])){p=z;h=oc}p||(j[k]=h)}var x=v;v+=k.length;if(p){var B=e[1],E=k.indexO…
Dandroid-developer-resource-browser.js200 var p = pairs[i].split('=');
201 var key = p[0] ? decodeURIComponent(p[0]) : p[0];
202 var val = p[1] ? decodeURIComponent(p[1]) : p[1];
/build/tools/droiddoc/templates-sac/
Dsdkpage.cs31 <p>Redirecting to
37 </a> ...</p>
55 <p><strong>This is NOT the current Android SDK release.</strong></p>
56 <p><a href="/sdk/index.html">Download the current Android SDK</a></p>
200 <p class="table-caption"><strong>ADT Bundle</strong></p>
256 <p class="table-caption"><strong>SDK Tools Only</strong></p>
Ddesignpage.cs73 <p id="copyright">
79 </p>
81 <p>
85 </p>
/build/tools/droiddoc/templates-ds/
Dsdkpage.cs32 <p>Redirecting to
38 </a> ...</p>
56 <p><strong>This is NOT the current Android SDK release.</strong></p>
57 <p><a href="/sdk/index.html">Download the current Android SDK</a></p>
201 <p class="table-caption"><strong>ADT Bundle</strong></p>
257 <p class="table-caption"><strong>SDK Tools Only</strong></p>
Ddesignpage.cs73 <p id="copyright">
79 </p>
81 <p>
85 </p>
/build/core/tasks/check_boot_jars/
Dcheck_boot_jars.py46 p = subprocess.Popen(args='jar tf %s' % jar,
48 stdout, _ = p.communicate()
49 if p.returncode != 0:

1234