Home
last modified time | relevance | path

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

/bootable/recovery/misc_writer/
Dmisc_writer.cpp42 auto sub = "0x" + std::string(hex_string.substr(i * 2, 2)); in ParseHexString() local
43 if (!android::base::ParseUint(sub, &result[i])) { in ParseHexString()
/bootable/recovery/otautil/
Dlogging.cpp106 std::string sub = name.substr(0, dot); in logrotate() local
108 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()
/bootable/recovery/recovery_ui/
Dscreen_ui.cpp651 std::string sub = line.substr(next_start, text_cols + 1); in DrawWrappedTextLines() local
652 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()