Home
last modified time | relevance | path

Searched refs:newElem (Results 1 – 3 of 3) 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()
107 ASSIGNLINK( newElem, GETLINK( elemInList, pList->LinkOffset), pList->LinkOffset); in ReplaceElem()
110 ASSIGNLINK( lastElem, newElem, pList->LinkOffset); in ReplaceElem()
114 pList->Head = newElem; in ReplaceElem()
117 pList->Tail = newElem; in ReplaceElem()
287 int OffsetReplaceElem( GenLinkedOffsetList *pList, void *elemInList, void *newElem) in OffsetReplaceElem() argument
292 if ( elemInList == NULL || newElem == NULL) in OffsetReplaceElem()
300 AssignOffsetLink( newElem, GetOffsetLink( pList, elemInList), pList->LinkOffset); in OffsetReplaceElem()
303 AssignOffsetLink( lastElem, newElem, pList->LinkOffset); in OffsetReplaceElem()
[all …]
DGenLinkedList.h41 int ReplaceElem( GenLinkedList *pList, void *elemInList, void *newElem);
87 int OffsetReplaceElem( GenLinkedOffsetList *pList, void *elemInList, void *newElem);
/external/libxml2/xstc/
Dfixup-tests.py80 newElem = schemaDoc.newDocNode(schemaNs, "import", None)
82 newElem.newProp("namespace", impTargetNs)
83 newElem.newProp("schemaLocation", loc)
85 schemaElem.children.addPrevSibling(newElem)