Searched refs:badchar (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Objects/ |
D | exceptions.c | 1648 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/ |
D | expect.1 | 24 Inode 18 (/badchar) is an illegal character device.
|
/external/python/cpython3/Objects/ |
D | exceptions.c | 1945 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/ |
D | tokenizer.c | 510 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/ |
D | tokenizer.c | 507 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()
|