Lines Matching refs:zv
202 #define GC_FROM_WEAKMAP_KEY(zv) \ argument
203 (Z_TYPE_INFO_P((zv)) & (Z_FROM_WEAKMAP_KEY << Z_TYPE_INFO_EXTRA_SHIFT))
205 #define GC_SET_FROM_WEAKMAP_KEY(zv) do { \ argument
206 zval *_z = (zv); \
210 #define GC_UNSET_FROM_WEAKMAP_KEY(zv) do { \ argument
211 zval *_z = (zv); \
217 #define GC_FROM_WEAKMAP(zv) \ argument
218 (Z_TYPE_INFO_P((zv)) & (Z_FROM_WEAKMAP << Z_TYPE_INFO_EXTRA_SHIFT))
220 #define GC_SET_FROM_WEAKMAP(zv) do { \ argument
221 zval *_z = (zv); \
225 #define GC_UNSET_FROM_WEAKMAP(zv) do { \ argument
226 zval *_z = (zv); \
800 zval *zv; in gc_scan_black() local
815 zv = table; in gc_scan_black()
817 ZEND_ASSERT(Z_TYPE_P(zv) == IS_PTR); in gc_scan_black()
818 zval *entry = (zval*) Z_PTR_P(zv); in gc_scan_black()
819 zval *weakmap = zv+1; in gc_scan_black()
846 zv+=2; in gc_scan_black()
853 zv = table; in gc_scan_black()
855 ZEND_ASSERT(Z_TYPE_P(zv+1) == IS_PTR); in gc_scan_black()
856 zval *key = zv; in gc_scan_black()
857 zval *entry = (zval*) Z_PTR_P(zv+1); in gc_scan_black()
883 zv += 2; in gc_scan_black()
890 zv = table; in gc_scan_black()
896 if (Z_COLLECTABLE_P(zv)) { in gc_scan_black()
897 ref = Z_COUNTED_P(zv); in gc_scan_black()
904 zv++; in gc_scan_black()
912 if (Z_COLLECTABLE_P(zv)) { in gc_scan_black()
913 ref = Z_COUNTED_P(zv); in gc_scan_black()
917 zv++; in gc_scan_black()
919 if (Z_COLLECTABLE_P(zv)) { in gc_scan_black()
920 zend_refcounted *ref = Z_COUNTED_P(zv); in gc_scan_black()
927 zv++; in gc_scan_black()
932 zv++; in gc_scan_black()
940 zv = ht->arPacked; in gc_scan_black()
945 p = (Bucket*)zv; in gc_scan_black()
947 zv = &p->val; in gc_scan_black()
948 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_scan_black()
949 zv = Z_INDIRECT_P(zv); in gc_scan_black()
951 if (Z_COLLECTABLE_P(zv)) { in gc_scan_black()
952 ref = Z_COUNTED_P(zv); in gc_scan_black()
958 zv = &p->val; in gc_scan_black()
959 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_scan_black()
960 zv = Z_INDIRECT_P(zv); in gc_scan_black()
962 if (Z_COLLECTABLE_P(zv)) { in gc_scan_black()
963 zend_refcounted *ref = Z_COUNTED_P(zv); in gc_scan_black()
999 zval *zv; in gc_mark_grey() local
1016 zv = table; in gc_mark_grey()
1018 ZEND_ASSERT(Z_TYPE_P(zv) == IS_PTR); in gc_mark_grey()
1019 zval *entry = (zval*) Z_PTR_P(zv); in gc_mark_grey()
1020 zval *weakmap = zv+1; in gc_mark_grey()
1035 zv+=2; in gc_mark_grey()
1042 zv = table; in gc_mark_grey()
1044 ZEND_ASSERT(Z_TYPE_P(zv) == IS_PTR); in gc_mark_grey()
1045 zval *entry = (zval*) Z_PTR_P(zv); in gc_mark_grey()
1059 zv++; in gc_mark_grey()
1066 zv = table; in gc_mark_grey()
1072 if (Z_COLLECTABLE_P(zv)) { in gc_mark_grey()
1073 ref = Z_COUNTED_P(zv); in gc_mark_grey()
1080 zv++; in gc_mark_grey()
1087 if (Z_COLLECTABLE_P(zv)) { in gc_mark_grey()
1088 ref = Z_COUNTED_P(zv); in gc_mark_grey()
1092 zv++; in gc_mark_grey()
1094 if (Z_COLLECTABLE_P(zv)) { in gc_mark_grey()
1095 zend_refcounted *ref = Z_COUNTED_P(zv); in gc_mark_grey()
1102 zv++; in gc_mark_grey()
1107 zv++; in gc_mark_grey()
1116 zv = ht->arPacked; in gc_mark_grey()
1122 zv = &p->val; in gc_mark_grey()
1123 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_mark_grey()
1124 zv = Z_INDIRECT_P(zv); in gc_mark_grey()
1126 if (Z_COLLECTABLE_P(zv)) { in gc_mark_grey()
1127 ref = Z_COUNTED_P(zv); in gc_mark_grey()
1133 zv = &p->val; in gc_mark_grey()
1134 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_mark_grey()
1135 zv = Z_INDIRECT_P(zv); in gc_mark_grey()
1137 if (Z_COLLECTABLE_P(zv)) { in gc_mark_grey()
1138 zend_refcounted *ref = Z_COUNTED_P(zv); in gc_mark_grey()
1230 zval *zv; in gc_scan() local
1262 zv = table; in gc_scan()
1264 ZEND_ASSERT(Z_TYPE_P(zv) == IS_PTR); in gc_scan()
1265 zval *entry = (zval*) Z_PTR_P(zv); in gc_scan()
1273 zv++; in gc_scan()
1279 zv = table; in gc_scan()
1285 if (Z_COLLECTABLE_P(zv)) { in gc_scan()
1286 ref = Z_COUNTED_P(zv); in gc_scan()
1292 zv++; in gc_scan()
1300 if (Z_COLLECTABLE_P(zv)) { in gc_scan()
1301 ref = Z_COUNTED_P(zv); in gc_scan()
1304 zv++; in gc_scan()
1306 if (Z_COLLECTABLE_P(zv)) { in gc_scan()
1307 zend_refcounted *ref = Z_COUNTED_P(zv); in gc_scan()
1313 zv++; in gc_scan()
1318 zv++; in gc_scan()
1328 zv = ht->arPacked; in gc_scan()
1334 zv = &p->val; in gc_scan()
1335 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_scan()
1336 zv = Z_INDIRECT_P(zv); in gc_scan()
1338 if (Z_COLLECTABLE_P(zv)) { in gc_scan()
1339 ref = Z_COUNTED_P(zv); in gc_scan()
1344 zv = &p->val; in gc_scan()
1345 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_scan()
1346 zv = Z_INDIRECT_P(zv); in gc_scan()
1348 if (Z_COLLECTABLE_P(zv)) { in gc_scan()
1349 zend_refcounted *ref = Z_COUNTED_P(zv); in gc_scan()
1442 zval *zv; in gc_collect_white() local
1472 zv = table; in gc_collect_white()
1474 ZEND_ASSERT(Z_TYPE_P(zv) == IS_PTR); in gc_collect_white()
1475 zval *entry = (zval*) Z_PTR_P(zv); in gc_collect_white()
1486 zv++; in gc_collect_white()
1493 zv = table; in gc_collect_white()
1495 ZEND_ASSERT(Z_TYPE_P(zv) == IS_PTR); in gc_collect_white()
1496 zval *entry = (zval*) Z_PTR_P(zv); in gc_collect_white()
1507 zv++; in gc_collect_white()
1514 zv = table; in gc_collect_white()
1520 if (Z_COLLECTABLE_P(zv)) { in gc_collect_white()
1521 ref = Z_COUNTED_P(zv); in gc_collect_white()
1528 zv++; in gc_collect_white()
1536 if (Z_COLLECTABLE_P(zv)) { in gc_collect_white()
1537 ref = Z_COUNTED_P(zv); in gc_collect_white()
1541 zv++; in gc_collect_white()
1543 if (Z_COLLECTABLE_P(zv)) { in gc_collect_white()
1544 zend_refcounted *ref = Z_COUNTED_P(zv); in gc_collect_white()
1551 zv++; in gc_collect_white()
1556 zv++; in gc_collect_white()
1569 zv = ht->arPacked; in gc_collect_white()
1575 zv = &p->val; in gc_collect_white()
1576 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_collect_white()
1577 zv = Z_INDIRECT_P(zv); in gc_collect_white()
1579 if (Z_COLLECTABLE_P(zv)) { in gc_collect_white()
1580 ref = Z_COUNTED_P(zv); in gc_collect_white()
1586 zv = &p->val; in gc_collect_white()
1587 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_collect_white()
1588 zv = Z_INDIRECT_P(zv); in gc_collect_white()
1590 if (Z_COLLECTABLE_P(zv)) { in gc_collect_white()
1591 zend_refcounted *ref = Z_COUNTED_P(zv); in gc_collect_white()
1669 zval *zv; in gc_remove_nested_data_from_buffer() local
1703 zv = table; in gc_remove_nested_data_from_buffer()
1705 ZEND_ASSERT(Z_TYPE_P(zv) == IS_PTR); in gc_remove_nested_data_from_buffer()
1706 zval *entry = (zval*) Z_PTR_P(zv); in gc_remove_nested_data_from_buffer()
1711 zv++; in gc_remove_nested_data_from_buffer()
1717 zv = table; in gc_remove_nested_data_from_buffer()
1720 if (Z_COLLECTABLE_P(zv)) { in gc_remove_nested_data_from_buffer()
1721 ref = Z_COUNTED_P(zv); in gc_remove_nested_data_from_buffer()
1724 zv++; in gc_remove_nested_data_from_buffer()
1735 if (Z_COLLECTABLE_P(zv)) { in gc_remove_nested_data_from_buffer()
1736 ref = Z_COUNTED_P(zv); in gc_remove_nested_data_from_buffer()
1737 zv++; in gc_remove_nested_data_from_buffer()
1739 if (Z_COLLECTABLE_P(zv)) { in gc_remove_nested_data_from_buffer()
1740 zend_refcounted *ref = Z_COUNTED_P(zv); in gc_remove_nested_data_from_buffer()
1743 zv++; in gc_remove_nested_data_from_buffer()
1747 zv++; in gc_remove_nested_data_from_buffer()
1756 zv = ht->arPacked; in gc_remove_nested_data_from_buffer()
1762 zv = &p->val; in gc_remove_nested_data_from_buffer()
1763 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_remove_nested_data_from_buffer()
1764 zv = Z_INDIRECT_P(zv); in gc_remove_nested_data_from_buffer()
1766 if (Z_COLLECTABLE_P(zv)) { in gc_remove_nested_data_from_buffer()
1767 ref = Z_COUNTED_P(zv); in gc_remove_nested_data_from_buffer()
1770 zv = &p->val; in gc_remove_nested_data_from_buffer()
1771 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_remove_nested_data_from_buffer()
1772 zv = Z_INDIRECT_P(zv); in gc_remove_nested_data_from_buffer()
1774 if (Z_COLLECTABLE_P(zv)) { in gc_remove_nested_data_from_buffer()
1775 zend_refcounted *ref = Z_COUNTED_P(zv); in gc_remove_nested_data_from_buffer()