Home
last modified time | relevance | path

Searched refs:co_opcache (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Python/
Dceval.c1480 co_opcache = NULL; \
1481 if (co->co_opcache != NULL) { \
1486 co_opcache = &co->co_opcache[co_opcache_offset - 1]; \
1487 assert(co_opcache != NULL); \
1494 if (co_opcache != NULL) { \
1495 co_opcache->optimized = -1; \
1500 co_opcache = NULL; \
1506 if (co_opcache != NULL) { \
1514 if (co_opcache != NULL && --co_opcache->optimized <= 0) { \
1523 if (co->co_opcache != NULL) opcache_global_hits++; \
[all …]
/third_party/python/Objects/
Dcodeobject.c268 co->co_opcache = NULL; in PyCode_NewWithPosOnlyArgs()
315 co->co_opcache = (_PyOpcache *)PyMem_Calloc(opts, sizeof(_PyOpcache)); in _PyCode_InitOpcache()
316 if (co->co_opcache == NULL) { in _PyCode_InitOpcache()
324 co->co_opcache = NULL; in _PyCode_InitOpcache()
633 if (co->co_opcache != NULL) { in code_dealloc()
634 PyMem_Free(co->co_opcache); in code_dealloc()
688 if (co->co_opcache != NULL) { in code_sizeof()
/third_party/python/Include/cpython/
Dcode.h61 _PyOpcache *co_opcache; member