Home
last modified time | relevance | path

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

/hypervisor/debug/
A Dstring.c17 uint64_t acc, cutoff, cutlim; in strtol_deci() local
60 acc = 0UL; in strtol_deci()
65 if ((acc > cutoff) || in strtol_deci()
66 ((acc == cutoff) && ((uint64_t)c > cutlim))) { in strtol_deci()
70 acc *= base; in strtol_deci()
71 acc += (uint64_t)c; in strtol_deci()
79 acc = (neg != 0) ? LONG_MIN : LONG_MAX; in strtol_deci()
81 acc = ~acc + 1UL; in strtol_deci()
86 return (long)acc; in strtol_deci()
/hypervisor/lib/
A Dstring.c31 uint64_t acc, cutoff, cutlim; in strtoul_hex() local
50 acc = 0UL; in strtoul_hex()
54 if ((acc > cutoff) || ((acc == cutoff) && ((uint64_t)digit > cutlim))) { in strtoul_hex()
58 acc *= base; in strtoul_hex()
59 acc += (uint64_t)digit; in strtoul_hex()
68 acc = ULONG_MAX; in strtoul_hex()
70 return acc; in strtoul_hex()

Completed in 3 milliseconds