Home
last modified time | relevance | path

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

/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/
Dder_length_integer.c29 int leading_zero; in der_length_integer() local
39 leading_zero = 1; in der_length_integer()
41 leading_zero = 0; in der_length_integer()
45 z = len = leading_zero + mp_unsigned_bin_size(num); in der_length_integer()
49 leading_zero = 0; in der_length_integer()
Dder_encode_integer.c32 int err, leading_zero; in der_encode_integer() local
51 leading_zero = 1; in der_encode_integer()
53 leading_zero = 0; in der_encode_integer()
57 y = mp_unsigned_bin_size(num) + leading_zero; in der_encode_integer()
59 leading_zero = 0; in der_encode_integer()
88 if (leading_zero) { in der_encode_integer()
/external/v8/src/
Dconversions-inl.h250 bool leading_zero = false; in InternalStringToInt() local
277 leading_zero = true; in InternalStringToInt()
291 leading_zero = true; in InternalStringToInt()
300 leading_zero = true; in InternalStringToInt()
305 if (!leading_zero && !isDigit(*current, radix)) { in InternalStringToInt()
491 bool leading_zero = false; in InternalStringToDouble() local
496 leading_zero = true; in InternalStringToDouble()
519 bool octal = leading_zero && (flags & ALLOW_OCTALS) != 0; in InternalStringToDouble()
547 if (significant_digits == 0 && !leading_zero) { in InternalStringToDouble()
582 if (!leading_zero && exponent == 0 && significant_digits == 0) { in InternalStringToDouble()