Lines Matching refs:map
7 zend_object *php_ds_map_create_object_ex(ds_map_t *map) in php_ds_map_create_object_ex() argument
16 obj->map = map; in php_ds_map_create_object_ex()
25 zend_object *php_ds_map_create_clone(ds_map_t *map) in php_ds_map_create_clone() argument
27 return php_ds_map_create_object_ex(ds_map_clone(map)); in php_ds_map_create_clone()
30 HashTable *ds_map_pairs_to_php_hashtable(ds_map_t *map) in ds_map_pairs_to_php_hashtable() argument
40 zend_hash_init(array, DS_MAP_SIZE(map), NULL, ZVAL_PTR_DTOR, 0); in ds_map_pairs_to_php_hashtable()
42 DS_HTABLE_FOREACH_KEY_VALUE(map->table, key, value) { in ds_map_pairs_to_php_hashtable()
51 zval *ds_map_pairs(ds_map_t *map) in ds_map_pairs() argument
53 zval *buffer = ds_allocate_zval_buffer(DS_MAP_SIZE(map)); in ds_map_pairs()
59 DS_HTABLE_FOREACH_KEY_VALUE(map->table, key, value) { in ds_map_pairs()
74 ds_map_t *map = ds_map(); in php_ds_map_unserialize() local
76 if (ds_htable_unserialize(map->table, buffer, length, data) == FAILURE) { in php_ds_map_unserialize()
77 ds_map_free(map); in php_ds_map_unserialize()
81 ZVAL_DS_MAP(object, map); in php_ds_map_unserialize()