Searched refs:array (Results 1 – 9 of 9) sorted by relevance
/ext-ds/src/php/objects/ |
H A D | php_map.c | 32 HashTable *array; in ds_map_pairs_to_php_hashtable() local 39 ALLOC_HASHTABLE(array); in ds_map_pairs_to_php_hashtable() 40 zend_hash_init(array, DS_MAP_SIZE(map), NULL, ZVAL_PTR_DTOR, 0); in ds_map_pairs_to_php_hashtable() 44 zend_hash_next_index_insert(array, &pair); in ds_map_pairs_to_php_hashtable() 48 return array; in ds_map_pairs_to_php_hashtable()
|
/ext-ds/src/ds/ |
H A D | ds_priority_queue.c | 254 void ds_priority_queue_to_array(ds_priority_queue_t *queue, zval *array) in ds_priority_queue_to_array() argument 257 array_init(array); in ds_priority_queue_to_array() 266 array_init_size(array, queue->size); in ds_priority_queue_to_array() 269 add_next_index_zval(array, &pos->value); in ds_priority_queue_to_array()
|
H A D | ds_priority_queue.h | 69 void ds_priority_queue_to_array(ds_priority_queue_t *queue, zval *array);
|
H A D | ds_set.c | 79 static inline void add_array_to_set(ds_set_t *set, HashTable *array) in add_array_to_set() argument 82 ZEND_HASH_FOREACH_VAL(array, value) { in add_array_to_set()
|
H A D | ds_deque.c | 551 void ds_deque_to_array(ds_deque_t *deque, zval *array) in ds_deque_to_array() argument 554 array_init(array); in ds_deque_to_array() 559 array_init_size(array, deque->size); in ds_deque_to_array() 562 add_next_index_zval(array, value); in ds_deque_to_array()
|
H A D | ds_vector.c | 376 static inline void add_array_to_vector(ds_vector_t *vector, HashTable *array) in add_array_to_vector() argument 379 ds_vector_ensure_capacity(vector, vector->size + array->nNumOfElements); in add_array_to_vector() 381 ZEND_HASH_FOREACH_VAL(array, value) { in add_array_to_vector()
|
H A D | ds_htable.c | 219 static uint32_t get_array_hash(zval *array) in get_array_hash() argument 226 php_var_serialize(&buffer, array, &var_hash); in get_array_hash() 1169 HashTable *array; in ds_htable_to_array() local 1174 array = Z_ARR_P(return_value); in ds_htable_to_array() 1177 array_set_zval_key(array, key, val); in ds_htable_to_array()
|
/ext-ds/ |
H A D | CHANGELOG.md | 55 - Hash function of arrays is now the length of the array, so O(1). 59 - Using a key as reference not working correctly with array access. #86
|
H A D | README.md | 7 …age extension that provides specialized data structures as efficient alternatives to the PHP array.
|
Completed in 102 milliseconds