Lines Matching refs:padlen
864 int padlen, strln; /* Amount to pad. */ in fmtstr() local
875 if ((padlen = width - strln) < 0) in fmtstr()
876 padlen = 0; in fmtstr()
878 padlen = -padlen; in fmtstr()
880 while (padlen > 0) { /* Leading spaces. */ in fmtstr()
882 padlen--; in fmtstr()
888 while (padlen < 0) { /* Trailing spaces. */ in fmtstr()
890 padlen++; in fmtstr()
1014 int padlen = 0; in fmtflt() local
1219 padlen = width /* Minimum field width. */ in fmtflt()
1227 if (padlen < 0) in fmtflt()
1228 padlen = 0; in fmtflt()
1235 padlen = -padlen; in fmtflt()
1236 else if (flags & PRINT_F_ZERO && padlen > 0) { in fmtflt()
1241 while (padlen > 0) { /* Leading zeros. */ in fmtflt()
1243 padlen--; in fmtflt()
1246 while (padlen > 0) { /* Leading spaces. */ in fmtflt()
1248 padlen--; in fmtflt()
1278 while (padlen < 0) { /* Trailing spaces. */ in fmtflt()
1280 padlen++; in fmtflt()