Home
last modified time | relevance | path

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

12

/third_party/python/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 …]
Dmain.c248 ret = PyRun_SimpleStringFlags(PyBytes_AsString(bytes), &cf); in pymain_run_command()
Dtermios.c200 mode.c_cc[i] = (cc_t) * PyBytes_AsString(v); in termios_tcsetattr_impl()
D_localemodule.c731 dirname = PyBytes_AsString(dirname_bytes); in _locale_bindtextdomain_impl()
D_posixsubprocess.c832 cwd = PyBytes_AsString(cwd_obj2); in subprocess_fork_exec()
D_cursesmodule.c235 value = (unsigned char)PyBytes_AsString(obj)[0]; in PyCurses_ConvertToChtype()
328 value = (unsigned char)PyBytes_AsString(obj)[0]; in PyCurses_ConvertToCchar_t()
Dmmapmodule.c971 buf = PyBytes_AsString(v); in mmap_ass_item()
/third_party/python/Include/
Dbytesobject.h42 PyAPI_FUNC(char *) PyBytes_AsString(PyObject *);
/third_party/python/Parser/
Dstring_parser.c71 p = buf = PyBytes_AsString(u); in decode_unicode_with_escapes()
160 const char *s = PyBytes_AsString(t->bytes); in _PyPegen_parsestr()
293 const char *parent_str = PyBytes_AsString(parent->bytes); in fstring_find_expr_location()
1034 const char* the_str = PyBytes_AsString(first_token->bytes); in make_str_node_and_del()
Dpegen.h217 const char *bytes = PyBytes_AsString(tc->bytes); in NEW_TYPE_COMMENT()
Dpegen.c29 const char *bytes = PyBytes_AsString(tc->bytes); in _PyPegen_add_type_comment_to_arg()
948 const char *s = PyBytes_AsString(t->bytes); in _PyPegen_expect_soft_keyword()
979 const char *s = PyBytes_AsString(t->bytes); in _PyPegen_name_from_token()
1105 const char *num_raw = PyBytes_AsString(t->bytes); in _PyPegen_number_token()
/third_party/python/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.
/third_party/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()
3589 char* s = PyBytes_AsString in PystringSet_Convert()
/third_party/boost/boost/mpi/python/
Dserialize.hpp406 char *data = PyBytes_AsString(bytes.ptr()); in save_impl()
/third_party/boost/libs/python/src/converter/
Dbuiltin_converters.cpp397 return std::string(PyBytes_AsString(intermediate),PyBytes_Size(intermediate)); in extract()
/third_party/python/Python/
Dcodecs.c1168 outp = (unsigned char*)PyBytes_AsString(res); in PyCodec_SurrogatePassErrors()
1308 outp = PyBytes_AsString(res); in PyCodec_SurrogateEscapeErrors()
/third_party/protobuf/python/google/protobuf/pyext/
Drepeated_scalar_container.cc54 (PyUnicode_Check(ob)? PyUnicode_AsUTF8(ob): PyBytes_AsString(ob))
/third_party/python/PC/
D_msi.c200 strncpy(pccab->szCab, PyBytes_AsString(result), sizeof(pccab->szCab)); in FNFCIGETNEXTCABINET()
Dpython3dll.c108 EXPORT_FUNC(PyBytes_AsString)
/third_party/python/Doc/data/
Dstable_abi.dat22 function,PyBytes_AsString,3.2,
/third_party/alsa-lib/modules/mixer/simple/
Dpython.c412 s = PyBytes_AsString(obj2); in enum_item_name_ops()
/third_party/python/Modules/_ctypes/
Dcallproc.c697 pa->value.p = PyBytes_AsString(obj); in ConvParam()
Dcfield.c1291 *(const char **)ptr = PyBytes_AsString(value); in z_set()
/third_party/python/Modules/_sqlite/
Dconnection.c94 database = PyBytes_AsString(database_obj); in pysqlite_connection_init()

12