Home
last modified time | relevance | path

Searched refs:PyUnicode_DecodeUTF8 (Results 1 – 25 of 26) 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.c3134 value = PyUnicode_DecodeUTF8(p, size, "strict"); in makeuniversal()
3221 key = PyUnicode_DecodeUTF8(data_in + 1, data_len - 2, "strict"); in expat_default_handler()
3278 PyObject* value = PyUnicode_DecodeUTF8(attrib_in[1], strlen(attrib_in[1]), "strict"); in expat_start_handler()
3334 data = PyUnicode_DecodeUTF8(data_in, data_len, "strict"); in expat_data_handler()
3399 prefix = PyUnicode_DecodeUTF8(prefix_in, strlen(prefix_in), "strict"); in expat_start_ns_handler()
3402 uri = PyUnicode_DecodeUTF8(uri_in, strlen(uri_in), "strict"); in expat_start_ns_handler()
3413 prefix = PyUnicode_DecodeUTF8(prefix_in, strlen(prefix_in), "strict"); in expat_start_ns_handler()
3416 uri = PyUnicode_DecodeUTF8(uri_in, strlen(uri_in), "strict"); in expat_start_ns_handler()
3452 prefix = PyUnicode_DecodeUTF8(prefix_in, strlen(prefix_in), "strict"); in expat_end_ns_handler()
3476 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.c396 PyObject *r = PyUnicode_DecodeUTF8(s, size, NULL); in unicodeFromTclStringAndSize()
424 r = PyUnicode_DecodeUTF8(s, size, "surrogateescape"); in unicodeFromTclStringAndSize()
D_pickle.c5666 str = PyUnicode_DecodeUTF8(s, size, "surrogatepass"); in load_counted_binunicode()
5998 module_name = PyUnicode_DecodeUTF8(s, len - 1, "strict"); in load_global()
6007 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.c261 return PyUnicode_DecodeUTF8(cur_line, next_newline - cur_line, "replace"); in get_error_line_from_tokenizer_buffers()
323 error_line = PyUnicode_DecodeUTF8(p->tok->buf, size, "replace"); in _PyPegen_raise_error_known_location()
Dpegen.c13 PyObject *res = PyUnicode_DecodeUTF8(s, strlen(s), NULL); in _PyPegen_new_type_comment()
98 PyObject *id = PyUnicode_DecodeUTF8(n, strlen(n), NULL); in _PyPegen_new_identifier()
169 PyObject *text = PyUnicode_DecodeUTF8(str, col_offset, "replace"); in byte_offset_to_character_offset()
449 return PyUnicode_DecodeUTF8(cur_line, next_newline - cur_line, "replace"); in get_error_line()
511 error_line = PyUnicode_DecodeUTF8(p->tok->buf, size, "replace"); in _PyPegen_raise_error_known_location()
1650 PyObject *uni = PyUnicode_DecodeUTF8(PyBytes_AS_STRING(str), PyBytes_GET_SIZE(str), NULL); in _PyPegen_join_names_with_dot()
Dtokenizer.c1086 errtext = PyUnicode_DecodeUTF8(tok->line_start, tok->cur - tok->line_start, in _syntaxerror_range()
1102 errtext = PyUnicode_DecodeUTF8(tok->line_start, line_len, in _syntaxerror_range()
1278 s = PyUnicode_DecodeUTF8(tok->start, tok->cur - tok->start, NULL); in verify_identifier()
Dstring_parser.c49 return PyUnicode_DecodeUTF8(t, s - t, NULL); in decode_utf8()
/third_party/python/Objects/
Dstructseq.c243 PyObject *type_name = PyUnicode_DecodeUTF8(typ->tp_name, in structseq_repr()
282 PyObject *name = PyUnicode_DecodeUTF8(name_utf8, strlen(name_utf8), NULL); in structseq_repr()
Dunicodeobject.c5093 PyUnicode_DecodeUTF8(const char *s, in PyUnicode_DecodeUTF8() function
/third_party/python/Include/
Dunicodeobject.h454 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.dat2502 PyUnicode_DecodeUTF8:PyObject*::+1:
2503 PyUnicode_DecodeUTF8:const char*:s::
2504 PyUnicode_DecodeUTF8:Py_ssize_t:size::
2505 PyUnicode_DecodeUTF8:const char*:errors::
Dstable_abi.dat723 function,PyUnicode_DecodeUTF8,3.2,
/third_party/python/PC/
Dpython3dll.c649 EXPORT_FUNC(PyUnicode_DecodeUTF8)
/third_party/python/Modules/_sqlite/
Dconnection.c1066 py_statement = PyUnicode_DecodeUTF8(statement_string, in _trace_callback()
/third_party/python/Python/
Dmarshal.c1140 v = PyUnicode_DecodeUTF8(buffer, n, "surrogatepass"); in r_object()
/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c983 pending = PyUnicode_DecodeUTF8((const char *)statebytes+1, in _multibytecodec_MultibyteIncrementalEncoder_setstate_impl()
/third_party/python/Misc/
Dstable_abi.txt1408 function PyUnicode_DecodeUTF8
/third_party/python/Doc/c-api/
Dunicode.rst1061 .. c:function:: PyObject* PyUnicode_DecodeUTF8(const char *s, Py_ssize_t size, const char *errors)
1070 If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF8`. If
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc830 PyObject* result = PyUnicode_DecodeUTF8(value.c_str(), value.length(), NULL); in ToStringObject()
/third_party/python/Modules/_decimal/
D_decimal.c3331 result = PyUnicode_DecodeUTF8(decstring, size, NULL); in dec_format()

12