Home
last modified time | relevance | path

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

123

/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 …]
/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 …]
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dunorm2.h237 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode);
246 unorm2_close(UNormalizer2 *norm2);
284 unorm2_normalize(const UNormalizer2 *norm2,
307 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2,
330 unorm2_append(const UNormalizer2 *norm2,
355 unorm2_getDecomposition(const UNormalizer2 *norm2,
389 unorm2_getRawDecomposition(const UNormalizer2 *norm2,
409 unorm2_composePair(const UNormalizer2 *norm2, UChar32 a, UChar32 b);
421 unorm2_getCombiningClass(const UNormalizer2 *norm2, UChar32 c);
440 unorm2_isNormalized(const UNormalizer2 *norm2,
[all …]
/third_party/icu/icu4c/source/common/unicode/
Dunorm2.h237 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode);
246 unorm2_close(UNormalizer2 *norm2);
284 unorm2_normalize(const UNormalizer2 *norm2,
307 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2,
330 unorm2_append(const UNormalizer2 *norm2,
355 unorm2_getDecomposition(const UNormalizer2 *norm2,
389 unorm2_getRawDecomposition(const UNormalizer2 *norm2,
409 unorm2_composePair(const UNormalizer2 *norm2, UChar32 a, UChar32 b);
421 unorm2_getCombiningClass(const UNormalizer2 *norm2, UChar32 c);
440 unorm2_isNormalized(const UNormalizer2 *norm2,
[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/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/flutter/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/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/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/flutter/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()
Dnortrans.h89 NormalizationTransliterator(const UnicodeString& id, const Normalizer2 &norm2);
/third_party/node/deps/icu-small/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()
Dnortrans.h89 NormalizationTransliterator(const UnicodeString& id, const Normalizer2 &norm2);
/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()
Dnortrans.h89 NormalizationTransliterator(const UnicodeString& id, const Normalizer2 &norm2);
/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 __anon410da8650111::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 __anon410da8650111::NormalizeUTF8
297 norm2.normalizeUTF8(0, piece, sink, nullptr, errorCode); in call()
/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/icu4c/source/test/intltest/
Dnormconf.cpp285 UBool isNormalizedUTF8(const Normalizer2 &norm2, const UnicodeString &s, UErrorCode &errorCode) { in isNormalizedUTF8() argument
287 return norm2.isNormalizedUTF8(s.toUTF8String(s8), errorCode); in isNormalizedUTF8()
447 const Normalizer2 *norm2, in checkNorm() argument
474 if (norm2 == nullptr || options != 0) { in checkNorm()
486 norm2->normalizeUTF8(0, s8, sink, editsPtr, errorCode); in checkNorm()

123