Searched refs:NullTerminated (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
H A D | PythonDataObjects.cpp | 716 PyObject *o = PyDict_GetItemString(m_py_obj, NullTerminated(key)); in GetItem() 738 int r = PyDict_SetItemString(m_py_obj, NullTerminated(key), value.get()); in SetItem() 775 PyObject *mod = PyImport_ImportModule(NullTerminated(name)); in Import() 787 PyObject *item = PyDict_GetItemString(dict, NullTerminated(name)); in Get() 1493 Py_CompileString(NullTerminated(string), "<string>", Py_eval_input); in runStringOneLine() 1497 Py_CompileString(NullTerminated(string), "<string>", Py_single_input); in runStringOneLine() 1517 PyObject *result = PyRun_String(NullTerminated(string), Py_file_input, in runStringMultiLine()
|
H A D | PythonDataObjects.h | 158 class NullTerminated { 163 NullTerminated(const llvm::Twine &twine) { in NullTerminated() function 342 PyObject *obj = PyObject_GetAttrString(m_py_obj, NullTerminated(name));
|