Lines Matching refs:Width
133 : Str(S), Width(W), Justify(J) {}
137 unsigned Width;
143 /// \p Width characters. If \p Str is larger that \p Width, full string
145 inline FormattedString left_justify(StringRef Str, unsigned Width) {
146 return FormattedString(Str, Width, FormattedString::JustifyLeft);
150 /// \p Width characters. If \p Str is larger that \p Width, full string
152 inline FormattedString right_justify(StringRef Str, unsigned Width) {
153 return FormattedString(Str, Width, FormattedString::JustifyRight);
157 /// \p Width characters. If \p Str is larger that \p Width, full string
159 inline FormattedString center_justify(StringRef Str, unsigned Width) {
160 return FormattedString(Str, Width, FormattedString::JustifyCenter);
167 unsigned Width;
176 : HexValue(HV), DecValue(DV), Width(W), Hex(H), Upper(U),
186 inline FormattedNumber format_hex(uint64_t N, unsigned Width,
188 assert(Width <= 18 && "hex width must be <= 18");
189 return FormattedNumber(N, 0, Width, true, Upper, true);
199 inline FormattedNumber format_hex_no_prefix(uint64_t N, unsigned Width,
201 assert(Width <= 16 && "hex width must be <= 16");
202 return FormattedNumber(N, 0, Width, true, Upper, false);
211 inline FormattedNumber format_decimal(int64_t N, unsigned Width) {
212 return FormattedNumber(0, N, Width, false, false, false);