• Home
  • Raw
  • Download

Lines Matching refs:PyObject

81 #define PyObject_HEAD                   PyObject ob_base;
108 } PyObject; typedef
111 #define _PyObject_CAST(op) ((PyObject*)(op))
114 PyObject ob_base;
140 typedef PyObject * (*unaryfunc)(PyObject *);
141 typedef PyObject * (*binaryfunc)(PyObject *, PyObject *);
142 typedef PyObject * (*ternaryfunc)(PyObject *, PyObject *, PyObject *);
143 typedef int (*inquiry)(PyObject *);
144 typedef Py_ssize_t (*lenfunc)(PyObject *);
145 typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t);
146 typedef PyObject *(*ssizessizeargfunc)(PyObject *, Py_ssize_t, Py_ssize_t);
147 typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *);
148 typedef int(*ssizessizeobjargproc)(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *);
149 typedef int(*objobjargproc)(PyObject *, PyObject *, PyObject *);
151 typedef int (*objobjproc)(PyObject *, PyObject *);
152 typedef int (*visitproc)(PyObject *, void *);
153 typedef int (*traverseproc)(PyObject *, visitproc, void *);
157 typedef void (*destructor)(PyObject *);
158 typedef PyObject *(*getattrfunc)(PyObject *, char *);
159 typedef PyObject *(*getattrofunc)(PyObject *, PyObject *);
160 typedef int (*setattrfunc)(PyObject *, char *, PyObject *);
161 typedef int (*setattrofunc)(PyObject *, PyObject *, PyObject *);
162 typedef PyObject *(*reprfunc)(PyObject *);
163 typedef Py_hash_t (*hashfunc)(PyObject *);
164 typedef PyObject *(*richcmpfunc) (PyObject *, PyObject *, int);
165 typedef PyObject *(*getiterfunc) (PyObject *);
166 typedef PyObject *(*iternextfunc) (PyObject *);
167 typedef PyObject *(*descrgetfunc) (PyObject *, PyObject *, PyObject *);
168 typedef int (*descrsetfunc) (PyObject *, PyObject *, PyObject *);
169 typedef int (*initproc)(PyObject *, PyObject *, PyObject *);
170 typedef PyObject *(*newfunc)(struct _typeobject *, PyObject *, PyObject *);
171 typedef PyObject *(*allocfunc)(struct _typeobject *, Py_ssize_t);
193 PyAPI_FUNC(PyObject*) PyType_FromSpec(PyType_Spec*);
195 PyAPI_FUNC(PyObject*) PyType_FromSpecWithBases(PyType_Spec*, PyObject*);
217 PyAPI_FUNC(PyObject *) PyType_GenericAlloc(struct _typeobject *, Py_ssize_t);
218 PyAPI_FUNC(PyObject *) PyType_GenericNew(struct _typeobject *,
219 PyObject *, PyObject *);
224 PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
225 PyAPI_FUNC(PyObject *) PyObject_Str(PyObject *);
226 PyAPI_FUNC(PyObject *) PyObject_ASCII(PyObject *);
227 PyAPI_FUNC(PyObject *) PyObject_Bytes(PyObject *);
228 PyAPI_FUNC(PyObject *) PyObject_RichCompare(PyObject *, PyObject *, int);
229 PyAPI_FUNC(int) PyObject_RichCompareBool(PyObject *, PyObject *, int);
230 PyAPI_FUNC(PyObject *) PyObject_GetAttrString(PyObject *, const char *);
231 PyAPI_FUNC(int) PyObject_SetAttrString(PyObject *, const char *, PyObject *);
232 PyAPI_FUNC(int) PyObject_HasAttrString(PyObject *, const char *);
233 PyAPI_FUNC(PyObject *) PyObject_GetAttr(PyObject *, PyObject *);
234 PyAPI_FUNC(int) PyObject_SetAttr(PyObject *, PyObject *, PyObject *);
235 PyAPI_FUNC(int) PyObject_HasAttr(PyObject *, PyObject *);
236 PyAPI_FUNC(PyObject *) PyObject_SelfIter(PyObject *);
237 PyAPI_FUNC(PyObject *) PyObject_GenericGetAttr(PyObject *, PyObject *);
238 PyAPI_FUNC(int) PyObject_GenericSetAttr(PyObject *,
239 PyObject *, PyObject *);
241 PyAPI_FUNC(int) PyObject_GenericSetDict(PyObject *, PyObject *, void *);
243 PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *);
244 PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
245 PyAPI_FUNC(int) PyObject_IsTrue(PyObject *);
246 PyAPI_FUNC(int) PyObject_Not(PyObject *);
247 PyAPI_FUNC(int) PyCallable_Check(PyObject *);
248 PyAPI_FUNC(void) PyObject_ClearWeakRefs(PyObject *);
255 PyAPI_FUNC(PyObject *) PyObject_Dir(PyObject *);
259 PyAPI_FUNC(int) Py_ReprEnter(PyObject *);
260 PyAPI_FUNC(void) Py_ReprLeave(PyObject *);
394 PyObject *op);
424 PyAPI_FUNC(int) _PyTraceMalloc_NewReference(PyObject *op);
428 PyAPI_FUNC(void) _Py_NewReference(PyObject *);
429 PyAPI_FUNC(void) _Py_ForgetReference(PyObject *);
432 PyAPI_FUNC(void) _Py_AddToAllObjects(PyObject *, int force);
436 static inline void _Py_NewReference(PyObject *op) in _Py_NewReference()
446 static inline void _Py_ForgetReference(PyObject *op) in _Py_ForgetReference()
454 PyAPI_FUNC(void) _Py_Dealloc(PyObject *);
456 static inline void _Py_INCREF(PyObject *op) in _Py_INCREF()
465 PyObject *op) in _Py_DECREF()
521 PyObject *_py_tmp = _PyObject_CAST(op); \
529 static inline void _Py_XINCREF(PyObject *op) in _Py_XINCREF()
538 static inline void _Py_XDECREF(PyObject *op) in _Py_XDECREF()
551 PyAPI_FUNC(void) Py_IncRef(PyObject *);
552 PyAPI_FUNC(void) Py_DecRef(PyObject *);
560 PyAPI_DATA(PyObject) _Py_NoneStruct; /* Don't use this directly */
570 PyAPI_DATA(PyObject) _Py_NotImplementedStruct; /* Don't use this directly */
706 PyAPI_FUNC(void) _PyTrash_thread_deposit_object(PyObject*);