Lines Matching refs:deque
12 ds_deque_t *deque = php_ds_deque_fetch_object(obj)->deque; local
15 ds_deque_t *deque = Z_DS_DEQUE_P(obj);
24 if (Z_TYPE_P(offset) != IS_LONG || ! ds_deque_isset(deque, Z_LVAL_P(offset), 0)) {
36 value = ds_deque_get(deque, Z_LVAL_P(offset));
50 ds_deque_t *deque = php_ds_deque_fetch_object(obj)->deque; local
53 ds_deque_t *deque = Z_DS_DEQUE_P(obj);
56 ds_deque_push(deque, value);
64 ds_deque_set(deque, Z_LVAL_P(offset), value);
72 ds_deque_t *deque = php_ds_deque_fetch_object(obj)->deque; local
75 ds_deque_t *deque = Z_DS_DEQUE_P(obj);
83 return ds_deque_isset(deque, Z_LVAL_P(offset), check_empty);
89 ds_deque_t *deque = php_ds_deque_fetch_object(obj)->deque; local
92 ds_deque_t *deque = Z_DS_DEQUE_P(obj);
106 if (ds_deque_index_exists(deque, index)) {
107 ds_deque_remove(deque, index, NULL);
114 *count = php_ds_deque_fetch_object(obj)->deque->size;
125 ds_deque_free(obj->deque);
132 ds_deque_t *deque = php_ds_deque_fetch_object(obj)->deque; local
135 ds_deque_t *deque = Z_DS_DEQUE_P(obj);
139 ds_deque_to_array(deque, &arr);
146 return php_ds_deque_create_clone(php_ds_deque_fetch_object(obj)->deque);
156 ds_deque_t *deque = php_ds_deque_fetch_object(obj)->deque; local
159 ds_deque_t *deque = Z_DS_DEQUE_P(obj);
161 *gc_data = deque->buffer;
162 *gc_count = (int) (deque->head == 0 ? deque->size : deque->capacity);