Lines Matching refs:top

167 	void **top;  member
178 EG(argument_stack)->end - EG(argument_stack)->top)) { \
186 page->top = ZEND_VM_STACK_ELEMETS(page); in zend_vm_stack_new_page()
187 page->end = page->top + count; in zend_vm_stack_new_page()
217 return EG(argument_stack)->top; in zend_vm_stack_top()
223 *(EG(argument_stack)->top++) = ptr; in zend_vm_stack_push()
228 *(EG(argument_stack)->top++) = ptr; in zend_vm_stack_push_nocheck()
233 void *el = *(--EG(argument_stack)->top); in zend_vm_stack_pop()
235 if (UNEXPECTED(EG(argument_stack)->top == ZEND_VM_STACK_ELEMETS(EG(argument_stack)))) { in zend_vm_stack_pop()
251 …int extra = (ZEND_MM_ALIGNMENT - ((zend_uintptr_t)EG(argument_stack)->top & (ZEND_MM_ALIGNMENT - 1… in zend_vm_stack_alloc()
254 (zend_uintptr_t)(EG(argument_stack)->end - EG(argument_stack)->top))) { in zend_vm_stack_alloc()
257 void **old_top = EG(argument_stack)->top; in zend_vm_stack_alloc()
259 EG(argument_stack)->top += extra; in zend_vm_stack_alloc()
261 *EG(argument_stack)->top = (void*)old_top; in zend_vm_stack_alloc()
262 EG(argument_stack)->top += ZEND_MM_ALIGNED_SIZE(sizeof(void*)) / sizeof(void*); in zend_vm_stack_alloc()
267 ret = (void*)EG(argument_stack)->top; in zend_vm_stack_alloc()
268 EG(argument_stack)->top += size; in zend_vm_stack_alloc()
280 EG(argument_stack)->top = (void**)ptr; in zend_vm_stack_free_int()
295 EG(argument_stack)->top = *(void***)ptr; in zend_vm_stack_free()
297 EG(argument_stack)->top = (void**)ptr; in zend_vm_stack_free()
305 if (UNEXPECTED(EG(argument_stack)->top - ZEND_VM_STACK_ELEMETS(EG(argument_stack)) < count) || in zend_vm_stack_push_args()
306 UNEXPECTED(EG(argument_stack)->top == EG(argument_stack)->end)) { in zend_vm_stack_push_args()
311 EG(argument_stack)->top += count; in zend_vm_stack_push_args()
312 *(EG(argument_stack)->top) = (void*)(zend_uintptr_t)count; in zend_vm_stack_push_args()
314 void *data = *(--p->top); in zend_vm_stack_push_args()
316 if (UNEXPECTED(p->top == ZEND_VM_STACK_ELEMETS(p))) { in zend_vm_stack_push_args()
325 return EG(argument_stack)->top++; in zend_vm_stack_push_args()
327 *(EG(argument_stack)->top) = (void*)(zend_uintptr_t)count; in zend_vm_stack_push_args()
328 return EG(argument_stack)->top++; in zend_vm_stack_push_args()
333 void **p = EG(argument_stack)->top - 1; in zend_vm_stack_clear_multiple()