/system/core/nexus/ |
D | ScanResult.cpp | 29 char *p = rawResult, *q = rawResult; in ScanResult() local 33 for (q = p; *q != '\t'; ++q); in ScanResult() 34 strncpy(tmp, p, (q - p)); in ScanResult() 35 tmp[q-p] = '\0'; in ScanResult() 37 ++q; in ScanResult() 40 for (p = q; *q != '\t'; ++q); in ScanResult() 41 strncpy(tmp, p, (q - p)); in ScanResult() 42 tmp[q-p] = '\0'; in ScanResult() 44 ++q; in ScanResult() 47 for (p = q; *q != '\t'; ++q); in ScanResult() [all …]
|
D | SupplicantAssociatingEvent.cpp | 47 char *q = index(p, '\''); in SupplicantAssociatingEvent() local 48 if (!q) { in SupplicantAssociatingEvent() 52 mSsid = (char *) malloc((q - p) +1); in SupplicantAssociatingEvent() 53 strncpy(mSsid, p, q-p); in SupplicantAssociatingEvent() 54 mSsid[q-p] = '\0'; in SupplicantAssociatingEvent() 56 p = q + 7; in SupplicantAssociatingEvent() 61 if (!(q = index(p, ' '))) { in SupplicantAssociatingEvent() 65 *q = '\0'; in SupplicantAssociatingEvent() 74 char *q = index(p, '\''); in SupplicantAssociatingEvent() local 75 if (!q) { in SupplicantAssociatingEvent() [all …]
|
/system/core/libsysutils/src/ |
D | FrameworkListener.cpp | 67 char *q = tmp; in dispatchCommand() local 78 if (q >= qlimit) in dispatchCommand() 80 *q++ = '\\'; in dispatchCommand() 88 if (q >= qlimit) in dispatchCommand() 90 *q++ = '"'; in dispatchCommand() 92 if (q >= qlimit) in dispatchCommand() 94 *q++ = '\\'; in dispatchCommand() 113 if (q >= qlimit) in dispatchCommand() 115 *q = *p++; in dispatchCommand() 116 if (!quote && *q == ' ') { in dispatchCommand() [all …]
|
/system/core/libpixelflinger/ |
D | fixed.cpp | 60 int32_t gglRecipQ(GGLfixed x, int q) in gglRecipQ() argument 64 shift += 16-q; in gglRecipQ() 183 uint32_t q = 0; in gglDivQ() local 194 q <<= 8; in gglDivQ() 195 if (n>=0) q |= 128; in gglDivQ() 198 if (n>=0) q |= 64; in gglDivQ() 201 if (n>=0) q |= 32; in gglDivQ() 204 if (n>=0) q |= 16; in gglDivQ() 207 if (n>=0) q |= 8; in gglDivQ() 210 if (n>=0) q |= 4; in gglDivQ() [all …]
|
D | scanline.cpp | 1861 int32_t v, q; in scanline_perspective() member 1928 const int32_t v0 = tc[i].st[j].q; in scanline_perspective() 1934 tc[i].st[j].q = v1; in scanline_perspective()
|
/system/core/sh/ |
D | expand.c | 487 char *q; in subevalvar() local 544 for (q = startp; q < loc; q++) in subevalvar() 545 if (*q == CTLESC) in subevalvar() 546 q++; in subevalvar() 547 if (q > loc) in subevalvar() 560 for (q = startp; q < loc; q++) in subevalvar() 561 if (*q == CTLESC) in subevalvar() 562 q++; in subevalvar() 563 if (q > loc) in subevalvar() 950 char *q; in ifsbreakup() local [all …]
|
D | options.c | 402 char *p, *q; in getopts() local 428 for (q = optstr; *q != c; ) { in getopts() 429 if (*q == '\0') { in getopts() 441 if (*++q == ':') in getopts() 442 q++; in getopts() 445 if (*++q == ':') { in getopts() 504 const char *q; in nextopt() local 516 for (q = optstring ; *q != c ; ) { in nextopt() 517 if (*q == '\0') in nextopt() 519 if (*++q == ':') in nextopt() [all …]
|
D | cd.c | 153 char *q; in docd() local 175 while ((q = getcomponent()) != NULL) { in docd() 176 if (q[0] == '\0' || (q[0] == '.' && q[1] == '\0')) in docd() 181 component = q; in docd() 182 while (*q) in docd() 183 STPUTC(*q++, p); in docd()
|
D | input.c | 288 char *p, *q; in preadbuffer() local 311 q = p = parsenextc; in preadbuffer() 326 parsenleft = q - parsenextc; in preadbuffer() 335 *q++ = *p++; in preadbuffer() 338 parsenleft = q - parsenextc - 1; in preadbuffer() 341 *q = '\0'; in preadbuffer() 346 savec = *q; in preadbuffer() 347 *q = '\0'; in preadbuffer() 364 *q = savec; in preadbuffer()
|
D | var.c | 223 const char *q; in setvar() local 253 q = name; in setvar() 255 *d++ = *q++; in setvar() 466 const char *q; in print_quoted() local 478 q = index(p, '\''); in print_quoted() 479 if (!q) { in print_quoted() 483 out1fmt("'%.*s'", (int)(q - p), p ); in print_quoted() 484 p = q; in print_quoted() 778 strequal(const char *p, const char *q) in strequal() argument 780 while (*p == *q++) { in strequal() [all …]
|
D | nodes.c.pat | 145 register char *q = funcstring; 148 while ((*q++ = *p++) != 0) 150 funcstring = q;
|
D | exec.c | 295 char *q; in padvance() local 306 q = stackblock(); in padvance() 308 memcpy(q, start, p - start); in padvance() 309 q += p - start; in padvance() 310 *q++ = '/'; in padvance() 312 strcpy(q, name); in padvance()
|
D | nodes.c | 326 register char *q = funcstring; local 329 while ((*q++ = *p++) != 0) 331 funcstring = q;
|
D | parser.c | 1172 char *p, *q; in readtoken1() local 1175 for (q = eofmark + 1 ; *q && *p == *q ; p++, q++); in readtoken1() 1176 if (*p == '\n' && *q == '\0') { in readtoken1()
|
/system/core/libcutils/ |
D | sched_policy.c | 241 char *q; in set_sched_policy() local 245 for (q = p; *q != ')'; q++); in set_sched_policy() 247 strncpy(thread_name, p, (q-p)); in set_sched_policy()
|
/system/core/adb/ |
D | adb_client.c | 48 char* q = strchr(p, '\n'); in adb_get_emulator_console_port() local 49 if (q != NULL) in adb_get_emulator_console_port() 50 *q++ = 0; in adb_get_emulator_console_port() 52 q = p + strlen(p); in adb_get_emulator_console_port() 62 p = q; in adb_get_emulator_console_port()
|
D | adb.c | 79 const char* q; in adb_trace_init() local 107 q = strpbrk(p, " ,:;"); in adb_trace_init() 108 if (q == NULL) { in adb_trace_init() 109 q = p + strlen(p); in adb_trace_init() 111 len = q - p; in adb_trace_init() 128 p = q; in adb_trace_init()
|
/system/core/run-as/ |
D | package.c | 408 const char* q; in get_package_info() local 451 q = skip_non_spaces(p, end); in get_package_info() 452 if (q == p) in get_package_info() 455 string_copy(info->dataDir, sizeof info->dataDir, p, q - p); in get_package_info()
|
/system/core/logcat/ |
D | logcat.cpp | 610 char* q = strpbrk( p, " \t\n\r" );; in main() local 612 if (q != NULL) in main() 613 *q = 0; in main() 625 char* q = strpbrk( p, " \t\n\r" ); in main() local 629 if (q != NULL) { in main() 630 len = q - p; in main()
|
/system/netd/ |
D | BandwidthController.h | 83 QuotaInfo(std::string ifn, int64_t q, int64_t a) in QuotaInfo() argument 84 : ifaceName(ifn), quota(q), alert(a) {}; in QuotaInfo()
|
D | CommandListener.cpp | 968 for (int q = 3; argc >= 4; q++, argc--) { in runCommand() local 969 rc = sBandwidthCtrl->setInterfaceSharedQuota(argv[q], atoll(argv[2])); in runCommand() 972 asprintf(&msg, "bandwidth setquotas %s %s failed", argv[2], argv[q]); in runCommand() 990 for (int q = 2; argc >= 3; q++, argc--) { in runCommand() local 991 rc = sBandwidthCtrl->removeInterfaceSharedQuota(argv[q]); in runCommand() 994 asprintf(&msg, "bandwidth removequotas %s failed", argv[q]); in runCommand()
|
/system/core/include/private/pixelflinger/ |
D | ggl_fixed.h | 93 int32_t gglRecipQ(GGLfixed x, int q) CONST;
|