Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/
Dloadednormalizer2impl.cpp114 Norm2AllModes *
115 Norm2AllModes::createInstance(const char *packageName, in createInstance()
134 static Norm2AllModes *nfkcSingleton;
135 static Norm2AllModes *nfkc_cfSingleton;
144 nfkcSingleton = Norm2AllModes::createInstance(NULL, "nfkc", errorCode); in initSingletons()
146 nfkc_cfSingleton = Norm2AllModes::createInstance(NULL, "nfkc_cf", errorCode); in initSingletons()
156 delete (Norm2AllModes *)allModes; in deleteNorm2AllModes()
173 const Norm2AllModes *
174 Norm2AllModes::getNFKCInstance(UErrorCode &errorCode) { in getNFKCInstance()
180 const Norm2AllModes *
[all …]
Dnormalizer2.cpp137 Norm2AllModes::~Norm2AllModes() { in ~Norm2AllModes()
141 Norm2AllModes *
142 Norm2AllModes::createInstance(Normalizer2Impl *impl, UErrorCode &errorCode) { in createInstance()
147 Norm2AllModes *allModes=new Norm2AllModes(impl); in createInstance()
156 Norm2AllModes *
157 Norm2AllModes::createNFCInstance(UErrorCode &errorCode) { in createNFCInstance()
175 static Norm2AllModes *nfcSingleton;
183 nfcSingleton=Norm2AllModes::createNFCInstance(errorCode); in initNFCSingleton()
213 const Norm2AllModes *
214 Norm2AllModes::getNFCInstance(UErrorCode &errorCode) { in getNFCInstance()
[all …]
Dnorm2allmodes.h318 struct Norm2AllModes : public UMemory { struct
319 Norm2AllModes(Normalizer2Impl *i) in Norm2AllModes() function
321 ~Norm2AllModes();
323 static Norm2AllModes *createInstance(Normalizer2Impl *impl, UErrorCode &errorCode);
324 static Norm2AllModes *createNFCInstance(UErrorCode &errorCode);
325 static Norm2AllModes *createInstance(const char *packageName,
329 static const Norm2AllModes *getNFCInstance(UErrorCode &errorCode);
330 static const Norm2AllModes *getNFKCInstance(UErrorCode &errorCode);
331 static const Norm2AllModes *getNFKC_CFInstance(UErrorCode &errorCode);
/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()
DUnicodeSet.java21 import com.ibm.icu.impl.Norm2AllModes;
3258 Norm2AllModes.getNFCInstance().impl.addPropertyStarts(incl); in getInclusions()
3262 Norm2AllModes.getNFCInstance().impl.addPropertyStarts(incl); in getInclusions()
3265 Norm2AllModes.getNFKCInstance().impl.addPropertyStarts(incl); in getInclusions()
3268 Norm2AllModes.getNFKC_CFInstance().impl.addPropertyStarts(incl); in getInclusions()
3271 Norm2AllModes.getNFCInstance().impl.addCanonIterPropertyStarts(incl); in getInclusions()
/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(),
254 protected Normalizer2 getNormalizer2(int options) { return Norm2AllModes.NOOP_NORMALIZER2; } in getNormalizer2()
1489 Normalizer2Impl nfkcImpl=((Norm2AllModes.Normalizer2WithImpl)nfkc).impl; in getFC_NFKC_Closure()
2205 nfcImpl=Norm2AllModes.getNFCInstance().impl; in cmpEquivFold()
DUnicodeSet.java22 import android.icu.impl.Norm2AllModes;
3185 Norm2AllModes.getNFCInstance().impl.addPropertyStarts(incl); in getInclusions()
3189 Norm2AllModes.getNFCInstance().impl.addPropertyStarts(incl); in getInclusions()
3192 Norm2AllModes.getNFKCInstance().impl.addPropertyStarts(incl); in getInclusions()
3195 Norm2AllModes.getNFKC_CFInstance().impl.addPropertyStarts(incl); in getInclusions()
3198 Norm2AllModes.getNFCInstance().impl.addCanonIterPropertyStarts(incl); in getInclusions()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DNorm2AllModes.java23 public final class Norm2AllModes { class
287 private Norm2AllModes(Normalizer2Impl ni) { in Norm2AllModes() method in Norm2AllModes
301 private static Norm2AllModes getInstanceFromSingleton(Norm2AllModesSingleton singleton) { in getInstanceFromSingleton()
307 public static Norm2AllModes getNFCInstance() { in getNFCInstance()
310 public static Norm2AllModes getNFKCInstance() { in getNFKCInstance()
313 public static Norm2AllModes getNFKC_CFInstance() { in getNFKC_CFInstance()
326 public static Norm2AllModes getInstance(ByteBuffer bytes, String name) { in getInstance()
347 private static CacheBase<String, Norm2AllModes, ByteBuffer> cache =
348 new SoftCache<String, Norm2AllModes, ByteBuffer>() {
350 protected Norm2AllModes createInstance(String key, ByteBuffer bytes) {
[all …]
DUCharacterProperty.java230 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_INERT).isInert(c); in contains()
262 Normalizer2Impl impl=Norm2AllModes.getNFCInstance().impl;
305 return Norm2AllModes.getNFCInstance().impl.
368 String nfd=Norm2AllModes.getNFCInstance().impl.getDecomposition(c);
395 Normalizer2Impl kcf=Norm2AllModes.getNFKC_CFInstance().impl;
501 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_QUICK_CHECK).getQuickCheck(c); in getValue()
589 return Norm2AllModes.getNFCInstance().impl.getFCD16(c)>>8;
595 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 …]
DUCharacterProperty.java229 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_INERT).isInert(c); in contains()
261 Normalizer2Impl impl=Norm2AllModes.getNFCInstance().impl;
304 return Norm2AllModes.getNFCInstance().impl.
367 String nfd=Norm2AllModes.getNFCInstance().impl.getDecomposition(c);
394 Normalizer2Impl kcf=Norm2AllModes.getNFKC_CFInstance().impl;
500 return Norm2AllModes.getN2WithImpl(which-UProperty.NFD_QUICK_CHECK).getQuickCheck(c); in getValue()
588 return Norm2AllModes.getNFCInstance().impl.getFCD16(c)>>8;
594 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/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/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/tests/core/src/com/ibm/icu/dev/test/normalizer/
DBasicTest.java18 import com.ibm.icu.impl.Norm2AllModes;
2062 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in TestCompare()
2687 Normalizer2Impl impl=Norm2AllModes.getNFCInstance().impl.ensureCanonIterData(); in TestCanonIterData()
2826 Norm2AllModes.FCDNormalizer2 impl = (Norm2AllModes.FCDNormalizer2)fcd; in TestFCD()
2843 Normalizer2 noop = Norm2AllModes.NOOP_NORMALIZER2; in TestNoopNormalizer2()
2857 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in TestGetsFromImpl()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DBasicTest.java19 import android.icu.impl.Norm2AllModes;
2063 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in TestCompare()
2688 Normalizer2Impl impl=Norm2AllModes.getNFCInstance().impl.ensureCanonIterData(); in TestCanonIterData()
2827 Norm2AllModes.FCDNormalizer2 impl = (Norm2AllModes.FCDNormalizer2)fcd; in TestFCD()
2844 Normalizer2 noop = Norm2AllModes.NOOP_NORMALIZER2; in TestNoopNormalizer2()
2858 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in TestGetsFromImpl()

12