/aosp12/build/blueprint/parser/ |
H A D | printer.go | 144 p.indent(p.curIndent() + 4) 164 p.indent(p.curIndent() + 4) 190 p.indent(p.curIndent() + 4) 202 p.unindent(p.pos) 238 for p.curComment < len(p.comments) && p.comments[p.curComment].Pos().Offset < pos.Offset { 260 for p.curComment < len(p.comments) && p.comments[p.curComment].Pos().Line < pos.Line { 314 p.pad(p.curIndent()) 317 p.pad(p.curIndent()) 358 p.printComment(p.comments[p.curComment]) 372 p.output = append(p.output, p.wsBuf[0:l]...) [all …]
|
H A D | parser.go | 88 p.eval = true 111 p := &parser{} 119 p.next() 120 return p 132 p.errors = append(p.errors, err) 149 p.next() 156 p.tok = p.scanner.Scan() 166 p.tok = p.scanner.Scan() 258 if !p.accept(p.tok) { 348 if p.eval { [all …]
|
/aosp12/build/soong/androidmk/parser/ |
H A D | parser.go | 54 p.nodes = append(p.nodes, p.comments...) 271 p.accept(p.tok) 282 p.accept(p.tok) 339 p.accept(p.tok) 361 p.accept(p.tok) 382 p.accept(p.tok) 431 p.accept(p.tok) 440 p.accept(p.tok) 501 p.accept(p.tok) 646 p.accept(p.tok) [all …]
|
/aosp12/system/bt/stack/include/ |
H A D | bt_types.h | 227 (u16) = ((uint16_t)(*(p)) + (((uint16_t)(*((p) + 1))) << 8)); \ 232 (u32) = (((uint32_t)(*(p))) + ((((uint32_t)(*((p) + 1)))) << 8) + \ 238 (u32) = (((uint32_t)(*(p))) + ((((uint32_t)(*((p) + 1)))) << 8) + \ 245 (u64) = (((uint64_t)(*(p))) + ((((uint64_t)(*((p) + 1)))) << 8) + \ 375 (u16) = (uint16_t)(((uint16_t)(*(p)) << 8) + (uint16_t)(*((p) + 1))); \ 380 (u32) = (((uint32_t)(*((p) + 2))) + ((uint32_t)(*((p) + 1)) << 8) + \ 386 (u32) = ((uint32_t)(*((p) + 3)) + ((uint32_t)(*((p) + 2)) << 8) + \ 387 ((uint32_t)(*((p) + 1)) << 16) + ((uint32_t)(*(p)) << 24)); \ 392 (u64) = ((uint64_t)(*((p) + 7)) + ((uint64_t)(*((p) + 6)) << 8) + \ 393 ((uint64_t)(*((p) + 5)) << 16) + ((uint64_t)(*((p) + 4)) << 24) + \ [all …]
|
/aosp12/system/bt/gd/security/ecc/ |
H A D | multipoint_test.cc | 29 Point p; in TEST() local 35 p.x[7] = 0x20b003d2; in TEST() 36 p.x[6] = 0xf297be2c; in TEST() 37 p.x[5] = 0x5e2c83a7; in TEST() 38 p.x[4] = 0xe9f9a5b9; in TEST() 39 p.x[3] = 0xeff49111; in TEST() 40 p.x[2] = 0xacf4fddb; in TEST() 41 p.x[1] = 0xcc030148; in TEST() 42 p.x[0] = 0x0e359de6; in TEST() 78 Point p; in TEST() local [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | ParcelNullabilityTest.java | 42 p.writeByteArray(null); in nullByteArray() 50 p.writeBlob(null); in nullBlob() 58 p.writeString(null); in nullString() 118 p.writeMap(null); in nullMap() 128 p.writeArrayMap(null); in nullArrayMap() 146 p.writeBundle(null); in nullBundle() 182 p.writeList(null); in nullList() 192 p.writeArray(null); in nullArray() 354 p.writeValue(null); in nullValue() 387 p = Parcel.obtain(); in throughBytes() [all …]
|
/aosp12/system/nfc/src/nfc/nci/ |
H A D | nci_hmsgs.cc | 53 pp = (uint8_t*)(p + 1) + p->offset; in nci_snd_core_reset() 84 pp = (uint8_t*)(p + 1) + p->offset; in nci_snd_core_init() 118 pp = (uint8_t*)(p + 1) + p->offset; in nci_snd_core_get_config() 150 pp = (uint8_t*)(p + 1) + p->offset; in nci_snd_core_set_config() 200 pp = (uint8_t*)(p + 1) + p->offset; in nci_snd_core_conn_create() 236 pp = (uint8_t*)(p + 1) + p->offset; in nci_snd_core_conn_close() 271 pp = (uint8_t*)(p + 1) + p->offset; in nci_snd_nfcee_discover() 304 pp = (uint8_t*)(p + 1) + p->offset; in nci_snd_nfcee_mode_set() 337 pp = (uint8_t*)(p + 1) + p->offset; in nci_snd_iso_dep_nak_presence_check_cmd() 371 pp = (uint8_t*)(p + 1) + p->offset; in nci_snd_discover_cmd() [all …]
|
/aosp12/system/nfc/src/include/ |
H A D | nfc_types.h | 62 #define UINT8_TO_STREAM(p, u8) \ argument 63 { *(p)++ = (uint8_t)(u8); } 64 #define INT8_TO_STREAM(p, u8) \ argument 65 { *(p)++ = (int8_t)(u8); } 76 #define STREAM_TO_UINT8(u8, p) \ argument 83 (u16) = ((uint16_t)(*(p)) + (((uint16_t)(*((p) + 1))) << 8)); \ 88 (u32) = (((uint32_t)(*(p))) + ((((uint32_t)(*((p) + 1)))) << 8) + \ 128 { *(p)++ = (uint8_t)(u8); } 142 (u16) = (uint16_t)(((uint16_t)(*(p)) << 8) + (uint16_t)(*((p) + 1))); \ 147 (u32) = ((uint32_t)(*((p) + 3)) + ((uint32_t)(*((p) + 2)) << 8) + \ [all …]
|
/aosp12/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProtoDumpUtil.java | 162 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 165 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 168 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 173 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 181 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 184 dumpSetting(s, p, in dumpProtoGlobalSettingsLocked() 236 p.end(appToken); in dumpProtoGlobalSettingsLocked() 1635 p.end(token); in dumpProtoGlobalSettingsLocked() 1665 p.end(token); in dumpProtoConfigSettingsLocked() 2644 p.end(token); in dumpProtoSecureSettingsLocked() [all …]
|
/aosp12/bionic/libc/bionic/ |
H A D | fts.c | 120 p->fts_accpath = p->fts_name; in __fts_open() 196 len = p->fts_pathlen = p->fts_namelen; in fts_load() 221 p = p->fts_link ? p->fts_link : p->fts_parent; in fts_close() 279 p->fts_info = fts_stat(sp, p, 0, -1); in fts_read() 341 for (p = sp->fts_child; p; p = p->fts_link) in fts_read() 357 if ((p = p->fts_link)) { in fts_read() 725 p->fts_accpath = p->fts_path; in fts_build() 729 p->fts_accpath = p->fts_name; in fts_build() 898 for (ap = sp->fts_array, p = head; p; p = p->fts_link) in fts_sort() 1000 for (p = sp->fts_child; p; p = p->fts_link) in fts_padjust() [all …]
|
/aosp12/build/soong/etc/ |
H A D | prebuilt_etc.go | 151 return p.ModuleBase.InRamdisk() || p.ModuleBase.InstallInRamdisk() 312 if p.SocSpecific() && p.socInstallDirBase != "" { 326 p.SkipInstall() 330 installPath := ctx.InstallFile(p.installDirPath, p.outputFilePath.Base(), p.outputFilePath) 338 if p.inRamdisk() && !p.onlyInRamdisk() { 341 if p.inVendorRamdisk() && !p.onlyInVendorRamdisk() { 344 if p.inDebugRamdisk() && !p.onlyInDebugRamdisk() { 347 if p.inRecovery() && !p.onlyInRecovery() { 373 p.AddProperties(&p.properties) 374 p.AddProperties(&p.subdirProperties) [all …]
|
/aosp12/system/sepolicy/tools/sepolicy-analyze/ |
H A D | neverallow.c | 35 while (p < end && isspace(*p)) in read_typeset() 46 while (p < end && isspace(*p)) in read_typeset() 87 while (p < end && *p != '\n') in read_typeset() 93 … while (p < end && !isspace(*p) && *p != ':' && *p != ';' && *p != '{' && *p != '}' && *p != '#') in read_typeset() 193 while (p < end && isspace(*p)) in read_classperms() 196 if (p == end || *p != ':') in read_classperms() 204 while (p < end && isspace(*p)) in read_classperms() 235 while (p < end && !isspace(*p) && *p != '{' && *p != '}' && *p != ';' && *p != '#') in read_classperms() 313 while (p < end && !isspace(*p) && *p != '{' && *p != '}' && *p != ';' && *p != '#') in read_classperms() 422 while (p < end && *p != ';') in check_neverallows() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerPropertyTests.java | 38 final Property p = in testBooleanProperty() local 40 assertTrue(p.isBoolean()); in testBooleanProperty() 41 assertFalse(p.isFloat()); in testBooleanProperty() 42 assertFalse(p.isInteger()); in testBooleanProperty() 44 assertFalse(p.isString()); in testBooleanProperty() 63 final Property p = in testFloatProperty() local 66 assertTrue(p.isFloat()); in testFloatProperty() 88 final Property p = in testIntegerProperty() local 91 assertFalse(p.isFloat()); in testIntegerProperty() 113 final Property p = in testResourceProperty() local [all …]
|
/aosp12/system/extras/simpleperf/ |
H A D | record.cpp | 314 comm = p; in CommRecord() 315 p += Align(strlen(p) + 1, 8); in CommRecord() 356 comm = p; in SetCommandName() 887 BuildIdRecord::BuildIdRecord(char* p) : Record(p) { in BuildIdRecord() argument 1032 DsoRecord::DsoRecord(char* p) : Record(p) { in DsoRecord() argument 1069 SymbolRecord::SymbolRecord(char* p) : Record(p) { in SymbolRecord() argument 1075 name = p; in SymbolRecord() 1108 data = p; in TracingDataRecord() 1121 data = p; in TracingDataRecord() 1131 EventIdRecord::EventIdRecord(char* p) : Record(p) { in EventIdRecord() argument [all …]
|
/aosp12/bionic/libc/upstream-netbsd/lib/libc/regex/ |
H A D | regcomp.c | 184 #define MORE() (p->next < p->end) 185 #define MORE2() (p->next+1 < p->end) 279 p->end = p->next + len; in regcomp() 687 (void) dupl(p, p->pbegin[i]+1, p->pend[i]); in p_simp_re() 774 if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", in p_bracket() 780 if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", in p_bracket() 832 ordinary(p, firstch(p, cs)); in p_bracket() 1300 top = &p->g->sets[p->g->ncsets]; in freeset() 1503 for (p = cs->multis; *p != '\0'; p += strlen(p) + 1) 1660 (void)memcpy(p->strip + p->slen, p->strip + start, in dupl() [all …]
|
/aosp12/system/bt/stack/hcic/ |
H A D | hcicmds.cc | 491 p->offset = 0; in btsnd_hcic_inquiry() 508 p->offset = 0; in btsnd_hcic_inq_cancel() 522 p->offset = 0; in btsnd_hcic_per_inq_mode() 541 p->offset = 0; in btsnd_hcic_exit_per_inq() 555 p->offset = 0; in btsnd_hcic_create_conn() 573 p->offset = 0; in btsnd_hcic_disconnect() 588 p->offset = 0; in btsnd_hcic_add_SCO_conn() 604 p->offset = 0; in btsnd_hcic_create_conn_cancel() 619 p->offset = 0; in btsnd_hcic_accept_conn() 634 p->offset = 0; in btsnd_hcic_reject_conn() [all …]
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | ATResponseParserTest.java | 29 assertFalse(p.hasMore()); in testBasic() 32 p.nextInt(); in testBasic() 41 assertFalse(p.hasMore()); in testBasic() 46 assertFalse(p.hasMore()); in testBasic() 52 assertFalse(p.hasMore()); in testBasic() 54 p.nextInt(); in testBasic() 63 assertFalse(p.hasMore()); in testBasic() 68 p.nextInt(); in testBasic() 79 p.nextBoolean(); in testBasic() 94 assertFalse(p.hasMore()); in testBasic() [all …]
|
/aosp12/frameworks/rs/script_api/ |
H A D | GenerateTestFiles.cpp | 295 if (!p->isOutParameter && !p->smallerParameter.empty()) { in writeJavaCheckMethod() 416 if (p->mVectorSize != "1" && p->mVectorSize != vectorSize) { in writeJavaVerifyScalarMethod() 508 writeJavaAppendInputToMessage(*p, "args." + p->variableName); in writeJavaVerifyScalarMethod() 554 if (p->isOutParameter && p->isFloatType) { in writeJavaVerifyVectorMethod() 559 if (p->isFloat16Parameter() && !p->isOutParameter) { in writeJavaVerifyVectorMethod() 682 mJava->indent() << p.javaBaseType << "[] " << p.javaArrayName << " = new " << p.javaBaseType in writeJavaArrayInitialization() 717 if (p.isFloatType) { in writeJavaTestOneValue() 741 writeJavaTestAndSetValid(p, "[j]", "[i * " + p.vectorWidth + " + j]"); in writeJavaVectorComparison() 802 writeJavaAppendInputToMessage(p, p.javaArrayName + "[i]"); in writeJavaAppendVectorInputToMessage() 806 writeJavaAppendInputToMessage(p, p.javaArrayName + "[i * " + p.vectorWidth + " + j]"); in writeJavaAppendVectorInputToMessage() [all …]
|
/aosp12/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
H A D | getsubopt.c | 48 char *p; in getsubopt() local 56 for (p = *optionp; *p && (*p == ',' || *p == ' ' || *p == '\t'); ++p); in getsubopt() 58 if (!*p) { in getsubopt() 59 *optionp = p; in getsubopt() 65 *++p && *p != ',' && *p != '=' && *p != ' ' && *p != '\t';); in getsubopt() 67 if (*p) { in getsubopt() 74 *p = '\0'; in getsubopt() 76 *p && *p != ',' && *p != ' ' && *p != '\t'; ++p); in getsubopt() 77 if (*p) in getsubopt() 82 for (; *p && (*p == ',' || *p == ' ' || *p == '\t'); ++p); in getsubopt() [all …]
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | MessageQueue.java | 491 p = p.next; in postSyncBarrier() 525 p = p.next; in removeSyncBarrier() 584 p = p.next; in enqueueMessage() 615 p = p.next; in hasMessages() 632 p = p.next; in hasEqualMessages() 650 p = p.next; in hasMessages() 667 p = p.next; in hasMessages() 682 while (p != null && p.target == h && p.what == what in removeMessages() 716 while (p != null && p.target == h && p.what == what in removeEqualMessages() 750 while (p != null && p.target == h && p.callback == r in removeMessages() [all …]
|
/aosp12/system/bt/stack/avdt/ |
H A D | avdt_defs.h | 151 #define AVDT_MSG_PRS_SIG(p, sig) \ argument 153 (sig) = (*(p)++) & 0x3F; \ 156 #define AVDT_MSG_PRS_SEID(p, seid) \ argument 158 (seid) = ((*(p)++) >> 2) & 0x3F; \ 198 #define AVDT_MSG_BLD_SIG(p, sig) \ argument 200 *(p)++ = (uint8_t)(sig); \ 203 #define AVDT_MSG_BLD_SEID(p, seid) \ argument 208 #define AVDT_MSG_BLD_ERR(p, err) \ argument 210 *(p)++ = (uint8_t)(err); \ 218 #define AVDT_MSG_BLD_NOSP(p, nosp) \ argument [all …]
|
/aosp12/system/bt/stack/test/ |
H A D | stack_smp_test.cc | 215 Point p; in TEST() local 221 p.x[7] = 0x20b003d2; in TEST() 222 p.x[6] = 0xf297be2c; in TEST() 223 p.x[5] = 0x5e2c83a7; in TEST() 224 p.x[4] = 0xe9f9a5b9; in TEST() 225 p.x[3] = 0xeff49111; in TEST() 226 p.x[2] = 0xacf4fddb; in TEST() 227 p.x[1] = 0xcc030148; in TEST() 228 p.x[0] = 0x0e359de6; in TEST() 264 Point p; in TEST() local [all …]
|
/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | Lines2Activity.java | 101 p.setColor(mColor); in onDraw() 113 p.setStrokeWidth(1); in onDraw() 122 p.setStrokeWidth(2); in onDraw() 130 p.setStrokeWidth(0); in onDraw() 141 p.setStrokeWidth(1); in onDraw() 150 p.setStrokeWidth(2); in onDraw() 159 p.setStrokeWidth(1); in onDraw() 169 p.setStrokeWidth(5); in onDraw() 182 p.setStrokeWidth(1); in onDraw() 192 p.setStrokeWidth(2); in onDraw() [all …]
|
/aosp12/packages/modules/Connectivity/tests/common/java/android/net/ |
H A D | IpPrefixTest.java | 58 IpPrefix p; in testConstructor() local 77 p = new IpPrefix(b2, 29); in testConstructor() 97 p = new IpPrefix("1/32"); in testConstructor() 116 p = new IpPrefix("/64"); in testConstructor() 119 p = new IpPrefix("/128"); in testConstructor() 128 IpPrefix p; in testTruncation() local 305 final IpPrefix oldP = p; in testHashCode() 317 if (p.equals(oldP)) { in testHashCode() 361 IpPrefix p; in testParceling() local 365 assertTrue(p.isIPv6()); in testParceling() [all …]
|
/aosp12/system/bt/stack/sdp/ |
H A D | sdp_discovery.cc | 137 p += 2; in sdp_snd_service_search_req() 358 if (p == NULL || (p + list_len) > p_end) { in sdp_copy_raw_data() 467 p += 2; in process_service_attr_rsp() 479 p = sdpu_build_attrib_seq(p, NULL, 0); in process_service_attr_rsp() 600 p = sdpu_build_attrib_seq(p, NULL, 0); in process_service_search_attr_rsp() 650 p = sdpu_get_len_from_type(p, p + p_ccb->list_len, type, &seq_len); in process_service_search_attr_rsp() 651 if (p == NULL || (p + seq_len) > (p + p_ccb->list_len)) { in process_service_search_attr_rsp() 699 if (p == NULL || (p + seq_len) > p_msg_end) { in save_attr_seq() 717 if (p == NULL || (p + attr_len) > p_seq_end) { in save_attr_seq() 805 if (p == NULL || (p + attr_len) > p_end) { in add_attr() [all …]
|