Home
last modified time | relevance | path

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

123

/external/python/cpython3/Modules/_xxtestfuzz/
Dfuzzer.c48 PyObject* s = PyUnicode_FromStringAndSize(data, size); in fuzz_builtin_int()
67 PyObject* s = PyUnicode_FromStringAndSize(data, size); in fuzz_builtin_unicode()
/external/tensorflow/tensorflow/python/util/
Dpy_checkpoint_reader.i32 tensorflow::make_safe(PyUnicode_FromStringAndSize(v.first.c_str(),
76 tensorflow::make_safe(PyUnicode_FromStringAndSize(v.first.c_str(), v.first.size())));
Dtfprof.i33 $result = PyUnicode_FromStringAndSize($1->data(), $1->size());
/external/python/cpython3/Modules/_sqlite/
Dcursor.c146 key = PyUnicode_FromStringAndSize(type_start, pos - type_start); in pysqlite_build_row_cast_map()
171 py_decltype = PyUnicode_FromStringAndSize(decltype, pos - decltype); in pysqlite_build_row_cast_map()
214 return PyUnicode_FromStringAndSize(colname, pos - colname); in _pysqlite_build_column_name()
294 converted = PyUnicode_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row()
Dconnection.c1357 string1 = PyUnicode_FromStringAndSize((const char*)text1_data, text1_length); in pysqlite_collation_callback()
1358 string2 = PyUnicode_FromStringAndSize((const char*)text2_data, text2_length); in pysqlite_collation_callback()
/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/
D_ssl.c1099 name_obj = PyUnicode_FromStringAndSize(namebuf, buflen); in _asn1obj2py()
1322 v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_data(as), in _get_peer_alt_names()
1351 v = PyUnicode_FromStringAndSize(buf, len); in _get_peer_alt_names()
1395 v = PyUnicode_FromStringAndSize(buf, (vptr - buf)); in _get_peer_alt_names()
1401 v = PyUnicode_FromStringAndSize((vptr + 1), in _get_peer_alt_names()
1469 ostr = PyUnicode_FromStringAndSize((char *)uri->data, in _get_aia_uri()
1536 ouri = PyUnicode_FromStringAndSize((char *)uri->data, in _get_crl_dp()
1623 sn_obj = PyUnicode_FromStringAndSize(buf, len); in _decode_certificate()
1640 pnotBefore = PyUnicode_FromStringAndSize(buf, len); in _decode_certificate()
1657 pnotAfter = PyUnicode_FromStringAndSize(buf, len); in _decode_certificate()
[all …]
Dsha256module.c507 return PyUnicode_FromStringAndSize("sha256", 6); in SHA256_get_name()
509 return PyUnicode_FromStringAndSize("sha224", 6); in SHA256_get_name()
D_stat.c407 return PyUnicode_FromStringAndSize(buf, 10); in stat_filemode()
Dnismodule.c149 res = PyUnicode_FromStringAndSize (domain, strlen(domain)); in nis_get_default_domain()
Dsha512module.c572 return PyUnicode_FromStringAndSize("sha512", 6); in SHA512_get_name()
574 return PyUnicode_FromStringAndSize("sha384", 6); in SHA512_get_name()
Dsha1module.c416 return PyUnicode_FromStringAndSize("sha1", 4); in SHA1_get_name()
Dmd5module.c439 return PyUnicode_FromStringAndSize("md5", 3); in MD5_get_name()
/external/python/cpython3/Python/
Dstructmember.c63 v = PyUnicode_FromStringAndSize((char*)addr, 1); in PyMember_GetOne()
Dmodsupport.c412 v = PyUnicode_FromStringAndSize(str, n); in do_mkvalue()
/external/tensorflow/tensorflow/python/platform/
Dbase.i76 return PyUnicode_FromStringAndSize(s.data(), s.size()); in _SwigSimpleStr_FromString()
/external/python/cpython2/Modules/_io/
D_iomodule.c764 if (!(_PyIO_empty_str = PyUnicode_FromStringAndSize(NULL, 0))) in init_io()
/external/python/cpython3/Modules/_io/
D_iomodule.c765 !(_PyIO_empty_str = PyUnicode_FromStringAndSize(NULL, 0))) in PyInit__io()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc44 #define PyString_FromStringAndSize PyUnicode_FromStringAndSize
/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/python/cpython3/PC/
Dpython3.def690 PyUnicode_FromStringAndSize=python37.PyUnicode_FromStringAndSize
/external/libxml2/python/
Dtypes.c13 #define PY_IMPORT_STRING_SIZE 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/tensorflow/tensorflow/python/client/
Dtf_session.i332 $result = PyUnicode_FromStringAndSize(

123