Lines Matching defs:quote
162 /* s must include the bracketing quote characters, and r, b, u,
177 int quote = Py_CHARMASK(*s);
183 if (Py_ISALPHA(quote)) {
185 if (quote == 'b' || quote == 'B') {
186 quote =(unsigned char)*++s;
189 else if (quote == 'u' || quote == 'U') {
190 quote = (unsigned char)*++s;
192 else if (quote == 'r' || quote == 'R') {
193 quote = (unsigned char)*++s;
196 else if (quote == 'f' || quote == 'F') {
197 quote = (unsigned char)*++s;
217 if (quote != '\'' && quote != '\"') {
221 /* Skip the leading quote char. */
228 if (s[--len] != quote) {
229 /* Last quote char must match the first. */
233 if (len >= 4 && s[0] == quote && s[1] == quote) {
234 /* A triple quoted string. We've already skipped one quote at
240 if (s[--len] != quote || s[--len] != quote) {
572 /* 0 if we're not in a string, else the quote char we're trying to
573 match (single or double quote). */
758 here, since we know there's at least a trailing quote somewhere