Searched refs:DS_DEQUE_MIN_CAPACITY (Results 1 – 4 of 4) sorted by relevance
40 return (zend_long) ds_next_power_of_2((uint32_t) size, DS_DEQUE_MIN_CAPACITY); in ds_deque_get_capacity_for_size()47 deque->buffer = ds_allocate_zval_buffer(DS_DEQUE_MIN_CAPACITY); in ds_deque()48 deque->capacity = DS_DEQUE_MIN_CAPACITY; in ds_deque()177 if (deque->capacity / 2 >= DS_DEQUE_MIN_CAPACITY) { in ds_deque_auto_truncate()192 …deque->buffer = ds_reallocate_zval_buffer(deque->buffer, DS_DEQUE_MIN_CAPACITY, deque->capacity,… in ds_deque_clear()196 deque->capacity = DS_DEQUE_MIN_CAPACITY; in ds_deque_clear()
6 #define DS_DEQUE_MIN_CAPACITY 8 // Must be a power of 2 macro
154 …d_declare_class_constant_long(php_ds_queue_ce, STR_AND_LEN("MIN_CAPACITY"), DS_DEQUE_MIN_CAPACITY); in php_ds_register_queue()
324 …d_declare_class_constant_long(php_ds_deque_ce, STR_AND_LEN("MIN_CAPACITY"), DS_DEQUE_MIN_CAPACITY); in php_ds_register_deque()
Completed in 9 milliseconds