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()
651 std::string sub = line.substr(next_start, text_cols + 1); in DrawWrappedTextLines() local652 if (sub.size() <= text_cols) { in DrawWrappedTextLines()653 next_start += sub.size(); in DrawWrappedTextLines()656 size_t last_space = sub.find_last_of(" \t\n"); in DrawWrappedTextLines()659 sub.resize(text_cols); in DrawWrappedTextLines()662 sub.resize(last_space); in DrawWrappedTextLines()666 offset += DrawTextLine(x, y + offset, sub, false); in DrawWrappedTextLines()