Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dexceptions.c1648 int badchar = (int)PyUnicode_AS_UNICODE(uself->object)[uself->start]; in UnicodeEncodeError_str() local
1650 if (badchar <= 0xff) in UnicodeEncodeError_str()
1651 PyOS_snprintf(badchar_str, sizeof(badchar_str), "x%02x", badchar); in UnicodeEncodeError_str()
1652 else if (badchar <= 0xffff) in UnicodeEncodeError_str()
1653 PyOS_snprintf(badchar_str, sizeof(badchar_str), "u%04x", badchar); in UnicodeEncodeError_str()
1655 PyOS_snprintf(badchar_str, sizeof(badchar_str), "U%08x", badchar); in UnicodeEncodeError_str()
1833 int badchar = (int)PyUnicode_AS_UNICODE(uself->object)[uself->start]; in UnicodeTranslateError_str() local
1835 if (badchar <= 0xff) in UnicodeTranslateError_str()
1836 PyOS_snprintf(badchar_str, sizeof(badchar_str), "x%02x", badchar); in UnicodeTranslateError_str()
1837 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/cpython3/Objects/
Dexceptions.c1945 Py_UCS4 badchar = PyUnicode_ReadChar(uself->object, uself->start); in UnicodeEncodeError_str() local
1947 if (badchar <= 0xff) in UnicodeEncodeError_str()
1949 else if (badchar <= 0xffff) in UnicodeEncodeError_str()
1956 (int)badchar, in UnicodeEncodeError_str()
2160 Py_UCS4 badchar = PyUnicode_ReadChar(uself->object, uself->start); in UnicodeTranslateError_str() local
2162 if (badchar <= 0xff) in UnicodeTranslateError_str()
2164 else if (badchar <= 0xffff) in UnicodeTranslateError_str()
2170 (int)badchar, in UnicodeTranslateError_str()
/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()
/external/python/cpython3/Parser/
Dtokenizer.c507 int badchar = 0; in decoding_fgets() local
540 badchar = *c; in decoding_fgets()
544 if (badchar) { in decoding_fgets()
552 badchar, tok->filename, tok->lineno + 1); in decoding_fgets()