Home
last modified time | relevance | path

Searched refs:py_obj (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp298 bool PythonBytes::Check(PyObject *py_obj) { in Check() argument
299 if (!py_obj) in Check()
301 return PyBytes_Check(py_obj); in Check()
343 bool PythonByteArray::Check(PyObject *py_obj) { in Check() argument
344 if (!py_obj) in Check()
346 return PyByteArray_Check(py_obj); in Check()
384 bool PythonString::Check(PyObject *py_obj) { in Check() argument
385 if (!py_obj) in Check()
388 if (PyUnicode_Check(py_obj)) in Check()
448 bool PythonInteger::Check(PyObject *py_obj) { in Check() argument
[all …]
H A DPythonDataObjects.h228 PythonObject(PyRefType type, PyObject *py_obj) {
229 m_py_obj = py_obj;
400 TypedPythonObject(PyRefType type, PyObject *py_obj) {
401 if (!py_obj)
403 if (T::Check(py_obj))
404 PythonObject::operator=(PythonObject(type, py_obj));
406 Py_DECREF(py_obj);
418 static bool Check(PyObject *py_obj);
436 static bool Check(PyObject *py_obj);
456 static bool Check(PyObject *py_obj);
[all …]