Lines Matching refs:offset
69 * used for both the list object, and the link object(s). offset
71 * will always point to objects of the same type. offset is not used
81 uint32_t offset; /*<< offset in bytes to the link element of the objects in list */
86 #define item2link(list, item) ((ocs_list_t*) (((uint8_t*)(item)) + (list)->offset))
89 #define link2item(list, link) ((void*) (((uint8_t*)(link)) - (list)->offset))
98 * @param offset Offset in bytes in item to the link element
103 _ocs_list_init(ocs_list_t *list, uint32_t offset)
110 list->offset = offset;
172 ocs_list_assert(a->offset == b->offset);
173 ocs_list_assert(b->offset == c->offset);
186 * and the offset value initialzied and used for subsequent assertions.
203 link->offset = list->offset;
232 ocs_list_assert(link->offset == list->offset);
260 ocs_list_assert(link->offset == list->offset);
339 ocs_list_assert(link->offset == list->offset, NULL);
384 ocs_list_assert(link->offset == list->offset, NULL);