Searched refs:first_invalid_escape (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Parser/ |
D | string_parser.c | 117 const char *first_invalid_escape; in decode_unicode_with_escapes() local 118 v = _PyUnicode_DecodeUnicodeEscapeInternal(s, len, NULL, NULL, &first_invalid_escape); in decode_unicode_with_escapes() 120 if (v != NULL && first_invalid_escape != NULL) { in decode_unicode_with_escapes() 121 if (warn_invalid_escape_sequence(parser, *first_invalid_escape, t) < 0) { in decode_unicode_with_escapes() 136 const char *first_invalid_escape; in decode_bytes_with_escapes() local 137 PyObject *result = _PyBytes_DecodeEscape(s, len, NULL, &first_invalid_escape); in decode_bytes_with_escapes() 142 if (first_invalid_escape != NULL) { in decode_bytes_with_escapes() 143 if (warn_invalid_escape_sequence(p, *first_invalid_escape, t) < 0) { in decode_bytes_with_escapes()
|
/third_party/python/Objects/ |
D | bytesobject.c | 1093 const char **first_invalid_escape) in _PyBytes_DecodeEscape() argument 1107 *first_invalid_escape = NULL; in _PyBytes_DecodeEscape() 1182 if (*first_invalid_escape == NULL) { in _PyBytes_DecodeEscape() 1183 *first_invalid_escape = s-1; /* Back up one char, since we've in _PyBytes_DecodeEscape() 1204 const char* first_invalid_escape; in PyBytes_DecodeEscape() local 1206 &first_invalid_escape); in PyBytes_DecodeEscape() 1209 if (first_invalid_escape != NULL) { in PyBytes_DecodeEscape() 1212 (unsigned char)*first_invalid_escape) < 0) { in PyBytes_DecodeEscape()
|
D | unicodeobject.c | 6432 const char **first_invalid_escape) in _PyUnicode_DecodeUnicodeEscapeInternal() argument 6441 *first_invalid_escape = NULL; in _PyUnicode_DecodeUnicodeEscapeInternal() 6624 if (*first_invalid_escape == NULL) { in _PyUnicode_DecodeUnicodeEscapeInternal() 6625 *first_invalid_escape = s-1; /* Back up one char, since we've in _PyUnicode_DecodeUnicodeEscapeInternal() 6671 const char *first_invalid_escape; in _PyUnicode_DecodeUnicodeEscapeStateful() local 6674 &first_invalid_escape); in _PyUnicode_DecodeUnicodeEscapeStateful() 6677 if (first_invalid_escape != NULL) { in _PyUnicode_DecodeUnicodeEscapeStateful() 6680 (unsigned char)*first_invalid_escape) < 0) { in _PyUnicode_DecodeUnicodeEscapeStateful()
|
/third_party/python/Include/cpython/ |
D | unicodeobject.h | 852 const char **first_invalid_escape /* on return, points to first
|