Lines Matching refs:top

146 	void **top;  member
157 EG(argument_stack)->end - EG(argument_stack)->top)) { \
165 page->top = ZEND_VM_STACK_ELEMETS(page); in zend_vm_stack_new_page()
166 page->end = page->top + count; in zend_vm_stack_new_page()
196 return EG(argument_stack)->top; in zend_vm_stack_top()
202 *(EG(argument_stack)->top++) = ptr; in zend_vm_stack_push()
207 *(EG(argument_stack)->top++) = ptr; in zend_vm_stack_push_nocheck()
212 void *el = *(--EG(argument_stack)->top); in zend_vm_stack_pop()
214 if (UNEXPECTED(EG(argument_stack)->top == ZEND_VM_STACK_ELEMETS(EG(argument_stack)))) { in zend_vm_stack_pop()
230 …int extra = (ZEND_MM_ALIGNMENT - ((zend_uintptr_t)EG(argument_stack)->top & (ZEND_MM_ALIGNMENT - 1… in zend_vm_stack_alloc()
233 (zend_uintptr_t)(EG(argument_stack)->end - EG(argument_stack)->top))) { in zend_vm_stack_alloc()
236 void **old_top = EG(argument_stack)->top; in zend_vm_stack_alloc()
238 EG(argument_stack)->top += extra; in zend_vm_stack_alloc()
240 *EG(argument_stack)->top = (void*)old_top; in zend_vm_stack_alloc()
241 EG(argument_stack)->top += ZEND_MM_ALIGNED_SIZE(sizeof(void*)) / sizeof(void*); in zend_vm_stack_alloc()
246 ret = (void*)EG(argument_stack)->top; in zend_vm_stack_alloc()
247 EG(argument_stack)->top += size; in zend_vm_stack_alloc()
259 EG(argument_stack)->top = (void**)ptr; in zend_vm_stack_free_int()
274 EG(argument_stack)->top = *(void***)ptr; in zend_vm_stack_free()
276 EG(argument_stack)->top = (void**)ptr; in zend_vm_stack_free()
284 if (UNEXPECTED(EG(argument_stack)->top - ZEND_VM_STACK_ELEMETS(EG(argument_stack)) < count) || in zend_vm_stack_push_args()
285 UNEXPECTED(EG(argument_stack)->top == EG(argument_stack)->end)) { in zend_vm_stack_push_args()
290 EG(argument_stack)->top += count; in zend_vm_stack_push_args()
291 *(EG(argument_stack)->top) = (void*)(zend_uintptr_t)count; in zend_vm_stack_push_args()
293 void *data = *(--p->top); in zend_vm_stack_push_args()
295 if (UNEXPECTED(p->top == ZEND_VM_STACK_ELEMETS(p))) { in zend_vm_stack_push_args()
304 return EG(argument_stack)->top++; in zend_vm_stack_push_args()
306 *(EG(argument_stack)->top) = (void*)(zend_uintptr_t)count; in zend_vm_stack_push_args()
307 return EG(argument_stack)->top++; in zend_vm_stack_push_args()
312 void **p = EG(argument_stack)->top - 1; in zend_vm_stack_clear_multiple()