Searched refs:ch (Results 1 – 4 of 4) sorted by relevance
337 int ch = getc(fp); in ShowFile() local338 if (ch == EOF) { in ShowFile()342 PutChar(ch); in ShowFile()351 void WearRecoveryUI::PutChar(char ch) { in PutChar() argument353 if (ch != '\n') text_[text_row_][text_col_++] = ch; in PutChar()354 if (ch == '\n' || text_col_ >= text_cols_) { in PutChar()
670 void ScreenRecoveryUI::PutChar(char ch) { in PutChar() argument672 if (ch != '\n') text_[text_row_][text_col_++] = ch; in PutChar()673 if (ch == '\n' || text_col_ >= text_cols_) { in PutChar()730 int ch = getc(fp); in ShowFile() local731 if (ch == EOF) { in ShowFile()735 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()