Home
last modified time | relevance | path

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

123

/external/python/cpython3/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()
/external/python/cpython3/Objects/
Daccu.c11 sep = PyUnicode_FromStringAndSize("", 0); in join_list_unicode()
/external/python/cpython2/Include/
Dunicodeobject.h195 # define PyUnicode_FromStringAndSize PyUnicodeUCS2_FromStringAndSize macro
282 # define PyUnicode_FromStringAndSize PyUnicodeUCS4_FromStringAndSize macro
470 PyAPI_FUNC(PyObject*) PyUnicode_FromStringAndSize(
/external/python/cpython3/Modules/_sqlite/
Dcursor.c137 key = PyUnicode_FromStringAndSize(keystr, keylen); in _pysqlite_get_converter()
249 return PyUnicode_FromStringAndSize(colname, len); in _pysqlite_build_column_name()
339 converted = PyUnicode_FromStringAndSize(text, nbytes); in _pysqlite_fetch_one_row()
Dconnection.c626 cur_py_value = PyUnicode_FromStringAndSize(text, size); in _pysqlite_build_py_params()
1538 string1 = PyUnicode_FromStringAndSize((const char*)text1_data, text1_length); in pysqlite_collation_callback()
1539 string2 = PyUnicode_FromStringAndSize((const char*)text2_data, text2_length); in pysqlite_collation_callback()
/external/tensorflow/tensorflow/python/framework/
Dpython_api_dispatcher.cc140 : api_name_(PyUnicode_FromStringAndSize(api_name.c_str(), api_name.size())), in PythonAPIDispatcher()
/external/python/cpython3/Python/
Dstructmember.c62 v = PyUnicode_FromStringAndSize((char*)addr, 1); in PyMember_GetOne()
Dmodsupport.c426 v = PyUnicode_FromStringAndSize(str, n); in do_mkvalue()
/external/python/cpython3/Modules/
D_ssl.c1041 name_obj = PyUnicode_FromStringAndSize(namebuf, buflen); in _asn1obj2py()
1277 v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_get0_data(as), in _get_peer_alt_names()
1306 v = PyUnicode_FromStringAndSize(buf, len); in _get_peer_alt_names()
1351 v = PyUnicode_FromStringAndSize(buf, len); in _get_peer_alt_names()
1397 v = PyUnicode_FromStringAndSize(buf, (vptr - buf)); in _get_peer_alt_names()
1403 v = PyUnicode_FromStringAndSize((vptr + 1), in _get_peer_alt_names()
1471 ostr = PyUnicode_FromStringAndSize((char *)uri->data, in _get_aia_uri()
1538 ouri = PyUnicode_FromStringAndSize((char *)uri->data, in _get_crl_dp()
1627 sn_obj = PyUnicode_FromStringAndSize(buf, len); in _decode_certificate()
1644 pnotBefore = PyUnicode_FromStringAndSize(buf, len); in _decode_certificate()
[all …]
D_stat.c411 return PyUnicode_FromStringAndSize(buf, 10); in stat_filemode()
Dsha256module.c527 return PyUnicode_FromStringAndSize("sha256", 6); in SHA256_get_name()
529 return PyUnicode_FromStringAndSize("sha224", 6); in SHA256_get_name()
Dnismodule.c180 res = PyUnicode_FromStringAndSize (domain, strlen(domain)); in nis_get_default_domain()
Dsha512module.c583 return PyUnicode_FromStringAndSize("sha512", 6); in SHA512_get_name()
585 return PyUnicode_FromStringAndSize("sha384", 6); in SHA512_get_name()
Dsha1module.c439 return PyUnicode_FromStringAndSize("sha1", 4); in SHA1_get_name()
Dmd5module.c461 return PyUnicode_FromStringAndSize("md5", 3); in MD5_get_name()
/external/python/cpython3/Parser/
Dstring_parser.c745 *expr_text = PyUnicode_FromStringAndSize(expr_start, *str-expr_start); in fstring_find_expr()
1192 state->last_str = PyUnicode_FromStringAndSize(NULL, 0); in _PyPegen_FstringParser_Finish()
/external/python/cpython3/Include/
Dunicodeobject.h130 PyAPI_FUNC(PyObject*) PyUnicode_FromStringAndSize(
/external/python/cpython2/Modules/_io/
D_iomodule.c764 if (!(_PyIO_empty_str = PyUnicode_FromStringAndSize(NULL, 0))) in init_io()
Dtextio.c1363 return PyUnicode_FromStringAndSize(NULL, 0); in textiowrapper_get_decoded_chars()
1845 line = PyUnicode_FromStringAndSize(NULL, 0); in _textiowrapper_readline()
/external/python/cpython3/Modules/_io/
D_iomodule.c815 !(_PyIO_empty_str = PyUnicode_FromStringAndSize(NULL, 0))) in PyInit__io()
/external/python/cpython2/Modules/
D_ssl.c1061 v = PyUnicode_FromStringAndSize(buf, len); in _get_peer_alt_names()
1177 ostr = PyUnicode_FromStringAndSize((char *)uri->data, in _get_aia_uri()
1240 ouri = PyUnicode_FromStringAndSize((char *)uri->data, in _get_crl_dp()
1323 sn_obj = PyUnicode_FromStringAndSize(buf, len); in _decode_certificate()
1340 pnotBefore = PyUnicode_FromStringAndSize(buf, len); in _decode_certificate()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc47 #define PyString_FromStringAndSize PyUnicode_FromStringAndSize
/external/python/cpython2/Doc/data/
Drefcounts.dat1496 PyUnicode_FromStringAndSize:PyObject*::+1:
1497 PyUnicode_FromStringAndSize:const char*:u::
1498 PyUnicode_FromStringAndSize:ssize_t:size::
/external/libxml2/python/
Dtypes.c13 #define PY_IMPORT_STRING_SIZE PyUnicode_FromStringAndSize
/external/python/pybind11/include/pybind11/
Dpytypes.h940 : object(PyUnicode_FromStringAndSize(c, (ssize_t) n), stolen_t{}) { in PYBIND11_OBJECT_CVT()
1056 auto obj = reinterpret_steal<object>(PyUnicode_FromStringAndSize(buffer, (ssize_t) length)); in str()

123