Lines Matching full:vector
38 * This file contains pointer vector definitions. Pointer Vector provides
56 /****h* Component Library/Pointer Vector
58 * Pointer Vector
61 * The Pointer Vector is a self-sizing array of pointers. Like a traditonal
62 * array, a pointer vector allows efficient constant time access to elements
63 * with a specified index. A pointer vector grows transparently as the
91 /****d* Component Library: Pointer Vector/cl_pfn_ptr_vec_apply_t
97 * functions used to iterate elements in a pointer vector.
110 * [in] Pointer to an element at the specified index in the pointer vector.
124 * Pointer Vector, cl_ptr_vector_apply_func
127 /****d* Component Library: Pointer Vector/cl_pfn_ptr_vec_find_t
133 * functions used to find elements in a pointer vector.
147 * pointer vector.
154 * Return CL_SUCCESS if the element was found. This stops pointer vector
157 * CL_NOT_FOUND to continue the pointer vector iteration.
165 * Pointer Vector, cl_ptr_vector_find_from_start, cl_ptr_vector_find_from_end
168 /****s* Component Library: Pointer Vector/cl_ptr_vector_t
173 * Pointer Vector structure.
190 * Number of elements successfully initialized in the pointer vector.
205 * State of the pointer vector.
208 * Pointer Vector
211 /****f* Component Library: Pointer Vector/cl_ptr_vector_construct
216 * The cl_ptr_vector_construct function constructs a pointer vector.
234 * pointer vector function except cl_ptr_vector_init.
237 * Pointer Vector, cl_ptr_vector_init, cl_ptr_vector_destroy
240 /****f* Component Library: Pointer Vector/cl_ptr_vector_init
245 * The cl_ptr_vector_init function initializes a pointer vector for use.
262 * the pointer vector. A value of zero disables automatic growth.
265 * CL_SUCCESS if the pointer vector was initialized successfully.
270 * Pointer Vector, cl_ptr_vector_construct, cl_ptr_vector_destroy,
274 /****f* Component Library: Pointer Vector/cl_ptr_vector_destroy
279 * The cl_ptr_vector_destroy function destroys a pointer vector.
293 * cl_ptr_vector_destroy frees all memory allocated for the pointer vector.
299 * Pointer Vector, cl_ptr_vector_construct, cl_ptr_vector_init
302 /****f* Component Library: Pointer Vector/cl_ptr_vector_get_capacity
308 * a pointer vector.
327 * Capacity, in elements, of the pointer vector.
330 * The capacity is the number of elements that the pointer vector can store,
332 * of elements stored in the pointer vector, use cl_ptr_vector_get_size.
335 * Pointer Vector, cl_ptr_vector_set_capacity, cl_ptr_vector_get_size
338 /****f* Component Library: Pointer Vector/cl_ptr_vector_get_size
343 * The cl_ptr_vector_get_size function returns the size of a pointer vector.
362 * Size, in elements, of the pointer vector.
365 * Pointer Vector, cl_ptr_vector_set_size, cl_ptr_vector_get_capacity
368 /****f* Component Library: Pointer Vector/cl_ptr_vector_get
374 * pointer vector at a specified index.
405 * vector.
408 * Pointer Vector, cl_ptr_vector_at, cl_ptr_vector_set, cl_ptr_vector_get_size
411 /****f* Component Library: Pointer Vector/cl_ptr_vector_at
417 * vector at a specified index, performing boundary checks.
444 * the index, and performs boundary checking on the pointer vector.
450 * Pointer Vector, cl_ptr_vector_get
453 /****f* Component Library: Pointer Vector/cl_ptr_vector_set
475 * [in] Pointer to store in the pointer vector.
480 * CL_INSUFFICIENT_MEMORY if the pointer vector could not be resized to
484 * cl_ptr_vector_set grows the pointer vector as needed to accommodate
489 * Pointer Vector, cl_ptr_vector_get
492 /****f* Component Library: Pointer Vector/cl_ptr_vector_insert
497 * The cl_ptr_vector_insert function inserts an element into a pointer vector.
525 * [in] Pointer to store in the pointer vector.
534 * CL_INSUFFICIENT_MEMORY if the pointer vector could not be resized to
539 * the pointer vector.
541 * cl_ptr_vector_insert grows the pointer vector as needed to accommodate
546 * Pointer Vector, cl_ptr_vector_remove, cl_ptr_vector_set
549 /****f* Component Library: Pointer Vector/cl_ptr_vector_remove
555 * in a pointer vector at a specified index. Items beyond the removed item
556 * are shifted down and the size of the pointer vector is decremented.
577 * vector.
580 * Pointer Vector, cl_ptr_vector_insert, cl_ptr_vector_get_size
583 /****f* Component Library: Pointer Vector/cl_ptr_vector_set_capacity
589 * pointer vector for a specified number of pointers.
602 * [in] Total number of elements for which the pointer vector should
609 * operation. The pointer vector is left unchanged.
612 * cl_ptr_vector_set_capacity increases the capacity of the pointer vector.
613 * It does not change the size of the pointer vector. If the requested
614 * capacity is less than the current capacity, the pointer vector is left
618 * Pointer Vector, cl_ptr_vector_get_capacity, cl_ptr_vector_set_size,
622 /****f* Component Library: Pointer Vector/cl_ptr_vector_set_size
627 * The cl_ptr_vector_set_size function resizes a pointer vector, either
641 * [in] Number of elements desired in the pointer vector.
644 * CL_SUCCESS if the size of the pointer vector was set successfully.
647 * operation. The pointer vector is left unchanged.
650 * cl_ptr_vector_set_size sets the pointer vector to the specified size.
651 * If size is smaller than the current size of the pointer vector, the size
657 * Pointer Vector, cl_ptr_vector_get_size, cl_ptr_vector_set_min_size,
661 /****f* Component Library: Pointer Vector/cl_ptr_vector_set_min_size
666 * The cl_ptr_vector_set_min_size function resizes a pointer vector to a
667 * specified size if the pointer vector is smaller than the specified size.
680 * [in] Minimum number of elements that the pointer vector should contain.
683 * CL_SUCCESS if the pointer vector size is greater than or equal to min_size.
684 * This could indicate that the pointer vector's capacity was increased to
685 * min_size or that the pointer vector was already of sufficient size.
688 * pointer vector. The pointer vector is left unchanged.
691 * If min_size is smaller than the current size of the pointer vector,
692 * the pointer vector is unchanged. The pointer vector is unchanged if the
697 * Pointer Vector, cl_ptr_vector_get_size, cl_ptr_vector_set_size,
701 /****f* Component Library: Pointer Vector/cl_ptr_vector_apply_func
707 * every element in a pointer vector.
733 * in the pointer vector, starting from the beginning of the pointer vector.
736 * Pointer Vector, cl_ptr_vector_find_from_start, cl_ptr_vector_find_from_end,
740 /****f* Component Library: Pointer Vector/cl_ptr_vector_find_from_start
746 * search for elements in a pointer vector starting from the lowest index.
770 * Size of the pointer vector if the element was not found.
774 * the pointer vector. The index of the element is returned when the function
778 * Pointer Vector, cl_ptr_vector_find_from_end, cl_ptr_vector_apply_func,
782 /****f* Component Library: Pointer Vector/cl_ptr_vector_find_from_end
788 * search for elements in a pointer vector starting from the highest index.
812 * Size of the pointer vector if the element was not found.
816 * the pointer vector. The index of the element is returned when the function
820 * Pointer Vector, cl_ptr_vector_find_from_start, cl_ptr_vector_apply_func,