/system/extras/simpleperf/ |
H A D | callchain.cpp | 111 const std::unique_ptr<CallChainNode>& n2) { 113 uint64_t period2 = n2->period + n2->children_period; 110 CompareNodeByPeriod(const std::unique_ptr<CallChainNode>& n1, const std::unique_ptr<CallChainNode>& n2) argument
|
/system/bt/stack/smp/ |
H A D | aes.c | 235 { uint_8t p1 = x, p2 = BPOLY, n1 = hibit(x), n2 = 0x80, v1 = 1, v2 = 0; local 243 while(n2 >= n1) /* divide polynomial p2 by p1 */ 245 n2 /= n1; /* shift smaller polynomial left */ 246 p2 ^= (p1 * n2) & 0xff; /* and remove from larger one */ 247 v2 ^= (v1 * n2); /* shift accumulated value and */ 248 n2 = hibit(p2); /* add into result */ 253 if(n2) /* repeat with values swapped */ 254 while(n1 >= n2) 256 n1 /= n2;
|
H A D | smp_keys.c | 1479 BOOLEAN smp_calculate_f5(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2, argument 1510 p_prnt = n2; 1528 if (!smp_calculate_f5_mackey_or_long_term_key(t, counter_mac_key, key_id, n1, n2, a1, a2, 1539 if (!smp_calculate_f5_mackey_or_long_term_key(t, counter_ltk, key_id, n1, n2, a1, a2, 1586 UINT8 *key_id, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2, 1611 p_prnt = n2; 1631 ARRAY_TO_STREAM(p, n2, BT_OCTET16_LEN); 1828 BOOLEAN smp_calculate_f6(UINT8 *w, UINT8 *n1, UINT8 *n2, UINT8 *r, UINT8 *iocap, UINT8 *a1, argument 1846 p_print = n2; 1873 ARRAY_TO_STREAM(p, n2, BT_OCTET16_LE 1585 smp_calculate_f5_mackey_or_long_term_key(UINT8 *t, UINT8 *counter, UINT8 *key_id, UINT8 *n1, UINT8 *n2, UINT8 *a1, UINT8 *a2, UINT8 *length, UINT8 *mac) argument [all...] |
/system/core/fs_mgr/ |
H A D | fs_mgr.c | 251 char *n2; local 255 n2 = strdup(in2); 258 remove_trailing_slashes(n2); 260 ret = !strcmp(n1, n2); 263 free(n2);
|
/system/core/libutils/ |
H A D | Unicode.cpp | 311 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) argument 314 const char16_t* e2 = s2+n2; 323 return n1 < n2 325 : (n1 > n2 330 int strzcmp16_h_n(const char16_t *s1H, size_t n1, const char16_t *s2N, size_t n2) argument 333 const char16_t* e2 = s2N+n2; 344 return n1 < n2 346 : (n1 > n2
|
/system/bt/stack/rfcomm/ |
H A D | rfc_int.h | 97 UINT8 n2; member in struct:__anon1257::__anon1258::__anon1259
|
/system/core/libmincrypt/ |
H A D | p256_ec.c | 1239 /* p256_points_mul_vartime sets {out_x,out_y} = n1*G + n2*{in_x,in_y}, where 1240 * n1 and n2 are < the order of the group. 1246 const p256_int* n1, const p256_int* n2, const p256_int* in_x, 1251 if (p256_is_zero(n1) != 0 && p256_is_zero(n2) != 0) { 1260 scalar_mult(x2, y2, z2, px, py, n2); 1262 if (p256_is_zero(n2) != 0) { 1263 /* If n2 == 0, then {x2,y2,z2} is zero and the result is just 1245 p256_points_mul_vartime( const p256_int* n1, const p256_int* n2, const p256_int* in_x, const p256_int* in_y, p256_int* out_x, p256_int* out_y) argument
|