Home
last modified time | relevance | path

Searched refs:norm2 (Results 1 – 25 of 53) sorted by relevance

123

/third_party/icu/icu4c/source/common/unicode/
Dunorm2.h240 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode);
249 unorm2_close(UNormalizer2 *norm2);
287 unorm2_normalize(const UNormalizer2 *norm2,
310 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2,
333 unorm2_append(const UNormalizer2 *norm2,
358 unorm2_getDecomposition(const UNormalizer2 *norm2,
392 unorm2_getRawDecomposition(const UNormalizer2 *norm2,
412 unorm2_composePair(const UNormalizer2 *norm2, UChar32 a, UChar32 b);
424 unorm2_getCombiningClass(const UNormalizer2 *norm2, UChar32 c);
443 unorm2_isNormalized(const UNormalizer2 *norm2,
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dunorm2.h240 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode);
249 unorm2_close(UNormalizer2 *norm2);
287 unorm2_normalize(const UNormalizer2 *norm2,
310 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2,
333 unorm2_append(const UNormalizer2 *norm2,
358 unorm2_getDecomposition(const UNormalizer2 *norm2,
392 unorm2_getRawDecomposition(const UNormalizer2 *norm2,
412 unorm2_composePair(const UNormalizer2 *norm2, UChar32 a, UChar32 b);
424 unorm2_getCombiningClass(const UNormalizer2 *norm2, UChar32 c);
443 unorm2_isNormalized(const UNormalizer2 *norm2,
[all …]
Dnormalizer2.h512 norm2(n2), set(filterSet) {} in FilteredNormalizer2()
761 const Normalizer2 &norm2; variable
/third_party/node/deps/icu-small/source/common/unicode/
Dunorm2.h240 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode);
249 unorm2_close(UNormalizer2 *norm2);
287 unorm2_normalize(const UNormalizer2 *norm2,
310 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2,
333 unorm2_append(const UNormalizer2 *norm2,
358 unorm2_getDecomposition(const UNormalizer2 *norm2,
392 unorm2_getRawDecomposition(const UNormalizer2 *norm2,
412 unorm2_composePair(const UNormalizer2 *norm2, UChar32 a, UChar32 b);
424 unorm2_getCombiningClass(const UNormalizer2 *norm2, UChar32 c);
443 unorm2_isNormalized(const UNormalizer2 *norm2,
[all …]
Dnormalizer2.h512 norm2(n2), set(filterSet) {} in FilteredNormalizer2()
761 const Normalizer2 &norm2; variable
/third_party/skia/third_party/externals/icu/source/common/
Dnormalizer2.cpp207 Normalizer2Factory::getImpl(const Normalizer2 *norm2) { in getImpl() argument
208 return &((Normalizer2WithImpl *)norm2)->impl; in getImpl()
324 unorm2_close(UNormalizer2 *norm2) { in unorm2_close() argument
325 delete (Normalizer2 *)norm2; in unorm2_close()
329 unorm2_normalize(const UNormalizer2 *norm2, in unorm2_normalize() argument
346 const Normalizer2 *n2=(const Normalizer2 *)norm2; in unorm2_normalize()
363 normalizeSecondAndAppend(const UNormalizer2 *norm2, in normalizeSecondAndAppend() argument
383 const Normalizer2 *n2=(const Normalizer2 *)norm2; in normalizeSecondAndAppend()
419 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2, in unorm2_normalizeSecondAndAppend() argument
423 return normalizeSecondAndAppend(norm2, in unorm2_normalizeSecondAndAppend()
[all …]
Dfilterednormalizer2.cpp77 dest.append(norm2.normalize(src.tempSubStringBetween(prevSpanLimit, spanLimit), in normalize()
124 norm2.normalizeUTF8(options, StringPiece(src, spanLength), sink, edits, errorCode); in normalizeUTF8()
178 norm2.normalizeSecondAndAppend(first, prefix, errorCode); in normalizeSecondAndAppend()
180 norm2.append(first, prefix, errorCode); in normalizeSecondAndAppend()
185 norm2.normalizeSecondAndAppend(middle, prefix, errorCode); in normalizeSecondAndAppend()
187 norm2.append(middle, prefix, errorCode); in normalizeSecondAndAppend()
205 return set.contains(c) && norm2.getDecomposition(c, decomposition); in getDecomposition()
210 return set.contains(c) && norm2.getRawDecomposition(c, decomposition); in getRawDecomposition()
215 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : U_SENTINEL; in composePair()
220 return set.contains(c) ? norm2.getCombiningClass(c) : 0; in getCombiningClass()
[all …]
/third_party/node/deps/icu-small/source/common/
Dnormalizer2.cpp207 Normalizer2Factory::getImpl(const Normalizer2 *norm2) { in getImpl() argument
208 return &((Normalizer2WithImpl *)norm2)->impl; in getImpl()
324 unorm2_close(UNormalizer2 *norm2) { in unorm2_close() argument
325 delete (Normalizer2 *)norm2; in unorm2_close()
329 unorm2_normalize(const UNormalizer2 *norm2, in unorm2_normalize() argument
346 const Normalizer2 *n2=(const Normalizer2 *)norm2; in unorm2_normalize()
363 normalizeSecondAndAppend(const UNormalizer2 *norm2, in normalizeSecondAndAppend() argument
383 const Normalizer2 *n2=(const Normalizer2 *)norm2; in normalizeSecondAndAppend()
419 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2, in unorm2_normalizeSecondAndAppend() argument
423 return normalizeSecondAndAppend(norm2, in unorm2_normalizeSecondAndAppend()
[all …]
Dfilterednormalizer2.cpp77 dest.append(norm2.normalize(src.tempSubStringBetween(prevSpanLimit, spanLimit), in normalize()
124 norm2.normalizeUTF8(options, StringPiece(src, spanLength), sink, edits, errorCode); in normalizeUTF8()
178 norm2.normalizeSecondAndAppend(first, prefix, errorCode); in normalizeSecondAndAppend()
180 norm2.append(first, prefix, errorCode); in normalizeSecondAndAppend()
185 norm2.normalizeSecondAndAppend(middle, prefix, errorCode); in normalizeSecondAndAppend()
187 norm2.append(middle, prefix, errorCode); in normalizeSecondAndAppend()
205 return set.contains(c) && norm2.getDecomposition(c, decomposition); in getDecomposition()
210 return set.contains(c) && norm2.getRawDecomposition(c, decomposition); in getRawDecomposition()
215 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : U_SENTINEL; in composePair()
220 return set.contains(c) ? norm2.getCombiningClass(c) : 0; in getCombiningClass()
[all …]
/third_party/icu/icu4c/source/common/
Dnormalizer2.cpp207 Normalizer2Factory::getImpl(const Normalizer2 *norm2) { in getImpl() argument
208 return &((Normalizer2WithImpl *)norm2)->impl; in getImpl()
324 unorm2_close(UNormalizer2 *norm2) { in unorm2_close() argument
325 delete (Normalizer2 *)norm2; in unorm2_close()
329 unorm2_normalize(const UNormalizer2 *norm2, in unorm2_normalize() argument
346 const Normalizer2 *n2=(const Normalizer2 *)norm2; in unorm2_normalize()
363 normalizeSecondAndAppend(const UNormalizer2 *norm2, in normalizeSecondAndAppend() argument
383 const Normalizer2 *n2=(const Normalizer2 *)norm2; in normalizeSecondAndAppend()
419 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2, in unorm2_normalizeSecondAndAppend() argument
423 return normalizeSecondAndAppend(norm2, in unorm2_normalizeSecondAndAppend()
[all …]
Dfilterednormalizer2.cpp77 dest.append(norm2.normalize(src.tempSubStringBetween(prevSpanLimit, spanLimit), in normalize()
124 norm2.normalizeUTF8(options, StringPiece(src, spanLength), sink, edits, errorCode); in normalizeUTF8()
178 norm2.normalizeSecondAndAppend(first, prefix, errorCode); in normalizeSecondAndAppend()
180 norm2.append(first, prefix, errorCode); in normalizeSecondAndAppend()
185 norm2.normalizeSecondAndAppend(middle, prefix, errorCode); in normalizeSecondAndAppend()
187 norm2.append(middle, prefix, errorCode); in normalizeSecondAndAppend()
205 return set.contains(c) && norm2.getDecomposition(c, decomposition); in getDecomposition()
210 return set.contains(c) && norm2.getRawDecomposition(c, decomposition); in getRawDecomposition()
215 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : U_SENTINEL; in composePair()
220 return set.contains(c) ? norm2.getCombiningClass(c) : 0; in getCombiningClass()
[all …]
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DNormalizationTransliterator.java24 private final Normalizer2 norm2; field in NormalizationTransliterator
77 norm2 = n2; in NormalizationTransliterator()
114 } while(start < limit && !norm2.hasBoundaryBefore(c = text.char32At(start))); in handleTransliterate()
115 if(start == limit && isIncremental && !norm2.hasBoundaryAfter(c)) { in handleTransliterate()
122 norm2.normalize(segment, normalized); in handleTransliterate()
143 final Normalizer2 norm2; field in NormalizationTransliterator.NormalizingTransform
144 public NormalizingTransform(Normalizer2 norm2) { in NormalizingTransform() argument
145 this.norm2 = norm2; in NormalizingTransform()
149 return norm2.normalize(source); in transform()
161 cache = SOURCE_CACHE.get(norm2); in addSourceTargetSet()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DNormalizationTransliterator.java25 private final Normalizer2 norm2; field in NormalizationTransliterator
78 norm2 = n2; in NormalizationTransliterator()
115 } while(start < limit && !norm2.hasBoundaryBefore(c = text.char32At(start))); in handleTransliterate()
116 if(start == limit && isIncremental && !norm2.hasBoundaryAfter(c)) { in handleTransliterate()
123 norm2.normalize(segment, normalized); in handleTransliterate()
144 final Normalizer2 norm2; field in NormalizationTransliterator.NormalizingTransform
145 public NormalizingTransform(Normalizer2 norm2) { in NormalizingTransform() argument
146 this.norm2 = norm2; in NormalizingTransform()
150 return norm2.normalize(source); in transform()
162 cache = SOURCE_CACHE.get(norm2); in addSourceTargetSet()
[all …]
DFilteredNormalizer2.java38 norm2=n2; in FilteredNormalizer2()
86 return set.contains(c) ? norm2.getDecomposition(c) : null; in getDecomposition()
94 return set.contains(c) ? norm2.getRawDecomposition(c) : null; in getRawDecomposition()
102 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : -1; in composePair()
110 return set.contains(c) ? norm2.getCombiningClass(c) : 0; in getCombiningClass()
124 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) { in isNormalized()
147 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck()
172 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit)); in spanQuickCheckYes()
188 return !set.contains(c) || norm2.hasBoundaryBefore(c); in hasBoundaryBefore()
196 return !set.contains(c) || norm2.hasBoundaryAfter(c); in hasBoundaryAfter()
[all …]
DNormalizer.java135 private Normalizer2 norm2; field in Normalizer
581 norm2 = mode.getNormalizer2(opt); in Normalizer()
606 norm2 = mode.getNormalizer2(opt); in Normalizer()
628 norm2 = mode.getNormalizer2(options); in Normalizer()
655 copy.norm2 = norm2; in clone()
1768 norm2 = mode.getNormalizer2(options); in setMode()
1807 norm2 = mode.getNormalizer2(options); in setOption()
1968 if(norm2.hasBoundaryBefore(c)) { in nextNormalize()
1975 norm2.normalize(segment, buffer); in nextNormalize()
1991 if(norm2.hasBoundaryBefore(c)) { in previousNormalize()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DFilteredNormalizer2.java38 norm2=n2; in FilteredNormalizer2()
91 return set.contains(c) ? norm2.getDecomposition(c) : null; in getDecomposition()
100 return set.contains(c) ? norm2.getRawDecomposition(c) : null; in getRawDecomposition()
109 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : -1; in composePair()
118 return set.contains(c) ? norm2.getCombiningClass(c) : 0; in getCombiningClass()
133 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) { in isNormalized()
157 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck()
183 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit)); in spanQuickCheckYes()
200 return !set.contains(c) || norm2.hasBoundaryBefore(c); in hasBoundaryBefore()
209 return !set.contains(c) || norm2.hasBoundaryAfter(c); in hasBoundaryAfter()
[all …]
DNormalizer.java136 private Normalizer2 norm2; field in Normalizer
570 norm2 = mode.getNormalizer2(opt); in Normalizer()
594 norm2 = mode.getNormalizer2(opt); in Normalizer()
615 norm2 = mode.getNormalizer2(options); in Normalizer()
641 copy.norm2 = norm2; in clone()
1719 norm2 = mode.getNormalizer2(options); in setMode()
1756 norm2 = mode.getNormalizer2(options); in setOption()
1908 if(norm2.hasBoundaryBefore(c)) { in nextNormalize()
1915 norm2.normalize(segment, buffer); in nextNormalize()
1931 if(norm2.hasBoundaryBefore(c)) { in previousNormalize()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dnortrans.cpp65 const Normalizer2 *norm2 = Normalizer2::getInstance(nullptr, name, mode, errorCode); in _create() local
67 return new NormalizationTransliterator(ID, *norm2); in _create()
77 const Normalizer2 &norm2) : in NormalizationTransliterator() argument
78 Transliterator(id, 0), fNorm2(norm2) {} in NormalizationTransliterator()
/third_party/icu/icu4c/source/i18n/
Dnortrans.cpp65 const Normalizer2 *norm2 = Normalizer2::getInstance(NULL, name, mode, errorCode); in _create() local
67 return new NormalizationTransliterator(ID, *norm2); in _create()
77 const Normalizer2 &norm2) : in NormalizationTransliterator() argument
78 Transliterator(id, 0), fNorm2(norm2) {} in NormalizationTransliterator()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnortrans.cpp65 const Normalizer2 *norm2 = Normalizer2::getInstance(NULL, name, mode, errorCode); in _create() local
67 return new NormalizationTransliterator(ID, *norm2); in _create()
77 const Normalizer2 &norm2) : in NormalizationTransliterator() argument
78 Transliterator(id, 0), fNorm2(norm2) {} in NormalizationTransliterator()
/third_party/icu/icu4c/source/test/perf/normperf/
Dsimplenormperf.cpp237 norm2(n2), src(text), s(src.getBuffer()) {} in NormalizeUTF16()
242 const Normalizer2 &norm2; member in __anon4bb8d2010111::NormalizeUTF16
259 norm2.normalize(piece, dest, errorCode); in call()
267 NormalizeUTF8(const Normalizer2 &n2, const UnicodeString &text) : norm2(n2), sink(&dest) { in NormalizeUTF8()
275 const Normalizer2 &norm2; member in __anon4bb8d2010111::NormalizeUTF8
297 norm2.normalizeUTF8(0, piece, sink, nullptr, errorCode); in call()
/third_party/icu/icu4c/source/test/intltest/
Dnormconf.cpp285 UBool isNormalizedUTF8(const Normalizer2 *norm2, const UnicodeString &s, UErrorCode &errorCode) { in isNormalizedUTF8() argument
286 if (norm2 == nullptr) { in isNormalizedUTF8()
290 return norm2->isNormalizedUTF8(s.toUTF8String(s8), errorCode); in isNormalizedUTF8()
458 const Normalizer2 *norm2, in checkNorm() argument
485 if (norm2 == nullptr || options != 0) { in checkNorm()
497 norm2->normalizeUTF8(0, s8, sink, editsPtr, errorCode); in checkNorm()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DTestDeprecatedNormalizerAPI.java40 Normalizer norm2 = new Normalizer(s,Normalizer.NFC,0); in TestNormalizerAPI() local
41 if(norm2.next()!=0xe4) { in TestNormalizerAPI()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
DTestDeprecatedNormalizerAPI.java43 Normalizer norm2 = new Normalizer(s,Normalizer.NFC,0); in TestNormalizerAPI() local
44 if(norm2.next()!=0xe4) { in TestNormalizerAPI()
/third_party/icu/docs/userguide/transforms/normalization/
Dindex.md111 [{ICU4C}/source/data/unidata/norm2/](https://github.com/unicode-org/icu/tree/main/icu4c/source/data…
168 … bin/gennorm2 -v -o $ICU4C_DATA_IN/nfkc_cf.nrm -s $ICU4C_UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt
178 …bin/gennorm2 -v -o $ICU_SRC/icu4c/source/common/norm2_nfc_data.h -s $ICU4C_UNIDATA/norm2 nfc.txt *…
186 …bin/gennorm2 -o /tmp/nfkc_cf.txt -s $ICU4C_UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt **--combined…
198 …bin/gennorm2 -o /tmp/nfkc_cf-minus-nfkc.txt -s $ICU4C_UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt *…

123