Home
last modified time | relevance | path

Searched refs:sub (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/
Drotate_logs.cpp53 std::string sub = name.substr(0, dot); in logrotate() local
55 if (LAST_KMSG_FILTER.find(sub) == std::string::npos && in logrotate()
56 LAST_LOG_FILTER.find(sub) == std::string::npos) { in logrotate()
73 name = sub + "." + std::to_string(i + 1); in logrotate()
Dscreen_ui.cpp387 std::string sub = line.substr(next_start, text_cols_ + 1); in DrawWrappedTextLines() local
388 if (sub.size() <= text_cols_) { in DrawWrappedTextLines()
389 next_start += sub.size(); in DrawWrappedTextLines()
392 size_t last_space = sub.find_last_of(" \t\n"); in DrawWrappedTextLines()
395 sub.resize(text_cols_); in DrawWrappedTextLines()
398 sub.resize(last_space); in DrawWrappedTextLines()
402 offset += DrawTextLine(x, y + offset, sub.c_str(), false); in DrawWrappedTextLines()