Home
last modified time | relevance | path

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

12

/external/python/cpython3/Modules/
Daudioop.c950 ncp = (signed char *)PyBytes_AsString(rv); in audioop_mul_impl()
998 ncp = (signed char *)PyBytes_AsString(rv); in audioop_tomono_impl()
1047 ncp = (signed char *)PyBytes_AsString(rv); in audioop_tostereo_impl()
1094 ncp = (signed char *)PyBytes_AsString(rv); in audioop_add_impl()
1145 ncp = (signed char *)PyBytes_AsString(rv); in audioop_bias_impl()
1203 ncp = (unsigned char *)PyBytes_AsString(rv); in audioop_reverse_impl()
1236 ncp = (unsigned char *)PyBytes_AsString(rv); in audioop_byteswap_impl()
1279 ncp = (unsigned char *)PyBytes_AsString(rv); in audioop_lin2lin_impl()
1441 ncp = PyBytes_AsString(str); in audioop_ratecv_impl()
1459 len = (Py_ssize_t)(ncp - PyBytes_AsString(str)); in audioop_ratecv_impl()
[all …]
Dreadline.c189 errno = rl_read_init_file(PyBytes_AsString(filename_bytes)); in read_init_file()
215 errno = read_history(PyBytes_AsString(filename_bytes)); in read_history_file()
244 filename = PyBytes_AsString(filename_bytes); in write_history_file()
280 filename = PyBytes_AsString(filename_bytes); in append_history_file()
Dmain.c246 ret = PyRun_SimpleStringFlags(PyBytes_AsString(bytes), cf); in pymain_run_command()
365 filename_str = PyBytes_AsString(bytes); in pymain_run_file()
Dtermios.c201 mode.c_cc[i] = (cc_t) * PyBytes_AsString(v); in termios_tcsetattr()
D_posixsubprocess.c748 cwd = PyBytes_AsString(cwd_obj2); in subprocess_fork_exec()
D_localemodule.c672 dirname = PyBytes_AsString(dirname_bytes); in PyIntl_bindtextdomain()
/external/tensorflow/tensorflow/python/util/
Dstack_trace.cc31 return PyBytes_AsString(o); in GetPythonString()
36 return PyBytes_AsString(o); in GetPythonString()
Dutil.cc68 key = PyBytes_AsString(name); in RegisterPyObject()
/external/python/cpython2/Include/
Dbytesobject.h16 #define PyBytes_AsString PyString_AsString macro
/external/python/cpython3/Include/
Dbytesobject.h45 PyAPI_FUNC(char *) PyBytes_AsString(PyObject *);
/external/python/cpython3/Parser/pegen/
Dparse_string.c76 p = buf = PyBytes_AsString(u); in decode_unicode_with_escapes()
165 const char *s = PyBytes_AsString(t->bytes); in _PyPegen_parsestr()
296 char *parent_str = PyBytes_AsString(parent->bytes); in fstring_find_expr_location()
1043 const char* the_str = PyBytes_AsString(first_token->bytes); in make_str_node_and_del()
Dpegen.h193 char *bytes = PyBytes_AsString(tc->bytes); in NEW_TYPE_COMMENT()
Dpegen.c29 char *bytes = PyBytes_AsString(tc->bytes); in _PyPegen_add_type_comment_to_arg()
808 char* s = PyBytes_AsString(t->bytes); in _PyPegen_expect_soft_keyword()
840 char* s = PyBytes_AsString(t->bytes); in _PyPegen_name_token()
941 char *num_raw = PyBytes_AsString(t->bytes); in _PyPegen_number_token()
/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/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc81 PyBytes_Check(key) ? PyBytes_AsString(key) in PyArrayDescr_to_TF_DataType()
82 : PyBytes_AsString(PyUnicode_AsASCIIString(key)); in PyArrayDescr_to_TF_DataType()
/external/libxml2/python/
Dlibxml_wrap.h34 #define PyBytes_AsString PyString_AsString macro
Dlibxml.c296 data = PyBytes_AsString(ret); in xmlPythonFileReadRaw()
316 data = PyBytes_AsString(b); in xmlPythonFileReadRaw()
361 data = PyBytes_AsString(ret); in xmlPythonFileRead()
381 data = PyBytes_AsString(b); in xmlPythonFileRead()
3588 char* s = PyBytes_AsString in PystringSet_Convert()
/external/python/cpython3/Python/
Dcodecs.c1167 outp = (unsigned char*)PyBytes_AsString(res); in PyCodec_SurrogatePassErrors()
1307 outp = PyBytes_AsString(res); in PyCodec_SurrogateEscapeErrors()
/external/dtc/pylibfdt/
Dlibfdt.i1060 $1 = PyBytes_AsString($input);
/external/python/cpython3/PC/
Dpython3.def24 PyBytes_AsString=python39.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.cc757 const char* key = PyBytes_Check(py_key) ? PyBytes_AsString(py_key) in SetOpAttrs()
760 const char* key = PyBytes_AsString(py_key); in SetOpAttrs()
1073 return PyBytes_AsString(o); in TFE_GetPythonString()
1078 return PyBytes_AsString(o); in TFE_GetPythonString()
2494 *op_type_string = PyBytes_AsString(op_type);
Dpywrap_tensor.cc958 module = PyBytes_AsString(base_class_module.get()); in TFE_Py_InitEagerTensor()

12