Home
last modified time | relevance | path

Searched refs:PyUnicode_AsUTF8AndSize (Results 1 – 25 of 38) sorted by relevance

12

/external/python/cpython3/Modules/_sqlite/
Dstatement.c62 sql_cstr = PyUnicode_AsUTF8AndSize(sql, &sql_cstr_len); in pysqlite_statement_create()
157 string = PyUnicode_AsUTF8AndSize(parameter, &buflen); in pysqlite_statement_bind_parameter()
Dcursor.c467 operation_cstr = PyUnicode_AsUTF8AndSize(operation, &operation_len); in _pysqlite_query_execute()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dpython_utils.cc90 const char* buf = PyUnicode_AsUTF8AndSize(value, &len); in FillStringBufferFromPyUnicode()
/external/python/cpython3/Python/
Dstructmember.c255 string = PyUnicode_AsUTF8AndSize(v, &len); in PyMember_SetOne()
Dgetargs.c977 sarg = PyUnicode_AsUTF8AndSize(arg, &len); in convertsimple()
1005 sarg = PyUnicode_AsUTF8AndSize(arg, &len); in convertsimple()
1030 sarg = PyUnicode_AsUTF8AndSize(arg, &len); in convertsimple()
/external/python/cpython3/Objects/
Dfileobject.c374 str = PyUnicode_AsUTF8AndSize(unicode, &n); in stdprinter_write()
Dfloatobject.c180 s = PyUnicode_AsUTF8AndSize(s_buffer, &len); in PyFloat_FromString()
1330 s = PyUnicode_AsUTF8AndSize(string, &length); in float_fromhex()
Dcomplexobject.c919 s = PyUnicode_AsUTF8AndSize(s_buffer, &len); in complex_subtype_from_string()
/external/python/cpython3/Modules/
Dparsermodule.c896 temp_str = PyUnicode_AsUTF8AndSize(temp, &len); in build_node_children()
1011 temp = PyUnicode_AsUTF8AndSize(encoding, &len); in build_node_tree()
D_dbmmodule.c241 key.dptr = (char *)PyUnicode_AsUTF8AndSize(arg, &size); in dbm_contains()
D_gdbmmodule.c321 key.dptr = (char *)PyUnicode_AsUTF8AndSize(arg, &size); in dbm_contains()
D_datetimemodule.c1492 pin = PyUnicode_AsUTF8AndSize(format, &flen); in wrap_strftime()
1563 ptoappend = PyUnicode_AsUTF8AndSize(Zreplacement, in wrap_strftime()
2943 const char *dt_ptr = PyUnicode_AsUTF8AndSize(dtstr, &len); in date_fromisoformat()
4352 const char *p = PyUnicode_AsUTF8AndSize(tstr, &len); in time_fromisoformat()
5022 const char *dt_ptr = PyUnicode_AsUTF8AndSize(dtstr_clean, &len); in datetime_fromisoformat()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc50 ((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
Dmessage.cc84 ((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
1418 field_name = PyUnicode_AsUTF8AndSize(arg, &size); in CheckAndGetInteger()
1649 const char* field_name = PyUnicode_AsUTF8AndSize(arg, &size); in CheckAndGetInteger()
Ddescriptor.cc57 ((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
Ddescriptor_containers.cc69 ((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
/external/python/cpython3/Include/
Dunicodeobject.h1138 PyAPI_FUNC(const char *) PyUnicode_AsUTF8AndSize(
1141 #define _PyUnicode_AsStringAndSize PyUnicode_AsUTF8AndSize
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc151 *ptr = PyUnicode_AsUTF8AndSize(obj, len); in PyObjectToString()
Dpy_func.cc344 const char* ptr = PyUnicode_AsUTF8AndSize(obj, &size); in PyObjectToString()
Dpy_seq_tensor.cc432 const char* str = PyUnicode_AsUTF8AndSize(v, &size); in ConvertOneString()
/external/libxml2/python/
Dtypes.c637 tmp = PyUnicode_AsUTF8AndSize(obj, &size); in libxml_xmlXPathObjectPtrConvert()
Dlibxml.c303 tmp = PyUnicode_AsUTF8AndSize(ret, &size); in xmlPythonFileReadRaw()
368 tmp = PyUnicode_AsUTF8AndSize(ret, &size); in xmlPythonFileRead()
/external/python/cpython3/Doc/data/
Drefcounts.dat2497 PyUnicode_AsUTF8AndSize:const char*:::
2498 PyUnicode_AsUTF8AndSize:PyObject*:unicode:0:
2499 PyUnicode_AsUTF8AndSize:Py_ssize_t*:size:0:
/external/python/cpython3/Parser/
Dtokenizer.c446 buf = PyUnicode_AsUTF8AndSize(bufobj, &buflen); in fp_readl()
/external/python/cpython3/Doc/c-api/
Dunicode.rst1069 .. c:function:: const char* PyUnicode_AsUTF8AndSize(PyObject *unicode, Py_ssize_t *size)
1092 As :c:func:`PyUnicode_AsUTF8AndSize`, but does not store the size.
1108 :c:func:`PyUnicode_AsUTF8String`, :c:func:`PyUnicode_AsUTF8AndSize` or

12