Home
last modified time | relevance | path

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

/netbsd/external/bsd/unbound/dist/edns-subnet/
H A Dedns-subnet.c50 size_t fracpart = n % 8; /* bits */ in copy_clear() local
54 if (fracpart && (intpart+1 > dstlen || intpart+1 > srclen)) in copy_clear()
57 if (fracpart) { in copy_clear()
58 dst[intpart] = src[intpart] & ~(0xFF >> fracpart); in copy_clear()
/netbsd/crypto/external/bsd/openssl.old/dist/crypto/bio/
H A Db_print.c580 unsigned long fracpart; in fmtfp() local
678 fracpart = roundv(pow_10(max) * (ufvalue - intpart)); in fmtfp()
680 if (fracpart >= max10) { in fmtfp()
682 fracpart -= max10; in fmtfp()
696 if (style == G_FORMAT && fplace == 0 && (fracpart % 10) == 0) { in fmtfp()
699 fracpart = fracpart / 10; in fmtfp()
704 fconvert[fplace++] = "0123456789"[fracpart % 10]; in fmtfp()
705 fracpart = (fracpart / 10); in fmtfp()
/netbsd/crypto/external/bsd/openssl/dist/crypto/bio/
H A Dbio_print.c580 unsigned long fracpart; in fmtfp() local
680 fracpart = roundv(pow_10(max) * (ufvalue - intpart)); in fmtfp()
682 if (fracpart >= max10) { in fmtfp()
684 fracpart -= max10; in fmtfp()
698 if (style == G_FORMAT && fplace == 0 && (fracpart % 10) == 0) { in fmtfp()
701 fracpart = fracpart / 10; in fmtfp()
706 fconvert[fplace++] = "0123456789"[fracpart % 10]; in fmtfp()
707 fracpart = (fracpart / 10); in fmtfp()
/netbsd/external/bsd/pcc/dist/pcc/mip/
H A Dcompat.c700 long intpart, fracpart; in fmtfp() local
731 fracpart = lroundl((ldpow10 (max)) * (ufvalue - intpart)); in fmtfp()
733 if (fracpart >= ldpow10 (max)) { in fmtfp()
735 fracpart -= ldpow10 (max); in fmtfp()
753 [fracpart % 10]; in fmtfp()
754 fracpart = (fracpart / 10); in fmtfp()
755 } while(fracpart && (fplace < 20)); in fmtfp()
/netbsd/external/bsd/ntp/dist/libntp/
H A Dsnprintf.c1099 UINTMAX_T fracpart; in fmtflt() local
1219 if ((fracpart = myround(mask * (ufvalue - intpart))) >= mask) { in fmtflt()
1227 fracpart = 0; in fmtflt()
1292 if (fracpart != 0) /* convert() would return 1 if fracpart == 0. */ in fmtflt()
1293 fpos = convert(fracpart, fconvert, sizeof(fconvert), 10, 0); in fmtflt()