Home
last modified time | relevance | path

Searched refs:PyUnicode_AsEncodedString (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Include/
Dunicodeobject.h151 # define PyUnicode_AsEncodedString PyUnicodeUCS2_AsEncodedString macro
238 # define PyUnicode_AsEncodedString PyUnicodeUCS4_AsEncodedString macro
714 PyAPI_FUNC(PyObject*) PyUnicode_AsEncodedString(
/external/python/cpython2/Objects/
Dobject.c387 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()
Dfileobject.c1836 encoded = PyUnicode_AsEncodedString(text, encoding, errors); in file_write()
2571 value = PyUnicode_AsEncodedString(v, cenc, errors); in PyFile_WriteObject()
Dstringobject.c476 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()
Dunicodeobject.c1316 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/
Drefcounts.dat1534 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.c782 value = PyUnicode_AsEncodedString( in Py2Reg()
835 obs[j] = PyUnicode_AsEncodedString( in Py2Reg()
/external/python/cpython2/Parser/
Dtokenizer.c814 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.c2560 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.c1383 PyObject *str = PyUnicode_AsEncodedString(o_format, "ascii", NULL); in s_init()
D_json.c1746 PyObject *tmp = PyUnicode_AsEncodedString(s->encoding, NULL, NULL); in scanner_init()
Dsocketmodule.c4186 idna = PyUnicode_AsEncodedString(hobj, "idna", NULL);
/external/python/cpython2/Modules/_io/
Dfileio.c253 stringobj = PyUnicode_AsEncodedString( in fileio_init()
/external/python/cpython2/Python/
Dgetargs.c1081 s = PyUnicode_AsEncodedString(u, in convertsimple()
Dast.c3383 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/
Dcfield.c1349 PyObject *str = PyUnicode_AsEncodedString(value, in z_set()
D_ctypes.c1204 value = PyUnicode_AsEncodedString(value, in CharArray_set_value()
/external/python/cpython2/Mac/Modules/file/
D_Filemodule.c3139 return PyUnicode_AsEncodedString(obj, "utf8", "strict"); in File_pathname()
/external/python/cpython2/Doc/c-api/
Dunicode.rst467 .. c:function:: PyObject* PyUnicode_AsEncodedString(PyObject *unicode, const char *encoding, const …
/external/python/cpython2/Misc/
DNEWS901 PyUnicode_AsEncodedString() instead of calling the encode() method of the