Home
last modified time | relevance | path

Searched refs:fpi (Results 1 – 25 of 53) sorted by relevance

123

/NextBSD/contrib/ntp/libntp/
HDdolfptoa.c14 u_int32 fpi, in dolfptoa() argument
43 for (dec = (int)(cp - cbuf); dec > 0 && fpi != 0; dec--) { in dolfptoa()
47 digit = fpi; in dolfptoa()
48 fpi /= 10U; in dolfptoa()
49 digit -= (fpi << 3) + (fpi << 1); /* i*10 */ in dolfptoa()
141 u_int32 fpi, in mfptoa() argument
148 isneg = M_ISNEG(fpi); in mfptoa()
150 M_NEG(fpi, fpf); in mfptoa()
153 return dolfptoa(fpi, fpf, isneg, ndec, FALSE); in mfptoa()
159 u_int32 fpi, in mfptoms() argument
[all …]
/NextBSD/contrib/gdtoa/
HDgethex.c40 gethex(sp, fpi, exp, bp, sign) in gethex() argument
41 CONST char **sp; FPI *fpi; Long *exp; Bigint **bp; int sign; in gethex()
43 gethex( CONST char **sp, FPI *fpi, Long *exp, Bigint **bp, int sign)
157 switch(fpi->rounding) {
174 switch(fpi->rounding) {
187 nbits = fpi->nbits;
198 *exp = fpi->emin;
232 nbits = fpi->nbits;
255 if (e > fpi->emax) {
265 if (e < fpi->emin) {
[all …]
HDstrtoIg.c36 strtoIg(s00, se, fpi, exp, B, rvp) CONST char *s00; char **se; FPI *fpi; Long *exp; Bigint **B; int… in strtoIg() argument
38 strtoIg(CONST char *s00, char **se, FPI *fpi, Long *exp, Bigint **B, int *rvp)
47 rv = strtodg(s00, se, fpi, exp, b->x);
56 nb = fpi->nbits;
65 if (fpi->sudden_underflow) {
78 if (++e1 > fpi->emax)
93 e1 = fpi->emax;
107 if (e1 == fpi->emin) {
108 if (fpi->sudden_underflow)
HDg_ddfmt.c41 FPI fpi; local
142 fpi.nbits = z->wds * 32 - hi0bits(z->x[j = z->wds-1]);
143 if (fpi.nbits < 106) {
144 fpi.nbits = 106;
155 if (bufsize < (int)(fpi.nbits * .301029995664) + 10) {
161 fpi.emin = 1-1023-53+1;
162 fpi.emax = 2046-1023-106+1;
163 fpi.rounding = Rounding;
164 fpi.sudden_underflow = 0;
166 s = gdtoa(&fpi, ex, bits, &i, mode, ndig, &decpt, &se);
HDstrtodg.c174 (d, fpi, exp, bits, exact, rd, irv) in rvOK() argument
175 U *d; FPI *fpi; Long *exp; ULong *bits; int exact, rd, *irv; in rvOK()
177 (U *d, FPI *fpi, Long *exp, ULong *bits, int exact, int rd, int *irv)
186 bdif -= nb = fpi->nbits;
198 fpi->rounding ==
250 if (e < fpi->emin) {
251 k = fpi->emin - e;
252 e = fpi->emin;
253 if (k > nb || fpi->sudden_underflow) {
275 else if (e > fpi->emax) {
[all …]
HDstrtorf.c75 FPI *fpi, fpi1; local
80 fpi = &fpi0;
84 fpi = &fpi1;
86 k = strtodg(s, sp, fpi, &exp, bits);
HDstrtord.c80 FPI *fpi, fpi1; local
85 fpi = &fpi0;
89 fpi = &fpi1;
91 k = strtodg_l(s, sp, fpi, &exp, bits, locale);
HDstrtorxL.c94 FPI *fpi, fpi1; local
99 fpi = &fpi0;
103 fpi = &fpi1;
105 k = strtodg(s, sp, fpi, &exp, bits);
HDgdtoa_fltrnds.h1 FPI *fpi, fpi1; variable
13 fpi = &fpi0;
16 fpi = &fpi1;
HDstrtorQ.c113 FPI *fpi, fpi1; local
118 fpi = &fpi0;
122 fpi = &fpi1;
124 k = strtodg_l(s, sp, fpi, &exp, bits, locale);
HDhexnan.c54 hexnan(sp, fpi, x0) in hexnan() argument
55 CONST char **sp; FPI *fpi; ULong *x0; in hexnan()
57 hexnan( CONST char **sp, FPI *fpi, ULong *x0)
66 nbits = fpi->nbits;
HDstrtorx.c116 FPI *fpi, fpi1; local
121 fpi = &fpi0;
125 fpi = &fpi1;
127 k = strtodg_l(s, sp, fpi, &exp, bits, locale);
HDstrtoIdd.c42 static FPI fpi = { 106, 1-1023, 2046-1023-106+1, 1, 1 }; local
44 static FPI fpi = { 106, 1-1023-53+1, 2046-1023-106+1, 1, 0 };
52 k = strtoIg(s, sp, &fpi, exp, B, rv);
HDstrtordd.c185 FPI *fpi, fpi1; local
190 fpi = &fpi0;
194 fpi = &fpi1;
196 k = strtodg(s, sp, fpi, &exp, bits);
HDgdtoa.c114 (fpi, be, bits, kindp, mode, ndigits, decpt, rve) in gdtoa() argument
115 FPI *fpi; int be; ULong *bits; in gdtoa()
118 (FPI *fpi, int be, ULong *bits, int *kindp, int mode, int ndigits, int *decpt, char **rve)
188 b = bitstob(bits, nbits = fpi->nbits, &bbits);
318 if ( (rdir = fpi->rounding - 1) !=0) {
507 if (be - i++ < fpi->emin && mode != 3 && mode != 5) {
509 i = be - fpi->emin + 1;
560 if (bbits == 1 && be0 > fpi->emin + 1) {
HDstrtopd.c48 #define fpi &fpi0 macro
51 k = strtodg(s, sp, fpi, &exp, bits);
HDstrtopf.c48 #define fpi &fpi0 macro
51 k = strtodg(s, sp, fpi, &exp, bits);
HDstrtoIf.c41 static FPI fpi = { 24, 1-127-24+1, 254-127-24+1, 1, SI }; local
48 k = strtoIg(s, sp, &fpi, exp, B, rv);
HDstrtoId.c41 static FPI fpi = { 53, 1-1023-53+1, 2046-1023-53+1, 1, SI }; local
48 k = strtoIg(s, sp, &fpi, exp, B, rv);
/NextBSD/cddl/contrib/dtracetoolkit/Examples/
HDdvmstat_example.txt8 re maj mf fr epi epo api apo fpi fpo sy
26 reclaims, and a lack of "fpi" filesystem page ins.
29 see the "re" value drops, and both the "maj" major faults and "fpi" values
38 re maj mf fr epi epo api apo fpi fpo sy
58 re maj mf fr epi epo api apo fpi fpo sy
69 re maj mf fr epi epo api apo fpi fpo sy
87 re maj mf fr epi epo api apo fpi fpo sy
90 Great! Activity from the tar command such as "fpi"s can be clearly seen.
HDzvmstat_example.txt8 ZONE re mf fr sr epi epo epf api apo apf fpi fpo fpf
11 ZONE re mf fr sr epi epo epf api apo apf fpi fpo fpf
14 ZONE re mf fr sr epi epo epf api apo apf fpi fpo fpf
17 ZONE re mf fr sr epi epo epf api apo apf fpi fpo fpf
20 ZONE re mf fr sr epi epo epf api apo apf fpi fpo fpf
23 ZONE re mf fr sr epi epo epf api apo apf fpi fpo fpf
26 ZONE re mf fr sr epi epo epf api apo apf fpi fpo fpf
/NextBSD/lib/libc/gdtoa/
HD_ldtoa.c50 FPI fpi = { in __ldtoa() local
75 fpi.rounding ^= (fpi.rounding >> 1) & u.bits.sign; in __ldtoa()
104 ret = gdtoa(&fpi, be, vbits, &kind, mode, ndigits, decpt, rve); in __ldtoa()
/NextBSD/cddl/contrib/dtracetoolkit/Mem/
HDvmstat-p.d70 fpi = 0; fpo = 0; fpf = 0;
102 vminfo:::fspgin { fpi += arg0; }
135 fpi *= `_pagesize / 1024;
148 epi, epo, epf, api, apo, apf, fpi, fpo, fpf);
154 fpi = 0; fpo = 0; fpf = 0;
/NextBSD/cddl/contrib/dtracetoolkit/Bin/
Dvmstat-p.d70 fpi = 0; fpo = 0; fpf = 0;
102 vminfo:::fspgin { fpi += arg0; }
135 fpi *= `_pagesize / 1024;
148 epi, epo, epf, api, apo, apf, fpi, fpo, fpf);
154 fpi = 0; fpo = 0; fpf = 0;
/NextBSD/contrib/ntp/ntpd/
HDntp_scanner.c142 stream->fpi = fopen(path, mode); in lex_open()
143 if (NULL == stream->fpi) { in lex_open()
168 if (stream->fpi) in lex_getch()
170 } else if (stream->fpi) { in lex_getch()
172 while ((ch = fgetc(stream->fpi)) != EOF && ch > SCHAR_MAX) in lex_getch()
230 if (stream->fpi) in lex_ungetch()
251 if (NULL != stream->fpi) in lex_close()
252 fclose(stream->fpi); in lex_close()
414 return (NULL != lex_stack) && (NULL != lex_stack->fpi); in lex_from_file()

123