Home
last modified time | relevance | path

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

12

/external/python/cpython3/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)
/external/python/cpython2/Include/
Dbytesobject.h12 #define PyBytes_FromString PyString_FromString macro
/external/python/cpython3/Include/
Dbytesobject.h38 PyAPI_FUNC(PyObject *) PyBytes_FromString(const char *);
/external/python/cpython3/Modules/
D_cursesmodule.c1457 return PyBytes_FromString(rtn); in PyCursesWindow_GetStr()
1642 return PyBytes_FromString(rtn); in PyCursesWindow_InStr()
2497 return PyBytes_FromString(X()); }
3417 return PyBytes_FromString((knp == NULL) ? "" : knp); in _curses_keyname_impl()
4161 return PyBytes_FromString( capname ); in _curses_tigetstr_impl()
4198 return PyBytes_FromString(result); in _curses_tparm_impl()
4247 return PyBytes_FromString(unctrl(ch_)); in _curses_unctrl()
4592 v = PyBytes_FromString(PyCursesVersion); in PyInit__curses()
D_testcapimodule.c1346 return PyBytes_FromString(str); in getargs_s()
1378 return PyBytes_FromString(str); in getargs_z()
1419 return PyBytes_FromString(str); in getargs_y()
1499 result = PyBytes_FromString(str); in getargs_es()
1515 result = PyBytes_FromString(str); in getargs_et()
1950 return PyBytes_FromString(buffer); in unicode_asutf8()
1969 result = PyBytes_FromString(buffer); in unicode_asutf8andsize()
5086 res = PyBytes_FromString(str); in encode_locale_ex()
Dmmapmodule.c244 return PyBytes_FromString(""); in mmap_read_line_method()
D_ssl.c4541 servername_bytes = PyBytes_FromString(servername); in _servername_callback()
5452 target = PyBytes_FromString(tmp); } \ in _ssl_get_default_verify_paths_impl()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc660 return PyBytes_FromString(device); in EagerTensor_device()
676 return PyBytes_FromString(device); in EagerTensor_backing_device()
/external/python/cpython3/Doc/c-api/
Dmemory.rst64 res = PyBytes_FromString(buf);
567 res = PyBytes_FromString(buf);
579 res = PyBytes_FromString(buf);
Dbytes.rst37 .. c:function:: PyObject* PyBytes_FromString(const char *v)
/external/python/cpython2/Modules/
D_testcapimodule.c1316 return PyBytes_FromString(str); in getargs_s()
1358 return PyBytes_FromString(str); in getargs_z()
1493 result = PyBytes_FromString(str); in getargs_es()
1509 result = PyBytes_FromString(str); in getargs_et()
D_ssl.c1632 return PyBytes_FromString(short_name); in PySSL_compression()
3254 servername_o = PyBytes_FromString(servername); in _servername_callback()
3651 else { target = PyBytes_FromString(tmp); } \ in PySSL_get_default_verify_paths()
D_bsddb.c116 #define PyBytes_FromString PyString_FromString macro
3256 return PyBytes_FromString(source); in DB_get_re_source()
5721 item = PyBytes_FromString (*(dirpp+i)); in DBEnv_get_data_dirs()
5824 return PyBytes_FromString(dirp); in DBEnv_get_lg_dir()
6129 return PyBytes_FromString(dirpp); in DBEnv_get_tmp_dir()
6781 item = PyBytes_FromString (*log_list); in DBEnv_log_archive()
9162 return PyBytes_FromString(home); in DBEnv_db_home_get()
/external/python/cpython2/Doc/howto/
Dcporting.rst88 result = PyBytes_FromString(encoded);
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor.cc335 PyTuple_SetItem(field, 0, PyBytes_FromString("resource")); in GetPyArrayDescrForTensor()
/external/python/cpython3/PC/
Dpython3.def32 PyBytes_FromString=python39.PyBytes_FromString
/external/python/cpython3/Objects/
Dcodeobject.c332 emptystring = PyBytes_FromString(""); in PyCode_NewEmpty()
Dobject.c534 return PyBytes_FromString("<NULL>"); in PyObject_Bytes()
Dbytesobject.c128 PyBytes_FromString(const char *str) in PyBytes_FromString() function
/external/python/pybind11/include/pybind11/detail/
Dcommon.h171 #define PYBIND11_BYTES_FROM_STRING PyBytes_FromString
/external/python/cpython2/Modules/_io/
Dtextio.c504 buffer = PyBytes_FromString(""); in incrementalnewlinedecoder_getstate()
928 self->errors = PyBytes_FromString(errors); in textiowrapper_init()
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/
DPythonDataObjectsTests.cpp224 PyObject *py_bytes = PyBytes_FromString(test_bytes); in TEST_F()
/external/python/cpython3/Doc/data/
Drefcounts.dat132 PyBytes_FromString:PyObject*::+1:
133 PyBytes_FromString:const char*:v::
/external/python/cpython3/Modules/_io/
Dtextio.c552 buffer = PyBytes_FromString(""); in _io_IncrementalNewlineDecoder_getstate_impl()
/external/python/cpython2/Objects/
Dbytesobject.c135 PyBytes_FromString(const char *str) in PyBytes_FromString() function

12