/external/python/cpython3/Python/ |
D | importdl.c | 59 encoded = PyUnicode_AsEncodedString(name, "ascii", NULL); in get_encoded_name() 65 encoded = PyUnicode_AsEncodedString(name, "punycode", NULL); in get_encoded_name()
|
D | marshal.c | 469 utf8 = PyUnicode_AsEncodedString(v, "utf8", "surrogatepass"); in w_complex_object()
|
/external/python/cpython2/Include/ |
D | unicodeobject.h | 151 # define PyUnicode_AsEncodedString PyUnicodeUCS2_AsEncodedString macro 238 # define PyUnicode_AsEncodedString PyUnicodeUCS4_AsEncodedString macro 714 PyAPI_FUNC(PyObject*) PyUnicode_AsEncodedString(
|
/external/python/cpython2/Objects/ |
D | object.c | 392 str = PyUnicode_AsEncodedString(res, NULL, NULL); in PyObject_Repr() 462 str = PyUnicode_AsEncodedString(res, NULL, NULL); in PyObject_Str() 1234 name = PyUnicode_AsEncodedString(name, NULL, NULL); in PyObject_SetAttr() 1347 name = PyUnicode_AsEncodedString(name, NULL, NULL); in _PyObject_GenericGetAttrWithDict() 1485 name = PyUnicode_AsEncodedString(name, NULL, NULL); in _PyObject_GenericSetAttrWithDict()
|
D | fileobject.c | 1857 encoded = PyUnicode_AsEncodedString(text, encoding, errors); in file_write() 2616 value = PyUnicode_AsEncodedString(v, cenc, errors); in PyFile_WriteObject()
|
D | bytesobject.c | 1103 w = PyUnicode_AsEncodedString(u, recode_encoding, errors); in _PyBytes_DecodeEscapeRecode() 2566 new = PyUnicode_AsEncodedString(x, encoding, errors); in bytes_new()
|
D | stringobject.c | 476 v = PyUnicode_AsEncodedString(v, NULL, NULL); in PyString_AsDecodedString() 556 v = PyUnicode_AsEncodedString(v, NULL, NULL); in PyString_AsEncodedString() 643 w = PyUnicode_AsEncodedString( in PyString_DecodeEscape()
|
D | unicodeobject.c | 1316 v = PyUnicode_AsEncodedString(unicode, encoding, errors); in PyUnicode_Encode() 1345 PyObject *PyUnicode_AsEncodedString(PyObject *unicode, in PyUnicode_AsEncodedString() function 1397 v = PyUnicode_AsEncodedString(unicode, NULL, errors); in _PyUnicode_AsDefaultEncodedString() 7652 return PyUnicode_AsEncodedString((PyObject *)self, NULL, NULL); in unicode_str()
|
/external/python/cpython3/Doc/c-api/ |
D | unicode.rst | 1017 .. c:function:: PyObject* PyUnicode_AsEncodedString(PyObject *unicode, \ 1038 :c:func:`PyUnicode_AsEncodedString`. 1109 :c:func:`PyUnicode_AsEncodedString`. 1182 :c:func:`PyUnicode_AsUTF32String` or :c:func:`PyUnicode_AsEncodedString`. 1257 :c:func:`PyUnicode_AsUTF16String` or :c:func:`PyUnicode_AsEncodedString`. 1295 :c:func:`PyUnicode_AsEncodedString`. 1357 :c:func:`PyUnicode_AsEncodedString`. 1389 :c:func:`PyUnicode_AsEncodedString`. 1421 :c:func:`PyUnicode_AsEncodedString`. 1473 :c:func:`PyUnicode_AsEncodedString`. [all …]
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 1534 PyUnicode_AsEncodedString:PyObject*::+1: 1535 PyUnicode_AsEncodedString:PyObject*:unicode:: 1536 PyUnicode_AsEncodedString:const char*:encoding:: 1537 PyUnicode_AsEncodedString:const char*:errors::
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 2642 password_bytes = PyUnicode_AsEncodedString(password, NULL, NULL); in _pwinfo_set() 2750 keyfile_bytes = PyUnicode_AsEncodedString( in load_cert_chain() 2949 cafile_bytes = PyUnicode_AsEncodedString( in load_verify_locations() 2964 capath_bytes = PyUnicode_AsEncodedString( in load_verify_locations() 3062 filepath_bytes = PyUnicode_AsEncodedString( in load_dh_params()
|
D | _struct.c | 1387 PyObject *str = PyUnicode_AsEncodedString(o_format, "ascii", NULL); in s_init()
|
/external/python/cpython2/Parser/ |
D | tokenizer.c | 814 utf8 = PyUnicode_AsEncodedString(decoded, "utf-8", NULL); in tok_stdin_decode() 1713 ret = PyUnicode_AsEncodedString(unicode_text, enc, "replace"); in dec_utf8()
|
/external/python/cpython3/PC/ |
D | python3.def | 635 PyUnicode_AsEncodedString=python37.PyUnicode_AsEncodedString
|
/external/python/cpython2/PC/ |
D | _winreg.c | 781 value = PyUnicode_AsEncodedString( in Py2Reg() 834 obs[j] = PyUnicode_AsEncodedString( in Py2Reg()
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | numpy_bridge.cc | 184 PyObject* bytes = PyUnicode_AsEncodedString(r, 0, 0); in ExtractStringAndDecref()
|
/external/python/cpython2/Modules/_io/ |
D | fileio.c | 279 stringobj = PyUnicode_AsEncodedString( in fileio_init()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2461 PyUnicode_AsEncodedString:PyObject*::+1: 2462 PyUnicode_AsEncodedString:PyObject*:unicode:0: 2463 PyUnicode_AsEncodedString:const char*:encoding:: 2464 PyUnicode_AsEncodedString:const char*:errors::
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 1240 PyAPI_FUNC(PyObject*) PyUnicode_AsEncodedString(
|
/external/python/cpython3/Objects/ |
D | bytesobject.c | 1109 w = PyUnicode_AsEncodedString(u, recode_encoding, errors); in _PyBytes_DecodeEscapeRecode() 2561 new = PyUnicode_AsEncodedString(x, encoding, errors); in bytes_new()
|
D | object.c | 378 t = PyUnicode_AsEncodedString(s, "utf-8", "backslashreplace"); in PyObject_Print()
|
/external/python/cpython3/Modules/ |
D | _cursesmodule.c | 232 bytes = PyUnicode_AsEncodedString(obj, encoding, NULL); in PyCurses_ConvertToChtype() 355 *bytes = PyUnicode_AsEncodedString(obj, win->encoding, NULL); in PyCurses_ConvertToString()
|
/external/python/cpython2/Modules/_ctypes/ |
D | cfield.c | 1357 PyObject *str = PyUnicode_AsEncodedString(value, in z_set()
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.11rc1.rst | 339 socket.socket.getaddrinfo() now calls PyUnicode_AsEncodedString() instead of
|
/external/python/cpython2/Python/ |
D | getargs.c | 1081 s = PyUnicode_AsEncodedString(u, in convertsimple()
|