Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
Djava_math_NativeBN.cpp378 BIGNUM positiveA; in NativeBN_bitLength() local
379 BN_init(&positiveA); in NativeBN_bitLength()
381 if (!BN_copy(&positiveA, a)) { in NativeBN_bitLength()
382 BN_free(&positiveA); in NativeBN_bitLength()
387 BN_set_negative(&positiveA, false); in NativeBN_bitLength()
388 int numBits = BN_is_pow2(&positiveA) ? BN_num_bits(&positiveA) - 1 : BN_num_bits(&positiveA); in NativeBN_bitLength()
390 BN_free(&positiveA); in NativeBN_bitLength()