Home
last modified time | relevance | path

Searched refs:elemInList (Results 1 – 2 of 2) sorted by relevance

/external/mdnsresponder/mDNSShared/
DGenLinkedList.c95 int ReplaceElem( GenLinkedList *pList, void *elemInList, void *newElem) in ReplaceElem() argument
100 if ( elemInList == NULL || newElem == NULL) in ReplaceElem()
105 if ( iElem == elemInList) in ReplaceElem()
107 ASSIGNLINK( newElem, GETLINK( elemInList, pList->LinkOffset), pList->LinkOffset); in ReplaceElem()
116 if ( pList->Tail == elemInList) in ReplaceElem()
287 int OffsetReplaceElem( GenLinkedOffsetList *pList, void *elemInList, void *newElem) in OffsetReplaceElem() argument
292 if ( elemInList == NULL || newElem == NULL) in OffsetReplaceElem()
298 if ( iElem == elemInList) in OffsetReplaceElem()
300 AssignOffsetLink( newElem, GetOffsetLink( pList, elemInList), pList->LinkOffset); in OffsetReplaceElem()
309 if ( GetTailPtr( pList) == elemInList) in OffsetReplaceElem()
DGenLinkedList.h41 int ReplaceElem( GenLinkedList *pList, void *elemInList, void *newElem);
87 int OffsetReplaceElem( GenLinkedOffsetList *pList, void *elemInList, void *newElem);