Lines Matching defs:quote
58 int ch, escape, quote;
64 escape = quote = 0;
96 while ((ch = fgetc(f)) != EOF && (!is_ws(ch) || quote || escape)) {
97 if (ch == '\\' && !escape && quote != '\'') {
100 } else if ((ch == '\'' || ch == '"') && !quote && !escape) {
101 /* begin quote */
102 quote = ch;
106 } else if (ch == quote && !escape) {
107 /* end quote */
108 quote = 0;
113 if (escape && quote && ch != '\\' && ch != quote &&
135 if (ch == EOF && (escape || quote)) {
136 /* Missing escaped character or closing quote. */
156 * - An unescaped single or double quote introduces a quoted string,
157 * which ends when the same quote character is encountered a second
173 * - Within a double-quoted string, a single quote is preserved as-is,
175 * quote.
202 * If =openpam_readword reaches the end of the file while a quote or