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.cc252 bool leading_zero = false; in InternalStringToInt() local
279 leading_zero = true; in InternalStringToInt()
293 leading_zero = true; in InternalStringToInt()
302 leading_zero = true; in InternalStringToInt()
307 if (!leading_zero && !isDigit(*current, radix)) { in InternalStringToInt()
494 bool leading_zero = false; in InternalStringToDouble() local
499 leading_zero = true; in InternalStringToDouble()
522 bool octal = leading_zero && (flags & ALLOW_OCTALS) != 0; in InternalStringToDouble()
550 if (significant_digits == 0 && !leading_zero) { in InternalStringToDouble()
587 if (!leading_zero && exponent == 0 && significant_digits == 0) { in InternalStringToDouble()