Home
last modified time | relevance | path

Searched refs:first_invalid_escape (Results 1 - 4 of 4) sorted by relevance

/third_party/python/Parser/
H A Dstring_parser.c12 warn_invalid_escape_sequence(Parser *p, const char *first_invalid_escape, Token *t) in warn_invalid_escape_sequence() argument
14 unsigned char c = *first_invalid_escape; in warn_invalid_escape_sequence()
19 first_invalid_escape) in warn_invalid_escape_sequence()
37 first_invalid_escape); in warn_invalid_escape_sequence()
128 const char *first_invalid_escape; in decode_unicode_with_escapes() local
129 v = _PyUnicode_DecodeUnicodeEscapeInternal(s, len, NULL, NULL, &first_invalid_escape); in decode_unicode_with_escapes()
131 if (v != NULL && first_invalid_escape != NULL) { in decode_unicode_with_escapes()
132 if (warn_invalid_escape_sequence(parser, first_invalid_escape, t) < 0) { in decode_unicode_with_escapes()
133 /* We have not decref u before because first_invalid_escape points in decode_unicode_with_escapes()
147 const char *first_invalid_escape; in decode_bytes_with_escapes() local
[all...]
/third_party/python/Objects/
H A Dbytesobject.c1063 const char **first_invalid_escape) in _PyBytes_DecodeEscape()
1077 *first_invalid_escape = NULL; in _PyBytes_DecodeEscape()
1115 if (*first_invalid_escape == NULL) { in _PyBytes_DecodeEscape()
1116 *first_invalid_escape = s-3; /* Back up 3 chars, since we've in _PyBytes_DecodeEscape()
1158 if (*first_invalid_escape == NULL) { in _PyBytes_DecodeEscape()
1159 *first_invalid_escape = s-1; /* Back up one char, since we've in _PyBytes_DecodeEscape()
1180 const char* first_invalid_escape; in PyBytes_DecodeEscape() local
1182 &first_invalid_escape); in PyBytes_DecodeEscape()
1185 if (first_invalid_escape != NULL) { in PyBytes_DecodeEscape()
1186 unsigned char c = *first_invalid_escape; in PyBytes_DecodeEscape()
1060 _PyBytes_DecodeEscape(const char *s, Py_ssize_t len, const char *errors, const char **first_invalid_escape) _PyBytes_DecodeEscape() argument
[all...]
H A Dunicodeobject.c6305 const char **first_invalid_escape) in _PyUnicode_DecodeUnicodeEscapeInternal()
6314 *first_invalid_escape = NULL; in _PyUnicode_DecodeUnicodeEscapeInternal()
6402 if (*first_invalid_escape == NULL) { in _PyUnicode_DecodeUnicodeEscapeInternal()
6403 *first_invalid_escape = s-3; /* Back up 3 chars, since we've in _PyUnicode_DecodeUnicodeEscapeInternal()
6503 if (*first_invalid_escape == NULL) { in _PyUnicode_DecodeUnicodeEscapeInternal()
6504 *first_invalid_escape = s-1; /* Back up one char, since we've in _PyUnicode_DecodeUnicodeEscapeInternal()
6550 const char *first_invalid_escape; in _PyUnicode_DecodeUnicodeEscapeStateful() local
6553 &first_invalid_escape); in _PyUnicode_DecodeUnicodeEscapeStateful()
6556 if (first_invalid_escape != NULL) { in _PyUnicode_DecodeUnicodeEscapeStateful()
6557 unsigned char c = *first_invalid_escape; in _PyUnicode_DecodeUnicodeEscapeStateful()
6301 _PyUnicode_DecodeUnicodeEscapeInternal(const char *s, Py_ssize_t size, const char *errors, Py_ssize_t *consumed, const char **first_invalid_escape) _PyUnicode_DecodeUnicodeEscapeInternal() argument
[all...]
/third_party/python/Include/cpython/
H A Dunicodeobject.h922 const char **first_invalid_escape /* on return, points to first

Completed in 16 milliseconds