Lines Matching refs:Width
28 unsigned Width; member
32 Column(StringRef Str, unsigned Width) in Column()
33 : Str(Str), Width(Width), Trim(NoTrim), Alignment(LeftAlignment) {} in Column()
54 if (Str.size() <= Width) { in render()
56 OS.indent(Width - Str.size()); in render()
61 OS.indent(Width - Str.size()); in render()
67 OS << Str.substr(0, Width); in render()
70 OS << "..." << Str.substr(Str.size() - Width + 3); in render()
73 OS << Str.substr(0, Width - 3) << "..."; in render()
78 static Column column(StringRef Str, unsigned Width) { in column() argument
79 return Column(Str, Width); in column()
83 static Column column(StringRef Str, unsigned Width, const T &Value) { in column() argument
84 return Column(Str, Width).set(Value); in column()