Home
last modified time | relevance | path

Searched refs:badchar (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Parser/
H A Dtokenizer.c562 int badchar = 0; in ensure_utf8() local
567 badchar = *c; in ensure_utf8()
571 if (badchar) { in ensure_utf8()
577 badchar, tok->filename, tok->lineno); in ensure_utf8()
/third_party/python/Objects/
H A Dexceptions.c2924 Py_UCS4 badchar = PyUnicode_ReadChar(uself->object, uself->start); in UnicodeEncodeError_str() local
2926 if (badchar <= 0xff) in UnicodeEncodeError_str()
2928 else if (badchar <= 0xffff) in UnicodeEncodeError_str()
2935 (int)badchar, in UnicodeEncodeError_str()
3130 Py_UCS4 badchar = PyUnicode_ReadChar(uself->object, uself->start); in UnicodeTranslateError_str() local
3132 if (badchar <= 0xff) in UnicodeTranslateError_str()
3134 else if (badchar <= 0xffff) in UnicodeTranslateError_str()
3140 (int)badchar, in UnicodeTranslateError_str()

Completed in 8 milliseconds