Home
last modified time | relevance | path

Searched refs:n2 (Results 1 – 12 of 12) sorted by relevance

/system/core/libutils/
DUnicode.cpp315 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) in strzcmp16() argument
318 const char16_t* e2 = s2+n2; 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
337 const char16_t* e2 = s2N+n2; 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.cpp111 const std::unique_ptr<CallChainNode>& n2) { in CompareNodeByPeriod() argument
113 uint64_t period2 = n2->period + n2->children_period; in CompareNodeByPeriod()
/system/bt/stack/smp/
Dsmp_int.h387 UINT8 *n2, UINT8 *a1, UINT8 *a2,
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
1510 p_prnt = n2; 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
1611 p_prnt = n2; in smp_calculate_f5_mackey_or_long_term_key()
1631 ARRAY_TO_STREAM(p, n2, 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
1846 p_print = n2; in smp_calculate_f6()
1873 ARRAY_TO_STREAM(p, n2, 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
243 while(n2 >= n1) /* divide polynomial p2 by p1 */ in gf_inv()
245 n2 /= n1; /* shift smaller polynomial left */ in gf_inv()
246 p2 ^= (p1 * n2) & 0xff; /* and remove from larger one */ in gf_inv()
247 v2 ^= (v1 * n2); /* shift accumulated value and */ in gf_inv()
248 n2 = hibit(p2); /* add into result */ in gf_inv()
253 if(n2) /* repeat with values swapped */ in gf_inv()
254 while(n1 >= n2) in gf_inv()
256 n1 /= n2; in gf_inv()
/system/core/fs_mgr/
Dfs_mgr.c251 char *n2; in fs_match() local
255 n2 = strdup(in2); in fs_match()
258 remove_trailing_slashes(n2); in fs_match()
260 ret = !strcmp(n1, n2); in fs_match()
263 free(n2); in fs_match()
/system/core/init/
Dperfboot.py332 n2 = n / 2
333 return (data[n2 - 1] + data[n2]) / 2.0
/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()
1260 scalar_mult(x2, y2, z2, px, py, n2); in p256_points_mul_vartime()
1262 if (p256_is_zero(n2) != 0) { in p256_points_mul_vartime()
/system/bt/stack/rfcomm/
Drfc_int.h97 UINT8 n2; member
Drfc_ts_frames.c719 p_rx_frame->u.pn.n2 = *p_data++; in rfc_process_mx_message()