Searched refs:thousand (Results 1 - 10 of 10) sorted by relevance

/ast/src/cmd/tests/sfio/
H A Dtlocale.c30 int n, decimal, thousand; local
42 thousand = 0;
44 thousand = lv->thousands_sep[0];
46 if(thousand)
47 sfsprintf(cmp, sizeof(cmp), "1%c000", thousand);
53 if(thousand)
54 sfsprintf(cmp, sizeof(cmp), "1%c000%c10", thousand, decimal);
/ast/src/lib/libast/port/
H A Dlclib.h56 int thousand; member in struct:Lc_numeric_s
/ast/src/lib/libast/sfio/
H A Dsfstrtod.c81 int thousand = 0; local
82 SFSETLOCALE(&decpoint,&thousand);
H A Dsfstrtof.h212 int thousand = 0; local
224 SFSETLOCALE(&decimal, &thousand);
413 thousand = -1;
417 else if (c != thousand)
H A Dsfvprintf.c129 int decimal = 0, thousand = 0; local
328 SFSETLOCALE(&decimal,&thousand);
329 if(thousand > 0)
333 SFSETLOCALE(&decimal,&thousand);
334 if(thousand < 0)
335 thousand = fmt;
1111 *ep++ = thousand;
1252 SFSETLOCALE(&decimal,&thousand);
1294 SFSETLOCALE(&decimal,&thousand);
1302 { *endsp++ = thousand;
[all...]
H A Dsftable.c58 int v, n, skip, dollar, decimal, thousand; local
69 dollar = decimal = thousand = 0; argn = maxp = -1;
167 SFSETLOCALE(&decimal,&thousand);
168 if(thousand > 0)
H A Dsfhdr.h650 *(tp) = lv->thousand; \
656 #define SFSETLOCALE(decimal,thousand) \
660 *(thousand) = -1; \
665 *(thousand) = *(unsigned char*)lv->thousands_sep; \
672 #define SFSETLOCALE(decimal,thousand) (*(decimal)='.',*(thousand)=-1)
H A Dsfvscanf.c324 int decimal = 0, thousand = 0; local
371 SFSETLOCALE(&decimal, &thousand);
617 if(thousand > 0)
871 else if(inp == thousand)
/ast/src/lib/libast/string/
H A Dstrtoi.h246 int thousand = 0; local
335 SFSETLOCALE(&decimal, &thousand);
364 else if (!S2I_valid(s) || c != thousand)
/ast/src/lib/libast/comp/
H A Dsetlocale.c2312 dp->thousand = lp->thousands_sep && *lp->thousands_sep ? *(unsigned char*)lp->thousands_sep : -1;
2539 sfprintf(sfstderr, " decimal='%c' thousands='%c'", dp->decimal, dp->thousand >= 0 ? dp->thousand : 'X');

Completed in 36 milliseconds