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 * Remove an element from a list
58 * Remove the given node from the given list.
64 * The list's firstPtr will be set to NULL if ln is the last
65 * node on the list. firsPtr and lastPtr will be altered if ln is
66 * either the first or last node, respectively, on the list.
73 List list = l;
82 * unlink it from the list
92 * if either the firstPtr or lastPtr of the list point to this node,
95 if (list->firstPtr == lNode) {
96 list->firstPtr = lNode->nextPtr;
98 if (list->lastPtr == lNode) {
99 list->lastPtr = lNode->prevPtr;
104 * node in the list, reset the current node to the previous one. If the
108 if (list->isOpen && (list->curPtr == lNode)) {
109 list->curPtr = list->prevPtr;
110 if (list->curPtr == NULL) {
111 list->atEnd = Unknown;
117 * node on the list (the list is circular, so lNode->nextptr == lNode in
118 * this case). The list is, therefore, empty and is marked as such
120 if (list->firstPtr == lNode) {
121 list->firstPtr = NULL;