Home
last modified time | relevance | path

Searched refs:q (Results 1 – 17 of 17) sorted by relevance

/system/core/libsysutils/src/
DFrameworkListener.cpp91 char *q = tmp; in dispatchCommand() local
102 if (q >= qlimit) in dispatchCommand()
104 *q++ = '\\'; in dispatchCommand()
112 if (q >= qlimit) in dispatchCommand()
114 *q++ = '"'; in dispatchCommand()
116 if (q >= qlimit) in dispatchCommand()
118 *q++ = '\\'; in dispatchCommand()
137 if (q >= qlimit) in dispatchCommand()
139 *q = *p++; in dispatchCommand()
140 if (!quote && *q == ' ') { in dispatchCommand()
[all …]
/system/core/libpixelflinger/
Dfixed.cpp60 int32_t gglRecipQ(GGLfixed x, int q) in gglRecipQ() argument
64 shift += 16-q; in gglRecipQ()
184 uint32_t q = 0; in gglDivQ() local
195 q <<= 8; in gglDivQ()
196 if (n>=0) q |= 128; in gglDivQ()
199 if (n>=0) q |= 64; in gglDivQ()
202 if (n>=0) q |= 32; in gglDivQ()
205 if (n>=0) q |= 16; in gglDivQ()
208 if (n>=0) q |= 8; in gglDivQ()
211 if (n>=0) q |= 4; in gglDivQ()
[all …]
Dscanline.cpp1898 int32_t v, q; in scanline_perspective() member
1965 const int32_t v0 = tc[i].st[j].q; in scanline_perspective()
1971 tc[i].st[j].q = v1; in scanline_perspective()
/system/extras/ksmutils/
Dlookup3.c867 uint8_t q[] = "This is the time for all good men to come to the aid of their country..."; in driver3() local
879 hashword((const uint32_t *)q, (sizeof(q)-1)/4, 13), in driver3()
880 hashword((const uint32_t *)q, (sizeof(q)-5)/4, 13), in driver3()
881 hashword((const uint32_t *)q, (sizeof(q)-9)/4, 13)); in driver3()
882 p = q; in driver3()
884 hashlittle(p, sizeof(q)-1, 13), hashlittle(p, sizeof(q)-2, 13), in driver3()
885 hashlittle(p, sizeof(q)-3, 13), hashlittle(p, sizeof(q)-4, 13), in driver3()
886 hashlittle(p, sizeof(q)-5, 13), hashlittle(p, sizeof(q)-6, 13), in driver3()
887 hashlittle(p, sizeof(q)-7, 13), hashlittle(p, sizeof(q)-8, 13), in driver3()
888 hashlittle(p, sizeof(q)-9, 13), hashlittle(p, sizeof(q)-10, 13), in driver3()
[all …]
/system/core/run-as/
Dpackage.c460 const char* q; in get_package_info() local
503 q = skip_non_spaces(p, end); in get_package_info()
504 if (q == p) in get_package_info()
507 p = string_copy(info->dataDir, sizeof info->dataDir, p, q - p); in get_package_info()
514 q = skip_non_spaces(p, end); in get_package_info()
515 if (q == p) in get_package_info()
518 string_copy(info->seinfo, sizeof info->seinfo, p, q - p); in get_package_info()
/system/core/libcutils/
Dsched_policy.c266 char *q; in set_sched_policy() local
270 for (q = p; *q != ')'; q++); in set_sched_policy()
272 strncpy(thread_name, p, (q-p)); in set_sched_policy()
/system/core/adb/
Dadb_client.c54 char* q = strchr(p, '\n'); in adb_get_emulator_console_port() local
55 if (q != NULL) in adb_get_emulator_console_port()
56 *q++ = 0; in adb_get_emulator_console_port()
58 q = p + strlen(p); in adb_get_emulator_console_port()
68 p = q; in adb_get_emulator_console_port()
Dadb.c94 const char* q; in adb_trace_init() local
123 q = strpbrk(p, " ,:;"); in adb_trace_init()
124 if (q == NULL) { in adb_trace_init()
125 q = p + strlen(p); in adb_trace_init()
127 len = q - p; in adb_trace_init()
144 p = q; in adb_trace_init()
/system/core/logcat/
Dlogcat.cpp578 char* q = strpbrk( p, " \t\n\r" );; in main() local
580 if (q != NULL) in main()
581 *q = 0; in main()
593 char* q = strpbrk( p, " \t\n\r" ); in main() local
597 if (q != NULL) { in main()
598 len = q - p; in main()
/system/core/libutils/
DUnicode.cpp242 char16_t *q = dst; in strcpy16() local
247 *q++ = ch = *p++; in strcpy16()
264 char16_t *q = dst; in strncpy16() local
270 *q++ = ch = *p++; in strncpy16()
275 *q = 0; in strncpy16()
/system/netd/server/
DBandwidthController.h104 QuotaInfo(std::string ifn, int64_t q, int64_t a) in QuotaInfo() argument
105 : ifaceName(ifn), quota(q), alert(a) {}; in QuotaInfo()
DCommandListener.cpp946 for (int q = 3; argc >= 4; q++, argc--) { in runCommand() local
947 rc = sBandwidthCtrl->setInterfaceSharedQuota(argv[q], atoll(argv[2])); in runCommand()
950 asprintf(&msg, "bandwidth setquotas %s %s failed", argv[2], argv[q]); in runCommand()
968 for (int q = 2; argc >= 3; q++, argc--) { in runCommand() local
969 rc = sBandwidthCtrl->removeInterfaceSharedQuota(argv[q]); in runCommand()
972 asprintf(&msg, "bandwidth removequotas %s failed", argv[q]); in runCommand()
/system/core/logd/
DLogStatistics.cpp633 PidStatisticsCollection::iterator q; in format() local
635 for (q = pids.begin(); q != pids.end(); ++q) { in format()
636 if (mySizes > (*q)->sizes()) { in format()
637 pids.insert(q, p); in format()
645 if (q == pids.end()) { in format()
/system/keymaster/
Dasymmetric_key.cpp311 SetDsaParamData(&authorizations, TAG_DSA_Q, dsa_key->q); in GenerateKey()
319 dsa_key->q = BN_bin2bn(q_blob.data, q_blob.data_length, NULL); in GenerateKey()
321 if (dsa_key->g == NULL || dsa_key->p == NULL || dsa_key->q == NULL) { in GenerateKey()
386 *error = GetOrCheckDsaParam(TAG_DSA_Q, dsa_key->q, &authorizations); in ImportKey()
Dgoogle_keymaster_test.cpp287 keymaster_blob_t g, p, q; in TEST_F() local
290 EXPECT_TRUE(rsp.unenforced.GetTagValue(TAG_DSA_Q, &q)); in TEST_F()
293 EXPECT_EQ(20U, q.data_length); in TEST_F()
/system/security/softkeymaster/
Dkeymaster_openssl.cpp270 dsa->q = BN_bin2bn(dsa_params->prime_q, dsa_params->prime_q_len, NULL); in generate_dsa_keypair()
271 if (dsa->q == NULL) { in generate_dsa_keypair()
/system/core/include/private/pixelflinger/
Dggl_fixed.h93 int32_t gglRecipQ(GGLfixed x, int q) CONST;