Home
last modified time | relevance | path

Searched refs:newElem (Results 1 – 6 of 6) 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)
/external/icu/icu4c/source/i18n/
Ddtptngen.cpp1790 … LocalPointer<PtnElem> newElem(new PtnElem(otherElem->basePattern, otherElem->pattern), status); in copyFrom() local
1794newElem->skeleton.adoptInsteadAndCheckErrorCode(new PtnSkeleton(*(otherElem->skeleton)), status); in copyFrom()
1798 newElem->skeletonWasSpecified = otherElem->skeletonWasSpecified; in copyFrom()
1803 curElem = newElem.orphan(); in copyFrom()
1873 LocalPointer<PtnElem> newElem(new PtnElem(basePattern, value), status); in add() local
1877 newElem->skeleton.adoptInsteadAndCheckErrorCode(new PtnSkeleton(skeleton), status); in add()
1881 newElem->skeletonWasSpecified = skeletonWasSpecified; in add()
1883 … boot[26 + (baseChar - LOW_A)] = newElem.orphan(); // the boot array now owns the PtnElem. in add()
1886 boot[baseChar - CAP_A] = newElem.orphan(); // the boot array now owns the PtnElem. in add()
1900 LocalPointer<PtnElem> newElem(new PtnElem(basePattern, value), status); in add() local
[all …]
Dnumsys.cpp305 LocalPointer<UnicodeString> newElem(new UnicodeString(nsName, -1, US_INV), status); in getAvailableNames() local
307 numsysNames->addElement(newElem.getAlias(), status); in getAvailableNames()
309 newElem.orphan(); // on success, the numsysNames vector owns newElem. in getAvailableNames()
Dplurrule.cpp1410 auto newElem = new UnicodeString(node->fKeyword); in PluralKeywordEnumeration() local
1411 if (newElem == nullptr) { in PluralKeywordEnumeration()
1415 fKeywordNames.addElement(newElem, status); in PluralKeywordEnumeration()
1417 delete newElem; in PluralKeywordEnumeration()
1427 auto newElem = new UnicodeString(PLURAL_KEYWORD_OTHER); in PluralKeywordEnumeration() local
1428 if (newElem == nullptr) { in PluralKeywordEnumeration()
1432 fKeywordNames.addElement(newElem, status); in PluralKeywordEnumeration()
1434 delete newElem; in PluralKeywordEnumeration()