Lines Matching defs:quote
61 int ch, escape, quote;
67 escape = quote = 0;
99 while ((ch = fgetc(f)) != EOF && (!is_ws(ch) || quote || escape)) {
100 if (ch == '\\' && !escape && quote != '\'') {
103 } else if ((ch == '\'' || ch == '"') && !quote && !escape) {
104 /* begin quote */
105 quote = ch;
109 } else if (ch == quote && !escape) {
110 /* end quote */
111 quote = 0;
116 if (escape && quote && ch != '\\' && ch != quote &&
138 if (ch == EOF && (escape || quote)) {
139 /* Missing escaped character or closing quote. */
158 * - An unescaped single or double quote introduces a quoted string,
159 * which ends when the same quote character is encountered a second
175 * - Within a double-quoted string, a single quote is preserved as-is,
177 * quote.
204 * If =openpam_readword reaches the end of the file while a quote or