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/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorDOMAgent.cpp815 …RefPtrWillBeRawPtr<Element> newElem = oldNode->document().createElement(AtomicString(tagName), exc… in setNodeName() local
820 newElem->cloneAttributesFromElement(*toElement(oldNode)); in setNodeName()
824 if (!m_domEditor->insertBefore(newElem.get(), child, 0, errorString)) in setNodeName()
830 if (!m_domEditor->insertBefore(parent, newElem.get(), oldNode->nextSibling(), errorString)) in setNodeName()
835 *newId = pushNodePathToFrontend(newElem.get()); in setNodeName()