Home
last modified time | relevance | path

Searched refs:php_ds_pair_t (Results 1 – 6 of 6) sorted by relevance

/ext-ds/src/php/objects/
H A Dphp_pair.h6 #define Z_DS_PAIR(z) ((php_ds_pair_t*)(Z_OBJ(z)))
14 php_ds_pair_t *_p = (php_ds_pair_t *) p; \
25 } php_ds_pair_t; typedef
27 php_ds_pair_t *php_ds_pair_ex(zval *key, zval *value);
28 php_ds_pair_t *php_ds_pair();
30 void php_ds_pair_set_key(php_ds_pair_t *obj, zval *key);
31 void php_ds_pair_set_value(php_ds_pair_t *obj, zval *value);
33 zval *php_ds_pair_get_key(php_ds_pair_t *obj);
34 zval *php_ds_pair_get_value(php_ds_pair_t *obj);
37 zend_object *php_ds_pair_create_clone(php_ds_pair_t *obj);
[all …]
H A Dphp_pair.c8 php_ds_pair_t *obj = ecalloc(1, sizeof(php_ds_pair_t) + zend_object_properties_size(ce)); in php_ds_pair_create_object()
10 php_ds_pair_t *obj = zend_object_alloc(sizeof(php_ds_pair_t), ce); in php_ds_pair_create_object()
19 php_ds_pair_t *php_ds_pair() in php_ds_pair()
24 php_ds_pair_t *php_ds_pair_ex(zval *key, zval *value) in php_ds_pair_ex()
26 php_ds_pair_t *obj = php_ds_pair(); in php_ds_pair_ex()
34 zend_object *php_ds_pair_create_clone(php_ds_pair_t *obj) 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()
53 void php_ds_pair_set_value(php_ds_pair_t *pair, zval *value) in php_ds_pair_set_value()
64 zval *php_ds_pair_get_key(php_ds_pair_t *pair) in php_ds_pair_get_key()
76 zval *php_ds_pair_get_value(php_ds_pair_t *pair) in php_ds_pair_get_value()
[all …]
/ext-ds/src/php/handlers/
H A Dphp_pair_handlers.c36 return php_ds_pair_create_clone((php_ds_pair_t*)obj);
47 php_pair_handlers.offset = XtOffsetOf(php_ds_pair_t, std);
/ext-ds/src/ds/
H A Dds_map.h65 php_ds_pair_t *ds_map_first(ds_map_t *map);
66 php_ds_pair_t *ds_map_last(ds_map_t *map);
67 php_ds_pair_t *ds_map_skip(ds_map_t *map, zend_long position);
H A Dds_map.c247 php_ds_pair_t *ds_map_first(ds_map_t *map) in ds_map_first()
259 php_ds_pair_t *ds_map_last(ds_map_t *map) in ds_map_last()
271 php_ds_pair_t *ds_map_skip(ds_map_t *map, zend_long position) in ds_map_skip()
/ext-ds/src/php/classes/
H A Dphp_pair_ce.c16 php_ds_pair_t *pair = THIS_DS_PAIR(); in METHOD()

Completed in 10 milliseconds