Searched refs:recode_encoding (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Objects/ |
D | bytesobject.c | 1084 const char *errors, const char *recode_encoding, in _PyBytes_DecodeEscapeRecode() argument 1099 w = PyUnicode_AsEncodedString(u, recode_encoding, errors); in _PyBytes_DecodeEscapeRecode() 1122 const char *recode_encoding, in _PyBytes_DecodeEscape() argument 1143 if (!(recode_encoding && (*s & 0x80))) { in _PyBytes_DecodeEscape() 1149 errors, recode_encoding, in _PyBytes_DecodeEscape() 1245 const char *recode_encoding) in PyBytes_DecodeEscape() argument 1249 recode_encoding, in PyBytes_DecodeEscape()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 1088 const char *errors, const char *recode_encoding, in _PyBytes_DecodeEscapeRecode() argument 1103 w = PyUnicode_AsEncodedString(u, recode_encoding, errors); in _PyBytes_DecodeEscapeRecode() 1126 const char *recode_encoding, in _PyBytes_DecodeEscape() argument 1147 if (!(recode_encoding && (*s & 0x80))) { in _PyBytes_DecodeEscape() 1153 errors, recode_encoding, in _PyBytes_DecodeEscape() 1249 const char *recode_encoding) in PyBytes_DecodeEscape() argument 1253 recode_encoding, in PyBytes_DecodeEscape()
|
D | stringobject.c | 609 const char *recode_encoding) in PyString_DecodeEscape() argument 617 if (recode_encoding && (len > PY_SSIZE_T_MAX / 4)) { in PyString_DecodeEscape() 621 newlen = recode_encoding ? 4*len:len; in PyString_DecodeEscape() 631 if (recode_encoding && (*s & 0x80)) { in PyString_DecodeEscape() 644 u, recode_encoding, errors); in PyString_DecodeEscape()
|