Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dexceptions.c2074 Py_UCS4 badchar = PyUnicode_ReadChar(uself->object, uself->start); in UnicodeEncodeError_str() local
2076 if (badchar <= 0xff) in UnicodeEncodeError_str()
2078 else if (badchar <= 0xffff) in UnicodeEncodeError_str()
2085 (int)badchar, in UnicodeEncodeError_str()
2289 Py_UCS4 badchar = PyUnicode_ReadChar(uself->object, uself->start); in UnicodeTranslateError_str() local
2291 if (badchar <= 0xff) in UnicodeTranslateError_str()
2293 else if (badchar <= 0xffff) in UnicodeTranslateError_str()
2299 (int)badchar, in UnicodeTranslateError_str()
/third_party/python/Parser/
Dtokenizer.c532 int badchar = 0; in ensure_utf8() local
537 badchar = *c; in ensure_utf8()
541 if (badchar) { in ensure_utf8()
549 badchar, tok->filename, tok->lineno + 1); in ensure_utf8()