/external/python/cpython3/Lib/ctypes/test/ |
D | test_python_api.py | 30 pythonapi.PyBytes_FromString.restype = py_object 31 pythonapi.PyBytes_FromString.argtypes = (c_char_p,) 35 pyob = pythonapi.PyBytes_FromString(s)
|
/external/python/cpython2/Include/ |
D | bytesobject.h | 12 #define PyBytes_FromString PyString_FromString macro
|
/external/python/cpython3/Include/ |
D | bytesobject.h | 38 PyAPI_FUNC(PyObject *) PyBytes_FromString(const char *);
|
/external/python/cpython3/Modules/ |
D | _cursesmodule.c | 1457 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.c | 1346 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()
|
D | mmapmodule.c | 244 return PyBytes_FromString(""); in mmap_read_line_method()
|
D | _ssl.c | 4541 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/ |
D | pywrap_tensor.cc | 660 return PyBytes_FromString(device); in EagerTensor_device() 676 return PyBytes_FromString(device); in EagerTensor_backing_device()
|
/external/python/cpython3/Doc/c-api/ |
D | memory.rst | 64 res = PyBytes_FromString(buf); 567 res = PyBytes_FromString(buf); 579 res = PyBytes_FromString(buf);
|
D | bytes.rst | 37 .. c:function:: PyObject* PyBytes_FromString(const char *v)
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1316 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.c | 1632 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.c | 116 #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/ |
D | cporting.rst | 88 result = PyBytes_FromString(encoded);
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | ndarray_tensor.cc | 335 PyTuple_SetItem(field, 0, PyBytes_FromString("resource")); in GetPyArrayDescrForTensor()
|
/external/python/cpython3/PC/ |
D | python3.def | 32 PyBytes_FromString=python39.PyBytes_FromString
|
/external/python/cpython3/Objects/ |
D | codeobject.c | 332 emptystring = PyBytes_FromString(""); in PyCode_NewEmpty()
|
D | object.c | 534 return PyBytes_FromString("<NULL>"); in PyObject_Bytes()
|
D | bytesobject.c | 128 PyBytes_FromString(const char *str) in PyBytes_FromString() function
|
/external/python/pybind11/include/pybind11/detail/ |
D | common.h | 171 #define PYBIND11_BYTES_FROM_STRING PyBytes_FromString
|
/external/python/cpython2/Modules/_io/ |
D | textio.c | 504 buffer = PyBytes_FromString(""); in incrementalnewlinedecoder_getstate() 928 self->errors = PyBytes_FromString(errors); in textiowrapper_init()
|
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/ |
D | PythonDataObjectsTests.cpp | 224 PyObject *py_bytes = PyBytes_FromString(test_bytes); in TEST_F()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 132 PyBytes_FromString:PyObject*::+1: 133 PyBytes_FromString:const char*:v::
|
/external/python/cpython3/Modules/_io/ |
D | textio.c | 552 buffer = PyBytes_FromString(""); in _io_IncrementalNewlineDecoder_getstate_impl()
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 135 PyBytes_FromString(const char *str) in PyBytes_FromString() function
|