Home
last modified time | relevance | path

Searched refs:destString (Results 1 – 15 of 15) sorted by relevance

/third_party/node/deps/icu-small/source/common/
Dunorm.cpp163 UnicodeString destString(dest, 0, destCapacity); in _iterate() local
165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in _iterate()
167 *pNeededToNormalize= destString!=buffer; in _iterate()
169 return destString.length(); in _iterate()
249 UnicodeString destString; in _concatenate() local
251 destString.setTo(dest, leftLength, destCapacity); in _concatenate()
253 destString.setTo(dest, 0, destCapacity); in _concatenate()
254 destString.append(left, leftLength); in _concatenate()
256 return n2->append(destString, UnicodeString(rightLength<0, right, rightLength), *pErrorCode). in _concatenate()
Duts46.cpp76 UnicodeString destString; in labelToASCII_UTF8() local
77 labelToASCII(UnicodeString::fromUTF8(label), destString, in labelToASCII_UTF8()
86 UnicodeString destString; in labelToUnicodeUTF8() local
87 labelToUnicode(UnicodeString::fromUTF8(label), destString, in labelToUnicodeUTF8()
96 UnicodeString destString; in nameToASCII_UTF8() local
97 nameToASCII(UnicodeString::fromUTF8(name), destString, in nameToASCII_UTF8()
106 UnicodeString destString; in nameToUnicodeUTF8() local
107 nameToUnicode(UnicodeString::fromUTF8(name), destString, in nameToUnicodeUTF8()
426 UnicodeString destString; in processUTF8() local
495 destString=UnicodeString::fromUTF8(StringPiece(destArray+labelStart, mappingStart)); in processUTF8()
[all …]
Dnormalizer2.cpp343 UnicodeString destString(dest, 0, capacity); in unorm2_normalize() local
350 ReorderingBuffer buffer(n2wi->impl, destString); in unorm2_normalize()
356 n2->normalize(srcString, destString, *pErrorCode); in unorm2_normalize()
359 return destString.extract(dest, capacity, *pErrorCode); in unorm2_normalize()
451 UnicodeString destString(decomposition, 0, capacity); in unorm2_getDecomposition() local
452 if(reinterpret_cast<const Normalizer2 *>(norm2)->getDecomposition(c, destString)) { in unorm2_getDecomposition()
453 return destString.extract(decomposition, capacity, *pErrorCode); in unorm2_getDecomposition()
470 UnicodeString destString(decomposition, 0, capacity); in unorm2_getRawDecomposition() local
471 if(reinterpret_cast<const Normalizer2 *>(norm2)->getRawDecomposition(c, destString)) { in unorm2_getRawDecomposition()
472 return destString.extract(decomposition, capacity, *pErrorCode); in unorm2_getRawDecomposition()
/third_party/skia/third_party/externals/icu/source/common/
Dunorm.cpp163 UnicodeString destString(dest, 0, destCapacity); in _iterate() local
165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in _iterate()
167 *pNeededToNormalize= destString!=buffer; in _iterate()
169 return destString.length(); in _iterate()
249 UnicodeString destString; in _concatenate() local
251 destString.setTo(dest, leftLength, destCapacity); in _concatenate()
253 destString.setTo(dest, 0, destCapacity); in _concatenate()
254 destString.append(left, leftLength); in _concatenate()
256 return n2->append(destString, UnicodeString(rightLength<0, right, rightLength), *pErrorCode). in _concatenate()
Duts46.cpp76 UnicodeString destString; in labelToASCII_UTF8() local
77 labelToASCII(UnicodeString::fromUTF8(label), destString, in labelToASCII_UTF8()
86 UnicodeString destString; in labelToUnicodeUTF8() local
87 labelToUnicode(UnicodeString::fromUTF8(label), destString, in labelToUnicodeUTF8()
96 UnicodeString destString; in nameToASCII_UTF8() local
97 nameToASCII(UnicodeString::fromUTF8(name), destString, in nameToASCII_UTF8()
106 UnicodeString destString; in nameToUnicodeUTF8() local
107 nameToUnicode(UnicodeString::fromUTF8(name), destString, in nameToUnicodeUTF8()
426 UnicodeString destString; in processUTF8() local
495 destString=UnicodeString::fromUTF8(StringPiece(destArray+labelStart, mappingStart)); in processUTF8()
[all …]
Dnormalizer2.cpp343 UnicodeString destString(dest, 0, capacity); in unorm2_normalize() local
350 ReorderingBuffer buffer(n2wi->impl, destString); in unorm2_normalize()
356 n2->normalize(srcString, destString, *pErrorCode); in unorm2_normalize()
359 return destString.extract(dest, capacity, *pErrorCode); in unorm2_normalize()
451 UnicodeString destString(decomposition, 0, capacity); in unorm2_getDecomposition() local
452 if(reinterpret_cast<const Normalizer2 *>(norm2)->getDecomposition(c, destString)) { in unorm2_getDecomposition()
453 return destString.extract(decomposition, capacity, *pErrorCode); in unorm2_getDecomposition()
470 UnicodeString destString(decomposition, 0, capacity); in unorm2_getRawDecomposition() local
471 if(reinterpret_cast<const Normalizer2 *>(norm2)->getRawDecomposition(c, destString)) { in unorm2_getRawDecomposition()
472 return destString.extract(decomposition, capacity, *pErrorCode); in unorm2_getRawDecomposition()
/third_party/icu/icu4c/source/common/
Dunorm.cpp163 UnicodeString destString(dest, 0, destCapacity); in _iterate() local
165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode); in _iterate()
167 *pNeededToNormalize= destString!=buffer; in _iterate()
169 return destString.length(); in _iterate()
249 UnicodeString destString; in _concatenate() local
251 destString.setTo(dest, leftLength, destCapacity); in _concatenate()
253 destString.setTo(dest, 0, destCapacity); in _concatenate()
254 destString.append(left, leftLength); in _concatenate()
256 return n2->append(destString, UnicodeString(rightLength<0, right, rightLength), *pErrorCode). in _concatenate()
Duts46.cpp76 UnicodeString destString; in labelToASCII_UTF8() local
77 labelToASCII(UnicodeString::fromUTF8(label), destString, in labelToASCII_UTF8()
86 UnicodeString destString; in labelToUnicodeUTF8() local
87 labelToUnicode(UnicodeString::fromUTF8(label), destString, in labelToUnicodeUTF8()
96 UnicodeString destString; in nameToASCII_UTF8() local
97 nameToASCII(UnicodeString::fromUTF8(name), destString, in nameToASCII_UTF8()
106 UnicodeString destString; in nameToUnicodeUTF8() local
107 nameToUnicode(UnicodeString::fromUTF8(name), destString, in nameToUnicodeUTF8()
426 UnicodeString destString; in processUTF8() local
495 destString=UnicodeString::fromUTF8(StringPiece(destArray+labelStart, mappingStart)); in processUTF8()
[all …]
Dnormalizer2.cpp343 UnicodeString destString(dest, 0, capacity); in unorm2_normalize() local
350 ReorderingBuffer buffer(n2wi->impl, destString); in unorm2_normalize()
356 n2->normalize(srcString, destString, *pErrorCode); in unorm2_normalize()
359 return destString.extract(dest, capacity, *pErrorCode); in unorm2_normalize()
451 UnicodeString destString(decomposition, 0, capacity); in unorm2_getDecomposition() local
452 if(reinterpret_cast<const Normalizer2 *>(norm2)->getDecomposition(c, destString)) { in unorm2_getDecomposition()
453 return destString.extract(decomposition, capacity, *pErrorCode); in unorm2_getDecomposition()
470 UnicodeString destString(decomposition, 0, capacity); in unorm2_getRawDecomposition() local
471 if(reinterpret_cast<const Normalizer2 *>(norm2)->getRawDecomposition(c, destString)) { in unorm2_getRawDecomposition()
472 return destString.extract(decomposition, capacity, *pErrorCode); in unorm2_getRawDecomposition()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DTestStringPrep.java112 String destString = new String(dest, "UTF-8"); in TestNFS4MixedPrep() local
113 int destIndex = destString.indexOf('@'); in TestNFS4MixedPrep()
145 String destString = new String(dest, "UTF-8"); in TestCISPrep() local
146 if(!expectedDest.equalsIgnoreCase(destString)){ in TestCISPrep()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/
DTestStringPrep.java115 String destString = new String(dest, "UTF-8"); in TestNFS4MixedPrep() local
116 int destIndex = destString.indexOf('@'); in TestNFS4MixedPrep()
148 String destString = new String(dest, "UTF-8"); in TestCISPrep() local
149 if(!expectedDest.equalsIgnoreCase(destString)){ in TestCISPrep()
/third_party/icu/tools/unicode/c/genuts46/
Dgenuts46.cpp60 toIDNA2003(const UStringPrepProfile *prep, UChar32 c, icu::UnicodeString &destString) { in toIDNA2003() argument
66 dest=destString.getBuffer(32); in toIDNA2003()
72 dest, destString.getCapacity(), in toIDNA2003()
74 destString.releaseBuffer(destLength); in toIDNA2003()
/third_party/skia/third_party/externals/icu/source/i18n/
Dtznames_impl.cpp525 UChar *destString = &fChunks->fStrings[fChunks->fLimit]; in get() local
526 u_strcpy(destString, s); in get()
528 uhash_put(fHash, destString, destString, &status); in get()
529 return destString; in get()
/third_party/icu/icu4c/source/i18n/
Dtznames_impl.cpp533 UChar *destString = &fChunks->fStrings[fChunks->fLimit]; in get() local
534 u_strcpy(destString, s); in get()
536 uhash_put(fHash, destString, destString, &status); in get()
537 return destString; in get()
/third_party/node/deps/icu-small/source/i18n/
Dtznames_impl.cpp533 char16_t *destString = &fChunks->fStrings[fChunks->fLimit]; in get() local
534 u_strcpy(destString, s); in get()
536 uhash_put(fHash, destString, destString, &status); in get()
537 return destString; in get()