Home
last modified time | relevance | path

Searched refs:_PyObject_CAST (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Include/
Dodictobject.h30 #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)
Dobject.h111 #define _PyObject_CAST(op) ((PyObject*)(op)) macro
121 #define Py_REFCNT(ob) (_PyObject_CAST(ob)->ob_refcnt)
122 #define Py_TYPE(ob) (_PyObject_CAST(ob)->ob_type)
462 #define Py_INCREF(op) _Py_INCREF(_PyObject_CAST(op))
482 #define Py_DECREF(op) _Py_DECREF(__FILE__, __LINE__, _PyObject_CAST(op))
521 PyObject *_py_tmp = _PyObject_CAST(op); \
536 #define Py_XINCREF(op) _Py_XINCREF(_PyObject_CAST(op))
545 #define Py_XDECREF(op) _Py_XDECREF(_PyObject_CAST(op))
721 _PyTrash_thread_deposit_object(_PyObject_CAST(op)); \
Dobjimpl.h149 _PyObject_INIT(_PyObject_CAST(op), (typeobj))
269 int vret = visit(_PyObject_CAST(op), arg); \
/external/python/cpython3/Include/internal/
Dpycore_object.h48 _PyObject_GC_TRACK_impl(__FILE__, __LINE__, _PyObject_CAST(op))
76 _PyObject_GC_UNTRACK_impl(__FILE__, __LINE__, _PyObject_CAST(op))
/external/python/cpython3/Include/cpython/
Dobject.h373 PyObject *_py_tmp = _PyObject_CAST(op); \
380 PyObject *_py_tmp = _PyObject_CAST(op); \
Dunicodeobject.h269 ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
286 PyUnicode_AsUnicode(_PyObject_CAST(op)))
437 0 : _PyUnicode_Ready(_PyObject_CAST(op))))
/external/python/cpython3/Modules/
Dgcmodule.c378 _PyObject_ASSERT(_PyObject_CAST(parent), !_PyObject_IsFreed(op)); in visit_decref()
1930 PyObject *op = _PyObject_CAST(op_raw); in PyObject_GC_Track()
1942 PyObject *op = _PyObject_CAST(op_raw); in PyObject_GC_UnTrack()
D_threadmodule.c1192 PyObject *wr = _PyObject_CAST(wr_raw); in release_sentinel()
/external/python/cpython3/Python/
Dhamt.c378 PyObject *obj = _PyObject_CAST(obj_raw); in _hamt_node_array_validate()
/external/python/cpython3/Objects/
Dunicodeobject.c1250 PyObject *unicode = _PyObject_CAST(unicode_raw); in _PyUnicode_utf8()
1255 PyObject *unicode = _PyObject_CAST(unicode_raw); in _PyUnicode_compact_data()
1259 PyObject *unicode = _PyObject_CAST(unicode_raw); in _PyUnicode_data()