Lines Matching refs:key
24 php_ds_pair_t *php_ds_pair_ex(zval *key, zval *value) in php_ds_pair_ex() argument
28 php_ds_pair_set_key(obj, key); in php_ds_pair_ex()
36 zval *key = php_ds_pair_get_key(obj); in php_ds_pair_create_clone() local
39 return (zend_object *) php_ds_pair_ex(key, val); in php_ds_pair_create_clone()
42 void php_ds_pair_set_key(php_ds_pair_t *pair, zval *key) in php_ds_pair_set_key() argument
45 zend_update_property(php_ds_pair_ce, (zend_object*) pair, STR_AND_LEN("key"), key); in php_ds_pair_set_key()
49 zend_update_property(php_ds_pair_ce, &tmp, STR_AND_LEN("key"), key); in php_ds_pair_set_key()
90 zval *key = php_ds_pair_get_key(obj); in php_ds_pair_to_array() local
95 add_assoc_zval(result, "key", key); in php_ds_pair_to_array()
98 Z_TRY_ADDREF_P(key); in php_ds_pair_to_array()
104 zval *key, *val; in php_ds_pair_serialize() local
112 key = php_ds_pair_get_key(pair); in php_ds_pair_serialize()
115 php_var_serialize(&buf, key, &serialize_data); in php_ds_pair_serialize()
128 zval *key, *value; in php_ds_pair_unserialize() local
136 key = var_tmp_var(&unserialize_data); in php_ds_pair_unserialize()
137 if ( ! php_var_unserialize(key, &pos, max, &unserialize_data)) { in php_ds_pair_unserialize()
146 ZVAL_DS_PAIR(object, php_ds_pair_ex(key, value)); in php_ds_pair_unserialize()