Lines Matching defs:line

231 // https://gcc.gnu.org/onlinedocs/gcc-4.8.2/libstdc++/api/a01053_source.html line 2812-2813
469 #define INTERNAL_CATCH_UNIQUE_NAME_LINE2( name, line ) name##line
470 #define INTERNAL_CATCH_UNIQUE_NAME_LINE( name, line ) INTERNAL_CATCH_UNIQUE_NAME_LINE2( name, line )
508 line( _line )
521 std::size_t line;
3083 // out-of-line to avoid including stdexcept in the header
3086 // out-of-line to avoid including stdexcept in the header
5967 static char line[CATCH_CONFIG_CONSOLE_WIDTH] = {0};
5968 if( !*line ) {
5969 std::memset( line, C, CATCH_CONFIG_CONSOLE_WIDTH-1 );
5970 line[CATCH_CONFIG_CONSOLE_WIDTH-1] = 0;
5972 return line;
6197 // if string has a : in first line will set indent to follow it on
8516 auto line() const -> std::string const& { return m_column.m_strings[m_stringIndex]; }
8520 assert(at <= line().size());
8522 return at == line().size() ||
8523 (isWhitespace(line()[at]) && !isWhitespace(line()[at - 1])) ||
8524 isBreakableBefore(line()[at]) ||
8525 isBreakableAfter(line()[at - 1]);
8534 if (line()[m_pos] == '\n') {
8537 while (m_end < line().size() && line()[m_end] != '\n')
8546 while (len > 0 && isWhitespace(line()[m_pos + len - 1]))
8585 return addIndentAndSuffix(line().substr(m_pos, m_len));
8590 if (m_pos < line().size() && line()[m_pos] == '\n')
8593 while (m_pos < line().size() && isWhitespace(line()[m_pos]))
8596 if (m_pos == line().size()) {
8644 for (auto line : col) {
8649 os << line;
8764 for (auto line : cols) {
8769 os << line;
9730 std::string line;
9731 while( std::getline( f, line ) ) {
9732 line = trim(line);
9733 if( !line.empty() && !startsWith( line, '#' ) ) {
9734 if( !startsWith( line, '"' ) )
9735 line = '"' + line + '"';
9736 config.testsOrTags.push_back( line );
9924 return line == other.line && (file == other.file || std::strcmp(file, other.file) == 0);
9929 return line < other.line || ( line == other.line && file != other.file && (std::strcmp(file, other.file) < 0));
9934 os << info.file << '(' << info.line << ')';
9936 os << info.file << ':' << info.line;
10476 for( std::string line; std::getline(in, line); ) {
10478 if( line.compare(0, PREFIX_LEN, "TracerPid:\t") == 0 ) {
10482 return line.length() > PREFIX_LEN && line[PREFIX_LEN] != '0';
12820 m_lastAssertionInfo.capturedExpression = "{Unknown expression after the reported line}"_sr;
15082 // Out-of-line defs for full specialization of StringMaker
16071 return "Reports test results on a single line, suitable for IDEs";
16539 for (auto line : nameCol) {
16545 (*m_tablePrinter) << line << ColumnBreak();
16675 // if string has a : in first line will set indent to follow it on
17274 .writeAttribute( "line", sourceInfo.line );