Lines Matching refs:n_s
104 int n, v, w, k, n_s, base, fmt, flags;
228 size = width = precis = base = n_s = argp = -1;
712 if((n_s = wcrtomb(buf, *wsp, &mbs)) <= 0)
723 if(precis >= 0 && (v+n_s) > precis )
725 v += n_s;
817 { if((n_s = wcrtomb(buf, *wsp, &mbs)) <= 0)
819 sp = buf; SFwrite(f, sp, n_s);
874 if((n_s = wcrtomb(buf, *wsp++, &mbs)) <= 0)
878 n_s = mbwidth(*(wsp - 1));
880 n = width - precis*n_s; /* padding amount */
885 { n_s = chr2str(buf, *sp++);
886 n = width - precis*n_s;
908 { ssp = buf; k = n_s; SFwrite(f,ssp,k); }
914 { ssp = buf; k = n_s; SFwrite(f,ssp,k); }
947 base = 16; n_s = 15; n = 4;
957 base = 8; n_s = 7; n = 3;
963 base = 16; n_s = 15; n = 4;
987 if((base&(n_s = base-1)) == 0)
994 else n_s = base == 10 ? -1 : 0;
1027 if(n_s < 0) /* base 10 */
1031 else if(n_s > 0) /* base power-of-2 */
1033 { *--sp = ssp[lv&n_s];
1087 if(n_s < 0) /* base 10 */
1090 else if(n_s > 0) /* base power-of-2 */
1092 { *--sp = ssp[v&n_s];
1095 else /* n_s == 0, general base */
1102 if(n_s < 0 && (flags&SFFMT_THOUSAND) && (n = endsp-sp) > 3)
1182 &decpt, &sign, &n_s, v);
1188 &decpt, &sign, &n_s, v);
1200 &decpt, &sign, &n_s, v);
1217 &decpt, &sign, &n_s, v);
1225 if((n = n_s) > precis)