Lines Matching refs:std
57 const std::string cols = atf::env::get("COLUMNS");
77 std::string
78 format_paragraph(const std::string& text,
79 const std::string& tag,
84 PRE(text.find('\n') == std::string::npos);
86 const std::string pad(col - tag.length(), ' ');
87 const std::string fullpad(col, ' ');
89 std::string formatted;
99 std::vector< std::string > words = atf::text::split(text, " ");
100 for (std::vector< std::string >::const_iterator iter = words.begin();
102 const std::string& word = *iter;
123 std::string
124 impl::format_error(const std::string& prog_name, const std::string& error)
129 std::string
130 impl::format_info(const std::string& prog_name, const std::string& msg)
135 std::string
136 impl::format_text(const std::string& text)
141 std::string
142 impl::format_text_with_tag(const std::string& text, const std::string& tag,
149 std::string formatted;
151 std::vector< std::string > lines = atf::text::split(text, "\n");
152 for (std::vector< std::string >::const_iterator iter = lines.begin();
154 const std::string& line = *iter;
169 std::string
170 impl::format_warning(const std::string& prog_name, const std::string& error)