Lines Matching refs:zval
84 typedef struct _zval_struct zval; typedef
98 typedef void (*dtor_func_t)(zval *pDest);
99 typedef void (*copy_ctor_func_t)(zval *pElement);
111 zval *zv;
169 zval val;
281 zval properties_table[1];
293 zval val;
326 static zend_always_inline zend_uchar zval_get_type(const zval* pz) { in zval_get_type()
336 #define Z_TYPE(zval) zval_get_type(&(zval)) argument
339 #define Z_TYPE_FLAGS(zval) (zval).u1.v.type_flags argument
342 #define Z_CONST_FLAGS(zval) (zval).u1.v.const_flags argument
345 #define Z_VAR_FLAGS(zval) (zval).u2.var_flags argument
348 #define Z_TYPE_INFO(zval) (zval).u1.type_info argument
351 #define Z_NEXT(zval) (zval).u2.next argument
354 #define Z_CACHE_SLOT(zval) (zval).u2.cache_slot argument
357 #define Z_FE_POS(zval) (zval).u2.fe_pos argument
360 #define Z_FE_ITER(zval) (zval).u2.fe_iter_idx argument
363 #define Z_COUNTED(zval) (zval).value.counted argument
377 #define Z_GC_TYPE(zval) GC_TYPE(Z_COUNTED(zval)) argument
380 #define Z_GC_FLAGS(zval) GC_FLAGS(Z_COUNTED(zval)) argument
383 #define Z_GC_INFO(zval) GC_INFO(Z_COUNTED(zval)) argument
386 #define Z_GC_TYPE_INFO(zval) GC_TYPE_INFO(Z_COUNTED(zval)) argument
437 #define Z_OBJ_APPLY_COUNT(zval) \ argument
438 (Z_GC_FLAGS(zval) & IS_OBJ_APPLY_COUNT)
440 #define Z_OBJ_INC_APPLY_COUNT(zval) do { \ argument
441 Z_GC_FLAGS(zval) = \
442 (Z_GC_FLAGS(zval) & ~IS_OBJ_APPLY_COUNT) | \
443 ((Z_GC_FLAGS(zval) & IS_OBJ_APPLY_COUNT) + 1); \
446 #define Z_OBJ_DEC_APPLY_COUNT(zval) do { \ argument
447 Z_GC_FLAGS(zval) = \
448 (Z_GC_FLAGS(zval) & ~IS_OBJ_APPLY_COUNT) | \
449 ((Z_GC_FLAGS(zval) & IS_OBJ_APPLY_COUNT) - 1); \
457 #define Z_CONSTANT(zval) ((Z_TYPE_FLAGS(zval) & IS_TYPE_CONSTANT) != 0) argument
460 #define Z_REFCOUNTED(zval) ((Z_TYPE_FLAGS(zval) & IS_TYPE_REFCOUNTED) != 0) argument
463 #define Z_COLLECTABLE(zval) ((Z_TYPE_FLAGS(zval) & IS_TYPE_COLLECTABLE) != 0) argument
466 #define Z_COPYABLE(zval) ((Z_TYPE_FLAGS(zval) & IS_TYPE_COPYABLE) != 0) argument
469 #define Z_IMMUTABLE(zval) ((Z_TYPE_FLAGS(zval) & IS_TYPE_IMMUTABLE) != 0) argument
472 #define Z_SYMBOLTABLE(zval) ((Z_TYPE_FLAGS(zval) & IS_TYPE_SYMBOLTABLE) != 0) argument
476 #define Z_OPT_TYPE(zval) (Z_TYPE_INFO(zval) & Z_TYPE_MASK) argument
479 #define Z_OPT_CONSTANT(zval) ((Z_TYPE_INFO(zval) & (IS_TYPE_CONSTANT << Z_TYPE_FLAGS_SHIFT)) != 0) argument
482 #define Z_OPT_REFCOUNTED(zval) ((Z_TYPE_INFO(zval) & (IS_TYPE_REFCOUNTED << Z_TYPE_FLAGS_SHIFT)) !… argument
485 #define Z_OPT_COLLECTABLE(zval) ((Z_TYPE_INFO(zval) & (IS_TYPE_COLLECTABLE << Z_TYPE_FLAGS_SHIFT))… argument
488 #define Z_OPT_COPYABLE(zval) ((Z_TYPE_INFO(zval) & (IS_TYPE_COPYABLE << Z_TYPE_FLAGS_SHIFT)) != 0) argument
491 #define Z_OPT_IMMUTABLE(zval) ((Z_TYPE_INFO(zval) & (IS_TYPE_IMMUTABLE << Z_TYPE_FLAGS_SHIFT)) != … argument
494 #define Z_OPT_ISREF(zval) (Z_OPT_TYPE(zval) == IS_REFERENCE) argument
497 #define Z_ISREF(zval) (Z_TYPE(zval) == IS_REFERENCE) argument
500 #define Z_ISUNDEF(zval) (Z_TYPE(zval) == IS_UNDEF) argument
503 #define Z_ISNULL(zval) (Z_TYPE(zval) == IS_NULL) argument
506 #define Z_LVAL(zval) (zval).value.lval argument
509 #define Z_DVAL(zval) (zval).value.dval argument
512 #define Z_STR(zval) (zval).value.str argument
515 #define Z_STRVAL(zval) ZSTR_VAL(Z_STR(zval)) argument
518 #define Z_STRLEN(zval) ZSTR_LEN(Z_STR(zval)) argument
521 #define Z_STRHASH(zval) ZSTR_HASH(Z_STR(zval)) argument
524 #define Z_ARR(zval) (zval).value.arr argument
527 #define Z_ARRVAL(zval) Z_ARR(zval) argument
530 #define Z_OBJ(zval) (zval).value.obj argument
533 #define Z_OBJ_HT(zval) Z_OBJ(zval)->handlers argument
536 #define Z_OBJ_HANDLER(zval, hf) Z_OBJ_HT((zval))->hf argument
539 #define Z_OBJ_HANDLE(zval) (Z_OBJ((zval)))->handle argument
542 #define Z_OBJCE(zval) (Z_OBJ(zval)->ce) argument
545 #define Z_OBJPROP(zval) Z_OBJ_HT((zval))->get_properties(&(zval)) argument
548 …zval,tmp) (Z_OBJ_HANDLER((zval),get_debug_info)?Z_OBJ_HANDLER((zval),get_debug_info)(&(zval),&tmp… argument
551 #define Z_RES(zval) (zval).value.res argument
554 #define Z_RES_HANDLE(zval) Z_RES(zval)->handle argument
557 #define Z_RES_TYPE(zval) Z_RES(zval)->type argument
560 #define Z_RES_VAL(zval) Z_RES(zval)->ptr argument
563 #define Z_REF(zval) (zval).value.ref argument
566 #define Z_REFVAL(zval) &Z_REF(zval)->val argument
569 #define Z_AST(zval) (zval).value.ast argument
572 #define Z_ASTVAL(zval) (zval).value.ast->ast argument
575 #define Z_INDIRECT(zval) (zval).value.zv argument
578 #define Z_CE(zval) (zval).value.ce argument
581 #define Z_FUNC(zval) (zval).value.func argument
584 #define Z_PTR(zval) (zval).value.ptr argument
609 zval *__z = (z); \
615 zval *__z = (z); \
621 zval *__z = (z); \
631 zval *__z = (z); \
638 zval *__z = (z); \
645 zval *__z = (z); \
658 zval *__z = (z); \
664 zval *__z = (z); \
672 zval *__z = (z); \
680 zval *__z = (z); \
686 zval *__z = (z); \
694 zval *__z; \
708 zval *__z; \
720 zval *__z = (z); \
755 zval *__z = (z); \
810 static zend_always_inline uint32_t zval_refcount_p(zval* pz) { in zval_refcount_p()
815 static zend_always_inline uint32_t zval_set_refcount_p(zval* pz, uint32_t rc) { in zval_set_refcount_p()
820 static zend_always_inline uint32_t zval_addref_p(zval* pz) { in zval_addref_p()
825 static zend_always_inline uint32_t zval_delref_p(zval* pz) { in zval_delref_p()
850 zval *_z1 = (z); \
851 const zval *_z2 = (v); \
859 zval *_z1 = (z); \
860 const zval *_z2 = (v); \
871 zval *_z1 = (z); \
872 const zval *_z2 = (v); \
898 zval *__zv = (zv); \
905 zval *_z = (z); \
914 zval *_zv = (zv); \
924 zval *_zv = (zv); \
935 zval *_zv = (zv); \
949 zval *_zv = (zv); \
968 zval *_zv = (zv); \