Home
last modified time | relevance | path

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

12345

/third_party/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()
118 if(-Normalizer2Impl::MAX_DELTA<=delta && delta<=Normalizer2Impl::MAX_DELTA) { in setNoNoDelta()
146 if(pair.trail<Normalizer2Impl::COMP_1_TRAIL_LIMIT) { in writeCompositions()
152 firstUnit=(pair.trail<<1)|Normalizer2Impl::COMP_1_TRIPLE; in writeCompositions()
157 firstUnit=(Normalizer2Impl::COMP_1_TRAIL_LIMIT+ in writeCompositions()
158 (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];
/third_party/skia/third_party/externals/icu/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()
118 if(-Normalizer2Impl::MAX_DELTA<=delta && delta<=Normalizer2Impl::MAX_DELTA) { in setNoNoDelta()
146 if(pair.trail<Normalizer2Impl::COMP_1_TRAIL_LIMIT) { in writeCompositions()
152 firstUnit=(pair.trail<<1)|Normalizer2Impl::COMP_1_TRIPLE; in writeCompositions()
157 firstUnit=(Normalizer2Impl::COMP_1_TRAIL_LIMIT+ in writeCompositions()
158 (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];
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/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 …]
/third_party/skia/third_party/externals/icu/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 …]
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();
754 static const Normalizer2Impl *getNFCImpl(UErrorCode &errorCode);
755 static const Normalizer2Impl *getNFKCImpl(UErrorCode &errorCode);
756 static const Normalizer2Impl *getNFKC_CFImpl(UErrorCode &errorCode);
[all …]
Dnorm2allmodes.h34 Normalizer2WithImpl(const Normalizer2Impl &ni) : impl(ni) {} in Normalizer2WithImpl()
186 const Normalizer2Impl &impl;
191 DecomposeNormalizer2(const Normalizer2Impl &ni) : Normalizer2WithImpl(ni) {} in DecomposeNormalizer2()
252 ComposeNormalizer2(const Normalizer2Impl &ni, UBool fcc) : in ComposeNormalizer2()
348 FCDNormalizer2(const Normalizer2Impl &ni) : Normalizer2WithImpl(ni) {} in FCDNormalizer2()
381 Norm2AllModes(Normalizer2Impl *i) in Norm2AllModes()
385 static Norm2AllModes *createInstance(Normalizer2Impl *impl, UErrorCode &errorCode);
395 Normalizer2Impl *impl;
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()
/third_party/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 …]
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();
754 static const Normalizer2Impl *getNFCImpl(UErrorCode &errorCode);
755 static const Normalizer2Impl *getNFKCImpl(UErrorCode &errorCode);
756 static const Normalizer2Impl *getNFKC_CFImpl(UErrorCode &errorCode);
[all …]
Dnorm2allmodes.h34 Normalizer2WithImpl(const Normalizer2Impl &ni) : impl(ni) {} in Normalizer2WithImpl()
186 const Normalizer2Impl &impl;
191 DecomposeNormalizer2(const Normalizer2Impl &ni) : Normalizer2WithImpl(ni) {} in DecomposeNormalizer2()
252 ComposeNormalizer2(const Normalizer2Impl &ni, UBool fcc) : in ComposeNormalizer2()
348 FCDNormalizer2(const Normalizer2Impl &ni) : Normalizer2WithImpl(ni) {} in FCDNormalizer2()
381 Norm2AllModes(Normalizer2Impl *i) in Norm2AllModes()
385 static Norm2AllModes *createInstance(Normalizer2Impl *impl, UErrorCode &errorCode);
395 Normalizer2Impl *impl;
Dcharacterproperties.cpp30 using icu::Normalizer2Impl;
127 const Normalizer2Impl *impl=Normalizer2Factory::getNFCImpl(errorCode); in initInclusion()
135 const Normalizer2Impl *impl=Normalizer2Factory::getNFCImpl(errorCode); in initInclusion()
142 const Normalizer2Impl *impl=Normalizer2Factory::getNFKCImpl(errorCode); in initInclusion()
149 const Normalizer2Impl *impl=Normalizer2Factory::getNFKC_CFImpl(errorCode); in initInclusion()
156 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()
/third_party/node/deps/icu-small/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 …]
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();
754 static const Normalizer2Impl *getNFCImpl(UErrorCode &errorCode);
755 static const Normalizer2Impl *getNFKCImpl(UErrorCode &errorCode);
756 static const Normalizer2Impl *getNFKC_CFImpl(UErrorCode &errorCode);
[all …]
Dnorm2allmodes.h34 Normalizer2WithImpl(const Normalizer2Impl &ni) : impl(ni) {} in Normalizer2WithImpl()
186 const Normalizer2Impl &impl;
191 DecomposeNormalizer2(const Normalizer2Impl &ni) : Normalizer2WithImpl(ni) {} in DecomposeNormalizer2()
252 ComposeNormalizer2(const Normalizer2Impl &ni, UBool fcc) : in ComposeNormalizer2()
348 FCDNormalizer2(const Normalizer2Impl &ni) : Normalizer2WithImpl(ni) {} in FCDNormalizer2()
381 Norm2AllModes(Normalizer2Impl *i) in Norm2AllModes()
385 static Norm2AllModes *createInstance(Normalizer2Impl *impl, UErrorCode &errorCode);
396 Normalizer2Impl *impl;
Dcharacterproperties.cpp30 using icu::Normalizer2Impl;
127 const Normalizer2Impl *impl=Normalizer2Factory::getNFCImpl(errorCode); in initInclusion()
135 const Normalizer2Impl *impl=Normalizer2Factory::getNFCImpl(errorCode); in initInclusion()
142 const Normalizer2Impl *impl=Normalizer2Factory::getNFKCImpl(errorCode); in initInclusion()
149 const Normalizer2Impl *impl=Normalizer2Factory::getNFKC_CFImpl(errorCode); in initInclusion()
156 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()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DComposedCharIter.java11 import com.ibm.icu.impl.Normalizer2Impl;
169 private final Normalizer2Impl n2impl;
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DComposedCharIter.java12 import ohos.global.icu.impl.Normalizer2Impl;
171 private final Normalizer2Impl n2impl;

12345