Lines Matching refs:element
43 * Adds element to list.
46 * @param element Element to be added
49 ESR_ReturnCode(*add)(struct ArrayList_t* self, void* element);
52 * Inserts an element in the the list at the specified location. This
57 * @param index The index where to insert the element.
58 * @param element The element to insert.
64 void *element);
67 * Removes element from list.
70 * @param element Element to be removed
73 ESR_ReturnCode(*remove)(struct ArrayList_t* self, const void* element);
76 * Removes element from list at specified index.
79 * @param index Index of element to be removed
94 * Indicates if element is contained within the list.
97 * @param element Element to check for
98 * @param exists True if element was found
101 ESR_ReturnCode(*contains)(struct ArrayList_t* self, const void* element, ESR_BOOL* exists);
113 * Returns the element at the specified index.
116 * @param index Element index
117 * @param element Element being returned
120 ESR_ReturnCode(*get)(struct ArrayList_t* self, size_t index, void** element);
123 * Sets the element at the specified index.
125 * NOTE: Does *not* deallocate the element being overwritten.
127 * @param index Element index
128 * @param element Element's new value
131 ESR_ReturnCode(*set)(struct ArrayList_t* self, size_t index, void* element);
181 * Adds element to list.
184 * @param element Element to be added
187 PORTABLE_API ESR_ReturnCode ArrayListAdd(ArrayList* self, void* element);
191 * Inserts an element in the the list at the specified location. This
196 * @param index The index where to insert the element.
197 * @param element The element to insert.
205 void *element);
208 * Removes element from list.
211 * @param element Element to be removed
214 PORTABLE_API ESR_ReturnCode ArrayListRemove(ArrayList* self, void* element);
216 * Removes element from list at specified index.
219 * @param index Index of element to be removed
234 * Indicates if element is contained within the list.
237 * @param element Element to check for
238 * @param exists True if element was found
241 PORTABLE_API ESR_ReturnCode ArrayListContains(ArrayList* self, void* element, ESR_BOOL* exists);
253 * Returns the element at the specified index.
256 * @param index Element index
257 * @param element Element being returned
260 PORTABLE_API ESR_ReturnCode ArrayListGet(ArrayList* self, size_t index, void** element);
263 * Sets the element at the specified index.
265 * NOTE: Does *not* deallocate the element being overwritten.
267 * @param index Element index
268 * @param element Element's new value
271 PORTABLE_API ESR_ReturnCode ArrayListSet(ArrayList* self, size_t index, void* element);