Lines Matching defs:list
14 * notice, this list of conditions and the following disclaimer.
16 * notice, this list of conditions and the following disclaimer in the
50 * Return the next node for a list.
51 * The sequential functions access the list in a slightly different way.
52 * CurPtr points to their idea of the current node in the list and they
53 * access the list based on it. Because the list is circular, Lst_Next
54 * and Lst_Prev will go around the list forever. Lst_IsAtEnd must be
63 * Return the next node for the given list.
66 * The next node or NULL if the list has yet to be opened. Also
67 * if the list is non-circular and the end has been reached, NULL
79 List list = l;
82 (list->isOpen == FALSE)) {
86 list->prevPtr = list->curPtr;
88 if (list->curPtr == NULL) {
89 if (list->atEnd == Unknown) {
95 list->curPtr = tln = list->firstPtr;
96 list->atEnd = Middle;
99 list->atEnd = Tail;
102 tln = list->curPtr->nextPtr;
103 list->curPtr = tln;
105 if (tln == list->firstPtr || tln == NULL) {
109 list->atEnd = Tail;
114 list->atEnd = Middle;