Home | History | Annotate | Download | only in mDNSShared

Lines Matching refs:newElem

95 int			ReplaceElem( GenLinkedList *pList, void *elemInList, void *newElem)
100 if ( elemInList == NULL || newElem == NULL)
107 ASSIGNLINK( newElem, GETLINK( elemInList, pList->LinkOffset), pList->LinkOffset);
110 ASSIGNLINK( lastElem, newElem, pList->LinkOffset);
114 pList->Head = newElem;
117 pList->Tail = newElem;
287 int OffsetReplaceElem( GenLinkedOffsetList *pList, void *elemInList, void *newElem)
292 if ( elemInList == NULL || newElem == NULL)
300 AssignOffsetLink( newElem, GetOffsetLink( pList, elemInList), pList->LinkOffset);
303 AssignOffsetLink( lastElem, newElem, pList->LinkOffset);
307 pList->Head = (size_t) newElem - (size_t) pList;
310 pList->Tail = (size_t) newElem - (size_t) pList;