Lines Matching refs:EG

66 	if (p!=EG(uninitialized_zval_ptr)) {  in safe_free_zval_ptr_rel()
85 if (zval_ptr != &EG(uninitialized_zval)) { in i_zval_ptr_dtor()
178 EG(argument_stack)->end - EG(argument_stack)->top)) { \
194 EG(argument_stack) = zend_vm_stack_new_page(ZEND_VM_STACK_PAGE_SIZE); in zend_vm_stack_init()
199 zend_vm_stack stack = EG(argument_stack); in zend_vm_stack_destroy()
211 p->prev = EG(argument_stack); in zend_vm_stack_extend()
212 EG(argument_stack) = p; in zend_vm_stack_extend()
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()
236 zend_vm_stack p = EG(argument_stack); in zend_vm_stack_pop()
237 EG(argument_stack) = p->prev; 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()
274 if (UNEXPECTED(ZEND_VM_STACK_ELEMETS(EG(argument_stack)) == (void**)ptr)) { in zend_vm_stack_free_int()
275 zend_vm_stack p = EG(argument_stack); in zend_vm_stack_free_int()
277 EG(argument_stack) = p->prev; in zend_vm_stack_free_int()
280 EG(argument_stack)->top = (void**)ptr; in zend_vm_stack_free_int()
286 if (UNEXPECTED(ZEND_VM_STACK_ELEMETS(EG(argument_stack)) == (void**)ptr)) { in zend_vm_stack_free()
287 zend_vm_stack p = EG(argument_stack); in zend_vm_stack_free()
289 EG(argument_stack) = p->prev; in zend_vm_stack_free()
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()
307 zend_vm_stack p = EG(argument_stack); 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()
319 EG(argument_stack)->prev = p->prev; in zend_vm_stack_push_args()
323 *(ZEND_VM_STACK_ELEMETS(EG(argument_stack)) + count) = data; 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()
346 void **p = EG(current_execute_data)->prev_execute_data->function_state.arguments; in zend_vm_stack_get_arg()
403 #define active_opline (*EG(opline_ptr))
435 EG(active_op_array)->run_time_cache[(num)]
438 EG(active_op_array)->run_time_cache[(num)] = (ptr); \
442 ((EG(active_op_array)->run_time_cache[(num)] == (ce)) ? \
443 EG(active_op_array)->run_time_cache[(num) + 1] : \
447 EG(active_op_array)->run_time_cache[(num)] = (ce); \
448 EG(active_op_array)->run_time_cache[(num) + 1] = (ptr); \