Searched refs:buf (Results 1 – 11 of 11) sorted by relevance
/ext-ds/src/php/objects/ |
H A D | php_priority_queue.c | 51 smart_str buf = {0}; in php_ds_priority_queue_serialize() local 54 php_var_serialize(&buf, &pos->value, &serialize_data); in php_ds_priority_queue_serialize() 55 php_var_serialize(&buf, &pos->priority, &serialize_data); in php_ds_priority_queue_serialize() 58 smart_str_0(&buf); in php_ds_priority_queue_serialize() 59 SERIALIZE_SET_ZSTR(buf.s); in php_ds_priority_queue_serialize() 60 zend_string_release(buf.s); in php_ds_priority_queue_serialize()
|
H A D | php_queue.c | 44 smart_str buf = {0}; in php_ds_queue_serialize() local 47 php_var_serialize(&buf, value, &serialize_data); in php_ds_queue_serialize() 51 smart_str_0(&buf); in php_ds_queue_serialize() 52 SERIALIZE_SET_ZSTR(buf.s); in php_ds_queue_serialize() 53 zend_string_release(buf.s); in php_ds_queue_serialize()
|
H A D | php_deque.c | 43 smart_str buf = {0}; in php_ds_deque_serialize() local 46 php_var_serialize(&buf, value, &serialize_data); in php_ds_deque_serialize() 50 smart_str_0(&buf); in php_ds_deque_serialize() 51 SERIALIZE_SET_ZSTR(buf.s); in php_ds_deque_serialize() 52 zend_string_release(buf.s); in php_ds_deque_serialize()
|
H A D | php_stack.c | 43 smart_str buf = {0}; in php_ds_stack_serialize() local 46 php_var_serialize(&buf, value, &serialize_data); in php_ds_stack_serialize() 50 smart_str_0(&buf); in php_ds_stack_serialize() 51 SERIALIZE_SET_ZSTR(buf.s); in php_ds_stack_serialize() 52 zend_string_release(buf.s); in php_ds_stack_serialize()
|
H A D | php_vector.c | 43 smart_str buf = {0}; in php_ds_vector_serialize() local 46 php_var_serialize(&buf, value, &serialize_data); in php_ds_vector_serialize() 50 smart_str_0(&buf); in php_ds_vector_serialize() 51 SERIALIZE_SET_ZSTR(buf.s); in php_ds_vector_serialize() 52 zend_string_release(buf.s); in php_ds_vector_serialize()
|
H A D | php_set.c | 43 smart_str buf = {0}; in php_ds_set_serialize() local 46 php_var_serialize(&buf, key, &serialize_data); in php_ds_set_serialize() 50 smart_str_0(&buf); in php_ds_set_serialize() 51 SERIALIZE_SET_ZSTR(buf.s); in php_ds_set_serialize() 52 zend_string_release(buf.s); in php_ds_set_serialize()
|
H A D | php_pair.c | 105 smart_str buf = {0}; in php_ds_pair_serialize() local 115 php_var_serialize(&buf, key, &serialize_data); in php_ds_pair_serialize() 116 php_var_serialize(&buf, val, &serialize_data); in php_ds_pair_serialize() 118 smart_str_0(&buf); in php_ds_pair_serialize() 119 SERIALIZE_SET_ZSTR(buf.s); in php_ds_pair_serialize() 120 zend_string_release(buf.s); in php_ds_pair_serialize()
|
/ext-ds/src/ds/ |
H A D | ds_deque.c | 273 zval *buf = ds_allocate_zval_buffer(deque->capacity); in ds_deque_reversed() local 274 zval *dst = &buf[deque->size - 1]; in ds_deque_reversed() 282 return ds_deque_from_buffer(buf, deque->capacity, deque->size); in ds_deque_reversed() 738 zval *buf = ds_allocate_zval_buffer(deque->capacity); in ds_deque_filter_callback() local 739 zval *dst = buf; in ds_deque_filter_callback() 751 while (dst >= buf) { in ds_deque_filter_callback() 756 efree(buf); in ds_deque_filter_callback() 769 return ds_deque_from_buffer(buf, ds_deque_get_capacity_for_size(dst - buf), (dst - buf)); in ds_deque_filter_callback() 779 zval *buf = ds_allocate_zval_buffer(deque->capacity); in ds_deque_filter() local 780 zval *dst = buf; in ds_deque_filter() [all …]
|
H A D | ds_priority_queue.c | 260 ds_priority_queue_node_t *pos, *end, *buf; in ds_priority_queue_to_array() local 262 buf = ds_priority_queue_create_sorted_buffer(queue); in ds_priority_queue_to_array() 263 pos = buf; in ds_priority_queue_to_array() 264 end = buf + queue->size; in ds_priority_queue_to_array() 273 efree(buf); in ds_priority_queue_to_array()
|
H A D | ds_htable.c | 1193 smart_str buf = {0}; in ds_htable_serialize() local 1196 php_var_serialize(&buf, key, &serialize_data); in ds_htable_serialize() 1197 php_var_serialize(&buf, value, &serialize_data); in ds_htable_serialize() 1201 smart_str_0(&buf); in ds_htable_serialize() 1203 SERIALIZE_SET_ZSTR(buf.s); in ds_htable_serialize() 1204 zend_string_release(buf.s); in ds_htable_serialize()
|
H A D | ds_vector.c | 687 zval *buf = ds_allocate_zval_buffer(capacity); in ds_vector_slice() local 690 zval *dst = buf; in ds_vector_slice() 696 return ds_vector_from_buffer(buf, capacity, length); in ds_vector_slice()
|
Completed in 19 milliseconds