Home
last modified time | relevance | path

Searched defs:capacity (Results 1 – 19 of 19) sorted by relevance

/ext-ds/src/ds/
H A Dds_priority_queue.c44 …line ds_priority_queue_node_t *reallocate_nodes(ds_priority_queue_node_t *nodes, uint32_t capacity) in reallocate_nodes()
49 static inline ds_priority_queue_node_t *allocate_nodes(uint32_t capacity) in allocate_nodes()
54 static inline void reallocate_to_capacity(ds_priority_queue_t *queue, uint32_t capacity) in reallocate_to_capacity()
65 void ds_priority_queue_allocate(ds_priority_queue_t *queue, uint32_t capacity) in ds_priority_queue_allocate()
H A Dds_vector.h8 zend_long capacity; // Buffer length member
H A Dds_deque.h28 zend_long capacity; member
H A Dds_vector.c15 static inline void ds_vector_reallocate(ds_vector_t *vector, zend_long capacity) in ds_vector_reallocate()
21 ds_vector_t *ds_vector_ex(zend_long capacity) in ds_vector_ex()
57 ds_vector_t *ds_vector_from_buffer(zval *buffer, zend_long capacity, zend_long size) in ds_vector_from_buffer()
74 void ds_vector_allocate(ds_vector_t *vector, zend_long capacity) in ds_vector_allocate()
86 static inline void ds_vector_ensure_capacity(ds_vector_t *vector, zend_long capacity) in ds_vector_ensure_capacity()
685 zend_long capacity = MAX(length, DS_VECTOR_MIN_CAPACITY); in ds_vector_slice() local
H A Dds_htable.c9 static inline ds_htable_bucket_t *ds_htable_allocate_buckets(uint32_t capacity) in ds_htable_allocate_buckets()
14 …atic inline ds_htable_bucket_t *ds_htable_reallocate_buckets(ds_htable_t *table, uint32_t capacity) in ds_htable_reallocate_buckets()
19 static inline uint32_t *ds_htable_allocate_lookup(uint32_t capacity) in ds_htable_allocate_lookup()
24 static inline uint32_t *ds_htable_reallocate_lookup(uint32_t *lookup, uint32_t capacity) in ds_htable_reallocate_lookup()
34 static inline void ds_htable_realloc(ds_htable_t *table, uint32_t capacity) in ds_htable_realloc()
114 const uint32_t capacity = table->capacity; in ds_htable_auto_truncate() local
123 static ds_htable_t *ds_htable_with_capacity(uint32_t capacity) in ds_htable_with_capacity()
628 void ds_htable_ensure_capacity(ds_htable_t *table, uint32_t capacity) in ds_htable_ensure_capacity()
H A Dds_priority_queue.h13 uint32_t capacity; member
H A Dds_stack.c32 void ds_stack_allocate(ds_stack_t *stack, zend_long capacity) in ds_stack_allocate()
H A Dds_queue.c33 void ds_queue_allocate(ds_queue_t *queue, zend_long capacity) in ds_queue_allocate()
H A Dds_deque.c69 static ds_deque_t *ds_deque_from_buffer(zval *buffer, zend_long capacity, zend_long size) in ds_deque_from_buffer()
145 static void ds_deque_reallocate(ds_deque_t *deque, zend_long capacity) in ds_deque_reallocate()
162 zend_long capacity = ds_deque_get_capacity_for_size(size); in ds_deque_allocate() local
H A Dds_htable.h157 uint32_t capacity; // Length of the bucket buffer member
H A Dds_map.c30 void ds_map_allocate(ds_map_t *map, zend_long capacity) in ds_map_allocate()
H A Dds_set.c27 void ds_set_allocate(ds_set_t *set, zend_long capacity) in ds_set_allocate()
/ext-ds/src/php/classes/
H A Dphp_priority_queue_ce.c28 METHOD(capacity) in METHOD() argument
H A Dphp_stack_ce.c33 METHOD(capacity) in METHOD() argument
H A Dphp_queue_ce.c32 METHOD(capacity) in METHOD() argument
H A Dphp_set_ce.c43 METHOD(capacity) in METHOD() argument
H A Dphp_deque_ce.c49 METHOD(capacity) in METHOD() argument
H A Dphp_map_ce.c42 METHOD(capacity) in METHOD() argument
H A Dphp_vector_ce.c39 METHOD(capacity) in METHOD() argument

Completed in 33 milliseconds