Home
last modified time | relevance | path

Searched refs:n1 (Results 1 – 11 of 11) sorted by relevance

/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp223 for (unsigned int n1 = 0; n1 < str.size(); n1++) { in operator <<() local
224 if ((str[n1] > 0x20) && (str[n1] < 0x80)) { in operator <<()
225 stream << (char) str[n1]; in operator <<()
236 for (unsigned int n1 = 0; n1 < CPU_SETSIZE; n1++) { in operator <<() local
237 if (CPU_ISSET(n1, &set)) { in operator <<()
238 if (n1 != 0) { stream << ' '; } in operator <<()
239 stream << n1; in operator <<()
/system/extras/tests/wifi/stress/
DwifiLoadScanAssoc.c390 unsigned int n1; in init() local
403 for (n1 = 0; n1 < CPU_SETSIZE; n1++) { in init()
404 if (CPU_ISSET(n1, &availCPU)) { numAvailCPU++; } in init()
/system/core/libutils/
DUnicode.cpp315 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) in strzcmp16() argument
317 const char16_t* e1 = s1+n1; in strzcmp16()
327 return n1 < n2 in strzcmp16()
329 : (n1 > n2 in strzcmp16()
334 int strzcmp16_h_n(const char16_t *s1H, size_t n1, const char16_t *s2N, size_t n2) in strzcmp16_h_n() argument
336 const char16_t* e1 = s1H+n1; in strzcmp16_h_n()
348 return n1 < n2 in strzcmp16_h_n()
350 : (n1 > n2 in strzcmp16_h_n()
/system/core/include/utils/
DUnicode.h41 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2);
44 int strzcmp16_h_n(const char16_t *s1H, size_t n1, const char16_t *s2N, size_t n2);
/system/extras/simpleperf/
Dcallchain.cpp110 static bool CompareNodeByPeriod(const std::unique_ptr<CallChainNode>& n1, in CompareNodeByPeriod() argument
112 uint64_t period1 = n1->period + n1->children_period; in CompareNodeByPeriod()
/system/bt/stack/smp/
Dsmp_int.h386 UINT8 *key_id, UINT8 *n1,
389 extern void smp_f5_calc_chk (UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2,
391 extern void smp_f6_calc_chk (UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *r,
526 extern BOOLEAN smp_calculate_f5(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2,
529 UINT8 *key_id, UINT8 *n1, UINT8 *n2, UINT8 *a1,
532 extern BOOLEAN smp_calculate_f6(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *r, UINT8 *iocap,
Dsmp_keys.c1479 BOOLEAN smp_calculate_f5(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2, in smp_calculate_f5() argument
1508 p_prnt = n1; in smp_calculate_f5()
1528 if (!smp_calculate_f5_mackey_or_long_term_key(t, counter_mac_key, key_id, n1, n2, a1, a2, in smp_calculate_f5()
1539 if (!smp_calculate_f5_mackey_or_long_term_key(t, counter_ltk, key_id, n1, n2, a1, a2, in smp_calculate_f5()
1586 UINT8 *key_id, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2, in smp_calculate_f5_mackey_or_long_term_key() argument
1609 p_prnt = n1; in smp_calculate_f5_mackey_or_long_term_key()
1632 ARRAY_TO_STREAM(p, n1, BT_OCTET16_LEN); in smp_calculate_f5_mackey_or_long_term_key()
1828 BOOLEAN smp_calculate_f6(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *r, UINT8 *iocap, UINT8 *a1, in smp_calculate_f6() argument
1844 p_print = n1; in smp_calculate_f6()
1874 ARRAY_TO_STREAM(p, n1, BT_OCTET16_LEN); in smp_calculate_f6()
Daes.c235 { uint_8t p1 = x, p2 = BPOLY, n1 = hibit(x), n2 = 0x80, v1 = 1, v2 = 0; in gf_inv() local
242 if(n1) in gf_inv()
243 while(n2 >= n1) /* divide polynomial p2 by p1 */ in gf_inv()
245 n2 /= n1; /* shift smaller polynomial left */ in gf_inv()
254 while(n1 >= n2) in gf_inv()
256 n1 /= n2; in gf_inv()
257 p1 ^= p2 * n1; in gf_inv()
258 v1 ^= v2 * n1; in gf_inv()
259 n1 = hibit(p1); in gf_inv()
/system/core/fs_mgr/
Dfs_mgr.c250 char *n1; in fs_match() local
254 n1 = strdup(in1); in fs_match()
257 remove_trailing_slashes(n1); in fs_match()
260 ret = !strcmp(n1, n2); in fs_match()
262 free(n1); in fs_match()
/system/core/include/mincrypt/
Dp256.h138 const p256_int *n1, const p256_int *n2,
/system/core/libmincrypt/
Dp256_ec.c1246 const p256_int* n1, const p256_int* n2, const p256_int* in_x, in p256_points_mul_vartime() argument
1251 if (p256_is_zero(n1) != 0 && p256_is_zero(n2) != 0) { in p256_points_mul_vartime()
1259 scalar_base_mult(x1, y1, z1, n1); in p256_points_mul_vartime()
1265 } else if (p256_is_zero(n1) != 0) { in p256_points_mul_vartime()