Home
last modified time | relevance | path

Searched refs:PyUnicode_FromStringAndSize (Results 1 – 25 of 45) sorted by relevance

12

/third_party/python/Objects/
Daccu.c11 sep = PyUnicode_FromStringAndSize("", 0); in join_list_unicode()
/third_party/python/Modules/_xxtestfuzz/
Dfuzzer.c55 PyObject* s = PyUnicode_FromStringAndSize(data, size); in fuzz_builtin_int()
74 PyObject* s = PyUnicode_FromStringAndSize(data, size); in fuzz_builtin_unicode()
/third_party/python/Parser/
Dpegen_errors.c259 return PyUnicode_FromStringAndSize("", 0); in get_error_line_from_tokenizer_buffers()
349 error_line = PyUnicode_FromStringAndSize("", 0); in _PyPegen_raise_error_known_location()
Dstring_parser.c767 *expr_text = PyUnicode_FromStringAndSize(expr_start, *str-expr_start); in fstring_find_expr()
1212 state->last_str = PyUnicode_FromStringAndSize(NULL, 0); in _PyPegen_FstringParser_Finish()
/third_party/python/Python/
DPython-tokenize.c77 str = PyUnicode_FromStringAndSize(start, end - start); in tokenizeriter_next()
Dstructmember.c62 v = PyUnicode_FromStringAndSize((char*)addr, 1); in PyMember_GetOne()
Dmodsupport.c426 v = PyUnicode_FromStringAndSize(str, n); in do_mkvalue()
/third_party/python/Modules/
Dgetpath.c108 return PyUnicode_FromStringAndSize(NULL, 0); in getpath_dirname()
264 return PyUnicode_FromStringAndSize(NULL, 0); in getpath_joinpath()
304 return PyUnicode_FromStringAndSize(NULL, 0); in getpath_joinpath()
D_testclinic.c530 arg = PyUnicode_FromStringAndSize(c, c_length); in str_converter_impl()
588 arg = PyUnicode_FromStringAndSize(c, c_length); in str_converter_encoding_impl()
D_ssl.c1046 name_obj = PyUnicode_FromStringAndSize(namebuf, buflen); in _asn1obj2py()
1282 v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_get0_data(as), in _get_peer_alt_names()
1311 v = PyUnicode_FromStringAndSize(buf, len); in _get_peer_alt_names()
1356 v = PyUnicode_FromStringAndSize(buf, len); in _get_peer_alt_names()
1402 v = PyUnicode_FromStringAndSize(buf, (vptr - buf)); in _get_peer_alt_names()
1408 v = PyUnicode_FromStringAndSize((vptr + 1), in _get_peer_alt_names()
1476 ostr = PyUnicode_FromStringAndSize((char *)uri->data, in _get_aia_uri()
1543 ouri = PyUnicode_FromStringAndSize((char *)uri->data, in _get_crl_dp()
1632 sn_obj = PyUnicode_FromStringAndSize(buf, len); in _decode_certificate()
1649 pnotBefore = PyUnicode_FromStringAndSize(buf, len); in _decode_certificate()
[all …]
D_stat.c411 return PyUnicode_FromStringAndSize(buf, 10); in stat_filemode()
Dsha256module.c530 return PyUnicode_FromStringAndSize("sha256", 6); in SHA256_get_name()
532 return PyUnicode_FromStringAndSize("sha224", 6); in SHA256_get_name()
Dnismodule.c181 res = PyUnicode_FromStringAndSize (domain, strlen(domain)); in nis_get_default_domain()
Dsha512module.c586 return PyUnicode_FromStringAndSize("sha512", 6); in SHA512_get_name()
588 return PyUnicode_FromStringAndSize("sha384", 6); in SHA512_get_name()
Dsha1module.c442 return PyUnicode_FromStringAndSize("sha1", 4); in SHA1_get_name()
Dmd5module.c464 return PyUnicode_FromStringAndSize("md5", 3); in MD5_get_name()
Dunicodedata.c457 return PyUnicode_FromStringAndSize(decomp, i); in unicodedata_UCD_decomposition_impl()
/third_party/python/Modules/_sqlite/
Dcursor.c197 key = PyUnicode_FromStringAndSize(keystr, keylen); in _pysqlite_get_converter()
313 return PyUnicode_FromStringAndSize(colname, len); in _pysqlite_build_column_name()
398 converted = PyUnicode_FromStringAndSize(text, nbytes); in _pysqlite_fetch_one_row()
Dconnection.c703 cur_py_value = PyUnicode_FromStringAndSize(text, size); in _pysqlite_build_py_params()
1794 string1 = PyUnicode_FromStringAndSize((const char*)text1_data, text1_length); in collation_callback()
1795 string2 = PyUnicode_FromStringAndSize((const char*)text2_data, text2_length); in collation_callback()
/third_party/python/Include/
Dunicodeobject.h130 PyAPI_FUNC(PyObject*) PyUnicode_FromStringAndSize(
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc47 #define PyString_FromStringAndSize PyUnicode_FromStringAndSize
Ddescriptor_containers.cc61 #define PyString_FromStringAndSize PyUnicode_FromStringAndSize
/third_party/python/PC/
Dpython3dll.c676 EXPORT_FUNC(PyUnicode_FromStringAndSize)
/third_party/python/Doc/data/
Dstable_abi.dat760 function,PyUnicode_FromStringAndSize,3.2,,
Drefcounts.dat2683 PyUnicode_FromStringAndSize:PyObject*::+1:
2684 PyUnicode_FromStringAndSize:const char*:u::
2685 PyUnicode_FromStringAndSize:Py_ssize_t:size::

12