Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dexceptions.c1652 int badchar = (int)PyUnicode_AS_UNICODE(uself->object)[uself->start]; in UnicodeEncodeError_str() local
1654 if (badchar <= 0xff) in UnicodeEncodeError_str()
1655 PyOS_snprintf(badchar_str, sizeof(badchar_str), "x%02x", badchar); in UnicodeEncodeError_str()
1656 else if (badchar <= 0xffff) in UnicodeEncodeError_str()
1657 PyOS_snprintf(badchar_str, sizeof(badchar_str), "u%04x", badchar); in UnicodeEncodeError_str()
1659 PyOS_snprintf(badchar_str, sizeof(badchar_str), "U%08x", badchar); in UnicodeEncodeError_str()
1839 int badchar = (int)PyUnicode_AS_UNICODE(uself->object)[uself->start]; in UnicodeTranslateError_str() local
1841 if (badchar <= 0xff) in UnicodeTranslateError_str()
1842 PyOS_snprintf(badchar_str, sizeof(badchar_str), "x%02x", badchar); in UnicodeTranslateError_str()
1843 else if (badchar <= 0xffff) in UnicodeTranslateError_str()
[all …]
/external/e2fsprogs/tests/f_filetype/
Dexpect.124 Inode 18 (/badchar) is an illegal character device.
/external/python/cpython2/Parser/
Dtokenizer.c510 int badchar = 0; in decoding_fgets() local
543 badchar = *c; in decoding_fgets()
547 if (badchar) { in decoding_fgets()
556 badchar, tok->filename, tok->lineno + 1); in decoding_fgets()