Home
last modified time | relevance | path

Searched refs:PyBytes_AsString (Results 1 – 25 of 43) sorted by relevance

12

/external/python/cpython3/Modules/
Daudioop.c930 ncp = (signed char *)PyBytes_AsString(rv); in audioop_mul_impl()
977 ncp = (signed char *)PyBytes_AsString(rv); in audioop_tomono_impl()
1026 ncp = (signed char *)PyBytes_AsString(rv); in audioop_tostereo_impl()
1072 ncp = (signed char *)PyBytes_AsString(rv); in audioop_add_impl()
1123 ncp = (signed char *)PyBytes_AsString(rv); in audioop_bias_impl()
1181 ncp = (unsigned char *)PyBytes_AsString(rv); in audioop_reverse_impl()
1214 ncp = (unsigned char *)PyBytes_AsString(rv); in audioop_byteswap_impl()
1257 ncp = (unsigned char *)PyBytes_AsString(rv); in audioop_lin2lin_impl()
1416 ncp = PyBytes_AsString(str); in audioop_ratecv_impl()
1434 len = (Py_ssize_t)(ncp - PyBytes_AsString(str)); in audioop_ratecv_impl()
[all …]
Dreadline.c184 errno = rl_read_init_file(PyBytes_AsString(filename_bytes)); in read_init_file()
210 errno = read_history(PyBytes_AsString(filename_bytes)); in read_history_file()
239 filename = PyBytes_AsString(filename_bytes); in write_history_file()
275 filename = PyBytes_AsString(filename_bytes); in append_history_file()
Dmain.c258 ret = PyRun_SimpleStringFlags(PyBytes_AsString(bytes), cf); in pymain_run_command()
373 filename_str = PyBytes_AsString(bytes); in pymain_run_file()
Dtermios.c186 mode.c_cc[i] = (cc_t) * PyBytes_AsString(v); in termios_tcsetattr()
D_posixsubprocess.c676 cwd = PyBytes_AsString(cwd_obj2); in subprocess_fork_exec()
D_localemodule.c638 dirname = PyBytes_AsString(dirname_bytes); in PyIntl_bindtextdomain()
D_cursesmodule.c224 value = (unsigned char)PyBytes_AsString(obj)[0]; in PyCurses_ConvertToChtype()
317 value = (unsigned char)PyBytes_AsString(obj)[0]; in PyCurses_ConvertToCchar_t()
Dmmapmodule.c897 buf = PyBytes_AsString(v); in mmap_ass_item()
/external/python/cpython2/Include/
Dbytesobject.h16 #define PyBytes_AsString PyString_AsString macro
/external/python/cpython3/Doc/c-api/
Dbytes.rst140 .. c:function:: char* PyBytes_AsString(PyObject *o)
148 *o* is not a bytes object at all, :c:func:`PyBytes_AsString` returns ``NULL``
154 Macro form of :c:func:`PyBytes_AsString` but without error checking.
/external/python/cpython3/Include/
Dbytesobject.h59 PyAPI_FUNC(char *) PyBytes_AsString(PyObject *);
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc79 PyBytes_Check(key) ? PyBytes_AsString(key) in PyArrayDescr_to_TF_DataType()
80 : PyBytes_AsString(PyUnicode_AsASCIIString(key)); in PyArrayDescr_to_TF_DataType()
/external/libxml2/python/
Dlibxml_wrap.h34 #define PyBytes_AsString PyString_AsString macro
Dlibxml.c295 data = PyBytes_AsString(ret); in xmlPythonFileReadRaw()
315 data = PyBytes_AsString(b); in xmlPythonFileReadRaw()
360 data = PyBytes_AsString(ret); in xmlPythonFileRead()
380 data = PyBytes_AsString(b); in xmlPythonFileRead()
3587 char* s = PyBytes_AsString in PystringSet_Convert()
/external/python/cpython3/Python/
Dcodecs.c1176 outp = (unsigned char*)PyBytes_AsString(res); in PyCodec_SurrogatePassErrors()
1316 outp = PyBytes_AsString(res); in PyCodec_SurrogateEscapeErrors()
/external/python/cpython3/PC/
Dpython3.def24 PyBytes_AsString=python38.PyBytes_AsString
D_msi.c150 strncpy(pccab->szCab, PyBytes_AsString(result), sizeof(pccab->szCab)); in FNFCIGETNEXTCABINET()
/external/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc54 (PyUnicode_Check(ob)? PyUnicode_AsUTF8(ob): PyBytes_AsString(ob))
/external/tensorflow/tensorflow/python/client/
Dtf_session_helper.cc83 char* key_string = PyBytes_AsString(key); in TF_Run_wrapper_helper()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc738 const char* key = PyBytes_Check(py_key) ? PyBytes_AsString(py_key) in SetOpAttrs()
741 const char* key = PyBytes_AsString(py_key); in SetOpAttrs()
1001 return PyBytes_AsString(o); in TFE_GetPythonString()
1006 return PyBytes_AsString(o); in TFE_GetPythonString()
2275 *op_type_string = PyBytes_AsString(op_type);
Dpywrap_tensor.cc927 module = PyBytes_AsString(base_class_module.get()); in TFE_Py_InitEagerTensor()
/external/tensorflow/tensorflow/python/util/
Dutil.cc55 key = PyBytes_AsString(type_name); in RegisterType()
/external/python/pybind11/include/pybind11/detail/
Dcommon.h154 #define PYBIND11_BYTES_AS_STRING PyBytes_AsString
/external/python/cpython3/Objects/
Dcodeobject.c965 unsigned char *p = (unsigned char*)PyBytes_AsString(co->co_lnotab); in PyCode_Addr2Line()
/external/python/cpython3/Modules/_ctypes/
Dcfield.c1325 *(char **)ptr = PyBytes_AsString(value); in z_set()

12