Searched refs:_PyObject_CAST (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Include/ |
D | object.h | 112 #define _PyObject_CAST(op) ((PyObject*)(op)) macro 137 #define Py_TYPE(ob) (_PyObject_CAST(ob)->ob_type) 154 #define Py_SET_REFCNT(ob, refcnt) _Py_SET_REFCNT(_PyObject_CAST(ob), refcnt) 160 #define Py_SET_TYPE(ob, type) _Py_SET_TYPE(_PyObject_CAST(ob), type) 249 #define PyObject_TypeCheck(ob, type) _PyObject_TypeCheck(_PyObject_CAST(ob), type) 475 #define Py_INCREF(op) _Py_INCREF(_PyObject_CAST(op)) 505 # define Py_DECREF(op) _Py_DECREF(__FILE__, __LINE__, _PyObject_CAST(op)) 507 # define Py_DECREF(op) _Py_DECREF(_PyObject_CAST(op)) 547 PyObject *_py_tmp = _PyObject_CAST(op); \ 562 #define Py_XINCREF(op) _Py_XINCREF(_PyObject_CAST(op)) [all …]
|
D | objimpl.h | 126 PyObject_Init(_PyObject_CAST(op), (typeobj)) 200 int vret = visit(_PyObject_CAST(op), arg); \
|
/external/python/cpython3/Include/cpython/ |
D | odictobject.h | 30 #define PyODict_GetItem(od, key) PyDict_GetItem(_PyObject_CAST(od), key) 32 PyDict_GetItemWithError(_PyObject_CAST(od), key) 33 #define PyODict_Contains(od, key) PyDict_Contains(_PyObject_CAST(od), key) 34 #define PyODict_Size(od) PyDict_Size(_PyObject_CAST(od)) 36 PyDict_GetItemString(_PyObject_CAST(od), key)
|
D | object.h | 368 PyObject *_py_tmp = _PyObject_CAST(op); \ 375 PyObject *_py_tmp = _PyObject_CAST(op); \ 534 if (_PyTrash_begin(_tstate, _PyObject_CAST(op))) { \ 547 _PyTrash_cond(_PyObject_CAST(op), (destructor)dealloc))
|
D | unicodeobject.h | 262 ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ 279 PyUnicode_AsUnicode(_PyObject_CAST(op))) 430 0 : _PyUnicode_Ready(_PyObject_CAST(op))))
|
/external/python/cpython3/Include/internal/ |
D | pycore_object.h | 134 _PyObject_GC_TRACK(_PyObject_CAST(op)) 136 _PyObject_GC_UNTRACK(_PyObject_CAST(op)) 139 _PyObject_GC_TRACK(__FILE__, __LINE__, _PyObject_CAST(op)) 141 _PyObject_GC_UNTRACK(__FILE__, __LINE__, _PyObject_CAST(op))
|
/external/python/cpython3/Modules/ |
D | gcmodule.c | 454 _PyObject_ASSERT(_PyObject_CAST(parent), !_PyObject_IsFreed(op)); in visit_decref() 2209 PyObject *parent = _PyObject_CAST(parent_raw); in visit_validate() 2225 PyObject *op = _PyObject_CAST(op_raw); in PyObject_GC_Track() 2244 PyObject *op = _PyObject_CAST(op_raw); in PyObject_GC_UnTrack()
|
D | _threadmodule.c | 1296 PyObject *wr = _PyObject_CAST(wr_raw); in release_sentinel()
|
/external/python/cpython3/Python/ |
D | hamt.c | 378 PyObject *obj = _PyObject_CAST(obj_raw); in _hamt_node_array_validate()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 1330 PyObject *unicode = _PyObject_CAST(unicode_raw); in _PyUnicode_utf8() 1335 PyObject *unicode = _PyObject_CAST(unicode_raw); in _PyUnicode_compact_data() 1339 PyObject *unicode = _PyObject_CAST(unicode_raw); in _PyUnicode_data()
|