Home
last modified time | relevance | path

Searched refs:Normalizer2Impl (Results 1 – 25 of 82) sorted by relevance

1234

/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp333 if(norm.mapping->length()>Normalizer2Impl::MAPPING_LENGTH_MASK) { in postProcess()
435 norm16=Normalizer2Impl::INERT; in writeNorm16()
441 norm16=indexes[Normalizer2Impl::IX_MIN_YES_NO]+norm.offset*2; in writeNorm16()
444 norm16=indexes[Normalizer2Impl::IX_MIN_YES_NO_MAPPINGS_ONLY]+norm.offset*2; in writeNorm16()
447 norm16=indexes[Normalizer2Impl::IX_MIN_NO_NO]+norm.offset*2; in writeNorm16()
450 norm16=indexes[Normalizer2Impl::IX_MIN_NO_NO_COMP_BOUNDARY_BEFORE]+norm.offset*2; in writeNorm16()
453 norm16=indexes[Normalizer2Impl::IX_MIN_NO_NO_COMP_NO_MAYBE_CC]+norm.offset*2; in writeNorm16()
456 norm16=indexes[Normalizer2Impl::IX_MIN_NO_NO_EMPTY]+norm.offset*2; in writeNorm16()
461 int32_t offset=(norm.offset+Normalizer2Impl::MAX_DELTA)<<Normalizer2Impl::DELTA_SHIFT; in writeNorm16()
465 offset|=Normalizer2Impl::DELTA_TCCC_1; in writeNorm16()
[all …]
Dextradata.cpp49 if(rmLength>Normalizer2Impl::MAPPING_LENGTH_MASK) { in writeMapping()
53 (long)c, Normalizer2Impl::MAPPING_LENGTH_MASK); in writeMapping()
60 rm0>Normalizer2Impl::MAPPING_LENGTH_MASK in writeMapping()
77 firstUnit|=Normalizer2Impl::MAPPING_HAS_RAW_MAPPING; in writeMapping()
83 firstUnit|=Normalizer2Impl::MAPPING_HAS_CCC_LCCC_WORD; in writeMapping()
117 if(-Normalizer2Impl::MAX_DELTA<=delta && delta<=Normalizer2Impl::MAX_DELTA) { in setNoNoDelta()
145 if(pair.trail<Normalizer2Impl::COMP_1_TRAIL_LIMIT) { in writeCompositions()
151 firstUnit=(pair.trail<<1)|Normalizer2Impl::COMP_1_TRIPLE; in writeCompositions()
156 firstUnit=(Normalizer2Impl::COMP_1_TRAIL_LIMIT+ in writeCompositions()
157 (pair.trail>>Normalizer2Impl::COMP_1_TRAIL_SHIFT))| in writeCompositions()
[all …]
Dn2builder.h95 return indexes[Normalizer2Impl::IX_MIN_MAYBE_YES]- in getMinNoNoDelta()
96 ((2*Normalizer2Impl::MAX_DELTA+1)<<Normalizer2Impl::DELTA_SHIFT); in getMinNoNoDelta()
109 int32_t indexes[Normalizer2Impl::IX_COUNT];
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DNorm2AllModes.java93 public Normalizer2WithImpl(Normalizer2Impl ni) { in Normalizer2WithImpl()
104 normalize(src, new Normalizer2Impl.ReorderingBuffer(impl, dest, src.length())); in normalize()
112 Normalizer2Impl.ReorderingBuffer buffer= in normalize()
113 new Normalizer2Impl.ReorderingBuffer(impl, dest, src.length()); in normalize()
118 … protected abstract void normalize(CharSequence src, Normalizer2Impl.ReorderingBuffer buffer); in normalize()
136 new Normalizer2Impl.ReorderingBuffer(impl, first, first.length()+second.length())); in normalizeSecondAndAppend()
140 CharSequence src, boolean doNormalize, Normalizer2Impl.ReorderingBuffer buffer); in normalizeAndAppend()
172 public final Normalizer2Impl impl;
179 public DecomposeNormalizer2(Normalizer2Impl ni) { in DecomposeNormalizer2()
184 protected void normalize(CharSequence src, Normalizer2Impl.ReorderingBuffer buffer) { in normalize()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNorm2AllModes.java83 public Normalizer2WithImpl(Normalizer2Impl ni) { in Normalizer2WithImpl()
94 normalize(src, new Normalizer2Impl.ReorderingBuffer(impl, dest, src.length())); in normalize()
102 Normalizer2Impl.ReorderingBuffer buffer= in normalize()
103 new Normalizer2Impl.ReorderingBuffer(impl, dest, src.length()); in normalize()
108 … protected abstract void normalize(CharSequence src, Normalizer2Impl.ReorderingBuffer buffer); in normalize()
126 new Normalizer2Impl.ReorderingBuffer(impl, first, first.length()+second.length())); in normalizeSecondAndAppend()
130 CharSequence src, boolean doNormalize, Normalizer2Impl.ReorderingBuffer buffer); in normalizeAndAppend()
162 public final Normalizer2Impl impl;
166 public DecomposeNormalizer2(Normalizer2Impl ni) { in DecomposeNormalizer2()
171 protected void normalize(CharSequence src, Normalizer2Impl.ReorderingBuffer buffer) { in normalize()
[all …]
/external/icu/icu4c/source/common/
Dnormalizer2impl.cpp171 ReorderingBuffer::ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest, in ReorderingBuffer()
287 leadCC = Normalizer2Impl::getCCFromYesOrMaybe(impl.getRawNorm16(c)); in append()
425 Normalizer2Impl::~Normalizer2Impl() { in ~Normalizer2Impl()
430 Normalizer2Impl::init(const int32_t *inIndexes, const UCPTrie *inTrie, in init()
465 Normalizer2Impl::addLcccChars(UnicodeSet &set) const { in addLcccChars()
470 if (norm16 > Normalizer2Impl::MIN_NORMAL_MAYBE_YES && in addLcccChars()
471 norm16 != Normalizer2Impl::JAMO_VT) { in addLcccChars()
482 Normalizer2Impl::addPropertyStarts(const USetAdder *sa, UErrorCode & /*errorCode*/) const { in addPropertyStarts()
490 (value & Normalizer2Impl::DELTA_TCCC_MASK) > Normalizer2Impl::DELTA_TCCC_1) { in addPropertyStarts()
514 Normalizer2Impl::addCanonIterPropertyStarts(const USetAdder *sa, UErrorCode &errorCode) const { in addCanonIterPropertyStarts()
[all …]
Dnorm2allmodes.h34 Normalizer2WithImpl(const Normalizer2Impl &ni) : impl(ni) {} in Normalizer2WithImpl()
186 const Normalizer2Impl &impl;
191 DecomposeNormalizer2(const Normalizer2Impl &ni) : Normalizer2WithImpl(ni) {} in DecomposeNormalizer2()
222 ComposeNormalizer2(const Normalizer2Impl &ni, UBool fcc) : in ComposeNormalizer2()
318 FCDNormalizer2(const Normalizer2Impl &ni) : Normalizer2WithImpl(ni) {} in FCDNormalizer2()
345 Norm2AllModes(Normalizer2Impl *i) in Norm2AllModes()
349 static Norm2AllModes *createInstance(Normalizer2Impl *impl, UErrorCode &errorCode);
359 Normalizer2Impl *impl;
Dnormalizer2impl.h137 class Normalizer2Impl; variable
142 ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest) : in ReorderingBuffer()
147 ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest, UErrorCode &errorCode);
226 const Normalizer2Impl &impl;
246 class U_COMMON_API Normalizer2Impl : public UObject {
248 Normalizer2Impl() : normTrie(NULL), fCanonIterData(NULL) { } in Normalizer2Impl() function
249 virtual ~Normalizer2Impl();
745 static const Normalizer2Impl *getNFCImpl(UErrorCode &errorCode);
746 static const Normalizer2Impl *getNFKCImpl(UErrorCode &errorCode);
747 static const Normalizer2Impl *getNFKC_CFImpl(UErrorCode &errorCode);
[all …]
Dcharacterproperties.cpp29 using icu::Normalizer2Impl;
126 const Normalizer2Impl *impl=Normalizer2Factory::getNFCImpl(errorCode); in initInclusion()
134 const Normalizer2Impl *impl=Normalizer2Factory::getNFCImpl(errorCode); in initInclusion()
141 const Normalizer2Impl *impl=Normalizer2Factory::getNFKCImpl(errorCode); in initInclusion()
148 const Normalizer2Impl *impl=Normalizer2Factory::getNFKC_CFImpl(errorCode); in initInclusion()
155 const Normalizer2Impl *impl=Normalizer2Factory::getNFCImpl(errorCode); in initInclusion()
Dnormalizer2.cpp35 using icu::Normalizer2Impl;
206 const Normalizer2Impl *
216 Norm2AllModes::createInstance(Normalizer2Impl *impl, UErrorCode &errorCode) { in createInstance()
236 Normalizer2Impl *impl=new Normalizer2Impl; in createNFCInstance()
284 const Normalizer2Impl *
564 const Normalizer2Impl *impl=Normalizer2Factory::getNFCImpl(errorCode); in unorm_getFCD16()
Dloadednormalizer2impl.cpp34 class LoadedNormalizer2Impl : public Normalizer2Impl {
239 const Normalizer2Impl *
363 const Normalizer2Impl *
369 const Normalizer2Impl *
/external/icu/libicu/cts_headers/
Dnorm2allmodes.h34 Normalizer2WithImpl(const Normalizer2Impl &ni) : impl(ni) {} in Normalizer2WithImpl()
186 const Normalizer2Impl &impl;
191 DecomposeNormalizer2(const Normalizer2Impl &ni) : Normalizer2WithImpl(ni) {} in DecomposeNormalizer2()
222 ComposeNormalizer2(const Normalizer2Impl &ni, UBool fcc) : in ComposeNormalizer2()
318 FCDNormalizer2(const Normalizer2Impl &ni) : Normalizer2WithImpl(ni) {} in FCDNormalizer2()
345 Norm2AllModes(Normalizer2Impl *i) in Norm2AllModes()
349 static Norm2AllModes *createInstance(Normalizer2Impl *impl, UErrorCode &errorCode);
359 Normalizer2Impl *impl;
Dnormalizer2impl.h137 class Normalizer2Impl; variable
142 ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest) : in ReorderingBuffer()
147 ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest, UErrorCode &errorCode);
226 const Normalizer2Impl &impl;
246 class U_COMMON_API Normalizer2Impl : public UObject {
248 Normalizer2Impl() : normTrie(NULL), fCanonIterData(NULL) { } in Normalizer2Impl() function
249 virtual ~Normalizer2Impl();
745 static const Normalizer2Impl *getNFCImpl(UErrorCode &errorCode);
746 static const Normalizer2Impl *getNFKCImpl(UErrorCode &errorCode);
747 static const Normalizer2Impl *getNFKC_CFImpl(UErrorCode &errorCode);
[all …]
Dcollationdata.h55 CollationData(const Normalizer2Impl &nfc) in CollationData()
194 const Normalizer2Impl &nfcImpl;
/external/icu/android_icu4j/src/main/java/android/icu/text/
DComposedCharIter.java12 import android.icu.impl.Normalizer2Impl;
171 private final Normalizer2Impl n2impl;
DNormalizer.java15 import android.icu.impl.Normalizer2Impl;
1481 Normalizer2Impl nfkcImpl=((Norm2AllModes.Normalizer2WithImpl)nfkc).impl; in getFC_NFKC_Closure()
2163 Normalizer2Impl nfcImpl; in cmpEquivFold()
2294 if(Normalizer2Impl.UTF16Plus.isSurrogateLead(c1)) { in cmpEquivFold()
2310 if(Normalizer2Impl.UTF16Plus.isSurrogateLead(c2)) { in cmpEquivFold()
2332 if(Normalizer2Impl.UTF16Plus.isSurrogateLead(c1)) { in cmpEquivFold()
2380 if(Normalizer2Impl.UTF16Plus.isSurrogateLead(c2)) { in cmpEquivFold()
2428 if(Normalizer2Impl.UTF16Plus.isSurrogateLead(c1)) { in cmpEquivFold()
2472 if(Normalizer2Impl.UTF16Plus.isSurrogateLead(c2)) { in cmpEquivFold()
DNormalizationTransliterator.java19 import android.icu.impl.Normalizer2Impl;
124 if(!Normalizer2Impl.UTF16Plus.equal(segment, normalized)) { in handleTransliterate()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DComposedCharIter.java11 import com.ibm.icu.impl.Normalizer2Impl;
169 private final Normalizer2Impl n2impl;
DNormalizer.java14 import com.ibm.icu.impl.Normalizer2Impl;
1455 Normalizer2Impl nfkcImpl=((Norm2AllModes.Normalizer2WithImpl)nfkc).impl; in getFC_NFKC_Closure()
2112 Normalizer2Impl nfcImpl; in cmpEquivFold()
2243 if(Normalizer2Impl.UTF16Plus.isSurrogateLead(c1)) { in cmpEquivFold()
2259 if(Normalizer2Impl.UTF16Plus.isSurrogateLead(c2)) { in cmpEquivFold()
2281 if(Normalizer2Impl.UTF16Plus.isSurrogateLead(c1)) { in cmpEquivFold()
2329 if(Normalizer2Impl.UTF16Plus.isSurrogateLead(c2)) { in cmpEquivFold()
2377 if(Normalizer2Impl.UTF16Plus.isSurrogateLead(c1)) { in cmpEquivFold()
2421 if(Normalizer2Impl.UTF16Plus.isSurrogateLead(c2)) { in cmpEquivFold()
/external/icu/icu4c/source/common/unicode/
Dcaniter.h39 class Normalizer2Impl; variable
186 const Normalizer2Impl &nfcImpl;
/external/icu/libicu/cts_headers/unicode/
Dcaniter.h39 class Normalizer2Impl; variable
186 const Normalizer2Impl &nfcImpl;
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationTailoring.java20 import android.icu.impl.Normalizer2Impl;
50 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in ensureOwnedData()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationTailoring.java19 import com.ibm.icu.impl.Normalizer2Impl;
48 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in ensureOwnedData()
/external/icu/icu4c/source/i18n/
Dcollationdata.h55 CollationData(const Normalizer2Impl &nfc) in CollationData()
194 const Normalizer2Impl &nfcImpl;
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DNormalizationTransliterator.java18 import com.ibm.icu.impl.Normalizer2Impl;
123 if(!Normalizer2Impl.UTF16Plus.equal(segment, normalized)) { in handleTransliterate()

1234