Lines Matching refs:stackTop
67 stackPushMalloc(Stack *stackTop, const XML_Content *model, unsigned level) { in stackPushMalloc() argument
74 newStackTop->prev = stackTop; in stackPushMalloc()
79 stackPopFree(Stack *stackTop) { in stackPopFree() argument
80 Stack *const newStackTop = stackTop->prev; in stackPopFree()
81 free(stackTop); in stackPopFree()
146 Stack *stackTop = stackPushMalloc(NULL, root, 1); in dumpContentModel() local
147 if (! stackTop) { in dumpContentModel()
151 while (stackTop) { in dumpContentModel()
152 const XML_Content *const model = stackTop->model; in dumpContentModel()
153 const unsigned level = stackTop->level; in dumpContentModel()
157 stackTop = stackPopFree(stackTop); in dumpContentModel()
161 = stackPushMalloc(stackTop, model->children + (u - 1), level + 1); in dumpContentModel()
165 while (stackTop != NULL) { in dumpContentModel()
166 stackTop = stackPopFree(stackTop); in dumpContentModel()
170 stackTop = newStackTop; in dumpContentModel()