Searched refs:ASSIGNLINK (Results 1 – 1 of 1) sorted by relevance
/external/mdnsresponder/mDNSShared/ |
D | GenLinkedList.c | 32 #define ASSIGNLINK( e, l, o) ( *((void**)((char*) (e) + (o))) = (l)) macro 50 ASSIGNLINK( pList->Tail, elem, pList->LinkOffset); in AddToTail() 53 ASSIGNLINK( elem, NULL, pList->LinkOffset); in AddToTail() 62 ASSIGNLINK( elem, pList->Head, pList->LinkOffset); in AddToHead() 79 ASSIGNLINK( lastElem, GETLINK( elem, pList->LinkOffset), pList->LinkOffset); in RemoveFromList() 85 ASSIGNLINK( elem, NULL, pList->LinkOffset); // maybe catch a stale reference bug. in RemoveFromList() 107 ASSIGNLINK( newElem, GETLINK( elemInList, pList->LinkOffset), pList->LinkOffset); in ReplaceElem() 110 ASSIGNLINK( lastElem, newElem, pList->LinkOffset); in ReplaceElem() 148 ASSIGNLINK( elem, pList->Head, pList->FwdLinkOffset); in DLLAddToHead() 153 ASSIGNLINK( pNext, elem, pList->BackLinkOffset); in DLLAddToHead() [all …]
|