Home
last modified time | relevance | path

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

123

/tools/dexter/slicer/export/slicer/
Ddex_ir.h424 T* p = new T(); in Alloc() local
425 Track(p); in Alloc()
426 return p; in Alloc()
440 void PushOwn(std::vector<own<T>>& v, T* p) { in PushOwn()
441 v.push_back(own<T>(p)); in PushOwn()
444 void Track(String* p) { PushOwn(strings, p); } in Track()
445 void Track(Type* p) { PushOwn(types, p); } in Track()
446 void Track(Proto* p) { PushOwn(protos, p); } in Track()
447 void Track(FieldDecl* p) { PushOwn(fields, p); } in Track()
448 void Track(MethodDecl* p) { PushOwn(methods, p); } in Track()
[all …]
/tools/treble/hacksaw/bind/
Dlocal.go31 var p localBinder
32 p.mounter = mount.NewSystemMounter()
33 return &p
37 var p localBinder
38 p.mounter = mount.NewFakeMounter()
39 return &p
42 func (p localBinder) checkValidPath(inPath string) error {
52 func (p localBinder) BindReadOnly(source string, destination string) error {
62 err = p.mounter.Mount(source, destination,
67 err = p.mounter.Mount(source, destination,
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRttManagerTest.py382 p = {}
384 p[RttParam.frequency] = freq
385 p[RttParam.BSSID] = scan_result[WifiEnums.BSSID_KEY]
387 p[RttParam.preamble] = RttPreamble.PREAMBLE_VHT
389 p[RttParam.preamble] = RttPreamble.PREAMBLE_HT
392 p[RttParam.center_freq0] = cf0
395 p[RttParam.center_freq1] = cf1
397 p[RttParam.channel_width] = cw
398 p[RttParam.bandwidth] = scan_result_channel_width_to_rtt[cw]
400 p[RttParam.request_type] = RttType.TYPE_TWO_SIDED
[all …]
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DJarSigningTest.java56 ApkZLibPair<PrivateKey, X509Certificate> p = in signEmptyJar() local
59 new SigningExtension(12, p.v2, p.v1, true, false).register(zf); in signEmptyJar()
77 ApkZLibPair<PrivateKey, X509Certificate> p = SignatureTestUtils.generateSignaturePre18(); in signJarWithPrexistingSimpleTextFilePre18() local
88 new SigningExtension(10, p.v2, p.v1, true, false).register(zf2); in signJarWithPrexistingSimpleTextFilePre18()
140 ApkZLibPair<PrivateKey, X509Certificate> p = SignatureTestUtils.generateSignaturePos18(); in signJarWithPrexistingSimpleTextFilePos18() local
145 new SigningExtension(21, p.v2, p.v1, true, false).register(zf2); in signJarWithPrexistingSimpleTextFilePos18()
199 … ApkZLibPair<PrivateKey, X509Certificate> p = SignatureTestUtils.generateSignaturePre18(); in v2SignAddsApkSigningBlock() local
201 new SigningExtension(12, p.v2, p.v1, false, true).register(zf); in v2SignAddsApkSigningBlock()
216 ApkZLibPair<PrivateKey, X509Certificate> p = SignatureTestUtils.generateSignaturePos18(); in v1ReSignOnFileChange() local
231 new SigningExtension(21, p.v2, p.v1, true, false).register(zf1); in v1ReSignOnFileChange()
[all …]
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/
DRandomAccessFileUtils.java41 int p = 0; in fullyRead() local
43 while ((r = raf.read(data, p, data.length - p)) > 0) { in fullyRead()
44 p += r; in fullyRead()
45 if (p == data.length) { in fullyRead()
50 if (p < data.length) { in fullyRead()
55 + p in fullyRead()
/tools/dexter/slicer/
Dreader.cc123 auto& p = dex_ir_->classes_map[index]; in GetClass() local
125 if (p == nullptr) { in GetClass()
126 p = placeholder; in GetClass()
128 SLICER_CHECK(p == placeholder); in GetClass()
129 p = newClass; in GetClass()
132 SLICER_CHECK(p != placeholder); in GetClass()
133 return p; in GetClass()
140 auto& p = dex_ir_->types_map[index]; in GetType() local
142 if (p == nullptr) { in GetType()
143 p = placeholder; in GetType()
[all …]
Dcode_ir.cc629 auto& p = labels_[offset]; in GetLabel() local
630 if (p == nullptr) { in GetLabel()
631 p = Alloc<Label>(offset); in GetLabel()
633 ++p->refCount; in GetLabel()
634 return p; in GetLabel()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DBuilders.kt31 val p = if (garbage.isNotEmpty()) in noReset() constant
35 stack.add(p) in noReset()
36 cb.invoke(p) in noReset()
41 val p = stack.removeAt(stack.lastIndex) in noReset() constant
42 val ret = cb.invoke(p) in noReset()
43 garbage.add(reset(p)) in noReset()
/tools/external_updater/
Dupdate_package.sh62 for p in $tmp_dir/patches/*.{diff,patch}
64 [ -e "$p" ] || continue
69 [ "$(basename $p)" != "Android.bp.diff" ] || continue
70 [ "$(basename $p)" != "Android.bp.patch" ] || continue
72 echo "Applying $p..."
73 patch -p1 -d $tmp_dir --no-backup-if-mismatch < $p;
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/
DRangeApSupporting11McTest.py308 p = {}
310 p[RttParam.frequency] = freq
311 p[RttParam.BSSID] = scan_result[WifiEnums.BSSID_KEY]
313 p[RttParam.preamble] = RttPreamble.PREAMBLE_VHT
315 p[RttParam.preamble] = RttPreamble.PREAMBLE_HT
318 p[RttParam.center_freq0] = cf0
321 p[RttParam.center_freq1] = cf1
323 p[RttParam.channel_width] = cw
324 p[RttParam.bandwidth] = scan_result_channel_width_to_rtt[cw]
326 p[RttParam.request_type] = RttType.TYPE_TWO_SIDED
[all …]
/tools/test/graphicsbenchmark/
DAndroid.mk57 $(gamecore_dist_zip) : $(SOONG_ZIP) $(foreach p,$(gamecore_dist_copy_pairs),$(call word-colon,1,$(p
61 $(foreach p,$(PRIVATE_COPY_PAIRS), \
62 cp -f $(call word-colon,1,$(p)) $(dir $@)/$(call word-colon,2,$(p)) &&) true
65 $(foreach p,$(PRIVATE_COPY_PAIRS),-f $(dir $@)/$(call word-colon,2,$(p)))
/tools/asuite/aidegen/idea/
Dxml_gen.py130 git_mappings = [_GIT_PATH.format(GIT_DIR=p) for p in git_paths if p]
144 ignores = [_IGNORE_PATH.format(GIT_DIR=p) for p in ignore_paths]
/tools/dexter/dexter/
Ddissasembler.cc171 for (const char* p = ir_string->c_str(); *p != '\0'; ++p) { in Visit() local
172 if (::isprint(*p)) { in Visit()
173 printf("%c", *p); in Visit()
175 switch (*p) { in Visit()
188 printf("\\x%02x", *p); in Visit()
Ddexter.cc37 for (auto p = class_name; *p != '\0'; ++p) { in ClassNameToDescriptor() local
38 ss << (*p == '.' ? '/' : *p); in ClassNameToDescriptor()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiFieldItem.kt70 val p = containingClass().psi() as? PsiClass ?: return false in isEnumConstant() constant
71 if (p is UClass) { in isEnumConstant()
72 p.sourcePsi as? PsiClass ?: return false in isEnumConstant()
74 p in isEnumConstant()
/tools/test/graphicsbenchmark/functional_tests/native/
Dmprotect_test.cpp155 for (char *p = buffer; p != (buffer + pagesInBuffer * pagesize); p++) { in TEST() local
156 *p = 'a'; in TEST()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dlogserial.py113 p = prop.split('=')
114 result[p[0]] = p[1]
127 p = prop.split('=')
128 result[p[0]] = p[1]
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/test/
DPerformanceTest.java138 Process p = pb.start(); in setUp() local
139 boolean finished = p.waitFor(30, TimeUnit.MINUTES); in setUp()
140 if (!finished || p.exitValue() != 0) { in setUp()
142 ByteStreams.copy(p.getInputStream(), os); in setUp()
146 p.destroy(); in setUp()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeParameterItem.kt97 for (p in parameters) { in bounds() constant
98 if (p.simpleName() == s) { in bounds()
99 … return p.bounds().filter { !it.isJavaLangObject() }.map { it.qualifiedName() } in bounds()
/tools/test/connectivity/acts/framework/acts/libs/testtracker/
Dtesttracker_results_writer.py107 missing_props = [p for p in required_props if p not in self._properties]
/tools/apksig/src/main/java/com/android/apksig/util/
DRunnablesExecutor.java27 static final RunnablesExecutor SINGLE_THREADED = p -> p.createRunnable().run();
/tools/treble/split/
Dmanifest_split.py180 repo_list = [(p.get("path", p.get("name")), p.get("name")) for p in root.findall("project")]
341 return (all([not makefile.startswith(p) for p in banned_prefixes]) and
/tools/asuite/aidegen/lib/
Declipse_project_file_gen.py167 return [p for p in self.src_paths
169 p, self.module_relpath)]
/tools/apksig/src/test/resources/com/android/apksig/
Dec-p384.x509.pem9 mB6JwB89/IAucpNlktjSPrH2tD63BSROvpUpXNy+p+OlJu4sCvY7HnwEAjEA0VWw
/tools/security/fuzzing/orphans/pppd/
Deap_fuzz_Cproxy.h53 void output (int unit, unsigned char *p, int len) in output() argument

123