Searched refs:ch (Results 1 – 4 of 4) sorted by relevance
341 int ch = getc(fp); in ShowFile() local342 if (ch == EOF) { in ShowFile()346 PutChar(ch); in ShowFile()355 void WearRecoveryUI::PutChar(char ch) { in PutChar() argument357 if (ch != '\n') text_[text_row_][text_col_++] = ch; in PutChar()358 if (ch == '\n' || text_col_ >= text_cols_) { in PutChar()
634 void ScreenRecoveryUI::PutChar(char ch) { in PutChar() argument636 if (ch != '\n') text_[text_row_][text_col_++] = ch; in PutChar()637 if (ch == '\n' || text_col_ >= text_cols_) { in PutChar()694 int ch = getc(fp); in ShowFile() local695 if (ch == EOF) { in ShowFile()699 PutChar(ch); in ShowFile()
541 int ch = fgetc(f.get()); in load_keys() local542 if (ch == ',') { in load_keys()545 } else if (ch == EOF) { in load_keys()
107 unsigned char ch; in gr_text() local108 while ((ch = *s++)) { in gr_text()111 if (ch < ' ' || ch > '~') { in gr_text()112 ch = '?'; in gr_text()115 unsigned char* src_p = font->texture->data + ((ch - ' ') * font->char_width) + in gr_text()