Home | History | Annotate | Download | only in libpam

Lines Matching defs:escape

61 	int ch, escape, quote;
67 escape = quote = 0;
71 if (!escape)
75 escape = 0;
76 } else if (escape) {
86 escape = 1;
99 while ((ch = fgetc(f)) != EOF && (!is_ws(ch) || quote || escape)) {
100 if (ch == '\\' && !escape && quote != '\'') {
101 /* escape next character */
102 escape = ch;
103 } else if ((ch == '\'' || ch == '"') && !quote && !escape) {
109 } else if (ch == quote && !escape) {
112 } else if (ch == '\n' && escape) {
114 escape = 0;
116 if (escape && quote && ch != '\\' && ch != quote &&
127 escape = 0;
138 if (ch == EOF && (escape || quote)) {
176 * and a backslash is preserved as-is unless used to escape a double
205 * backslash escape is in effect, it sets :errno to =EINVAL and returns