Home | History | Annotate | Download | only in recovery

Lines Matching refs:text_cols_

67       text_cols_(0),
383 // The line will be wrapped if it exceeds text_cols_.
387 std::string sub = line.substr(next_start, text_cols_ + 1);
388 if (sub.size() <= text_cols_) {
391 // Line too long and must be wrapped to text_cols_ columns.
395 sub.resize(text_cols_);
396 next_start += text_cols_;
446 // Ignore kMenuIndent, which is not taken into account by text_cols_.
593 text_cols_ = (ScreenWidth() - kMarginWidth * 2) / char_width_;
609 text_ = Alloc2d(text_rows_, text_cols_ + 1);
610 file_viewer_text_ = Alloc2d(text_rows_, text_cols_ + 1);
742 if (text_rows_ > 0 && text_cols_ > 0) {
744 if (*ptr == '\n' || text_col_ >= text_cols_) {
774 if (ch == '\n' || text_col_ >= text_cols_) {
786 memset(text_[i], 0, text_cols_ + 1);
867 if (text_rows_ > 0 && text_cols_ > 0) {
871 menu_.emplace_back(std::string(items[i], strnlen(items[i], text_cols_ - 1)));
900 if (show_menu && text_rows_ > 0 && text_cols_ > 0) {