Lines Matching refs:next
76 struct TCMemNode* next; member
111 newM->next = NULL; in TCNewMemNode()
114 else if( MemList->next == NULL ) in TCNewMemNode()
116 MemList->next = newM; in TCNewMemNode()
118 newM->next = NULL; in TCNewMemNode()
124 while( thisM->next ) in TCNewMemNode()
126 thisM = thisM->next; in TCNewMemNode()
129 thisM->next = newM; in TCNewMemNode()
131 newM->next = NULL; in TCNewMemNode()
165 checkNode = checkNode->next; in TCFreeMemNode()
191 if( (*thisNode)->next == NULL ) // single node list in TCFreeMemNode()
194 (*thisNode)->next = NULL; in TCFreeMemNode()
199 MemList = (*thisNode)->next; in TCFreeMemNode()
201 (*thisNode)->next->prev = NULL; in TCFreeMemNode()
203 (*thisNode)->next = NULL; in TCFreeMemNode()
208 if( (*thisNode)->next == NULL ) // tail in TCFreeMemNode()
210 (*thisNode)->prev->next = NULL; in TCFreeMemNode()
211 (*thisNode)->next = NULL; in TCFreeMemNode()
216 (*thisNode)->prev->next = (*thisNode)->next; in TCFreeMemNode()
217 (*thisNode)->next->prev = (*thisNode)->prev; in TCFreeMemNode()
218 (*thisNode)->next = NULL; in TCFreeMemNode()
313 thisNode = thisNode->next; in TCFree()
329 nextNode = thisNode->next; in TCFreeMem()