Lines Matching refs:i
79 for (int i = 0; i < 5; i++) { in ScreenRecoveryUI() local
80 backgroundIcon[i] = nullptr; in ScreenRecoveryUI()
118 for (int i = 0; i < max_stage; ++i) { in draw_background_locked() local
119 gr_blit((i < stage) ? stageMarkerFill : stageMarkerEmpty, in draw_background_locked()
220 for (size_t i = 0; lines != nullptr && lines[i] != nullptr; ++i) { in DrawTextLines() local
221 DrawTextLine(y, lines[i], false); in DrawTextLines()
264 for (int i = 0; i < menu_items; ++i) { in draw_screen_locked() local
265 if (i == menu_sel) { in draw_screen_locked()
271 gr_text(4, y, menu_[i], true); in draw_screen_locked()
274 gr_text(4, y, menu_[i], false); in draw_screen_locked()
384 for (size_t i = 0; i < rows; ++i) { in Alloc2d() local
385 result[i] = new char[cols]; in Alloc2d()
386 memset(result[i], 0, cols); in Alloc2d()
552 for (size_t i = 0; i < text_rows_; ++i) { in ClearText() local
553 memset(text_[i], 0, text_cols_ + 1); in ClearText()
638 size_t i = 0; in StartMenu() local
639 for (; i < text_rows_ && items[i] != nullptr; ++i) { in StartMenu()
640 strncpy(menu_[i], items[i], text_cols_ - 1); in StartMenu()
641 menu_[i][text_cols_ - 1] = '\0'; in StartMenu()
643 menu_items = i; in StartMenu()