/system/core/libsysutils/src/ |
D | FrameworkListener.cpp | 79 char *q = tmp; in dispatchCommand() local 91 if (q >= qlimit) in dispatchCommand() 93 *q++ = '\\'; in dispatchCommand() 101 if (q >= qlimit) in dispatchCommand() 103 *q++ = '"'; in dispatchCommand() 105 if (q >= qlimit) in dispatchCommand() 107 *q++ = '\\'; in dispatchCommand() 126 if (q >= qlimit) in dispatchCommand() 128 *q = *p++; in dispatchCommand() 129 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/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/libcutils/ |
D | sched_policy.c | 286 char *q; in set_sched_policy() local 290 for (q = p; *q != ')'; q++); in set_sched_policy() 292 strncpy(thread_name, p, (q-p)); in set_sched_policy()
|
/system/core/run-as/ |
D | package.c | 439 const char* q; in get_package_info() local 482 q = skip_non_spaces(p, end); in get_package_info() 483 if (q == p) in get_package_info() 486 string_copy(info->dataDir, sizeof info->dataDir, p, q - p); in get_package_info()
|
/system/core/logcat/ |
D | logcat.cpp | 615 char* q = strpbrk( p, " \t\n\r" );; in main() local 617 if (q != NULL) in main() 618 *q = 0; in main() 630 char* q = strpbrk( p, " \t\n\r" ); in main() local 634 if (q != NULL) { in main() 635 len = q - p; in main()
|
/system/netd/ |
D | BandwidthController.h | 86 QuotaInfo(std::string ifn, int64_t q, int64_t a) in QuotaInfo() argument 87 : ifaceName(ifn), quota(q), alert(a) {}; in QuotaInfo()
|
D | CommandListener.cpp | 1016 for (int q = 3; argc >= 4; q++, argc--) { in runCommand() local 1017 rc = sBandwidthCtrl->setInterfaceSharedQuota(argv[q], atoll(argv[2])); in runCommand() 1020 asprintf(&msg, "bandwidth setquotas %s %s failed", argv[2], argv[q]); in runCommand() 1038 for (int q = 2; argc >= 3; q++, argc--) { in runCommand() local 1039 rc = sBandwidthCtrl->removeInterfaceSharedQuota(argv[q]); in runCommand() 1042 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;
|