Lines Matching refs:p_element
257 void *p_element; in cl_vector_destroy() local
266 p_element = p_vector->p_ptr_array[i]; in cl_vector_destroy()
268 CL_ASSERT(p_element); in cl_vector_destroy()
269 p_vector->pfn_dtor(p_element, in cl_vector_destroy()
289 IN const size_t index, OUT void *const p_element) in cl_vector_at() argument
298 cl_vector_get(p_vector, index, p_element); in cl_vector_at()
303 IN const size_t index, IN void *const p_element) in cl_vector_set() argument
310 CL_ASSERT(p_element); in cl_vector_set()
328 p_vector->pfn_copy(p_dest, p_element, p_vector->element_size); in cl_vector_set()
406 void *p_element; in cl_vector_set_size() local
437 p_element = cl_vector_get_ptr(p_vector, index); in cl_vector_set_size()
441 p_vector->pfn_init(p_element, in cl_vector_set_size()
446 p_vector->pfn_dtor(p_element, in cl_vector_set_size()
461 p_element = cl_vector_get_ptr(p_vector, index); in cl_vector_set_size()
463 p_vector->pfn_dtor(p_element, in cl_vector_set_size()
492 void *p_element; in cl_vector_apply_func() local
499 p_element = cl_vector_get_ptr(p_vector, i); in cl_vector_apply_func()
500 pfn_callback(i, p_element, (void *)context); in cl_vector_apply_func()
509 void *p_element; in cl_vector_find_from_start() local
516 p_element = cl_vector_get_ptr(p_vector, i); in cl_vector_find_from_start()
518 if (pfn_callback(i, p_element, (void *)context) == CL_SUCCESS) in cl_vector_find_from_start()
529 void *p_element; in cl_vector_find_from_end() local
539 p_element = cl_vector_get_ptr(p_vector, --i); in cl_vector_find_from_end()
540 CL_ASSERT(p_element); in cl_vector_find_from_end()
543 if (pfn_callback(i, p_element, (void *)context) == CL_SUCCESS) in cl_vector_find_from_end()