Searched refs:PyUnicode_AsEncodedString (Results 1 – 23 of 23) sorted by relevance
| /third_party/python/Python/ |
| D | importdl.c | 64 encoded = PyUnicode_AsEncodedString(name, "ascii", NULL); in get_encoded_name() 70 encoded = PyUnicode_AsEncodedString(name, "punycode", NULL); in get_encoded_name()
|
| D | marshal.c | 453 utf8 = PyUnicode_AsEncodedString(v, "utf8", "surrogatepass"); in w_complex_object()
|
| D | bltinmodule.c | 2203 po = PyUnicode_AsEncodedString(stringpo, in builtin_input_impl()
|
| D | sysmodule.c | 625 encoded = PyUnicode_AsEncodedString(repr_str, in sys_displayhook_unencodable()
|
| D | getargs.c | 1114 s = PyUnicode_AsEncodedString(arg, in convertsimple()
|
| /third_party/python/Include/ |
| D | unicodeobject.h | 408 PyAPI_FUNC(PyObject*) PyUnicode_AsEncodedString(
|
| /third_party/python/Doc/data/ |
| D | refcounts.dat | 2475 PyUnicode_AsEncodedString:PyObject*::+1: 2476 PyUnicode_AsEncodedString:PyObject*:unicode:0: 2477 PyUnicode_AsEncodedString:const char*:encoding:: 2478 PyUnicode_AsEncodedString:const char*:errors::
|
| D | stable_abi.dat | 705 function,PyUnicode_AsEncodedString,3.2,,
|
| /third_party/python/PC/ |
| D | python3dll.c | 623 EXPORT_FUNC(PyUnicode_AsEncodedString)
|
| /third_party/python/Modules/ |
| D | _cursesmodule.c | 258 bytes = PyUnicode_AsEncodedString(obj, encoding, NULL); in PyCurses_ConvertToChtype() 381 *bytes = PyUnicode_AsEncodedString(obj, win->encoding, NULL); in PyCurses_ConvertToString()
|
| D | socketmodule.c | 1649 obj2 = PyUnicode_AsEncodedString(obj, "idna", NULL); in idna_converter() 6560 idna = PyUnicode_AsEncodedString(hobj, "idna", NULL);
|
| D | _elementtree.c | 3962 temp = PyUnicode_AsEncodedString(buffer, "utf-8", "surrogatepass"); in _elementtree_XMLParser__parse_whole()
|
| D | _pickle.c | 2665 encoded = PyUnicode_AsEncodedString(obj, "utf-8", "surrogatepass"); in write_unicode_binary()
|
| /third_party/alsa-lib/modules/mixer/simple/ |
| D | python.c | 410 obj2 = PyUnicode_AsEncodedString(t1, "utf-8", "strict"); in enum_item_name_ops()
|
| /third_party/python/Objects/ |
| D | bytearrayobject.c | 786 encoded = PyUnicode_AsEncodedString(arg, encoding, errors); in bytearray___init___impl()
|
| D | object.c | 297 t = PyUnicode_AsEncodedString(s, "utf-8", "backslashreplace"); in PyObject_Print()
|
| D | bytesobject.c | 2613 bytes = PyUnicode_AsEncodedString(x, encoding, errors); in bytes_new_impl()
|
| D | unicodeobject.c | 3797 return PyUnicode_AsEncodedString(unicode, in PyUnicode_EncodeFSDefault() 3820 PyUnicode_AsEncodedString(PyObject *unicode, in PyUnicode_AsEncodedString() function 11674 return PyUnicode_AsEncodedString(self, encoding, errors); in unicode_encode_impl()
|
| /third_party/python/Misc/ |
| D | stable_abi.toml | 1452 [function.PyUnicode_AsEncodedString]
|
| D | HISTORY | 389 PyUnicode_AsEncodedString() instead of calling the encode() method of the 8660 PyUnicode_AsUTF8String() and PyUnicode_AsEncodedString(unicode, "utf-8", 8683 PyUnicode_AsEncodedString(), it was replaced by a better fallback (use the 12731 - Issue #8922: Normalize the encoding name in PyUnicode_AsEncodedString() to 12733 "iso-8859-1" in PyUnicode_AsEncodedString() and PyUnicode_Decode(). 12777 - Enable shortcuts for common encodings in PyUnicode_AsEncodedString() for any
|
| D | NEWS | 33613 PyUnicode_AsEncodedString() instead of calling the encode() method of the
|
| /third_party/protobuf/python/google/protobuf/pyext/ |
| D | message.cc | 783 encoded_string = PyUnicode_AsEncodedString(arg, "utf-8", NULL); in CheckString()
|
| /third_party/python/Doc/c-api/ |
| D | unicode.rst | 1027 .. c:function:: PyObject* PyUnicode_AsEncodedString(PyObject *unicode, \
|