Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dp_256_ecc_pp.c33 static void p_256_init_point(Point *q) in p_256_init_point() argument
35 memset(q, 0, sizeof(Point)); in p_256_init_point()
38 static void p_256_copy_point(Point *q, Point *p) in p_256_copy_point() argument
40 memcpy(q, p, sizeof(Point)); in p_256_copy_point()
44 static void ECC_Double(Point *q, Point *p, uint32_t keyLength) in ECC_Double() argument
58 multiprecision_init(q->z, keyLength); in ECC_Double()
63 x3=q->x; y3=q->y; z3=q->z; in ECC_Double()
91 static void ECC_Add(Point *r, Point *p, Point *q, uint32_t keyLength) in ECC_Add() argument
106 x2=q->x; y2=q->y; z2=q->z; in ECC_Add()
119 p_256_copy_point(r, q); in ECC_Add()
[all …]
Dp_256_ecc_pp.h59 void ECC_PointMult_Bin_NAF(Point *q, Point *p, DWORD *n, uint32_t keyLength);
61 #define ECC_PointMult(q, p, n, keyLength) ECC_PointMult_Bin_NAF(q, p, n, keyLength) argument
/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.c463 const char* q; in get_package_info() local
506 q = skip_non_spaces(p, end); in get_package_info()
507 if (q == p) in get_package_info()
515 p = string_copy(info->dataDir, sizeof info->dataDir, p, q - p); in get_package_info()
522 p = q; in get_package_info()
530 q = skip_non_spaces(p, end); in get_package_info()
531 if (q == p) in get_package_info()
534 string_copy(info->seinfo, sizeof info->seinfo, p, q - p); in get_package_info()
/system/core/libcutils/
Dsched_policy.c300 char *q; in set_sched_policy() local
304 for (q = p; *q != ')'; q++); in set_sched_policy()
306 strncpy(thread_name, p, (q-p)); in set_sched_policy()
/system/core/libutils/
DUnicode.cpp236 char16_t *q = dst; in strcpy16() local
241 *q++ = ch = *p++; in strcpy16()
258 char16_t *q = dst; in strncpy16() local
264 *q++ = ch = *p++; in strncpy16()
269 *q = 0; in strncpy16()
/system/core/logcat/
Dlogcat.cpp708 char* q = strpbrk( p, " \t\n\r" );; in main() local
710 if (q != NULL) in main()
711 *q = 0; in main()
724 char* q = strpbrk( p, " \t\n\r" ); in main() local
728 if (q != NULL) { in main()
729 len = q - p; in main()
/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.cpp977 for (int q = 3; argc >= 4; q++, argc--) { in runCommand() local
978 rc = sBandwidthCtrl->setInterfaceSharedQuota(argv[q], atoll(argv[2])); in runCommand()
981 asprintf(&msg, "bandwidth setquotas %s %s failed", argv[2], argv[q]); in runCommand()
999 for (int q = 2; argc >= 3; q++, argc--) { in runCommand() local
1000 rc = sBandwidthCtrl->removeInterfaceSharedQuota(argv[q]); in runCommand()
1003 asprintf(&msg, "bandwidth removequotas %s failed", argv[q]); in runCommand()
/system/core/adb/
Dadb.cpp171 const char* q = strpbrk(p, " ,:;"); in adb_trace_init() local
172 if (q == NULL) { in adb_trace_init()
173 q = p + strlen(p); in adb_trace_init()
175 len = q - p; in adb_trace_init()
190 p = q; in adb_trace_init()
/system/security/softkeymaster/
Dkeymaster_openssl.cpp255 dsa->q = BN_bin2bn(dsa_params->prime_q, dsa_params->prime_q_len, NULL); in generate_dsa_keypair()
256 if (dsa->q == NULL) { in generate_dsa_keypair()
/system/core/libpixelflinger/include/private/pixelflinger/
Dggl_fixed.h93 int32_t gglRecipQ(GGLfixed x, int q) CONST;