Home
last modified time | relevance | path

Searched refs:ReorderingBuffer (Results 1 – 25 of 33) sorted by relevance

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DNorm2AllModes.java104 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()
184 protected void normalize(CharSequence src, Normalizer2Impl.ReorderingBuffer buffer) { in normalize()
189 CharSequence src, boolean doNormalize, Normalizer2Impl.ReorderingBuffer buffer) { in normalizeAndAppend()
218 protected void normalize(CharSequence src, Normalizer2Impl.ReorderingBuffer buffer) { in normalize()
223 CharSequence src, boolean doNormalize, Normalizer2Impl.ReorderingBuffer buffer) { in normalizeAndAppend()
[all …]
DNormalizer2Impl.java141 public static final class ReorderingBuffer implements Appendable { class in Normalizer2Impl
142 public ReorderingBuffer(Normalizer2Impl ni, Appendable dest, int destCapacity) { in ReorderingBuffer() method in Normalizer2Impl.ReorderingBuffer
228 public ReorderingBuffer append(char c) { in append()
240 public ReorderingBuffer append(CharSequence s) { in append()
249 public ReorderingBuffer append(CharSequence s, int start, int limit) { in append()
283 public ReorderingBuffer flushAndAppendZeroCC(CharSequence s, int start, int limit) { in flushAndAppendZeroCC()
998 ReorderingBuffer buffer=new ReorderingBuffer(this, dest, destLengthEstimate); in decompose()
1006 ReorderingBuffer buffer) { in decompose()
1074 public void decomposeAndAppend(CharSequence s, boolean doDecompose, ReorderingBuffer buffer) { in decomposeAndAppend()
1107 ReorderingBuffer buffer) { in compose()
[all …]
DUCharacterProperty.java533 … Normalizer2Impl.ReorderingBuffer buffer=new Normalizer2Impl.ReorderingBuffer(kcf, dest, 5);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNorm2AllModes.java94 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()
171 protected void normalize(CharSequence src, Normalizer2Impl.ReorderingBuffer buffer) { in normalize()
176 CharSequence src, boolean doNormalize, Normalizer2Impl.ReorderingBuffer buffer) { in normalizeAndAppend()
202 protected void normalize(CharSequence src, Normalizer2Impl.ReorderingBuffer buffer) { in normalize()
207 CharSequence src, boolean doNormalize, Normalizer2Impl.ReorderingBuffer buffer) { in normalizeAndAppend()
[all …]
DNormalizer2Impl.java135 public static final class ReorderingBuffer implements Appendable { class in Normalizer2Impl
136 public ReorderingBuffer(Normalizer2Impl ni, Appendable dest, int destCapacity) { in ReorderingBuffer() method in Normalizer2Impl.ReorderingBuffer
222 public ReorderingBuffer append(char c) { in append()
234 public ReorderingBuffer append(CharSequence s) { in append()
243 public ReorderingBuffer append(CharSequence s, int start, int limit) { in append()
277 public ReorderingBuffer flushAndAppendZeroCC(CharSequence s, int start, int limit) { in flushAndAppendZeroCC()
989 ReorderingBuffer buffer=new ReorderingBuffer(this, dest, destLengthEstimate); in decompose()
997 ReorderingBuffer buffer) { in decompose()
1065 public void decomposeAndAppend(CharSequence s, boolean doDecompose, ReorderingBuffer buffer) { in decomposeAndAppend()
1098 ReorderingBuffer buffer) { in compose()
[all …]
DUCharacterProperty.java532 … Normalizer2Impl.ReorderingBuffer buffer=new Normalizer2Impl.ReorderingBuffer(kcf, dest, 5);
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dnorm2allmodes.h53 ReorderingBuffer buffer(impl, dest); in normalize()
61 ReorderingBuffer &buffer, UErrorCode &errorCode) const = 0;
93 ReorderingBuffer buffer(impl, first); in normalizeSecondAndAppend()
108 ReorderingBuffer &buffer, UErrorCode &errorCode) const = 0;
197 ReorderingBuffer &buffer, UErrorCode &errorCode) const { in normalize()
204 ReorderingBuffer &buffer, UErrorCode &errorCode) const { in normalizeAndAppend()
229 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalize()
252 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalizeAndAppend()
267 ReorderingBuffer buffer(impl, temp); in isNormalized()
324 ReorderingBuffer &buffer, UErrorCode &errorCode) const { in normalize()
[all …]
Dnormalizer2impl.h139 class U_COMMON_API ReorderingBuffer : public UMemory {
142 ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest) : in ReorderingBuffer() function
147 ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest, UErrorCode &errorCode);
148 ~ReorderingBuffer() { in ~ReorderingBuffer()
488 ReorderingBuffer *buffer, UErrorCode &errorCode) const;
492 ReorderingBuffer &buffer,
497 ReorderingBuffer &buffer,
506 ReorderingBuffer &buffer,
515 ReorderingBuffer *buffer, UErrorCode &errorCode) const;
519 ReorderingBuffer &buffer,
[all …]
Dnormalizer2impl.cpp172 ReorderingBuffer::ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest, in ReorderingBuffer() function in ReorderingBuffer
183 UBool ReorderingBuffer::init(int32_t destCapacity, UErrorCode &errorCode) { in init()
208 UBool ReorderingBuffer::equals(const UChar *otherStart, const UChar *otherLimit) const { in equals()
215 UBool ReorderingBuffer::equals(const uint8_t *otherStart, const uint8_t *otherLimit) const { in equals()
241 UBool ReorderingBuffer::appendSupplementary(UChar32 c, uint8_t cc, UErrorCode &errorCode) { in appendSupplementary()
260 UBool ReorderingBuffer::append(const UChar *s, int32_t length, UBool isNFD, in append()
301 UBool ReorderingBuffer::appendZeroCC(UChar32 c, UErrorCode &errorCode) { in appendZeroCC()
319 UBool ReorderingBuffer::appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode) { in appendZeroCC()
335 void ReorderingBuffer::remove() { in remove()
341 void ReorderingBuffer::removeSuffix(int32_t suffixLength) { in removeSuffix()
[all …]
Dnormalizer2.cpp350 ReorderingBuffer buffer(n2wi->impl, destString); in unorm2_normalize()
389 ReorderingBuffer buffer(n2wi->impl, firstString); in normalizeSecondAndAppend()
Duprops.cpp166 ReorderingBuffer buffer(*kcf, dest); in changesWhenNFKC_Casefolded()
/third_party/node/deps/icu-small/source/common/
Dnormalizer2impl.h139 class U_COMMON_API ReorderingBuffer : public UMemory {
142 ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest) : in ReorderingBuffer() function
147 ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest, UErrorCode &errorCode);
148 ~ReorderingBuffer() { in ~ReorderingBuffer()
488 ReorderingBuffer *buffer, UErrorCode &errorCode) const;
492 ReorderingBuffer &buffer,
503 ReorderingBuffer &buffer,
512 ReorderingBuffer &buffer,
521 ReorderingBuffer *buffer, UErrorCode &errorCode) const;
525 ReorderingBuffer &buffer,
[all …]
Dnorm2allmodes.h53 ReorderingBuffer buffer(impl, dest); in normalize()
61 ReorderingBuffer &buffer, UErrorCode &errorCode) const = 0;
93 ReorderingBuffer buffer(impl, first); in normalizeSecondAndAppend()
108 ReorderingBuffer &buffer, UErrorCode &errorCode) const = 0;
197 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalize()
204 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalizeAndAppend()
259 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalize()
282 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalizeAndAppend()
297 ReorderingBuffer buffer(impl, temp); in isNormalized()
354 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalize()
[all …]
Dnormalizer2impl.cpp171 ReorderingBuffer::ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest, in ReorderingBuffer() function in ReorderingBuffer
182 UBool ReorderingBuffer::init(int32_t destCapacity, UErrorCode &errorCode) { in init()
207 UBool ReorderingBuffer::equals(const UChar *otherStart, const UChar *otherLimit) const { in equals()
214 UBool ReorderingBuffer::equals(const uint8_t *otherStart, const uint8_t *otherLimit) const { in equals()
240 UBool ReorderingBuffer::appendSupplementary(UChar32 c, uint8_t cc, UErrorCode &errorCode) { in appendSupplementary()
259 UBool ReorderingBuffer::append(const UChar *s, int32_t length, UBool isNFD, in append()
300 UBool ReorderingBuffer::appendZeroCC(UChar32 c, UErrorCode &errorCode) { in appendZeroCC()
318 UBool ReorderingBuffer::appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode) { in appendZeroCC()
334 void ReorderingBuffer::remove() { in remove()
340 void ReorderingBuffer::removeSuffix(int32_t suffixLength) { in removeSuffix()
[all …]
Dnormalizer2.cpp350 ReorderingBuffer buffer(n2wi->impl, destString); in unorm2_normalize()
389 ReorderingBuffer buffer(n2wi->impl, firstString); in normalizeSecondAndAppend()
/third_party/icu/icu4c/source/common/
Dnormalizer2impl.h139 class U_COMMON_API ReorderingBuffer : public UMemory {
142 ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest) : in ReorderingBuffer() function
147 ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest, UErrorCode &errorCode);
148 ~ReorderingBuffer() { in ~ReorderingBuffer()
488 ReorderingBuffer *buffer, UErrorCode &errorCode) const;
492 ReorderingBuffer &buffer,
503 ReorderingBuffer &buffer,
512 ReorderingBuffer &buffer,
521 ReorderingBuffer *buffer, UErrorCode &errorCode) const;
525 ReorderingBuffer &buffer,
[all …]
Dnorm2allmodes.h53 ReorderingBuffer buffer(impl, dest); in normalize()
61 ReorderingBuffer &buffer, UErrorCode &errorCode) const = 0;
93 ReorderingBuffer buffer(impl, first); in normalizeSecondAndAppend()
108 ReorderingBuffer &buffer, UErrorCode &errorCode) const = 0;
197 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalize()
204 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalizeAndAppend()
259 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalize()
282 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalizeAndAppend()
297 ReorderingBuffer buffer(impl, temp); in isNormalized()
354 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalize()
[all …]
Dnormalizer2impl.cpp171 ReorderingBuffer::ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest, in ReorderingBuffer() function in ReorderingBuffer
182 UBool ReorderingBuffer::init(int32_t destCapacity, UErrorCode &errorCode) { in init()
207 UBool ReorderingBuffer::equals(const UChar *otherStart, const UChar *otherLimit) const { in equals()
214 UBool ReorderingBuffer::equals(const uint8_t *otherStart, const uint8_t *otherLimit) const { in equals()
240 UBool ReorderingBuffer::appendSupplementary(UChar32 c, uint8_t cc, UErrorCode &errorCode) { in appendSupplementary()
259 UBool ReorderingBuffer::append(const UChar *s, int32_t length, UBool isNFD, in append()
300 UBool ReorderingBuffer::appendZeroCC(UChar32 c, UErrorCode &errorCode) { in appendZeroCC()
318 UBool ReorderingBuffer::appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode) { in appendZeroCC()
334 void ReorderingBuffer::remove() { in remove()
340 void ReorderingBuffer::removeSuffix(int32_t suffixLength) { in removeSuffix()
[all …]
Dnormalizer2.cpp350 ReorderingBuffer buffer(n2wi->impl, destString); in unorm2_normalize()
389 ReorderingBuffer buffer(n2wi->impl, firstString); in normalizeSecondAndAppend()
/third_party/skia/third_party/externals/icu/source/common/
Dnormalizer2impl.h139 class U_COMMON_API ReorderingBuffer : public UMemory {
142 ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest) : in ReorderingBuffer() function
147 ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest, UErrorCode &errorCode);
148 ~ReorderingBuffer() { in ~ReorderingBuffer()
488 ReorderingBuffer *buffer, UErrorCode &errorCode) const;
492 ReorderingBuffer &buffer,
503 ReorderingBuffer &buffer,
512 ReorderingBuffer &buffer,
521 ReorderingBuffer *buffer, UErrorCode &errorCode) const;
525 ReorderingBuffer &buffer,
[all …]
Dnorm2allmodes.h53 ReorderingBuffer buffer(impl, dest); in normalize()
61 ReorderingBuffer &buffer, UErrorCode &errorCode) const = 0;
93 ReorderingBuffer buffer(impl, first); in normalizeSecondAndAppend()
108 ReorderingBuffer &buffer, UErrorCode &errorCode) const = 0;
197 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalize()
204 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalizeAndAppend()
259 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalize()
282 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalizeAndAppend()
297 ReorderingBuffer buffer(impl, temp); in isNormalized()
354 ReorderingBuffer &buffer, UErrorCode &errorCode) const U_OVERRIDE { in normalize()
[all …]
Dnormalizer2impl.cpp171 ReorderingBuffer::ReorderingBuffer(const Normalizer2Impl &ni, UnicodeString &dest, in ReorderingBuffer() function in ReorderingBuffer
182 UBool ReorderingBuffer::init(int32_t destCapacity, UErrorCode &errorCode) { in init()
207 UBool ReorderingBuffer::equals(const UChar *otherStart, const UChar *otherLimit) const { in equals()
214 UBool ReorderingBuffer::equals(const uint8_t *otherStart, const uint8_t *otherLimit) const { in equals()
240 UBool ReorderingBuffer::appendSupplementary(UChar32 c, uint8_t cc, UErrorCode &errorCode) { in appendSupplementary()
259 UBool ReorderingBuffer::append(const UChar *s, int32_t length, UBool isNFD, in append()
300 UBool ReorderingBuffer::appendZeroCC(UChar32 c, UErrorCode &errorCode) { in appendZeroCC()
318 UBool ReorderingBuffer::appendZeroCC(const UChar *s, const UChar *sLimit, UErrorCode &errorCode) { in appendZeroCC()
334 void ReorderingBuffer::remove() { in remove()
340 void ReorderingBuffer::removeSuffix(int32_t suffixLength) { in removeSuffix()
[all …]
Dnormalizer2.cpp350 ReorderingBuffer buffer(n2wi->impl, destString); in unorm2_normalize()
389 ReorderingBuffer buffer(n2wi->impl, firstString); in normalizeSecondAndAppend()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DRuleBasedCollator.java22 import com.ibm.icu.impl.Normalizer2Impl.ReorderingBuffer;
1582 ReorderingBuffer buffer = new ReorderingBuffer(nfcImpl, str, seq.length() - start); in setText()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DRuleBasedCollator.java23 import ohos.global.icu.impl.Normalizer2Impl.ReorderingBuffer;
1543 ReorderingBuffer buffer = new ReorderingBuffer(nfcImpl, str, seq.length() - start); in setText()

12