Home
last modified time | relevance | path

Searched refs:newElem (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/icu/source/i18n/
Dnumsys.cpp315 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()
Ddtptngen.cpp1935 … LocalPointer<PtnElem> newElem(new PtnElem(otherElem->basePattern, otherElem->pattern), status); in copyFrom() local
1939newElem->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 …]
Dplurrule.cpp1543 auto newElem = new UnicodeString(node->fKeyword); in PluralKeywordEnumeration() local
1544 if (newElem == nullptr) { in PluralKeywordEnumeration()
1548 fKeywordNames.addElement(newElem, status); in PluralKeywordEnumeration()
1550 delete newElem; in PluralKeywordEnumeration()
1560 auto newElem = new UnicodeString(PLURAL_KEYWORD_OTHER); in PluralKeywordEnumeration() local
1561 if (newElem == nullptr) { in PluralKeywordEnumeration()
1565 fKeywordNames.addElement(newElem, status); in PluralKeywordEnumeration()
1567 delete newElem; in PluralKeywordEnumeration()
/third_party/icu/icu4c/source/i18n/
Ddtptngen.cpp2022 … LocalPointer<PtnElem> newElem(new PtnElem(otherElem->basePattern, otherElem->pattern), status); in copyFrom() local
2026newElem->skeleton.adoptInsteadAndCheckErrorCode(new PtnSkeleton(*(otherElem->skeleton)), status); in copyFrom()
2030 newElem->skeletonWasSpecified = otherElem->skeletonWasSpecified; in copyFrom()
2035 curElem = newElem.orphan(); in copyFrom()
2105 LocalPointer<PtnElem> newElem(new PtnElem(basePattern, value), status); in add() local
2109 newElem->skeleton.adoptInsteadAndCheckErrorCode(new PtnSkeleton(skeleton), status); in add()
2113 newElem->skeletonWasSpecified = skeletonWasSpecified; in add()
2115 … boot[26 + (baseChar - LOW_A)] = newElem.orphan(); // the boot array now owns the PtnElem. in add()
2118 boot[baseChar - CAP_A] = newElem.orphan(); // the boot array now owns the PtnElem. in add()
2132 LocalPointer<PtnElem> newElem(new PtnElem(basePattern, value), status); in add() local
[all …]
Dnumsys.cpp315 LocalPointer<UnicodeString> newElem(new UnicodeString(nsName, -1, US_INV), status); in initNumsysNames() local
316 numsysNames->adoptElement(newElem.orphan(), status); in initNumsysNames()
Dplurrule.cpp1553 LocalPointer<UnicodeString> newElem(node->fKeyword.clone(), status); in PluralKeywordEnumeration() local
1554 fKeywordNames.adoptElement(newElem.orphan(), status); in PluralKeywordEnumeration()
1565 LocalPointer<UnicodeString> newElem(new UnicodeString(PLURAL_KEYWORD_OTHER), status); in PluralKeywordEnumeration() local
1566 fKeywordNames.adoptElement(newElem.orphan(), status); in PluralKeywordEnumeration()
/third_party/node/deps/icu-small/source/i18n/
Ddtptngen.cpp2022 … LocalPointer<PtnElem> newElem(new PtnElem(otherElem->basePattern, otherElem->pattern), status); in copyFrom() local
2026newElem->skeleton.adoptInsteadAndCheckErrorCode(new PtnSkeleton(*(otherElem->skeleton)), status); in copyFrom()
2030 newElem->skeletonWasSpecified = otherElem->skeletonWasSpecified; in copyFrom()
2035 curElem = newElem.orphan(); in copyFrom()
2105 LocalPointer<PtnElem> newElem(new PtnElem(basePattern, value), status); in add() local
2109 newElem->skeleton.adoptInsteadAndCheckErrorCode(new PtnSkeleton(skeleton), status); in add()
2113 newElem->skeletonWasSpecified = skeletonWasSpecified; in add()
2115 … boot[26 + (baseChar - LOW_A)] = newElem.orphan(); // the boot array now owns the PtnElem. in add()
2118 boot[baseChar - CAP_A] = newElem.orphan(); // the boot array now owns the PtnElem. in add()
2132 LocalPointer<PtnElem> newElem(new PtnElem(basePattern, value), status); in add() local
[all …]
Dnumsys.cpp315 LocalPointer<UnicodeString> newElem(new UnicodeString(nsName, -1, US_INV), status); in initNumsysNames() local
316 numsysNames->adoptElement(newElem.orphan(), status); in initNumsysNames()
Dplurrule.cpp1553 LocalPointer<UnicodeString> newElem(node->fKeyword.clone(), status); in PluralKeywordEnumeration() local
1554 fKeywordNames.adoptElement(newElem.orphan(), status); in PluralKeywordEnumeration()
1565 LocalPointer<UnicodeString> newElem(new UnicodeString(PLURAL_KEYWORD_OTHER), status); in PluralKeywordEnumeration() local
1566 fKeywordNames.adoptElement(newElem.orphan(), status); in PluralKeywordEnumeration()