Home
last modified time | relevance | path

Searched refs:Edits (Results 1 – 25 of 36) sorted by relevance

12

/external/icu/icu4c/source/common/unicode/
Dedits.h32 class U_COMMON_API Edits U_FINAL : public UMemory {
38 Edits() : in Edits() function
46 Edits(const Edits &other) : in Edits() function
58 Edits(Edits &&src) U_NOEXCEPT : in Edits() function
69 ~Edits();
77 Edits &operator=(const Edits &other);
87 Edits &operator=(Edits &&src) U_NOEXCEPT;
304 friend class Edits;
395 Edits &mergeAndAppend(const Edits &ab, const Edits &bc, UErrorCode &errorCode);
399 Edits &copyArray(const Edits &other);
[all …]
Dcasemap.h25 class Edits; variable
67 char16_t *dest, int32_t destCapacity, Edits *edits,
103 char16_t *dest, int32_t destCapacity, Edits *edits,
154 char16_t *dest, int32_t destCapacity, Edits *edits,
196 char16_t *dest, int32_t destCapacity, Edits *edits,
222 StringPiece src, ByteSink &sink, Edits *edits,
248 StringPiece src, ByteSink &sink, Edits *edits,
288 StringPiece src, ByteSink &sink, Edits *edits,
319 StringPiece src, ByteSink &sink, Edits *edits,
355 char *dest, int32_t destCapacity, Edits *edits,
[all …]
Dnormalizer2.h248 Edits *edits, UErrorCode &errorCode) const;
566 Edits *edits, UErrorCode &errorCode) const U_OVERRIDE;
757 ByteSink &sink, Edits *edits,
/external/icu/icu4c/source/common/
Dedits.cpp36 void Edits::releaseArray() U_NOEXCEPT { in releaseArray()
42 Edits &Edits::copyArray(const Edits &other) { in copyArray()
64 Edits &Edits::moveArray(Edits &src) U_NOEXCEPT { in moveArray()
86 Edits &Edits::operator=(const Edits &other) { in operator =()
94 Edits &Edits::operator=(Edits &&src) U_NOEXCEPT { in operator =()
102 Edits::~Edits() { in ~Edits()
106 void Edits::reset() U_NOEXCEPT { in reset()
111 void Edits::addUnchanged(int32_t unchangedLength) { in addUnchanged()
139 void Edits::addReplace(int32_t oldLength, int32_t newLength) { in addReplace()
207 void Edits::append(int32_t r) { in append()
[all …]
Dbytesinkutil.h16 class Edits; variable
25 ByteSink &sink, Edits *edits, UErrorCode &errorCode);
30 ByteSink &sink, Edits *edits, UErrorCode &errorCode);
33 static void appendCodePoint(int32_t length, UChar32 c, ByteSink &sink, Edits *edits = nullptr);
37 ByteSink &sink, Edits *edits = nullptr) {
45 ByteSink &sink, uint32_t options, Edits *edits,
49 ByteSink &sink, uint32_t options, Edits *edits,
Ducasemap_imp.h153 icu::Edits *edits,
161 icu::Edits *edits,
172 icu::Edits *edits,
182 icu::Edits *edits,
194 icu::Edits *edits,
221 icu::ByteSink &sink, icu::Edits *edits,
231 icu::ByteSink &sink, icu::Edits *edits,
240 icu::ByteSink &sink, icu::Edits *edits,
252 icu::Edits *edits,
Dbytesinkutil.cpp21 ByteSink &sink, Edits *edits, UErrorCode &errorCode) { in appendChange()
60 ByteSink &sink, Edits *edits, UErrorCode &errorCode) { in appendChange()
70 ByteSinkUtil::appendCodePoint(int32_t length, UChar32 c, ByteSink &sink, Edits *edits) { in appendCodePoint()
97 ByteSink &sink, uint32_t options, Edits *edits, in appendUnchanged()
113 ByteSink &sink, uint32_t options, Edits *edits, in appendUnchanged()
Ducasemap.cpp141 ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) { in appendResult()
210 icu::ByteSink &sink, icu::Edits *edits, in _caseMap()
238 ByteSink &sink, icu::Edits *edits, in ucasemap_internalUTF8ToTitle()
384 ByteSink &sink, Edits *edits, in toUpper()
536 icu::ByteSink &sink, icu::Edits *edits, in ucasemap_internalUTF8ToLower()
550 icu::ByteSink &sink, icu::Edits *edits, in ucasemap_internalUTF8ToUpper()
568 icu::ByteSink &sink, icu::Edits *edits, in ucasemap_internalUTF8Fold()
592 icu::ByteSink &sink, icu::Edits *edits, in ucasemap_mapUTF8()
626 icu::Edits *edits, in ucasemap_mapUTF8()
713 StringPiece src, ByteSink &sink, Edits *edits, in utf8ToLower()
[all …]
Dustrcase_locale.cpp73 UChar *dest, int32_t destCapacity, Edits *edits, in toLower()
85 UChar *dest, int32_t destCapacity, Edits *edits, in toUpper()
Dustrcase.cpp44 Edits *edits, UErrorCode &errorCode) { in checkOverflowAndEditsError()
67 int32_t cpLength, uint32_t options, icu::Edits *edits) { in appendResult()
149 const UChar *s, int32_t length, uint32_t options, icu::Edits *edits) { in appendUnchanged()
209 icu::Edits *edits, in _caseMap()
239 icu::Edits *edits, in ustrcase_internalToTitle()
862 Edits *edits, in toUpper()
1011 icu::Edits *edits, in ustrcase_internalToLower()
1028 icu::Edits *edits, in ustrcase_internalToUpper()
1051 icu::Edits *edits, in ustrcase_internalFold()
1078 icu::Edits *edits, in ustrcase_map()
[all …]
Ducasemap_titlecase_brkiter.cpp36 StringPiece src, ByteSink &sink, Edits *edits, in utf8ToTitle()
60 char *dest, int32_t destCapacity, Edits *edits, in utf8ToTitle()
Dunistr_case.cpp157 Edits edits; in caseMap()
174 for (Edits::Iterator ei = edits.getCoarseChangesIterator(); ei.next(errorCode);) { in caseMap()
Dfilterednormalizer2.cpp92 Edits *edits, UErrorCode &errorCode) const { in normalizeUTF8()
105 ByteSink &sink, Edits *edits, in normalizeUTF8()
/external/icu/icu4c/source/test/intltest/
Dtestutil.h41 const Edits &e1, const Edits &e2, UErrorCode &errorCode);
45 Edits::Iterator ei1, Edits::Iterator ei2, // two equal iterators
Dtestutil.cpp74 UnicodeString printOneEdit(const Edits::Iterator &ei) { in printOneEdit()
146 const Edits &e1, const Edits &e2, UErrorCode &errorCode) { in checkEqualEdits()
147 Edits::Iterator ei1 = e1.getFineIterator(); in checkEqualEdits()
148 Edits::Iterator ei2 = e2.getFineIterator(); in checkEqualEdits()
169 Edits::Iterator ei1, Edits::Iterator ei2, // two equal iterators in checkEditsIter()
Dstrcase.cpp921 Edits edits; in TestEdits()
978 Edits::Iterator ei = edits.getCoarseChangesIterator(); in TestEdits()
985 Edits a; in TestCopyMoveEdits()
992 Edits b(a); in TestCopyMoveEdits()
998 Edits c; in TestCopyMoveEdits()
1010 Edits d(std::move(a)); in TestCopyMoveEdits()
1014 Edits empty; in TestCopyMoveEdits()
1018 Edits e; in TestCopyMoveEdits()
1027 Edits::Iterator iter; in TestCopyMoveEdits()
1042 Edits e; in TestEditsFindFwdBwd()
[all …]
Dnormconf.cpp483 Edits edits; in checkNorm()
484 Edits *editsPtr = (mode == UNORM_NFC || mode == UNORM_NFKC) ? &edits : nullptr; in checkNorm()
506 Edits::Iterator iter = edits.getCoarseIterator(); in checkNorm()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCaseTest.java31 import com.ibm.icu.text.Edits;
784 private static String printOneEdit(Edits.Iterator ei) { in printOneEdit()
852 private void checkEqualEdits(String name, Edits e1, Edits e2) { in checkEqualEdits()
853 Edits.Iterator ei1 = e1.getFineIterator(); in checkEqualEdits()
854 Edits.Iterator ei2 = e2.getFineIterator(); in checkEqualEdits()
867 String name, Edits.Iterator ei1, Edits.Iterator ei2, // two equal iterators in checkEditsIter()
1003 Edits edits = new Edits(); in TestEdits()
1058 Edits.Iterator ei = edits.getCoarseChangesIterator(); in TestEdits()
1066 Edits e = new Edits(); in TestEditsFindFwdBwd()
1072 Edits.Iterator iter = e.getFineIterator(); in TestEditsFindFwdBwd()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterCaseTest.java32 import android.icu.text.Edits;
787 private static String printOneEdit(Edits.Iterator ei) { in printOneEdit()
855 private void checkEqualEdits(String name, Edits e1, Edits e2) { in checkEqualEdits()
856 Edits.Iterator ei1 = e1.getFineIterator(); in checkEqualEdits()
857 Edits.Iterator ei2 = e2.getFineIterator(); in checkEqualEdits()
870 String name, Edits.Iterator ei1, Edits.Iterator ei2, // two equal iterators in checkEditsIter()
1006 Edits edits = new Edits(); in TestEdits()
1061 Edits.Iterator ei = edits.getCoarseChangesIterator(); in TestEdits()
1069 Edits e = new Edits(); in TestEditsFindFwdBwd()
1075 Edits.Iterator iter = e.getFineIterator(); in TestEditsFindFwdBwd()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCaseMapImpl.java12 import com.ibm.icu.text.Edits;
348 int cpLength, int options, Edits edits) throws IOException { in appendResult()
374 Appendable dest, int options, Edits edits) throws IOException { in appendUnchanged()
386 … private static String applyEdits(CharSequence src, StringBuilder replacementChars, Edits edits) { in applyEdits()
391 for (Edits.Iterator ei = edits.getCoarseIterator(); ei.next();) { in applyEdits()
404 Appendable dest, Edits edits) throws IOException { in internalToLower()
419 Edits edits = new Edits(); in toLower()
430 CharSequence src, A dest, Edits edits) { in toLower()
450 Edits edits = new Edits(); in toUpper()
461 CharSequence src, A dest, Edits edits) { in toUpper()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCaseMapImpl.java13 import android.icu.text.Edits;
352 int cpLength, int options, Edits edits) throws IOException { in appendResult()
378 Appendable dest, int options, Edits edits) throws IOException { in appendUnchanged()
390 … private static String applyEdits(CharSequence src, StringBuilder replacementChars, Edits edits) { in applyEdits()
395 for (Edits.Iterator ei = edits.getCoarseIterator(); ei.next();) { in applyEdits()
408 Appendable dest, Edits edits) throws IOException { in internalToLower()
423 Edits edits = new Edits(); in toLower()
434 CharSequence src, A dest, Edits edits) { in toLower()
454 Edits edits = new Edits(); in toUpper()
465 CharSequence src, A dest, Edits edits) { in toUpper()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCaseMap.java124 Locale locale, CharSequence src, A dest, Edits edits) { in apply()
184 Locale locale, CharSequence src, A dest, Edits edits) { in apply()
366 Locale locale, BreakIterator iter, CharSequence src, A dest, Edits edits) { in apply()
454 public <A extends Appendable> A apply(CharSequence src, A dest, Edits edits) { in apply()
DEdits.java17 public final class Edits { class
46 public Edits() { in Edits() method in Edits
793 public Edits mergeAndAppend(Edits ab, Edits bc) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCaseMap.java132 Locale locale, CharSequence src, A dest, Edits edits) { in apply()
196 Locale locale, CharSequence src, A dest, Edits edits) { in apply()
387 Locale locale, BreakIterator iter, CharSequence src, A dest, Edits edits) { in apply()
480 public <A extends Appendable> A apply(CharSequence src, A dest, Edits edits) { in apply()
DEdits.java16 public final class Edits { class
46 public Edits() { in Edits() method in Edits
816 public Edits mergeAndAppend(Edits ab, Edits bc) {

12