Lines Matching full:a
15 * This API is not thread safe, and thus if a list is used across threads,
52 * @brief Provide the primitive to iterate on a list
63 * @param __sl A pointer on a sys_slist_t to iterate on
64 * @param __sn A sys_snode_t pointer to peek each node of the list
70 * @brief Provide the primitive to iterate on a list, from a node in the list
79 * Like SYS_SLIST_FOR_EACH_NODE(), but __dn already contains a node in the list
85 * @param __sl A pointer on a sys_slist_t to iterate on
86 * @param __sn A sys_snode_t pointer to peek each node of the list
93 * @brief Provide the primitive to safely iterate on a list
104 * @param __sl A pointer on a sys_slist_t to iterate on
105 * @param __sn A sys_snode_t pointer to peek each node of the list
106 * @param __sns A sys_snode_t pointer for the loop to run safely
112 * @brief Provide the primitive to resolve the container of a list node
115 * @param __ln A pointer on a sys_node_t to get its container
125 * @param __sl A pointer on a sys_slist_t to peek
135 * @param __sl A pointer on a sys_slist_t to peek
152 * @brief Provide the primitive to iterate on a list under a container
161 * @param __sl A pointer on a sys_slist_t to iterate on
162 * @param __cn A pointer to peek each entry of the list
169 * @brief Provide the primitive to safely iterate on a list under a container
178 * @param __sl A pointer on a sys_slist_t to iterate on
179 * @param __cn A pointer to peek each entry of the list
180 * @param __cns A pointer for the loop to run safely
195 * @brief Initialize a list
197 * @param list A pointer on the list to initialize
206 * @brief Statically initialize a single-linked list
207 * @param ptr_to_list A pointer on the list to initialize
234 * @param list A point on the list to peek the first node from
236 * @return A pointer on the first node of the list (or NULL if none)
246 * @param list A point on the list to peek the last node from
248 * @return A pointer on the last node of the list (or NULL if none)
262 * @param list A pointer on the list to test
264 * @return a boolean, true if it's empty, false otherwise
275 * @param node A pointer on the node where to peek the next node
277 * @return a pointer on the next node (or NULL if none)
286 * @param node A pointer on the node where to peek the next node
288 * @return a pointer on the next node (or NULL if none)
295 * @brief Prepend a node to the given list
299 * @param list A pointer on the list to affect
300 * @param node A pointer on the node to prepend
308 * @brief Append a node to the given list
312 * @param list A pointer on the list to affect
313 * @param node A pointer on the node to append
321 * @brief Append a list to the given list
323 * Append a singly-linked, NULL-terminated list consisting of nodes containing
324 * the pointer to the next node as the first element of a node, to @a list.
329 * @param list A pointer on the list to affect
330 * @param head A pointer to the first element of the list to append
331 * @param tail A pointer to the last element of the list to append
344 * @param list A pointer on the list to affect
345 * @param list_to_append A pointer to the list to append.
353 * @brief Insert a node to the given list
357 * @param list A pointer on the list to affect
358 * @param prev A pointer on the previous node
359 * @param node A pointer on the node to insert
373 * @param list A pointer on the list to affect
375 * @return A pointer to the first node of the list
386 * @param list A pointer on the list to affect
388 * @return A pointer to the first node of the list (or NULL if empty)
395 * @brief Remove a node
399 * @param list A pointer on the list to affect
400 * @param prev_node A pointer on the previous node
402 * @param node A pointer on the node to remove
411 * @brief Find and remove a node from a list
415 * @param list A pointer on the list to affect
416 * @param node A pointer on the node to remove from the list
424 * @brief Find if a node is already linked in a singly linked list
428 * @param list A pointer to the list to check
429 * @param node A pointer to the node to search in the list
430 * @param[out] prev A pointer to the previous node
441 * @param list A pointer on the list