Home
last modified time | relevance | path

Searched refs:PyBytes_FromString (Results 1 – 21 of 21) sorted by relevance

/third_party/python/Lib/ctypes/test/
Dtest_python_api.py30 pythonapi.PyBytes_FromString.restype = py_object
31 pythonapi.PyBytes_FromString.argtypes = (c_char_p,)
35 pyob = pythonapi.PyBytes_FromString(s)
/third_party/python/Include/
Dbytesobject.h35 PyAPI_FUNC(PyObject *) PyBytes_FromString(const char *);
/third_party/python/Modules/
D_cursesmodule.c1596 return PyBytes_FromString(rtn); in PyCursesWindow_GetStr()
1781 return PyBytes_FromString(rtn); in PyCursesWindow_InStr()
2636 return PyBytes_FromString(X()); }
3569 return PyBytes_FromString((knp == NULL) ? "" : knp); in _curses_keyname_impl()
4320 return PyBytes_FromString( capname ); in _curses_tigetstr_impl()
4357 return PyBytes_FromString(result); in _curses_tparm_impl()
4406 return PyBytes_FromString(unctrl(ch_)); in _curses_unctrl()
4788 v = PyBytes_FromString(PyCursesVersion); in PyInit__curses()
D_testcapimodule.c1476 return PyBytes_FromString(str); in getargs_s()
1508 return PyBytes_FromString(str); in getargs_z()
1549 return PyBytes_FromString(str); in getargs_y()
1629 result = PyBytes_FromString(str); in getargs_es()
1645 result = PyBytes_FromString(str); in getargs_et()
2088 return PyBytes_FromString(buffer); in unicode_asutf8()
2107 result = PyBytes_FromString(buffer); in unicode_asutf8andsize()
5271 res = PyBytes_FromString(str); in encode_locale_ex()
Dmmapmodule.c268 return PyBytes_FromString(""); in mmap_read_line_method()
D_ssl.c4387 servername_bytes = PyBytes_FromString(servername); in _servername_callback()
5205 target = PyBytes_FromString(tmp); } \ in _ssl_get_default_verify_paths_impl()
Dposixmodule.c13961 entry->path = PyBytes_FromString(joined_path); in DirEntry_from_posix_info()
/third_party/python/Doc/c-api/
Dbytes.rst37 .. c:function:: PyObject* PyBytes_FromString(const char *v)
Dmemory.rst64 res = PyBytes_FromString(buf);
680 res = PyBytes_FromString(buf);
692 res = PyBytes_FromString(buf);
/third_party/python/Doc/data/
Dstable_abi.dat30 function,PyBytes_FromString,3.2,
Drefcounts.dat132 PyBytes_FromString:PyObject*::+1:
133 PyBytes_FromString:const char*:v::
/third_party/python/PC/
Dpython3dll.c116 EXPORT_FUNC(PyBytes_FromString)
/third_party/python/Objects/
Dcodeobject.c340 emptystring = PyBytes_FromString(""); in PyCode_NewEmpty()
Dobject.c554 return PyBytes_FromString("<NULL>"); in PyObject_Bytes()
Dmemoryobject.c1980 format = PyBytes_FromString(fmt); in struct_get_unpacker()
Dbytesobject.c176 PyBytes_FromString(const char *str) in PyBytes_FromString() function
Dunicodeobject.c3843 PyObject *bytes = PyBytes_FromString(str); in unicode_encode_locale()
/third_party/python/Misc/
Dstable_abi.txt348 function PyBytes_FromString
/third_party/python/Modules/_io/
Dtextio.c553 buffer = PyBytes_FromString(""); in _io_IncrementalNewlineDecoder_getstate_impl()
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc1751 return PyBytes_FromString(""); in InternalSerializeToString()
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch303 PyAPI_FUNC(PyObject *) PyBytes_FromString(const char *);