Lines Matching refs:var
65 #define CV(var) CVs[var] argument
74 should_free->var = z; in zend_pzval_unlock_func()
77 should_free->var = 0; in zend_pzval_unlock_func()
107 if (__t->var.ptr_ptr) { \
108 __t->var.ptr = *__t->var.ptr_ptr; \
109 __t->var.ptr_ptr = &__t->var.ptr; \
110 if (!PZVAL_IS_REF(__t->var.ptr) && \
111 Z_REFCOUNT_P(__t->var.ptr) > 2) { \
112 SEPARATE_ZVAL(__t->var.ptr_ptr); \
119 __t->var.ptr = (val); \
120 __t->var.ptr_ptr = &__t->var.ptr; \
124 if (should_free.var) { \
125 if ((zend_uintptr_t)should_free.var & 1L) { \
126 zval_dtor((zval*)((zend_uintptr_t)should_free.var & ~1L)); \
128 zval_ptr_dtor(&should_free.var); \
133 if (should_free.var != NULL && (((zend_uintptr_t)should_free.var & 1L) == 0)) { \
134 zval_ptr_dtor(&should_free.var); \
138 if (should_free.var) { \
139 zval_ptr_dtor(&should_free.var); \
144 #define IS_TMP_FREE(should_free) ((zend_uintptr_t)should_free.var & 1L)
170 …I zval** zend_get_compiled_variable_value(const zend_execute_data *execute_data_ptr, zend_uint var) in zend_get_compiled_variable_value() argument
172 return execute_data_ptr->CVs[var]; in zend_get_compiled_variable_value()
175 static zend_always_inline zval *_get_zval_ptr_tmp(zend_uint var, const temp_variable *Ts, zend_free… in _get_zval_ptr_tmp() argument
177 return should_free->var = &T(var).tmp_var; in _get_zval_ptr_tmp()
180 static zend_always_inline zval *_get_zval_ptr_var(zend_uint var, const temp_variable *Ts, zend_free… in _get_zval_ptr_var() argument
182 zval *ptr = T(var).var.ptr; in _get_zval_ptr_var()
188 static zend_never_inline zval **_get_zval_cv_lookup(zval ***ptr, zend_uint var, int type TSRMLS_DC) in _get_zval_cv_lookup() argument
190 zend_compiled_variable *cv = &CV_DEF_OF(var); in _get_zval_cv_lookup()
208 *ptr = (zval**)EG(current_execute_data)->CVs + (EG(active_op_array)->last_var + var); in _get_zval_cv_lookup()
219 static zend_never_inline zval **_get_zval_cv_lookup_BP_VAR_R(zval ***ptr, zend_uint var TSRMLS_DC) in _get_zval_cv_lookup_BP_VAR_R()
221 zend_compiled_variable *cv = &CV_DEF_OF(var); in _get_zval_cv_lookup_BP_VAR_R()
231 static zend_never_inline zval **_get_zval_cv_lookup_BP_VAR_UNSET(zval ***ptr, zend_uint var TSRMLS_… in _get_zval_cv_lookup_BP_VAR_UNSET()
233 zend_compiled_variable *cv = &CV_DEF_OF(var); in _get_zval_cv_lookup_BP_VAR_UNSET()
243 static zend_never_inline zval **_get_zval_cv_lookup_BP_VAR_IS(zval ***ptr, zend_uint var TSRMLS_DC) in _get_zval_cv_lookup_BP_VAR_IS()
245 zend_compiled_variable *cv = &CV_DEF_OF(var); in _get_zval_cv_lookup_BP_VAR_IS()
254 static zend_never_inline zval **_get_zval_cv_lookup_BP_VAR_RW(zval ***ptr, zend_uint var TSRMLS_DC) in _get_zval_cv_lookup_BP_VAR_RW()
256 zend_compiled_variable *cv = &CV_DEF_OF(var); in _get_zval_cv_lookup_BP_VAR_RW()
260 *ptr = (zval**)EG(current_execute_data)->CVs + (EG(active_op_array)->last_var + var); in _get_zval_cv_lookup_BP_VAR_RW()
271 static zend_never_inline zval **_get_zval_cv_lookup_BP_VAR_W(zval ***ptr, zend_uint var TSRMLS_DC) in _get_zval_cv_lookup_BP_VAR_W()
273 zend_compiled_variable *cv = &CV_DEF_OF(var); in _get_zval_cv_lookup_BP_VAR_W()
277 *ptr = (zval**)EG(current_execute_data)->CVs + (EG(active_op_array)->last_var + var); in _get_zval_cv_lookup_BP_VAR_W()
286 static zend_always_inline zval *_get_zval_ptr_cv(zend_uint var, int type TSRMLS_DC) in _get_zval_ptr_cv() argument
288 zval ***ptr = &CV_OF(var); in _get_zval_ptr_cv()
291 return *_get_zval_cv_lookup(ptr, var, type TSRMLS_CC); in _get_zval_ptr_cv()
296 static zend_always_inline zval *_get_zval_ptr_cv_BP_VAR_R(zval ***CVs, zend_uint var TSRMLS_DC) in _get_zval_ptr_cv_BP_VAR_R()
298 zval ***ptr = &CV(var); in _get_zval_ptr_cv_BP_VAR_R()
301 return *_get_zval_cv_lookup_BP_VAR_R(ptr, var TSRMLS_CC); in _get_zval_ptr_cv_BP_VAR_R()
306 static zend_always_inline zval *_get_zval_ptr_cv_BP_VAR_UNSET(zval ***CVs, zend_uint var TSRMLS_DC) in _get_zval_ptr_cv_BP_VAR_UNSET()
308 zval ***ptr = &CV(var); in _get_zval_ptr_cv_BP_VAR_UNSET()
311 return *_get_zval_cv_lookup_BP_VAR_UNSET(ptr, var TSRMLS_CC); in _get_zval_ptr_cv_BP_VAR_UNSET()
316 static zend_always_inline zval *_get_zval_ptr_cv_BP_VAR_IS(zval ***CVs, zend_uint var TSRMLS_DC) in _get_zval_ptr_cv_BP_VAR_IS()
318 zval ***ptr = &CV(var); in _get_zval_ptr_cv_BP_VAR_IS()
321 return *_get_zval_cv_lookup_BP_VAR_IS(ptr, var TSRMLS_CC); in _get_zval_ptr_cv_BP_VAR_IS()
326 static zend_always_inline zval *_get_zval_ptr_cv_BP_VAR_RW(zval ***CVs, zend_uint var TSRMLS_DC) in _get_zval_ptr_cv_BP_VAR_RW()
328 zval ***ptr = &CV(var); in _get_zval_ptr_cv_BP_VAR_RW()
331 return *_get_zval_cv_lookup_BP_VAR_RW(ptr, var TSRMLS_CC); in _get_zval_ptr_cv_BP_VAR_RW()
336 static zend_always_inline zval *_get_zval_ptr_cv_BP_VAR_W(zval ***CVs, zend_uint var TSRMLS_DC) in _get_zval_ptr_cv_BP_VAR_W()
338 zval ***ptr = &CV(var); in _get_zval_ptr_cv_BP_VAR_W()
341 return *_get_zval_cv_lookup_BP_VAR_W(ptr, var TSRMLS_CC); in _get_zval_ptr_cv_BP_VAR_W()
351 should_free->var = 0; in _get_zval_ptr()
355 should_free->var = TMP_FREE(&T(node->var).tmp_var); in _get_zval_ptr()
356 return &T(node->var).tmp_var; in _get_zval_ptr()
359 return _get_zval_ptr_var(node->var, Ts, should_free TSRMLS_CC); in _get_zval_ptr()
362 should_free->var = 0; in _get_zval_ptr()
366 should_free->var = 0; in _get_zval_ptr()
367 return _get_zval_ptr_cv(node->var, type TSRMLS_CC); in _get_zval_ptr()
374 static zend_always_inline zval **_get_zval_ptr_ptr_var(zend_uint var, const temp_variable *Ts, zend… in _get_zval_ptr_ptr_var() argument
376 zval** ptr_ptr = T(var).var.ptr_ptr; in _get_zval_ptr_ptr_var()
382 PZVAL_UNLOCK(T(var).str_offset.str, should_free); in _get_zval_ptr_ptr_var()
387 static zend_always_inline zval **_get_zval_ptr_ptr_cv(zend_uint var, int type TSRMLS_DC) in _get_zval_ptr_ptr_cv() argument
389 zval ***ptr = &CV_OF(var); in _get_zval_ptr_ptr_cv()
392 return _get_zval_cv_lookup(ptr, var, type TSRMLS_CC); in _get_zval_ptr_ptr_cv()
397 static zend_always_inline zval **_get_zval_ptr_ptr_cv_BP_VAR_R(zval ***CVs, zend_uint var TSRMLS_DC) in _get_zval_ptr_ptr_cv_BP_VAR_R()
399 zval ***ptr = &CV(var); in _get_zval_ptr_ptr_cv_BP_VAR_R()
402 return _get_zval_cv_lookup_BP_VAR_R(ptr, var TSRMLS_CC); in _get_zval_ptr_ptr_cv_BP_VAR_R()
407 static zend_always_inline zval **_get_zval_ptr_ptr_cv_BP_VAR_UNSET(zval ***CVs, zend_uint var TSRML… in _get_zval_ptr_ptr_cv_BP_VAR_UNSET()
409 zval ***ptr = &CV(var); in _get_zval_ptr_ptr_cv_BP_VAR_UNSET()
412 return _get_zval_cv_lookup_BP_VAR_UNSET(ptr, var TSRMLS_CC); in _get_zval_ptr_ptr_cv_BP_VAR_UNSET()
417 static zend_always_inline zval **_get_zval_ptr_ptr_cv_BP_VAR_IS(zval ***CVs, zend_uint var TSRMLS_D… in _get_zval_ptr_ptr_cv_BP_VAR_IS()
419 zval ***ptr = &CV(var); in _get_zval_ptr_ptr_cv_BP_VAR_IS()
422 return _get_zval_cv_lookup_BP_VAR_IS(ptr, var TSRMLS_CC); in _get_zval_ptr_ptr_cv_BP_VAR_IS()
427 static zend_always_inline zval **_get_zval_ptr_ptr_cv_BP_VAR_RW(zval ***CVs, zend_uint var TSRMLS_D… in _get_zval_ptr_ptr_cv_BP_VAR_RW()
429 zval ***ptr = &CV(var); in _get_zval_ptr_ptr_cv_BP_VAR_RW()
432 return _get_zval_cv_lookup_BP_VAR_RW(ptr, var TSRMLS_CC); in _get_zval_ptr_ptr_cv_BP_VAR_RW()
437 static zend_always_inline zval **_get_zval_ptr_ptr_cv_BP_VAR_W(zval ***CVs, zend_uint var TSRMLS_DC) in _get_zval_ptr_ptr_cv_BP_VAR_W()
439 zval ***ptr = &CV(var); in _get_zval_ptr_ptr_cv_BP_VAR_W()
442 return _get_zval_cv_lookup_BP_VAR_W(ptr, var TSRMLS_CC); in _get_zval_ptr_ptr_cv_BP_VAR_W()
450 should_free->var = 0; in _get_zval_ptr_ptr()
451 return _get_zval_ptr_ptr_cv(node->var, type TSRMLS_CC); in _get_zval_ptr_ptr()
453 return _get_zval_ptr_ptr_var(node->var, Ts, should_free TSRMLS_CC); in _get_zval_ptr_ptr()
455 should_free->var = 0; in _get_zval_ptr_ptr()
476 should_free->var = 0; in _get_obj_zval_ptr_ptr()
499 should_free->var = 0; in _get_obj_zval_ptr()
1112 result->var.ptr_ptr = retval; in zend_fetch_dimension_address()
1119 result->var.ptr_ptr = &EG(error_zval_ptr); in zend_fetch_dimension_address()
1132 result->var.ptr_ptr = &EG(uninitialized_zval_ptr); in zend_fetch_dimension_address()
1244 result->var.ptr_ptr = &EG(error_zval_ptr); in zend_fetch_dimension_address()
1361 result->var.ptr_ptr = &EG(error_zval_ptr); in zend_fetch_property_address()
1378 result->var.ptr_ptr = &EG(error_zval_ptr); in zend_fetch_property_address()
1397 result->var.ptr_ptr = ptr_ptr; in zend_fetch_property_address()
1407 result->var.ptr_ptr = &EG(error_zval_ptr); in zend_fetch_property_address()
1428 zval_ptr_dtor(&T(brk_opline->op1.var).var.ptr); in zend_brk_cont()
1433 zendi_zval_dtor(T(brk_opline->op1.var).tmp_var); in zend_brk_cont()
1479 …(*(temp_variable *)((char *) execute_data_ptr->Ts + execute_data_ptr->opline->result.var)).var.ptr; in execute_internal()