Home
last modified time | relevance | path

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

/external/python/pyopenssl/tests/
Dmemdbg.py58 c_stack = _backtrace()
59 heap[memory] = [(n, python_stack, c_stack)]
70 c_stack = _backtrace()
72 old.append((n, python_stack, c_stack))
/external/python/cpython2/Python/
Dcompile.c145 PyObject *c_stack; /* Python list holding compiler_unit ptrs */ member
246 c->c_stack = PyList_New(0); in compiler_init()
247 if (!c->c_stack) in compiler_init()
322 Py_DECREF(c->c_stack); in compiler_free()
519 if (!capsule || PyList_Append(c->c_stack, capsule) < 0) { in compiler_enter_scope()
546 n = PyList_GET_SIZE(c->c_stack) - 1; in compiler_exit_scope()
548 capsule = PyList_GET_ITEM(c->c_stack, n); in compiler_exit_scope()
552 if (PySequence_DelItem(c->c_stack, n) < 0) in compiler_exit_scope()
/external/python/cpython3/Python/
Dcompile.c176 PyObject *c_stack; /* Python list holding compiler_unit ptrs */ member
308 c->c_stack = PyList_New(0); in compiler_init()
309 if (!c->c_stack) { in compiler_init()
417 Py_DECREF(c->c_stack); in compiler_free()
632 if (!capsule || PyList_Append(c->c_stack, capsule) < 0) { in compiler_enter_scope()
667 n = PyList_GET_SIZE(c->c_stack) - 1; in compiler_exit_scope()
669 capsule = PyList_GET_ITEM(c->c_stack, n); in compiler_exit_scope()
673 if (PySequence_DelItem(c->c_stack, n) < 0) in compiler_exit_scope()
692 stack_size = PyList_GET_SIZE(c->c_stack); in compiler_set_qualname()
699 capsule = PyList_GET_ITEM(c->c_stack, stack_size - 1); in compiler_set_qualname()