Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/unicode/
Dedits.h77 class U_COMMON_API Edits U_FINAL : public UMemory {
83 Edits() : in Edits() function
91 Edits(const Edits &other) : in Edits() function
103 Edits(Edits &&src) U_NOEXCEPT : in Edits() function
114 ~Edits();
122 Edits &operator=(const Edits &other);
132 Edits &operator=(Edits &&src) U_NOEXCEPT;
401 friend class Edits;
501 Edits &mergeAndAppend(const Edits &ab, const Edits &bc, UErrorCode &errorCode);
505 Edits &copyArray(const Edits &other);
[all …]
Dcasemap.h23 class Edits; variable
65 char16_t *dest, int32_t destCapacity, Edits *edits,
101 char16_t *dest, int32_t destCapacity, Edits *edits,
152 char16_t *dest, int32_t destCapacity, Edits *edits,
194 char16_t *dest, int32_t destCapacity, Edits *edits,
220 StringPiece src, ByteSink &sink, Edits *edits,
246 StringPiece src, ByteSink &sink, Edits *edits,
286 StringPiece src, ByteSink &sink, Edits *edits,
317 StringPiece src, ByteSink &sink, Edits *edits,
353 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.cpp38 void Edits::releaseArray() U_NOEXCEPT { in releaseArray()
44 Edits &Edits::copyArray(const Edits &other) { in copyArray()
66 Edits &Edits::moveArray(Edits &src) U_NOEXCEPT { in moveArray()
88 Edits &Edits::operator=(const Edits &other) { in operator =()
96 Edits &Edits::operator=(Edits &&src) U_NOEXCEPT { in operator =()
104 Edits::~Edits() { in ~Edits()
108 void Edits::reset() U_NOEXCEPT { in reset()
113 void Edits::addUnchanged(int32_t unchangedLength) { in addUnchanged()
141 void Edits::addReplace(int32_t oldLength, int32_t newLength) { in addReplace()
209 void Edits::append(int32_t r) { in append()
[all …]
Dbytesinkutil.h17 class Edits; variable
26 ByteSink &sink, Edits *edits, UErrorCode &errorCode);
31 ByteSink &sink, Edits *edits, UErrorCode &errorCode);
34 static void appendCodePoint(int32_t length, UChar32 c, ByteSink &sink, Edits *edits = nullptr);
38 ByteSink &sink, Edits *edits = nullptr) {
46 ByteSink &sink, uint32_t options, Edits *edits, in appendUnchanged()
54 ByteSink &sink, uint32_t options, Edits *edits,
59 ByteSink &sink, uint32_t options, Edits *edits);
Ducasemap_imp.h144 icu::Edits *edits,
152 icu::Edits *edits,
163 icu::Edits *edits,
173 icu::Edits *edits,
185 icu::Edits *edits,
212 icu::ByteSink &sink, icu::Edits *edits,
222 icu::ByteSink &sink, icu::Edits *edits,
231 icu::ByteSink &sink, icu::Edits *edits,
243 icu::Edits *edits,
Dbytesinkutil.cpp22 ByteSink &sink, Edits *edits, UErrorCode &errorCode) { in appendChange()
61 ByteSink &sink, Edits *edits, UErrorCode &errorCode) { in appendChange()
71 ByteSinkUtil::appendCodePoint(int32_t length, UChar32 c, ByteSink &sink, Edits *edits) { in appendCodePoint()
98 ByteSink &sink, uint32_t options, Edits *edits) { in appendNonEmptyUnchanged()
110 ByteSink &sink, uint32_t options, Edits *edits, in appendUnchanged()
Ducasemap.cpp141 ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) { in appendResult()
206 icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) { in toLower()
317 icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) { in toUpper()
427 ByteSink &sink, icu::Edits *edits, in ucasemap_internalUTF8ToTitle()
572 ByteSink &sink, Edits *edits, in toUpper()
724 icu::ByteSink &sink, icu::Edits *edits, in ucasemap_internalUTF8ToLower()
738 icu::ByteSink &sink, icu::Edits *edits, in ucasemap_internalUTF8ToUpper()
756 icu::ByteSink &sink, icu::Edits *edits, in ucasemap_internalUTF8Fold()
768 icu::ByteSink &sink, icu::Edits *edits, in ucasemap_mapUTF8()
802 icu::Edits *edits, in ucasemap_mapUTF8()
[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()
59 int32_t cpLength, uint32_t options, icu::Edits *edits) { in appendResult()
141 const UChar *s, int32_t length, uint32_t options, icu::Edits *edits) { in appendNonEmptyUnchanged()
159 const UChar *s, int32_t length, uint32_t options, icu::Edits *edits) { in appendUnchanged()
205 icu::Edits *edits, UErrorCode &errorCode) { in toLower()
303 icu::Edits *edits, UErrorCode &errorCode) { in toUpper()
403 icu::Edits *edits, in ustrcase_internalToTitle()
1025 Edits *edits, in toUpper()
1174 icu::Edits *edits, in ustrcase_internalToLower()
1191 icu::Edits *edits, in ustrcase_internalToUpper()
[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/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/
DEdits.java.patch1 --- android_icu4j/src/main/java/android/icu/text/Edits.java 2018-10-22 05:12:27.128614515 +0100
2 +++ android_icu4j/src/main/java/android/icu/text/Edits.java 2018-10-22 05:12:45.632675685 +0100
6 …* {@link Edits.Iterator#next()} methods are called. They are identical to the non-change iterators…
7 - * their {@link Edits.Iterator#findSourceIndex(int)} or {@link Edits.Iterator#findDestinationIndex…
9 + * their {@link Edits.Iterator#findSourceIndex(int)} method is used to walk through the string.
23 * For more information, see the documentation for {@link Edits}.
/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
Dstrcase.cpp925 Edits edits; in TestEdits()
982 Edits::Iterator ei = edits.getCoarseChangesIterator(); in TestEdits()
989 Edits a; in TestCopyMoveEdits()
996 Edits b(a); in TestCopyMoveEdits()
1002 Edits c; in TestCopyMoveEdits()
1014 Edits d(std::move(a)); in TestCopyMoveEdits()
1018 Edits empty; in TestCopyMoveEdits()
1022 Edits e; in TestCopyMoveEdits()
1031 Edits::Iterator iter; in TestCopyMoveEdits()
1046 Edits e; in TestEditsFindFwdBwd()
[all …]
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()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCaseTest.java31 import com.ibm.icu.text.Edits;
804 private static String printOneEdit(Edits.Iterator ei) { in printOneEdit()
872 private void checkEqualEdits(String name, Edits e1, Edits e2) { in checkEqualEdits()
873 Edits.Iterator ei1 = e1.getFineIterator(); in checkEqualEdits()
874 Edits.Iterator ei2 = e2.getFineIterator(); in checkEqualEdits()
887 String name, Edits.Iterator ei1, Edits.Iterator ei2, // two equal iterators in checkEditsIter()
1023 Edits edits = new Edits(); in TestEdits()
1078 Edits.Iterator ei = edits.getCoarseChangesIterator(); in TestEdits()
1086 Edits e = new Edits(); in TestEditsFindFwdBwd()
1092 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;
807 private static String printOneEdit(Edits.Iterator ei) { in printOneEdit()
875 private void checkEqualEdits(String name, Edits e1, Edits e2) { in checkEqualEdits()
876 Edits.Iterator ei1 = e1.getFineIterator(); in checkEqualEdits()
877 Edits.Iterator ei2 = e2.getFineIterator(); in checkEqualEdits()
890 String name, Edits.Iterator ei1, Edits.Iterator ei2, // two equal iterators in checkEditsIter()
1026 Edits edits = new Edits(); in TestEdits()
1081 Edits.Iterator ei = edits.getCoarseChangesIterator(); in TestEdits()
1089 Edits e = new Edits(); in TestEditsFindFwdBwd()
1095 Edits.Iterator iter = e.getFineIterator(); in TestEditsFindFwdBwd()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCaseMapImpl.java13 import android.icu.text.Edits;
373 int cpLength, int options, Edits edits) throws IOException { in appendResult()
399 Appendable dest, int options, Edits edits) throws IOException { in appendUnchanged()
411 … private static String applyEdits(CharSequence src, StringBuilder replacementChars, Edits edits) { in applyEdits()
416 for (Edits.Iterator ei = edits.getCoarseIterator(); ei.next();) { in applyEdits()
436 Appendable dest, Edits edits) throws IOException { in internalToLower()
514 CharSequence src, Appendable dest, Edits edits) throws IOException { in internalToUpper()
593 Edits edits = new Edits(); in toLower()
604 CharSequence src, A dest, Edits edits) { in toLower()
623 Edits edits = new Edits(); in toUpper()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCaseMapImpl.java12 import com.ibm.icu.text.Edits;
368 int cpLength, int options, Edits edits) throws IOException { in appendResult()
394 Appendable dest, int options, Edits edits) throws IOException { in appendUnchanged()
406 … private static String applyEdits(CharSequence src, StringBuilder replacementChars, Edits edits) { in applyEdits()
411 for (Edits.Iterator ei = edits.getCoarseIterator(); ei.next();) { in applyEdits()
431 Appendable dest, Edits edits) throws IOException { in internalToLower()
509 CharSequence src, Appendable dest, Edits edits) throws IOException { in internalToUpper()
588 Edits edits = new Edits(); in toLower()
599 CharSequence src, A dest, Edits edits) { in toLower()
618 Edits edits = new Edits(); in toUpper()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCaseMap.java113 Locale locale, CharSequence src, A dest, Edits edits) { in apply()
169 Locale locale, CharSequence src, A dest, Edits edits) { in apply()
342 Locale locale, BreakIterator iter, CharSequence src, A dest, Edits edits) { in apply()
425 public <A extends Appendable> A apply(CharSequence src, A dest, Edits edits) { in apply()
DEdits.java57 public final class Edits { class
85 public Edits() { in Edits() method in Edits
896 public Edits mergeAndAppend(Edits ab, Edits bc) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCaseMap.java122 Locale locale, CharSequence src, A dest, Edits edits) { in apply()
182 Locale locale, CharSequence src, A dest, Edits edits) { in apply()
364 Locale locale, BreakIterator iter, CharSequence src, A dest, Edits edits) { in apply()
452 public <A extends Appendable> A apply(CharSequence src, A dest, Edits edits) { in apply()
DEdits.java59 public final class Edits { class
88 public Edits() { in Edits() method in Edits
923 public Edits mergeAndAppend(Edits ab, Edits bc) {

12