Searched refs:PyUnicode_FromStringAndSize (Results 1 - 25 of 41) sorted by relevance

12

/external/tensorflow/tensorflow/python/util/
H A Dtfprof.i33 $result = PyUnicode_FromStringAndSize($1->data(), $1->size());
H A 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())));
/external/python/cpython3/Objects/
H A Daccu.c11 sep = PyUnicode_FromStringAndSize("", 0);
/external/python/cpython2/Include/
H A Dunicodeobject.h195 # define PyUnicode_FromStringAndSize PyUnicodeUCS2_FromStringAndSize macro
282 # define PyUnicode_FromStringAndSize PyUnicodeUCS4_FromStringAndSize macro
470 PyAPI_FUNC(PyObject*) PyUnicode_FromStringAndSize(
/external/tensorflow/tensorflow/python/platform/
H A Dbase.i76 return PyUnicode_FromStringAndSize(s.data(), s.size());
/external/python/cpython3/Modules/_sqlite/
H A Dcursor.c147 key = PyUnicode_FromStringAndSize(type_start, pos - type_start);
172 py_decltype = PyUnicode_FromStringAndSize(decltype, pos - decltype);
215 return PyUnicode_FromStringAndSize(colname, pos - colname);
295 converted = PyUnicode_FromStringAndSize(val_str, nbytes);
H A Dconnection.c1383 string1 = PyUnicode_FromStringAndSize((const char*)text1_data, text1_length);
1384 string2 = PyUnicode_FromStringAndSize((const char*)text2_data, text2_length);
/external/python/cpython3/Python/
H A Dstructmember.c63 v = PyUnicode_FromStringAndSize((char*)addr, 1);
H A Dmodsupport.c345 v = PyUnicode_FromStringAndSize(str, n);
/external/python/cpython3/Modules/
H A Dnismodule.c149 res = PyUnicode_FromStringAndSize (domain, strlen(domain));
H A D_ssl.c781 name_obj = PyUnicode_FromStringAndSize(namebuf, buflen);
1030 v = PyUnicode_FromStringAndSize((char *)ASN1_STRING_data(as),
1059 v = PyUnicode_FromStringAndSize(buf, len);
1103 v = PyUnicode_FromStringAndSize(buf, (vptr - buf));
1109 v = PyUnicode_FromStringAndSize((vptr + 1),
1177 ostr = PyUnicode_FromStringAndSize((char *)uri->data,
1244 ouri = PyUnicode_FromStringAndSize((char *)uri->data,
1329 sn_obj = PyUnicode_FromStringAndSize(buf, len);
1346 pnotBefore = PyUnicode_FromStringAndSize(buf, len);
1363 pnotAfter = PyUnicode_FromStringAndSize(bu
[all...]
H A D_stat.c407 return PyUnicode_FromStringAndSize(buf, 10);
H A Dsha1module.c417 return PyUnicode_FromStringAndSize("sha1", 4);
H A Dsha256module.c508 return PyUnicode_FromStringAndSize("sha256", 6);
510 return PyUnicode_FromStringAndSize("sha224", 6);
H A Dsha512module.c577 return PyUnicode_FromStringAndSize("sha512", 6);
579 return PyUnicode_FromStringAndSize("sha384", 6);
H A Dmd5module.c440 return PyUnicode_FromStringAndSize("md5", 3);
H A D_json.c72 sep = PyUnicode_FromStringAndSize("", 0);
554 rval = PyUnicode_FromStringAndSize("", 0);
H A Dunicodedata.c448 return PyUnicode_FromStringAndSize(decomp, i);
/external/protobuf/python/google/protobuf/pyext/
H A Ddescriptor_pool.cc44 #define PyString_FromStringAndSize PyUnicode_FromStringAndSize
/external/python/cpython2/Modules/_io/
H A D_iomodule.c768 if (!(_PyIO_empty_str = PyUnicode_FromStringAndSize(NULL, 0)))
/external/python/cpython3/Modules/_io/
H A D_iomodule.c789 !(_PyIO_empty_str = PyUnicode_FromStringAndSize(NULL, 0)))
/external/libxml2/python/
H A Dtypes.c13 #define PY_IMPORT_STRING_SIZE PyUnicode_FromStringAndSize
/external/tensorflow/tensorflow/python/client/
H A Dtf_session.i308 $result = PyUnicode_FromStringAndSize(
/external/python/cpython2/Modules/
H A D_ssl.c976 v = PyUnicode_FromStringAndSize(buf, len);
1092 ostr = PyUnicode_FromStringAndSize((char *)uri->data,
1159 ouri = PyUnicode_FromStringAndSize((char *)uri->data,
1244 sn_obj = PyUnicode_FromStringAndSize(buf, len);
1261 pnotBefore = PyUnicode_FromStringAndSize(buf, len);
/external/python/cpython3/Include/
H A Dunicodeobject.h270 PyUnicode_FromStringAndSize(NULL, size) functions. They become ready
695 PyAPI_FUNC(PyObject*) PyUnicode_FromStringAndSize(

Completed in 369 milliseconds

12