Lines Matching refs:parent_stack
2082 ParentLocator *parent_stack; member
2099 Py_XDECREF(it->parent_stack[i].parent); in elementiter_dealloc()
2100 PyMem_Free(it->parent_stack); in elementiter_dealloc()
2113 Py_VISIT(it->parent_stack[i].parent); in elementiter_traverse()
2129 ParentLocator *parent_stack = it->parent_stack; in parent_stack_push_new() local
2130 PyMem_Resize(parent_stack, ParentLocator, new_size); in parent_stack_push_new()
2131 if (parent_stack == NULL) in parent_stack_push_new()
2133 it->parent_stack = parent_stack; in parent_stack_push_new()
2136 item = it->parent_stack + it->parent_stack_used++; in parent_stack_push_new()
2179 ParentLocator *item = &it->parent_stack[it->parent_stack_used - 1]; in elementiter_next()
2311 it->parent_stack = PyMem_New(ParentLocator, INIT_PARENT_STACK_SIZE); in create_elementiter()
2312 if (it->parent_stack == NULL) { in create_elementiter()