Lines Matching refs:ch
125 register int ch;
127 ch = getc(infile);
128 if (ch == '#') {
130 ch = getc(infile);
131 } while (ch != '\n' && ch != EOF);
133 return ch;
144 register int ch;
149 ch = pbm_getc(infile);
150 if (ch == EOF)
152 } while (ch == ' ' || ch == '\t' || ch == '\n' || ch == '\r');
154 if (ch < '0' || ch > '9')
157 val = ch - '0';
158 while ((ch = pbm_getc(infile)) >= '0' && ch <= '9') {
160 val += ch - '0';