Lines Matching refs:rval

116 static inline void var_push(php_unserialize_data_t *var_hashx, zval *rval)
120 …tf(stderr, "var_push(" ZEND_LONG_FMT "): %d\n", var_hash?var_hash->used_slots:-1L, Z_TYPE_P(rval));
132 var_hash->data[var_hash->used_slots++] = rval;
135 PHPAPI void var_push_dtor(php_unserialize_data_t *var_hashx, zval *rval)
137 if (Z_REFCOUNTED_P(rval)) {
142 ZVAL_COPY(tmp_var, rval);
146 static zend_never_inline void var_push_dtor_value(php_unserialize_data_t *var_hashx, zval *rval)
148 if (Z_REFCOUNTED_P(rval)) {
153 ZVAL_COPY_VALUE(tmp_var, rval);
458 #define UNSERIALIZE_PARAMETER zval *rval, const unsigned char **p, const unsigned char *max, php_un…
459 #define UNSERIALIZE_PASSTHRU rval, p, max, var_hash
775 object_init_ex(rval, ce);
776 …} else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)v…
803 ZVAL_DEREF(rval);
804 GC_ADD_FLAGS(Z_OBJ_P(rval), IS_OBJ_DESTRUCTOR_CALLED);
811 ZVAL_DEREF(rval);
813 ZVAL_COPY(tmp, rval);
821 has_wakeup = Z_OBJCE_P(rval) != PHP_IC_ENTRY
822 && zend_hash_exists(&Z_OBJCE_P(rval)->function_table, ZSTR_KNOWN(ZEND_STR_WAKEUP));
824 ht = Z_OBJPROP_P(rval);
830 if (!process_nested_object_data(UNSERIALIZE_PASSTHRU, ht, elements, Z_OBJ_P(rval))) {
832 ZVAL_DEREF(rval);
833 GC_ADD_FLAGS(Z_OBJ_P(rval), IS_OBJ_DESTRUCTOR_CALLED);
838 ZVAL_DEREF(rval);
842 ZVAL_COPY(wakeup_var, rval);
892 var_push(var_hash, rval);
910 if (rval_ref == rval || (Z_ISREF_P(rval_ref) && Z_REFVAL_P(rval_ref) == rval)) {
925 ZVAL_COPY(rval, rval_ref);
941 if (rval_ref == rval) {
950 ZVAL_COPY(rval, rval_ref);
957 ZVAL_NULL(rval);
963 ZVAL_FALSE(rval);
969 ZVAL_TRUE(rval);
995 ZVAL_LONG(rval, parse_iv(start + 2));
1003 ZVAL_DOUBLE(rval, ZEND_NAN);
1005 ZVAL_DOUBLE(rval, ZEND_INFINITY);
1007 ZVAL_DOUBLE(rval, -ZEND_INFINITY);
1009 ZVAL_NULL(rval);
1020 ZVAL_DOUBLE(rval, zend_strtod((const char *)start + 2, NULL));
1054 ZVAL_STR(rval, zend_string_init_existing_interned(str, len, 0));
1056 ZVAL_STRINGL_FAST(rval, str, len);
1091 ZVAL_STR(rval, str);
1109 array_init_size(rval, elements);
1112 zend_hash_real_init_mixed(Z_ARRVAL_P(rval));
1114 ZVAL_EMPTY_ARRAY(rval);
1122 HT_ALLOW_COW_VIOLATION(Z_ARRVAL_P(rval));
1124 if (!process_nested_array_data(UNSERIALIZE_PASSTHRU, Z_ARRVAL_P(rval), elements)) {
1294 php_store_class_name(rval, class_name);
1336 if (object_init_ex(rval, ce) == FAILURE) {
1342 php_store_class_name(rval, class_name);
1419 ZVAL_COPY(rval, value);