Searched refs:newElem (Results 1 – 6 of 6) sorted by relevance
/external/mdnsresponder/mDNSShared/ |
D | GenLinkedList.c | 95 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 …]
|
D | GenLinkedList.h | 41 int ReplaceElem( GenLinkedList *pList, void *elemInList, void *newElem); 87 int OffsetReplaceElem( GenLinkedOffsetList *pList, void *elemInList, void *newElem);
|
/external/libxml2/xstc/ |
D | fixup-tests.py | 80 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/ |
D | numsys.cpp | 315 LocalPointer<UnicodeString> newElem(new UnicodeString(nsName, -1, US_INV), status); in initNumsysNames() local 317 numsysNames->addElement(newElem.getAlias(), status); in initNumsysNames() 319 newElem.orphan(); // on success, the numsysNames vector owns newElem. in initNumsysNames()
|
D | dtptngen.cpp | 1935 … LocalPointer<PtnElem> newElem(new PtnElem(otherElem->basePattern, otherElem->pattern), status); in copyFrom() local 1939 … newElem->skeleton.adoptInsteadAndCheckErrorCode(new PtnSkeleton(*(otherElem->skeleton)), status); in copyFrom() 1943 newElem->skeletonWasSpecified = otherElem->skeletonWasSpecified; in copyFrom() 1948 curElem = newElem.orphan(); in copyFrom() 2018 LocalPointer<PtnElem> newElem(new PtnElem(basePattern, value), status); in add() local 2022 newElem->skeleton.adoptInsteadAndCheckErrorCode(new PtnSkeleton(skeleton), status); in add() 2026 newElem->skeletonWasSpecified = skeletonWasSpecified; in add() 2028 … boot[26 + (baseChar - LOW_A)] = newElem.orphan(); // the boot array now owns the PtnElem. in add() 2031 boot[baseChar - CAP_A] = newElem.orphan(); // the boot array now owns the PtnElem. in add() 2045 LocalPointer<PtnElem> newElem(new PtnElem(basePattern, value), status); in add() local [all …]
|
D | plurrule.cpp | 1534 auto newElem = new UnicodeString(node->fKeyword); in PluralKeywordEnumeration() local 1535 if (newElem == nullptr) { in PluralKeywordEnumeration() 1539 fKeywordNames.addElement(newElem, status); in PluralKeywordEnumeration() 1541 delete newElem; in PluralKeywordEnumeration() 1551 auto newElem = new UnicodeString(PLURAL_KEYWORD_OTHER); in PluralKeywordEnumeration() local 1552 if (newElem == nullptr) { in PluralKeywordEnumeration() 1556 fKeywordNames.addElement(newElem, status); in PluralKeywordEnumeration() 1558 delete newElem; in PluralKeywordEnumeration()
|