Lines Matching defs:ob
123 #define Py_REFCNT(ob) (_PyObject_CAST(ob)->ob_refcnt) argument
124 #define Py_TYPE(ob) (_PyObject_CAST(ob)->ob_type) argument
125 #define Py_SIZE(ob) (_PyVarObject_CAST(ob)->ob_size) argument
127 static inline int _Py_IS_TYPE(const PyObject *ob, const PyTypeObject *type) { in _Py_IS_TYPE()
130 #define Py_IS_TYPE(ob, type) _Py_IS_TYPE(_PyObject_CAST_CONST(ob), type) argument
132 static inline void _Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) { in _Py_SET_REFCNT()
135 #define Py_SET_REFCNT(ob, refcnt) _Py_SET_REFCNT(_PyObject_CAST(ob), refcnt) argument
137 static inline void _Py_SET_TYPE(PyObject *ob, PyTypeObject *type) { in _Py_SET_TYPE()
140 #define Py_SET_TYPE(ob, type) _Py_SET_TYPE(_PyObject_CAST(ob), type) argument
142 static inline void _Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) { in _Py_SET_SIZE()
145 #define Py_SET_SIZE(ob, size) _Py_SET_SIZE(_PyVarObject_CAST(ob), size) argument
224 #define PyObject_TypeCheck(ob, tp) \ argument