Home
last modified time | relevance | path

Searched refs:Normalizer2 (Results 1 – 25 of 159) sorted by relevance

1234567

/third_party/skia/third_party/externals/icu/source/common/
Dnormalizer2.cpp47 Normalizer2::~Normalizer2() {} in ~Normalizer2()
50 Normalizer2::normalizeUTF8(uint32_t /*options*/, StringPiece src, ByteSink &sink, in normalizeUTF8()
64 Normalizer2::getRawDecomposition(UChar32, UnicodeString &) const { in getRawDecomposition()
69 Normalizer2::composePair(UChar32, UChar32) const { in composePair()
74 Normalizer2::getCombiningClass(UChar32 /*c*/) const { in getCombiningClass()
79 Normalizer2::isNormalizedUTF8(StringPiece s, UErrorCode &errorCode) const { in isNormalizedUTF8()
84 class NoopNormalizer2 : public Normalizer2 {
185 static Normalizer2 *noopSingleton;
200 const Normalizer2 *Normalizer2Factory::getNoopInstance(UErrorCode &errorCode) { in getNoopInstance()
207 Normalizer2Factory::getImpl(const Normalizer2 *norm2) { in getImpl()
[all …]
Dloadednormalizer2impl.cpp217 const Normalizer2 *
218 Normalizer2::getNFCInstance(UErrorCode &errorCode) { in getNFCInstance()
223 const Normalizer2 *
224 Normalizer2::getNFDInstance(UErrorCode &errorCode) { in getNFDInstance()
229 const Normalizer2 *Normalizer2Factory::getFCDInstance(UErrorCode &errorCode) { in getFCDInstance()
234 const Normalizer2 *Normalizer2Factory::getFCCInstance(UErrorCode &errorCode) { in getFCCInstance()
246 const Normalizer2 *
247 Normalizer2::getNFKCInstance(UErrorCode &errorCode) { in getNFKCInstance()
252 const Normalizer2 *
253 Normalizer2::getNFKDInstance(UErrorCode &errorCode) { in getNFKDInstance()
[all …]
Dunorm.cpp51 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_quickCheck()
59 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_quickCheckWithOptions()
63 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_quickCheckWithOptions()
74 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_isNormalized()
82 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_isNormalizedWithOptions()
86 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_isNormalizedWithOptions()
101 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_normalize()
105 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_normalize()
119 const Normalizer2 *n2, in _iterate()
182 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_iterate()
[all …]
/third_party/node/deps/icu-small/source/common/
Dnormalizer2.cpp47 Normalizer2::~Normalizer2() {} in ~Normalizer2()
50 Normalizer2::normalizeUTF8(uint32_t /*options*/, StringPiece src, ByteSink &sink, in normalizeUTF8()
64 Normalizer2::getRawDecomposition(UChar32, UnicodeString &) const { in getRawDecomposition()
69 Normalizer2::composePair(UChar32, UChar32) const { in composePair()
74 Normalizer2::getCombiningClass(UChar32 /*c*/) const { in getCombiningClass()
79 Normalizer2::isNormalizedUTF8(StringPiece s, UErrorCode &errorCode) const { in isNormalizedUTF8()
84 class NoopNormalizer2 : public Normalizer2 {
185 static Normalizer2 *noopSingleton;
200 const Normalizer2 *Normalizer2Factory::getNoopInstance(UErrorCode &errorCode) { in getNoopInstance()
207 Normalizer2Factory::getImpl(const Normalizer2 *norm2) { in getImpl()
[all …]
Dloadednormalizer2impl.cpp217 const Normalizer2 *
218 Normalizer2::getNFCInstance(UErrorCode &errorCode) { in getNFCInstance()
223 const Normalizer2 *
224 Normalizer2::getNFDInstance(UErrorCode &errorCode) { in getNFDInstance()
229 const Normalizer2 *Normalizer2Factory::getFCDInstance(UErrorCode &errorCode) { in getFCDInstance()
234 const Normalizer2 *Normalizer2Factory::getFCCInstance(UErrorCode &errorCode) { in getFCCInstance()
246 const Normalizer2 *
247 Normalizer2::getNFKCInstance(UErrorCode &errorCode) { in getNFKCInstance()
252 const Normalizer2 *
253 Normalizer2::getNFKDInstance(UErrorCode &errorCode) { in getNFKDInstance()
[all …]
Dunorm.cpp51 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_quickCheck()
59 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_quickCheckWithOptions()
63 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_quickCheckWithOptions()
74 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_isNormalized()
82 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_isNormalizedWithOptions()
86 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_isNormalizedWithOptions()
101 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_normalize()
105 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_normalize()
119 const Normalizer2 *n2, in _iterate()
182 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_iterate()
[all …]
/third_party/icu/icu4c/source/common/
Dnormalizer2.cpp47 Normalizer2::~Normalizer2() {} in ~Normalizer2()
50 Normalizer2::normalizeUTF8(uint32_t /*options*/, StringPiece src, ByteSink &sink, in normalizeUTF8()
64 Normalizer2::getRawDecomposition(UChar32, UnicodeString &) const { in getRawDecomposition()
69 Normalizer2::composePair(UChar32, UChar32) const { in composePair()
74 Normalizer2::getCombiningClass(UChar32 /*c*/) const { in getCombiningClass()
79 Normalizer2::isNormalizedUTF8(StringPiece s, UErrorCode &errorCode) const { in isNormalizedUTF8()
84 class NoopNormalizer2 : public Normalizer2 {
185 static Normalizer2 *noopSingleton;
200 const Normalizer2 *Normalizer2Factory::getNoopInstance(UErrorCode &errorCode) { in getNoopInstance()
207 Normalizer2Factory::getImpl(const Normalizer2 *norm2) { in getImpl()
[all …]
Dloadednormalizer2impl.cpp217 const Normalizer2 *
218 Normalizer2::getNFCInstance(UErrorCode &errorCode) { in getNFCInstance()
223 const Normalizer2 *
224 Normalizer2::getNFDInstance(UErrorCode &errorCode) { in getNFDInstance()
229 const Normalizer2 *Normalizer2Factory::getFCDInstance(UErrorCode &errorCode) { in getFCDInstance()
234 const Normalizer2 *Normalizer2Factory::getFCCInstance(UErrorCode &errorCode) { in getFCCInstance()
246 const Normalizer2 *
247 Normalizer2::getNFKCInstance(UErrorCode &errorCode) { in getNFKCInstance()
252 const Normalizer2 *
253 Normalizer2::getNFKDInstance(UErrorCode &errorCode) { in getNFKDInstance()
[all …]
Dunorm.cpp51 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_quickCheck()
59 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_quickCheckWithOptions()
63 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_quickCheckWithOptions()
74 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_isNormalized()
82 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_isNormalizedWithOptions()
86 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_isNormalizedWithOptions()
101 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_normalize()
105 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_normalize()
119 const Normalizer2 *n2, in _iterate()
182 const Normalizer2 *n2=Normalizer2Factory::getInstance(mode, *pErrorCode); in unorm_iterate()
[all …]
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DNormalizationTransliterator.java24 private final Normalizer2 norm2;
33 return new NormalizationTransliterator("NFC", Normalizer2.getNFCInstance()); in register()
39 return new NormalizationTransliterator("NFD", Normalizer2.getNFDInstance()); in register()
45 return new NormalizationTransliterator("NFKC", Normalizer2.getNFKCInstance()); in register()
51 return new NormalizationTransliterator("NFKD", Normalizer2.getNFKDInstance()); in register()
75 private NormalizationTransliterator(String id, Normalizer2 n2) { in NormalizationTransliterator()
139 …static final Map<Normalizer2, SourceTargetUtility> SOURCE_CACHE = new HashMap<Normalizer2, SourceT…
143 final Normalizer2 norm2;
144 public NormalizingTransform(Normalizer2 norm2) { in NormalizingTransform()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DNormalizationTransliterator.java25 private final Normalizer2 norm2;
34 return new NormalizationTransliterator("NFC", Normalizer2.getNFCInstance()); in register()
40 return new NormalizationTransliterator("NFD", Normalizer2.getNFDInstance()); in register()
46 return new NormalizationTransliterator("NFKC", Normalizer2.getNFKCInstance()); in register()
52 return new NormalizationTransliterator("NFKD", Normalizer2.getNFKDInstance()); in register()
76 private NormalizationTransliterator(String id, Normalizer2 n2) { in NormalizationTransliterator()
140 …static final Map<Normalizer2, SourceTargetUtility> SOURCE_CACHE = new HashMap<Normalizer2, SourceT…
144 final Normalizer2 norm2;
145 public NormalizingTransform(Normalizer2 norm2) { in NormalizingTransform()
DNormalizer2.java63 public abstract class Normalizer2 { class
116 public static Normalizer2 getNFCInstance() { in getNFCInstance()
126 public static Normalizer2 getNFDInstance() { in getNFDInstance()
136 public static Normalizer2 getNFKCInstance() { in getNFKCInstance()
146 public static Normalizer2 getNFKDInstance() { in getNFKDInstance()
156 public static Normalizer2 getNFKCCasefoldInstance() { in getNFKCCasefoldInstance()
181 public static Normalizer2 getInstance(InputStream data, String name, Mode mode) { in getInstance()
422 protected Normalizer2() { in Normalizer2() method in Normalizer2
DNormalizer.java135 private Normalizer2 norm2;
150 private ModeImpl(Normalizer2 n2) { in ModeImpl()
153 private final Normalizer2 normalizer2;
156 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFDInstance());
159 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFKDInstance());
162 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFCInstance());
165 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFKCInstance());
176 new ModeImpl(new FilteredNormalizer2(Normalizer2.getNFDInstance(),
181 new ModeImpl(new FilteredNormalizer2(Normalizer2.getNFKDInstance(),
186 new ModeImpl(new FilteredNormalizer2(Normalizer2.getNFCInstance(),
[all …]
/third_party/node/deps/icu-small/source/common/unicode/
Dnormalizer2.h85 class U_COMMON_API Normalizer2 : public UObject {
91 ~Normalizer2();
104 static const Normalizer2 *
118 static const Normalizer2 *
132 static const Normalizer2 *
146 static const Normalizer2 *
160 static const Normalizer2 *
184 static const Normalizer2 *
499 class U_COMMON_API FilteredNormalizer2 : public Normalizer2 {
511 FilteredNormalizer2(const Normalizer2 &n2, const UnicodeSet &filterSet) : in FilteredNormalizer2()
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dnormalizer2.h85 class U_COMMON_API Normalizer2 : public UObject {
91 ~Normalizer2();
104 static const Normalizer2 *
118 static const Normalizer2 *
132 static const Normalizer2 *
146 static const Normalizer2 *
160 static const Normalizer2 *
184 static const Normalizer2 *
499 class U_COMMON_API FilteredNormalizer2 : public Normalizer2 {
511 FilteredNormalizer2(const Normalizer2 &n2, const UnicodeSet &filterSet) : in FilteredNormalizer2()
[all …]
/third_party/icu/icu4c/source/common/unicode/
Dnormalizer2.h85 class U_COMMON_API Normalizer2 : public UObject {
91 ~Normalizer2();
104 static const Normalizer2 *
118 static const Normalizer2 *
132 static const Normalizer2 *
146 static const Normalizer2 *
160 static const Normalizer2 *
184 static const Normalizer2 *
499 class U_COMMON_API FilteredNormalizer2 : public Normalizer2 {
511 FilteredNormalizer2(const Normalizer2 &n2, const UnicodeSet &filterSet) : in FilteredNormalizer2()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer2.java63 public abstract class Normalizer2 { class
122 public static Normalizer2 getNFCInstance() { in getNFCInstance()
133 public static Normalizer2 getNFDInstance() { in getNFDInstance()
144 public static Normalizer2 getNFKCInstance() { in getNFKCInstance()
155 public static Normalizer2 getNFKDInstance() { in getNFKDInstance()
166 public static Normalizer2 getNFKCCasefoldInstance() { in getNFKCCasefoldInstance()
192 public static Normalizer2 getInstance(InputStream data, String name, Mode mode) { in getInstance()
447 protected Normalizer2() { in Normalizer2() method in Normalizer2
DNormalizer.java136 private Normalizer2 norm2;
151 private ModeImpl(Normalizer2 n2) { in ModeImpl()
154 private final Normalizer2 normalizer2;
157 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFDInstance());
160 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFKDInstance());
163 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFCInstance());
166 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFKCInstance());
177 new ModeImpl(new FilteredNormalizer2(Normalizer2.getNFDInstance(),
182 new ModeImpl(new FilteredNormalizer2(Normalizer2.getNFKDInstance(),
187 new ModeImpl(new FilteredNormalizer2(Normalizer2.getNFCInstance(),
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
DTransliteratorDisorderedMarksTest.java17 import ohos.global.icu.text.Normalizer2;
41 Normalizer2 nfc = Normalizer2.getNFCInstance(); in disorderedMarksAddAll()
42 Normalizer2 nfd = Normalizer2.getNFDInstance(); in disorderedMarksAddAll()
203 Normalizer2 nfd = Normalizer2.getNFDInstance(); in TestSourceTargetSet2()
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorDisorderedMarksTest.java16 import com.ibm.icu.text.Normalizer2;
38 Normalizer2 nfc = Normalizer2.getNFCInstance(); in disorderedMarksAddAll()
39 Normalizer2 nfd = Normalizer2.getNFDInstance(); in disorderedMarksAddAll()
200 Normalizer2 nfd = Normalizer2.getNFDInstance(); in TestSourceTargetSet2()
/third_party/icu/icu4c/source/test/perf/normperf/
Dsimplenormperf.cpp19 using icu::Normalizer2;
236 NormalizeUTF16(const Normalizer2 &n2, const UnicodeString &text) : in NormalizeUTF16()
242 const Normalizer2 &norm2;
267 NormalizeUTF8(const Normalizer2 &n2, const UnicodeString &text) : norm2(n2), sink(&dest) { in NormalizeUTF8()
275 const Normalizer2 &norm2;
310 const Normalizer2 *nfc = Normalizer2::getNFCInstance(errorCode); in main()
311 const Normalizer2 *nfkc_cf = Normalizer2::getNFKCCasefoldInstance(errorCode); in main()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
DBasicTest.java30 import ohos.global.icu.text.Normalizer2;
2081 Normalizer2 nfcNorm2 = Normalizer2.getNFCInstance(); in TestCompare()
2393 Normalizer2 norm2=Normalizer2.getNFCInstance(); in initSkippables()
2601 Normalizer2 n2=Normalizer2.getInstance(null, "nfc", Normalizer2.Mode.COMPOSE_CONTIGUOUS); in TestGetDecomposition()
2612 Normalizer2 n2=Normalizer2.getNFKCInstance(); in TestGetRawDecomposition()
2652 Normalizer2 customNorm2; in TestCustomComp()
2654 Normalizer2.getInstance( in TestCustomComp()
2657 Normalizer2.Mode.COMPOSE); in TestCustomComp()
2688 Normalizer2 customNorm2; in TestCustomFCC()
2690 Normalizer2.getInstance( in TestCustomFCC()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DBasicTest.java29 import com.ibm.icu.text.Normalizer2;
2078 Normalizer2 nfcNorm2 = Normalizer2.getNFCInstance(); in TestCompare()
2390 Normalizer2 norm2=Normalizer2.getNFCInstance(); in initSkippables()
2598 Normalizer2 n2=Normalizer2.getInstance(null, "nfc", Normalizer2.Mode.COMPOSE_CONTIGUOUS); in TestGetDecomposition()
2609 Normalizer2 n2=Normalizer2.getNFKCInstance(); in TestGetRawDecomposition()
2649 Normalizer2 customNorm2; in TestCustomComp()
2651 Normalizer2.getInstance( in TestCustomComp()
2654 Normalizer2.Mode.COMPOSE); in TestCustomComp()
2685 Normalizer2 customNorm2; in TestCustomFCC()
2687 Normalizer2.getInstance( in TestCustomFCC()
[all …]
/third_party/icu/docs/userguide/transforms/normalization/
Dindex.md40 ICU 4.4 adds the Normalizer2 API (in
41 [Java](https://unicode-org.github.io/icu-docs/apidoc/released/icu4j/com/ibm/icu/text/Normalizer2.ht…
51 * Custom data: The new API uses non-static functions. A Normalizer2 instance
70 Normalizer2 supports it for any data file, including NFKC/NFKD and custom
72 * FCC: Normalizer2 optionally supports [contiguous
78 * Filtered: The new FilteredNormalizer2 class combines a Normalizer2 instance
97 although reimplemented using the new code. They use multiple Normalizer2
98 instances (FCD and NFD) and are therefore a poor fit for the new Normalizer2
99 class. If necessary, a modernized replacement taking multiple Normalizer2
106 data file for `Normalizer2.getInstance()`. For gennorm2 command line options,
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dtstnorm.cpp1157 const Normalizer2 *nfcNorm2=Normalizer2::getNFCInstance(errorCode); in TestCompare()
1379 const Normalizer2 *norm2=Normalizer2::getNFCInstance(errorCode); in initExpectedSkippables()
1475 const Normalizer2 *customNorm2= in TestCustomComp()
1476 Normalizer2::getInstance(loadTestData(errorCode), "testnorm", in TestCustomComp()
1512 const Normalizer2 *customNorm2= in TestCustomFCC()
1513 Normalizer2::getInstance(loadTestData(errorCode), "testnorm", in TestCustomFCC()
1533 const Normalizer2 *nfcNorm2=Normalizer2::getNFCInstance(errorCode); in TestFilteredNormalizer2Coverage()
1574 const Normalizer2 *nfkc_cf=Normalizer2::getNFKCCasefoldInstance(errorCode); in TestComposeUTF8WithEdits()
1677 const Normalizer2 *nfkd_cf = in TestDecomposeUTF8WithEdits()
1678 Normalizer2::getInstance(nullptr, "nfkc_cf", UNORM2_DECOMPOSE, errorCode); in TestDecomposeUTF8WithEdits()
[all …]

1234567