Lines Matching refs:vector
9 ds_stack_t *ds_stack_ex(ds_vector_t *vector) in ds_stack_ex() argument
12 stack->vector = vector; in ds_stack_ex()
23 return ds_stack_ex(ds_vector_clone(stack->vector)); in ds_stack_clone()
28 ds_vector_free(stack->vector); in ds_stack_free()
34 ds_vector_allocate(stack->vector, capacity); in ds_stack_allocate()
39 ds_vector_push_va(stack->vector, argc, argv); in ds_stack_push_va()
44 ds_vector_push(stack->vector, value); in ds_stack_push()
49 ds_vector_clear(stack->vector); in ds_stack_clear()
54 ds_vector_push_all(stack->vector, value); in ds_stack_push_all()
68 DS_VECTOR_FOREACH_REVERSED(stack->vector, value) { in ds_stack_to_array()
78 ds_vector_pop_throw(stack->vector, return_value); in ds_stack_pop_throw()
83 ds_vector_pop(stack->vector, return_value); in ds_stack_pop()
88 return ds_vector_get_last(stack->vector); in ds_stack_peek()
93 return ds_vector_get_last_throw(stack->vector); in ds_stack_peek_throw()