Home
last modified time | relevance | path

Searched refs:Norm2AllModes (Results 1 – 25 of 32) sorted by relevance

12

/external/icu/icu4c/source/common/
Dloadednormalizer2impl.cpp115 Norm2AllModes *
116 Norm2AllModes::createInstance(const char *packageName, in createInstance()
136 static Norm2AllModes *nfcSingleton;
140 static Norm2AllModes *nfkcSingleton;
143 static Norm2AllModes *nfkc_cfSingleton;
152 nfcSingleton = Norm2AllModes::createInstance(NULL, "nfc", errorCode); in initSingletons()
156 nfkcSingleton = Norm2AllModes::createInstance(NULL, "nfkc", errorCode); in initSingletons()
158 nfkc_cfSingleton = Norm2AllModes::createInstance(NULL, "nfkc_cf", errorCode); in initSingletons()
168 delete (Norm2AllModes *)allModes; in deleteNorm2AllModes()
194 const Norm2AllModes *
[all …]
Dnormalizer2.cpp211 Norm2AllModes::~Norm2AllModes() { in ~Norm2AllModes()
215 Norm2AllModes *
216 Norm2AllModes::createInstance(Normalizer2Impl *impl, UErrorCode &errorCode) { in createInstance()
221 Norm2AllModes *allModes=new Norm2AllModes(impl); in createInstance()
231 Norm2AllModes *
232 Norm2AllModes::createNFCInstance(UErrorCode &errorCode) { in createNFCInstance()
246 static Norm2AllModes *nfcSingleton;
251 nfcSingleton=Norm2AllModes::createNFCInstance(errorCode); in initNFCSingleton()
255 const Norm2AllModes *
256 Norm2AllModes::getNFCInstance(UErrorCode &errorCode) { in getNFCInstance()
[all …]
Dnorm2allmodes.h344 struct Norm2AllModes : public UMemory { struct
345 Norm2AllModes(Normalizer2Impl *i) in Norm2AllModes() argument
347 ~Norm2AllModes();
349 static Norm2AllModes *createInstance(Normalizer2Impl *impl, UErrorCode &errorCode);
350 static Norm2AllModes *createNFCInstance(UErrorCode &errorCode);
351 static Norm2AllModes *createInstance(const char *packageName,
355 static const Norm2AllModes *getNFCInstance(UErrorCode &errorCode);
356 static const Norm2AllModes *getNFKCInstance(UErrorCode &errorCode);
357 static const Norm2AllModes *getNFKC_CFInstance(UErrorCode &errorCode);
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNormalizer2.java18 import android.icu.impl.Norm2AllModes;
117 return Norm2AllModes.getNFCInstance().comp; in getNFCInstance()
127 return Norm2AllModes.getNFCInstance().decomp; in getNFDInstance()
137 return Norm2AllModes.getNFKCInstance().comp; in getNFKCInstance()
147 return Norm2AllModes.getNFKCInstance().decomp; in getNFKDInstance()
157 return Norm2AllModes.getNFKC_CFInstance().comp; in getNFKCCasefoldInstance()
191 Norm2AllModes all2Modes=Norm2AllModes.getInstance(bytes, name); in getInstance()
DComposedCharIter.java11 import android.icu.impl.Norm2AllModes;
96 n2impl = Norm2AllModes.getNFKCInstance().impl; in ComposedCharIter()
98 n2impl = Norm2AllModes.getNFCInstance().impl; in ComposedCharIter()
DNormalizationTransliterator.java18 import android.icu.impl.Norm2AllModes;
58 return new NormalizationTransliterator("FCD", Norm2AllModes.getFCDNormalizer2()); in register()
64 return new NormalizationTransliterator("FCC", Norm2AllModes.getNFCInstance().fcc); in register()
DCanonicalIterator.java18 import android.icu.impl.Norm2AllModes;
53 Norm2AllModes allModes = Norm2AllModes.getNFCInstance(); in CanonicalIterator()
DNormalizer.java14 import android.icu.impl.Norm2AllModes;
168 private static final ModeImpl INSTANCE = new ModeImpl(Norm2AllModes.getFCDNormalizer2());
196 new ModeImpl(new FilteredNormalizer2(Norm2AllModes.getFCDNormalizer2(),
255 protected Normalizer2 getNormalizer2(int options) { return Norm2AllModes.NOOP_NORMALIZER2; } in getNormalizer2()
1481 Normalizer2Impl nfkcImpl=((Norm2AllModes.Normalizer2WithImpl)nfkc).impl; in getFC_NFKC_Closure()
2197 nfcImpl=Norm2AllModes.getNFCInstance().impl; in cmpEquivFold()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer2.java17 import com.ibm.icu.impl.Norm2AllModes;
123 return Norm2AllModes.getNFCInstance().comp; in getNFCInstance()
134 return Norm2AllModes.getNFCInstance().decomp; in getNFDInstance()
145 return Norm2AllModes.getNFKCInstance().comp; in getNFKCInstance()
156 return Norm2AllModes.getNFKCInstance().decomp; in getNFKDInstance()
167 return Norm2AllModes.getNFKC_CFInstance().comp; in getNFKCCasefoldInstance()
202 Norm2AllModes all2Modes=Norm2AllModes.getInstance(bytes, name); in getInstance()
DComposedCharIter.java10 import com.ibm.icu.impl.Norm2AllModes;
94 n2impl = Norm2AllModes.getNFKCInstance().impl; in ComposedCharIter()
96 n2impl = Norm2AllModes.getNFCInstance().impl; in ComposedCharIter()
DCanonicalIterator.java17 import com.ibm.icu.impl.Norm2AllModes;
53 Norm2AllModes allModes = Norm2AllModes.getNFCInstance(); in CanonicalIterator()
DNormalizer.java13 import com.ibm.icu.impl.Norm2AllModes;
169 private static final ModeImpl INSTANCE = new ModeImpl(Norm2AllModes.getFCDNormalizer2());
197 new ModeImpl(new FilteredNormalizer2(Norm2AllModes.getFCDNormalizer2(),
250 protected Normalizer2 getNormalizer2(int options) { return Norm2AllModes.NOOP_NORMALIZER2; } in getNormalizer2()
1455 Normalizer2Impl nfkcImpl=((Norm2AllModes.Normalizer2WithImpl)nfkc).impl; in getFC_NFKC_Closure()
2146 nfcImpl=Norm2AllModes.getNFCInstance().impl; in cmpEquivFold()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DNorm2AllModes.java23 public final class Norm2AllModes { class
302 private Norm2AllModes(Normalizer2Impl ni) { in Norm2AllModes() method in Norm2AllModes
316 private static Norm2AllModes getInstanceFromSingleton(Norm2AllModesSingleton singleton) { in getInstanceFromSingleton()
322 public static Norm2AllModes getNFCInstance() { in getNFCInstance()
325 public static Norm2AllModes getNFKCInstance() { in getNFKCInstance()
328 public static Norm2AllModes getNFKC_CFInstance() { in getNFKC_CFInstance()
341 public static Norm2AllModes getInstance(ByteBuffer bytes, String name) { in getInstance()
362 private static CacheBase<String, Norm2AllModes, ByteBuffer> cache =
363 new SoftCache<String, Norm2AllModes, ByteBuffer>() {
365 protected Norm2AllModes createInstance(String key, ByteBuffer bytes) {
[all …]
DCharacterPropertiesImpl.java49 Norm2AllModes.getNFCInstance().impl.addPropertyStarts(incl); in getInclusionsForSource()
53 Norm2AllModes.getNFCInstance().impl.addPropertyStarts(incl); in getInclusionsForSource()
56 Norm2AllModes.getNFKCInstance().impl.addPropertyStarts(incl); in getInclusionsForSource()
59 Norm2AllModes.getNFKC_CFInstance().impl.addPropertyStarts(incl); in getInclusionsForSource()
62 Norm2AllModes.getNFCInstance().impl.addCanonIterPropertyStarts(incl); in getInclusionsForSource()
DUCharacterProperty.java1096 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_INERT).isInert(c); in contains()
1128 Normalizer2Impl impl=Norm2AllModes.getNFCInstance().impl;
1171 return Norm2AllModes.getNFCInstance().impl.
1234 String nfd=Norm2AllModes.getNFCInstance().impl.getDecomposition(c);
1261 Normalizer2Impl kcf=Norm2AllModes.getNFKC_CFInstance().impl;
1377 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_QUICK_CHECK).getQuickCheck(c); in getValue()
1465 return Norm2AllModes.getNFCInstance().impl.getFCD16(c)>>8;
1471 return Norm2AllModes.getNFCInstance().impl.getFCD16(c)&0xff;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNorm2AllModes.java19 public final class Norm2AllModes { class
283 private Norm2AllModes(Normalizer2Impl ni) { in Norm2AllModes() method in Norm2AllModes
297 private static Norm2AllModes getInstanceFromSingleton(Norm2AllModesSingleton singleton) { in getInstanceFromSingleton()
303 public static Norm2AllModes getNFCInstance() { in getNFCInstance()
306 public static Norm2AllModes getNFKCInstance() { in getNFKCInstance()
309 public static Norm2AllModes getNFKC_CFInstance() { in getNFKC_CFInstance()
322 public static Norm2AllModes getInstance(ByteBuffer bytes, String name) { in getInstance()
343 private static CacheBase<String, Norm2AllModes, ByteBuffer> cache =
344 new SoftCache<String, Norm2AllModes, ByteBuffer>() {
346 protected Norm2AllModes createInstance(String key, ByteBuffer bytes) {
[all …]
DCharacterPropertiesImpl.java47 Norm2AllModes.getNFCInstance().impl.addPropertyStarts(incl); in getInclusionsForSource()
51 Norm2AllModes.getNFCInstance().impl.addPropertyStarts(incl); in getInclusionsForSource()
54 Norm2AllModes.getNFKCInstance().impl.addPropertyStarts(incl); in getInclusionsForSource()
57 Norm2AllModes.getNFKC_CFInstance().impl.addPropertyStarts(incl); in getInclusionsForSource()
60 Norm2AllModes.getNFCInstance().impl.addCanonIterPropertyStarts(incl); in getInclusionsForSource()
DUCharacterProperty.java1095 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_INERT).isInert(c); in contains()
1127 Normalizer2Impl impl=Norm2AllModes.getNFCInstance().impl;
1170 return Norm2AllModes.getNFCInstance().impl.
1233 String nfd=Norm2AllModes.getNFCInstance().impl.getDecomposition(c);
1260 Normalizer2Impl kcf=Norm2AllModes.getNFKC_CFInstance().impl;
1376 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_QUICK_CHECK).getQuickCheck(c); in getValue()
1464 return Norm2AllModes.getNFCInstance().impl.getFCD16(c)>>8;
1470 return Norm2AllModes.getNFCInstance().impl.getFCD16(c)&0xff;
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DNormalizationTransliterator.java17 import com.ibm.icu.impl.Norm2AllModes;
57 return new NormalizationTransliterator("FCD", Norm2AllModes.getFCDNormalizer2()); in register()
63 return new NormalizationTransliterator("FCC", Norm2AllModes.getNFCInstance().fcc); in register()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationTailoring.java19 import android.icu.impl.Norm2AllModes;
50 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in ensureOwnedData()
DCollationBuilder.java19 import android.icu.impl.Norm2AllModes;
45 fcd = Norm2AllModes.getFCDNormalizer2(); in CollationBuilder()
46 nfcImpl = Norm2AllModes.getNFCInstance().impl; in CollationBuilder()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationTailoring.java18 import com.ibm.icu.impl.Norm2AllModes;
48 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in ensureOwnedData()
DCollationBuilder.java18 import com.ibm.icu.impl.Norm2AllModes;
41 fcd = Norm2AllModes.getFCDNormalizer2(); in CollationBuilder()
42 nfcImpl = Norm2AllModes.getNFCInstance().impl; in CollationBuilder()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DBasicTest.java20 import com.ibm.icu.impl.Norm2AllModes;
2065 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in TestCompare()
2705 Normalizer2Impl impl=Norm2AllModes.getNFCInstance().impl.ensureCanonIterData(); in TestCanonIterData()
2921 Norm2AllModes.FCDNormalizer2 impl = (Norm2AllModes.FCDNormalizer2)fcd; in TestFCD()
2938 Normalizer2 noop = Norm2AllModes.NOOP_NORMALIZER2; in TestNoopNormalizer2()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DBasicTest.java21 import android.icu.impl.Norm2AllModes;
2068 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in TestCompare()
2708 Normalizer2Impl impl=Norm2AllModes.getNFCInstance().impl.ensureCanonIterData(); in TestCanonIterData()
2924 Norm2AllModes.FCDNormalizer2 impl = (Norm2AllModes.FCDNormalizer2)fcd; in TestFCD()
2941 Normalizer2 noop = Norm2AllModes.NOOP_NORMALIZER2; in TestNoopNormalizer2()

12