Searched refs:clone (Results 1 – 3 of 3) sorted by relevance
216 ds_priority_queue_t *clone = ecalloc(1, sizeof(ds_priority_queue_t)); in ds_priority_queue_clone() local218 clone->nodes = copy_nodes(queue); in ds_priority_queue_clone()219 clone->capacity = queue->capacity; in ds_priority_queue_clone()220 clone->size = queue->size; in ds_priority_queue_clone()221 clone->next = queue->next; in ds_priority_queue_clone()223 return clone; in ds_priority_queue_clone()
46 ds_vector_t *clone = ecalloc(1, sizeof(ds_vector_t)); in ds_vector_clone() local48 clone->buffer = ds_allocate_zval_buffer(vector->capacity); in ds_vector_clone()49 clone->capacity = vector->capacity; in ds_vector_clone()50 clone->size = vector->size; in ds_vector_clone()52 COPY_ZVAL_BUFFER(clone->buffer, vector->buffer, vector->size); in ds_vector_clone()53 return clone; in ds_vector_clone()
54 git clone https://github.com/php/php-src C:\projects\php-src -b PHP-%PHP_VER% --depth=1
Completed in 6 milliseconds