/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 | 387 str = PyUnicode_AsEncodedString(res, NULL, NULL); in PyObject_Repr() 457 str = PyUnicode_AsEncodedString(res, NULL, NULL); in PyObject_Str() 1229 name = PyUnicode_AsEncodedString(name, NULL, NULL); in PyObject_SetAttr() 1342 name = PyUnicode_AsEncodedString(name, NULL, NULL); in _PyObject_GenericGetAttrWithDict() 1480 name = PyUnicode_AsEncodedString(name, NULL, NULL); in _PyObject_GenericSetAttrWithDict()
|
D | fileobject.c | 1836 encoded = PyUnicode_AsEncodedString(text, encoding, errors); in file_write() 2571 value = PyUnicode_AsEncodedString(v, cenc, errors); in PyFile_WriteObject()
|
D | stringobject.c | 476 v = PyUnicode_AsEncodedString(v, NULL, NULL); in PyString_AsDecodedString() 556 v = PyUnicode_AsEncodedString(v, NULL, NULL); in PyString_AsEncodedString() 637 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() 7657 return PyUnicode_AsEncodedString((PyObject *)self, NULL, NULL); in unicode_str()
|
/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/PC/ |
D | _winreg.c | 782 value = PyUnicode_AsEncodedString( in Py2Reg() 835 obs[j] = PyUnicode_AsEncodedString( in Py2Reg()
|
/external/python/cpython2/Parser/ |
D | tokenizer.c | 814 utf8 = PyUnicode_AsEncodedString(decoded, "utf-8", NULL); in tok_stdin_decode() 1706 ret = PyUnicode_AsEncodedString(unicode_text, enc, "replace"); in dec_utf8()
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 2560 password_bytes = PyUnicode_AsEncodedString(password, NULL, NULL); in _pwinfo_set() 2668 keyfile_bytes = PyUnicode_AsEncodedString( in load_cert_chain() 2867 cafile_bytes = PyUnicode_AsEncodedString( in load_verify_locations() 2882 capath_bytes = PyUnicode_AsEncodedString( in load_verify_locations()
|
D | _struct.c | 1383 PyObject *str = PyUnicode_AsEncodedString(o_format, "ascii", NULL); in s_init()
|
D | _json.c | 1746 PyObject *tmp = PyUnicode_AsEncodedString(s->encoding, NULL, NULL); in scanner_init()
|
D | socketmodule.c | 4186 idna = PyUnicode_AsEncodedString(hobj, "idna", NULL);
|
/external/python/cpython2/Modules/_io/ |
D | fileio.c | 253 stringobj = PyUnicode_AsEncodedString( in fileio_init()
|
/external/python/cpython2/Python/ |
D | getargs.c | 1081 s = PyUnicode_AsEncodedString(u, in convertsimple()
|
D | ast.c | 3383 v = PyUnicode_AsEncodedString(u, encoding, NULL); in decode_utf8() 3535 v = PyUnicode_AsEncodedString(u, c->c_encoding, NULL); in parsestr()
|
/external/python/cpython2/Modules/_ctypes/ |
D | cfield.c | 1349 PyObject *str = PyUnicode_AsEncodedString(value, in z_set()
|
D | _ctypes.c | 1204 value = PyUnicode_AsEncodedString(value, in CharArray_set_value()
|
/external/python/cpython2/Mac/Modules/file/ |
D | _Filemodule.c | 3139 return PyUnicode_AsEncodedString(obj, "utf8", "strict"); in File_pathname()
|
/external/python/cpython2/Doc/c-api/ |
D | unicode.rst | 467 .. c:function:: PyObject* PyUnicode_AsEncodedString(PyObject *unicode, const char *encoding, const …
|
/external/python/cpython2/Misc/ |
D | NEWS | 901 PyUnicode_AsEncodedString() instead of calling the encode() method of the
|