Home
last modified time | relevance | path

Searched refs:PyUnicode_DecodeUTF8 (Results 1 – 25 of 28) sorted by relevance

12

/third_party/python/Modules/
D_scproxy.c24 return PyUnicode_DecodeUTF8( in cfstring_to_pystring()
46 result = PyUnicode_DecodeUTF8( in cfstring_to_pystring()
D_elementtree.c3122 value = PyUnicode_DecodeUTF8(p, size, "strict"); in makeuniversal()
3209 key = PyUnicode_DecodeUTF8(data_in + 1, data_len - 2, "strict"); in expat_default_handler()
3266 PyObject* value = PyUnicode_DecodeUTF8(attrib_in[1], strlen(attrib_in[1]), "strict"); in expat_start_handler()
3322 data = PyUnicode_DecodeUTF8(data_in, data_len, "strict"); in expat_data_handler()
3387 prefix = PyUnicode_DecodeUTF8(prefix_in, strlen(prefix_in), "strict"); in expat_start_ns_handler()
3390 uri = PyUnicode_DecodeUTF8(uri_in, strlen(uri_in), "strict"); in expat_start_ns_handler()
3401 prefix = PyUnicode_DecodeUTF8(prefix_in, strlen(prefix_in), "strict"); in expat_start_ns_handler()
3404 uri = PyUnicode_DecodeUTF8(uri_in, strlen(uri_in), "strict"); in expat_start_ns_handler()
3440 prefix = PyUnicode_DecodeUTF8(prefix_in, strlen(prefix_in), "strict"); in expat_end_ns_handler()
3464 comment = PyUnicode_DecodeUTF8(comment_in, strlen(comment_in), "strict"); in expat_comment_handler()
[all …]
Dpyexpat.c162 return PyUnicode_DecodeUTF8(str, strlen(str), "strict"); in conv_string_to_unicode()
174 return PyUnicode_DecodeUTF8((const char *)str, len, "strict"); in conv_string_len_to_unicode()
D_tkinter.c400 PyObject *r = PyUnicode_DecodeUTF8(s, size, NULL); in unicodeFromTclStringAndSize()
428 r = PyUnicode_DecodeUTF8(s, size, "surrogateescape"); in unicodeFromTclStringAndSize()
D_pickle.c5675 str = PyUnicode_DecodeUTF8(s, size, "surrogatepass"); in load_counted_binunicode()
6005 module_name = PyUnicode_DecodeUTF8(s, len - 1, "strict"); in load_global()
6014 global_name = PyUnicode_DecodeUTF8(s, len - 1, "strict"); in load_global()
/third_party/python/Modules/_ssl/
Dmisc.c33 return PyUnicode_DecodeUTF8(data, size, error); in _PySSL_UnicodeFromBIO()
/third_party/python/Parser/
Dpegen_errors.c281 return PyUnicode_DecodeUTF8(cur_line, next_newline - cur_line, "replace"); in get_error_line_from_tokenizer_buffers()
343 error_line = PyUnicode_DecodeUTF8(p->tok->buf, size, "replace"); in _PyPegen_raise_error_known_location()
Dpegen.c32 PyObject *text = PyUnicode_DecodeUTF8(str, col_offset, "replace"); in _PyPegen_byte_offset_to_character_offset()
456 PyObject *id = PyUnicode_DecodeUTF8(n, strlen(n), NULL); in _PyPegen_new_identifier()
Dtokenizer.c1122 errtext = PyUnicode_DecodeUTF8(tok->line_start, tok->cur - tok->line_start, in _syntaxerror_range()
1138 errtext = PyUnicode_DecodeUTF8(tok->line_start, line_len, in _syntaxerror_range()
1323 s = PyUnicode_DecodeUTF8(tok->start, tok->cur - tok->start, NULL); in verify_identifier()
Daction_helpers.c173 PyObject *uni = PyUnicode_DecodeUTF8(PyBytes_AS_STRING(str), PyBytes_GET_SIZE(str), NULL); in _PyPegen_join_names_with_dot()
1011 PyObject *res = PyUnicode_DecodeUTF8(s, strlen(s), NULL); in _PyPegen_new_type_comment()
Dstring_parser.c60 return PyUnicode_DecodeUTF8(t, s - t, NULL); in decode_utf8()
/third_party/python/Python/
DPython-tokenize.c84 PyObject *line = PyUnicode_DecodeUTF8(it->tok->buf, size, "replace"); in tokenizeriter_next()
Dmarshal.c1191 v = PyUnicode_DecodeUTF8(buffer, n, "surrogatepass"); in r_object()
Dsysmodule.c2812 PyObject *oua = PyUnicode_DecodeUTF8(ua, strlen(ua), "strict"); in make_emscripten_info()
/third_party/python/Objects/
Dstructseq.c238 PyObject *type_name = PyUnicode_DecodeUTF8(typ->tp_name, in structseq_repr()
277 PyObject *name = PyUnicode_DecodeUTF8(name_utf8, strlen(name_utf8), NULL); in structseq_repr()
/third_party/python/Include/
Dunicodeobject.h450 PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
/third_party/PyYAML/yaml/
D_yaml.pxd11 object PyUnicode_DecodeUTF8(char *u, int s, char *e)
D_yaml.pyx432 value = PyUnicode_DecodeUTF8(<char *>token.data.scalar.value,
564 value = PyUnicode_DecodeUTF8(<char *>event.data.scalar.value,
746 value = PyUnicode_DecodeUTF8(<char *>self.parsed_event.data.scalar.value,
1393 value = PyUnicode_DecodeUTF8(buffer, size, 'strict')
/third_party/python/Doc/data/
Drefcounts.dat2491 PyUnicode_DecodeUTF8:PyObject*::+1:
2492 PyUnicode_DecodeUTF8:const char*:s::
2493 PyUnicode_DecodeUTF8:Py_ssize_t:size::
2494 PyUnicode_DecodeUTF8:const char*:errors::
Dstable_abi.dat743 function,PyUnicode_DecodeUTF8,3.2,,
/third_party/python/PC/
Dpython3dll.c662 EXPORT_FUNC(PyUnicode_DecodeUTF8)
/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c982 pending = PyUnicode_DecodeUTF8((const char *)statebytes+1, in _multibytecodec_MultibyteIncrementalEncoder_setstate_impl()
/third_party/python/Doc/c-api/
Dunicode.rst1043 .. c:function:: PyObject* PyUnicode_DecodeUTF8(const char *s, Py_ssize_t size, const char *errors)
1052 If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF8`. If
/third_party/python/Misc/
Dstable_abi.toml1500 [function.PyUnicode_DecodeUTF8]
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc830 PyObject* result = PyUnicode_DecodeUTF8(value.c_str(), value.length(), NULL); in ToStringObject()

12