Lines Matching defs:Width
77 // Use the fact that explicitly requesting 0 Width (%0s) results in UB and
78 // interpret Width == 0 as "no Width requested":
79 // Width == 0 - no Width requested
80 // Width < 0 - left-justify S within and pad it to -Width chars, if necessary
81 // Width > 0 - right-justify S, not implemented yet
82 void ScopedString::appendString(int Width, int MaxChars, const char *S) {
92 if (Width < 0) {
94 Width = -Width - NumChars;
95 while (Width-- > 0)
129 u8 Width = 0;
132 Width = static_cast<u8>(Width * 10 + *Cur++ - '0');
155 appendSignedDecimal(DVal, Width, PadWithZero);
165 appendUnsigned(UVal, (*Cur == 'u') ? 10 : 16, Width, PadWithZero, Upper);
175 // Only left-justified Width is supported.
177 appendString(LeftJustified ? -Width : Width, Precision,
198 appendSignedDecimal(DVal, Width, PadWithZero);
201 appendUnsigned(UVal, 10, Width, PadWithZero, false);