Searched refs:sub (Results 1 – 2 of 2) sorted by relevance
106 std::string sub = name.substr(0, dot); in logrotate() local108 if (std::string(LAST_KMSG_FILTER).find(sub) == std::string::npos && in logrotate()109 std::string(LAST_LOG_FILTER).find(sub) == std::string::npos) { in logrotate()126 name = sub + "." + std::to_string(i + 1); in logrotate()
654 std::string sub = line.substr(next_start, text_cols + 1); in DrawWrappedTextLines() local655 if (sub.size() <= text_cols) { in DrawWrappedTextLines()656 next_start += sub.size(); in DrawWrappedTextLines()659 size_t last_space = sub.find_last_of(" \t\n"); in DrawWrappedTextLines()662 sub.resize(text_cols); in DrawWrappedTextLines()665 sub.resize(last_space); in DrawWrappedTextLines()669 offset += DrawTextLine(x, y + offset, sub, false); in DrawWrappedTextLines()