Lines Matching refs:ch
58 int ch, comment, escape, quote;
65 while ((ch = getc(f)) != EOF && ch != '\n') {
66 if (ch == '#')
68 if (!is_lws(ch) && !comment)
71 if (ch == EOF)
73 ungetc(ch, f);
74 if (ch == '\n')
80 while ((ch = fgetc(f)) != EOF && (!is_ws(ch) || quote || escape)) {
81 if (ch == '\\' && !escape && quote != '\'') {
83 escape = ch;
84 } else if ((ch == '\'' || ch == '"') && !quote && !escape) {
86 quote = ch;
90 } else if (ch == quote && !escape) {
93 } else if (ch == '\n' && escape && quote != '\'') {
97 if (escape && quote && ch != '\\' && ch != quote &&
103 if (openpam_straddch(&word, &size, &len, ch) != 0) {
110 if (lineno != NULL && ch == '\n')
113 if (ch == EOF && ferror(f)) {
119 if (ch == EOF && (escape || quote)) {
126 ungetc(ch, f);