Home
last modified time | relevance | path

Searched refs:_PyUnicode_CheckConsistency (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Python/
Dcodecs.c718 assert(_PyUnicode_CheckConsistency(res, 1)); in PyCodec_ReplaceErrors()
743 assert(_PyUnicode_CheckConsistency(res, 1)); in PyCodec_ReplaceErrors()
839 assert(_PyUnicode_CheckConsistency(res, 1)); in PyCodec_XMLCharRefReplaceErrors()
884 assert(_PyUnicode_CheckConsistency(res, 1)); in PyCodec_BackslashReplaceErrors()
952 assert(_PyUnicode_CheckConsistency(res, 1)); in PyCodec_BackslashReplaceErrors()
1041 assert(_PyUnicode_CheckConsistency(res, 1)); in PyCodec_NameReplaceErrors()
Dpystrhex.c141 assert(_PyUnicode_CheckConsistency(retval, 1)); in _Py_strhex_impl()
Dcompile.c294 assert(_PyUnicode_CheckConsistency(result, 1)); in _Py_Mangle()
/external/python/cpython3/Objects/
Dunicodeobject.c100 # define _PyUnicode_CHECK(op) _PyUnicode_CheckConsistency(op, 0)
233 assert(_PyUnicode_CheckConsistency(unicode_empty, 1)); \
511 _PyUnicode_CheckConsistency(PyObject *op, int check_content) in _PyUnicode_CheckConsistency() function
661 assert(_PyUnicode_CheckConsistency(unicode, 1)); in unicode_result_wchar()
695 assert(_PyUnicode_CheckConsistency(unicode, 1)); in unicode_result_ready()
704 assert(_PyUnicode_CheckConsistency(unicode, 1)); in unicode_result_ready()
1105 assert(_PyUnicode_CheckConsistency(unicode, 0)); in resize_compact()
1163 assert(_PyUnicode_CheckConsistency(unicode, 0)); in resize_inplace()
1184 assert(_PyUnicode_CheckConsistency(unicode, 0)); in resize_inplace()
1284 assert(_PyUnicode_CheckConsistency((PyObject *)unicode, 0)); in _PyUnicode_New()
[all …]
Dobject.c41 _PyUnicode_CheckConsistency(op, check_content); in _PyObject_CheckConsistency()
497 assert(_PyUnicode_CheckConsistency(res, 1)); in PyObject_Str()
Dlongobject.c1872 assert(_PyUnicode_CheckConsistency(str, 1)); in long_to_decimal_string_internal()
2048 assert(_PyUnicode_CheckConsistency(v, 1)); in long_format_binary()
Dbytesobject.c1326 assert(_PyUnicode_CheckConsistency(v, 1)); in PyBytes_Repr()
/external/python/cpython3/Include/cpython/
Dunicodeobject.h246 PyAPI_FUNC(int) _PyUnicode_CheckConsistency(
/external/python/cpython3/Modules/
D_json.c214 assert(_PyUnicode_CheckConsistency(rval, 1)); in ascii_escape_unicode()
311 assert(_PyUnicode_CheckConsistency(rval, 1)); in escape_unicode()
/external/python/cpython2/Objects/
Dbytesobject.c1399 assert(_PyUnicode_CheckConsistency(v, 1)); in PyBytes_Repr()
/external/python/cpython3/Misc/
DHISTORY10227 - Issue #16847: Fixed improper use of _PyUnicode_CheckConsistency() in