Searched refs:poweroften (Results 1 – 2 of 2) sorted by relevance
| /freebsd-9-stable/contrib/bind9/lib/dns/rdata/generic/ |
| D | loc_29.c | 43 long poweroften[8] = { 1, 10, 100, 1000, in fromtext_loc() local 319 if (m < poweroften[exp+1]) in fromtext_loc() 321 man = m / poweroften[exp]; in fromtext_loc() 372 if (m < poweroften[exp+1]) in fromtext_loc() 374 man = m / poweroften[exp]; in fromtext_loc() 423 if (m < poweroften[exp+1]) in fromtext_loc() 425 man = m / poweroften[exp]; in fromtext_loc() 473 unsigned long poweroften[8] = { 1, 10, 100, 1000, in totext_loc() local 491 sprintf(sbuf, "%lum", (size>>4) * poweroften[(size&0x0f)-2]); in totext_loc() 493 sprintf(sbuf, "0.%02lum", (size>>4) * poweroften[(size&0x0f)]); in totext_loc() [all …]
|
| /freebsd-9-stable/lib/libc/resolv/ |
| D | res_debug.c | 756 static unsigned int poweroften[10] = {1, 10, 100, 1000, 10000, 100000, variable 771 val = mantissa * poweroften[exponent]; 803 if (cmval < poweroften[exponent+1]) in precsize_aton() 806 mantissa = cmval / poweroften[exponent]; in precsize_aton()
|