Lines Matching refs:obj
8 php_ds_pair_t *obj = ecalloc(1, sizeof(php_ds_pair_t) + zend_object_properties_size(ce)); in php_ds_pair_create_object() local
10 php_ds_pair_t *obj = zend_object_alloc(sizeof(php_ds_pair_t), ce); in php_ds_pair_create_object()
12 zend_object_std_init(&obj->std, ce); in php_ds_pair_create_object()
13 object_properties_init(&obj->std, ce); in php_ds_pair_create_object()
14 obj->std.handlers = &php_pair_handlers; in php_ds_pair_create_object()
16 return &obj->std; in php_ds_pair_create_object()
26 php_ds_pair_t *obj = php_ds_pair(); in php_ds_pair_ex() local
28 php_ds_pair_set_key(obj, key); in php_ds_pair_ex()
29 php_ds_pair_set_value(obj, value); in php_ds_pair_ex()
31 return obj; in php_ds_pair_ex()
34 zend_object *php_ds_pair_create_clone(php_ds_pair_t *obj) in php_ds_pair_create_clone() argument
36 zval *key = php_ds_pair_get_key(obj); in php_ds_pair_create_clone()
37 zval *val = php_ds_pair_get_value(obj); in php_ds_pair_create_clone()
88 void php_ds_pair_to_array(php_ds_pair_t *obj, zval *result) in php_ds_pair_to_array() argument
90 zval *key = php_ds_pair_get_key(obj); in php_ds_pair_to_array()
91 zval *val = php_ds_pair_get_value(obj); in php_ds_pair_to_array()