Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
Dpycore_gc.h40 #define _PyGC_PREV_SHIFT (2) macro
41 #define _PyGC_PREV_MASK (((uintptr_t) -1) << _PyGC_PREV_SHIFT)
/third_party/python/Modules/
Dgcmodule.c92 return (Py_ssize_t)(g->_gc_prev >> _PyGC_PREV_SHIFT); in gc_get_refs()
99 | ((uintptr_t)(refs) << _PyGC_PREV_SHIFT); in gc_set_refs()
107 | ((uintptr_t)(refs) << _PyGC_PREV_SHIFT); in gc_reset_refs()
116 g->_gc_prev -= 1 << _PyGC_PREV_SHIFT; in gc_decref()