Home
last modified time | relevance | path

Searched refs:N (Results 1 – 25 of 28) sorted by relevance

12

/system/core/libutils/
DLinearTransform.cpp44 uint32_t N, in scale_u64_to_u64() argument
68 tmp2 = (val >> 32) * N; in scale_u64_to_u64()
69 tmp1 = (val & UINT32_MAX) * N; in scale_u64_to_u64()
130 int32_t N, in linear_transform_s64_to_s64() argument
152 if (N < 0) in linear_transform_s64_to_s64()
156 invert_frac ? D : ABS(N), in linear_transform_s64_to_s64()
157 invert_frac ? ABS(N) : D, in linear_transform_s64_to_s64()
228 template <class T> void LinearTransform::reduce(T* N, T* D) { in reduce() argument
230 if (!N || !D || !(*D)) { in reduce()
235 a = *N; in reduce()
[all …]
DString16.cpp183 const size_t N = other.size(); in setTo() local
184 if (begin >= N) { in setTo()
189 if ((begin+len) > N) len = N-begin; in setTo()
190 if (begin == 0 && len == N) { in setTo()
355 const size_t N = size(); in makeLower() local
358 for (size_t i=0; i<N; i++) { in makeLower()
377 const size_t N = size(); in replaceAll() local
380 for (size_t i=0; i<N; i++) { in replaceAll()
398 const size_t N = size(); in remove() local
399 if (begin >= N) { in remove()
[all …]
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h53 template <typename T, size_t N> inline size_t array_size(const T (&a)[N]) { in array_size() argument
60 template <typename T, size_t N> inline size_t array_length(const T (&)[N]) { in array_length() argument
61 return N; in array_length()
81 template <typename T, size_t N> inline T* dup_array(const T (&a)[N]) { in dup_array() argument
82 return dup_array(a, N); in dup_array()
94 template <typename T, size_t N> inline void copy_array(const T (&arr)[N], T* dest) { in copy_array() argument
95 for (size_t i = 0; i < N; ++i) in copy_array()
104 template <typename T, size_t N> inline bool array_contains(const T (&a)[N], T val) { in array_contains() argument
105 for (size_t i = 0; i < N; ++i) { in array_contains()
149 template <size_t N> explicit Eraser(uint8_t (&arr)[N]) : buf_(arr), size_(N) {} in Eraser() argument
Dandroid_keymaster_messages.h194 template <size_t N> void SetResults(const T (&arr)[N]) { SetResults(arr, N); } in SetResults()
/system/core/include/utils/
DFlattenable.h31 template<int N>
33 COMPILE_TIME_ASSERT_FUNCTION_SCOPE( !(N & (N-1)) ); in align()
34 return (size + (N-1)) & ~(N-1); in align()
37 template<int N>
39 COMPILE_TIME_ASSERT_FUNCTION_SCOPE( !(N & (N-1)) ); in align()
41 buffer = (void*)((intptr_t(buffer) + (N-1)) & ~(N-1)); in align()
45 template<int N>
47 return align<N>( const_cast<void const*&>(buffer) ); in align()
DLinearTransform.h57 template <class T> static void reduce(T* N, T* D);
58 static void reduce(int32_t* N, uint32_t* D);
/system/sepolicy/
Dmls_macros3 # gen_cats(N)
5 # declares categores c0 to c(N-1)
16 # gen_sens(N)
18 # declares sensitivites s0 to s(N-1) with dominance
19 # in increasing numeric order with s0 lowest, s(N-1) highest
38 # gen_levels(N,M)
40 # levels from s0 to (N-1) with categories c0 to (M-1)
/system/extras/perfprofd/quipper/base/
Dmacros.h63 template <typename T, size_t N>
64 char (&ArraySizeHelper(T (&array)[N]))[N];
70 template <typename T, size_t N>
71 char (&ArraySizeHelper(const T (&array)[N]))[N];
/system/tools/aidl/
Dast_java.cpp58 size_t N = arguments.size(); in WriteArgumentList() local
59 for (size_t i = 0; i < N; i++) { in WriteArgumentList()
61 if (i != N - 1) { in WriteArgumentList()
128 int N = this->statements.size(); in Write() local
129 for (int i = 0; i < N; i++) { in Write()
341 int N = this->cases.size(); in Write() local
342 if (N > 0) { in Write()
343 for (int i = 0; i < N; i++) { in Write()
363 int N = this->cases.size(); in Write() local
364 for (int i = 0; i < N; i++) { in Write()
[all …]
/system/gatekeeper/include/gatekeeper/
Dgatekeeper_utils.h43 template <typename T, size_t N> inline size_t array_length(const T (&)[N]) { in array_length() argument
44 return N; in array_length()
/system/core/libmincrypt/tools/
DDumpPublicKey.java109 BigInteger N = key.getModulus(); in printRSA() local
113 int nwords = N.bitLength() / 32; // # of 32 bit integers in modulus in printRSA()
125 BigInteger N0inv = B.subtract(N.modInverse(B)); // -1 / N[0] mod 2^32 in printRSA()
130 BigInteger R = BigInteger.valueOf(2).pow(N.bitLength()); in printRSA()
131 BigInteger RR = R.multiply(R).mod(N); // 2^4096 mod N in printRSA()
136 long n = N.mod(B).longValue(); in printRSA()
143 N = N.divide(B); in printRSA()
/system/core/base/include/android-base/
Dmacros.h81 template <typename T, size_t N>
82 char(&ArraySizeHelper(T(&array)[N]))[N]; // NOLINT(readability/casting)
/system/core/gatekeeperd/
DSoftGateKeeper.h47 static const uint64_t N = 16384; variable
86 sizeof(salt), N, r, p, signature, signature_length); in ComputePasswordSignature()
/system/ca-certificates/files/
Da3896b44.010 Ms+k2Y7CI9eNqPPYJayX5HA49LY6tJ07lyZDo6G8SVlyTCMwhwFY9k6+HGhWZq/N
12 xrHty8OVYNEP8Ktw+N/LTX7s1vqr2b1/VPKl6Xn62dZ2JChzAgMBAAGjPzA9MB0G
D85cde254.012 HOZ/5FSuS/hVclcCGfgXcVnrHigHdMWdSL5stPSksPNkN3mSwOxGXn/hbVNMYq/N
Dd6e6eab9.025 qh8c3LigkyfeY+N/IZ865Z764BNqdeuWXGKRlI5nU7aJ+BIJy29SWwNyhlCVCNSN
D450c6e38.030 t6NlUe07qxS/TFED6F+KBZvuim6c779o+sjaC+NCydAXFJy3SuCvkychVSa1ZC+N
/system/vold/
Dcryptfs.c1274 int N = 1 << ftr->N_factor; local
1281 salt, SALT_LEN, N, r, p, ikey,
1297 int N = 1 << ftr->N_factor; local
1302 salt, SALT_LEN, N, r, p, ikey,
1317 N, r, p, ikey, KEY_LEN_BYTES + IV_LEN_BYTES);
1395 int N = 1 << crypt_ftr->N_factor; local
1400 crypt_ftr->salt, sizeof(crypt_ftr->salt), N, r, p,
1874 int N = 1 << crypt_ftr->N_factor; local
1880 N, r, p, scrypted_intermediate_key,
3830 int N = 1 << ftr->N_factor; local
[all …]
/system/keymaster/
Dandroid_keymaster_test_utils.h149 template <size_t N> std::string make_string(const uint8_t (&a)[N]) { in make_string() argument
150 return make_string(a, N); in make_string()
/system/ca-certificates/google/files/
D85cde254.012 HOZ/5FSuS/hVclcCGfgXcVnrHigHdMWdSL5stPSksPNkN3mSwOxGXn/hbVNMYq/N
/system/extras/tests/workloads/
Ddefs.sh167 if [ "$2" = N ]; then
/system/bt/doc/
Dstyle_guide.md296 // Notice the space between "//" and "N".
/system/tpm/trunks/generator/
Draw_structures.txt4179 N
4516 N
4554 added and N is set to the parameter number.
4555 For an error associated with a handle, a parameter number (1 to 7) is added to the N field. For an …
4556 associated with a session, a value of 8 plus the session number (1 to 7) is added to the N field. I…
4557 words, if P is clear, then a value of 0 to 7 in the N field will indicate a handle error, and a val…
4561 …plementation is not able to designate the handle, session, or parameter in error, then P and N will
4606 N
4610 handle or session in error. Handles use values of N between 0000 2 and 01112. Sessions use
6527 N
[all …]
Draw_structures_fixed.txt4173 N
4510 N
4548 added and N is set to the parameter number.
4549 For an error associated with a handle, a parameter number (1 to 7) is added to the N field. For an …
4550 associated with a session, a value of 8 plus the session number (1 to 7) is added to the N field. I…
4551 words, if P is clear, then a value of 0 to 7 in the N field will indicate a handle error, and a val…
4555 …plementation is not able to designate the handle, session, or parameter in error, then P and N will
4600 N
4604 handle or session in error. Handles use values of N between 0000 2 and 01112. Sessions use
6535 N
[all …]
/system/ca-certificates/google/
Droots.pem1102 HOZ/5FSuS/hVclcCGfgXcVnrHigHdMWdSL5stPSksPNkN3mSwOxGXn/hbVNMYq/N

12