Lines Matching refs:Width
33 unsigned Width; member
37 Column(StringRef Str, unsigned Width) in Column()
38 : Str(Str), Width(Width), Trim(WidthTrim), Alignment(LeftAlignment) {} in Column()
51 if (Str.size() <= Width) { in render()
53 OS.indent(Width - Str.size()); in render()
58 OS.indent(Width - Str.size()); in render()
67 OS << Str.substr(0, Width); in render()
70 OS << Str.substr(0, Width - 3) << "..."; in render()
81 Column column(StringRef Str, unsigned Width) { return Column(Str, Width); } in column() argument
84 Column column(StringRef Str, unsigned Width, const T &Value) { in column() argument
85 return Column(Str, Width).set(Value); in column()