/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | ReplaceableContextIterator.java | 39 limit=cpStart=cpLimit=index=contextStart=contextLimit=0; in ReplaceableContextIterator() 51 cpStart=cpLimit=index=contextStart=0; in setText() 61 cpStart=cpLimit=index; in setIndex() 122 if(cpLimit<limit) { in nextCaseMapCP() 123 cpStart=cpLimit; in nextCaseMapCP() 124 c=rep.char32At(cpLimit); in nextCaseMapCP() 125 cpLimit+=UTF16.getCharCount(c); in nextCaseMapCP() 140 int delta=text.length()-(cpLimit-cpStart); in replace() 141 rep.replace(cpStart, cpLimit, text); in replace() 142 cpLimit+=delta; in replace() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | ReplaceableContextIterator.java | 38 limit=cpStart=cpLimit=index=contextStart=contextLimit=0; in ReplaceableContextIterator() 50 cpStart=cpLimit=index=contextStart=0; in setText() 60 cpStart=cpLimit=index; in setIndex() 121 if(cpLimit<limit) { in nextCaseMapCP() 122 cpStart=cpLimit; in nextCaseMapCP() 123 c=rep.char32At(cpLimit); in nextCaseMapCP() 124 cpLimit+=UTF16.getCharCount(c); in nextCaseMapCP() 139 int delta=text.length()-(cpLimit-cpStart); in replace() 140 rep.replace(cpStart, cpLimit, text); in replace() 141 cpLimit+=delta; in replace() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CaseMapImpl.java | 34 cpStart=cpLimit=index=0; in StringContextIterator() 44 public StringContextIterator(CharSequence src, int cpStart, int cpLimit) { in StringContextIterator() argument 49 this.cpLimit = cpLimit; in StringContextIterator() 75 cpStart=cpLimit=limit; in moveToLimit() 90 cpStart=cpLimit; in nextCaseMapCP() 91 if(cpLimit<limit) { in nextCaseMapCP() 92 int c=Character.codePointAt(s, cpLimit); in nextCaseMapCP() 93 cpLimit+=Character.charCount(c); in nextCaseMapCP() 102 cpLimit = l; in setCPStartAndLimit() 118 return cpLimit; in getCPLimit() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CaseMapImpl.java | 29 cpStart=cpLimit=index=0; in StringContextIterator() 39 public StringContextIterator(CharSequence src, int cpStart, int cpLimit) { in StringContextIterator() argument 44 this.cpLimit = cpLimit; in StringContextIterator() 70 cpStart=cpLimit=limit; in moveToLimit() 85 cpStart=cpLimit; in nextCaseMapCP() 86 if(cpLimit<limit) { in nextCaseMapCP() 87 int c=Character.codePointAt(s, cpLimit); in nextCaseMapCP() 88 cpLimit+=Character.charCount(c); in nextCaseMapCP() 97 cpLimit = l; in setCPStartAndLimit() 113 return cpLimit; in getCPLimit() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | utf8collationiterator.cpp | 474 int32_t cpLimit = pos; in previousSegment() local 479 if(trailCC == 0 && cpLimit != segmentLimit) { in previousSegment() 481 pos = cpLimit; in previousSegment() 489 cpLimit = pos; in previousSegment() 493 pos = cpLimit; in previousSegment()
|
D | casetrn.cpp | 49 csc->index=csc->cpLimit; in utrans_rep_caseContextIterator() 157 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
|
D | titletrn.cpp | 126 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
|
/external/icu/icu4c/source/test/intltest/ |
D | convtest.cpp | 520 UChar32 cpLimit; in TestGetUnicodeSet2() local 523 cpLimit=s0Length=0x10000; // BMP only in TestGetUnicodeSet2() 525 cpLimit=0x110000; in TestGetUnicodeSet2() 553 if(cpLimit==0x110000) { in TestGetUnicodeSet2() 600 expected.add(0, cpLimit-1); in TestGetUnicodeSet2() 618 if(cpLimit<0x110000) { in TestGetUnicodeSet2() 619 set.remove(cpLimit, 0x10ffff); in TestGetUnicodeSet2()
|
/external/icu/icu4c/source/common/ |
D | normalizer2impl.cpp | 74 UChar32 codePointFromValidUTF8(const uint8_t *cpStart, const uint8_t *cpLimit) { in codePointFromValidUTF8() argument 76 U_ASSERT(cpStart < cpLimit); in codePointFromValidUTF8() 78 switch(cpLimit-cpStart) { in codePointFromValidUTF8() 138 appendCodePointDelta(const uint8_t *cpStart, const uint8_t *cpLimit, int32_t delta, in appendCodePointDelta() argument 142 int32_t cpLength = (int32_t)(cpLimit - cpStart); in appendCodePointDelta() 148 int32_t trail = *(cpLimit-1) + delta; in appendCodePointDelta() 151 --cpLimit; in appendCodePointDelta() 153 do { buffer[length++] = *cpStart++; } while (cpStart < cpLimit); in appendCodePointDelta() 157 UChar32 c = codePointFromValidUTF8(cpStart, cpLimit) + delta; in appendCodePointDelta()
|
D | ucasemap.cpp | 179 csc->index=csc->cpLimit; in utf8_caseContextIterator() 299 csc->cpLimit = srcIndex; in toLower() 405 csc->cpLimit = srcIndex; in toUpper() 492 csc.cpLimit=titleLimit; in ucasemap_internalUTF8ToTitle()
|
D | ucase.h | 228 int32_t cpStart, cpLimit; member
|
D | ustrcase.cpp | 177 csc->index=csc->cpLimit; in utf16_caseContextIterator() 272 csc->cpLimit = srcIndex; in toLower() 365 csc->cpLimit = srcIndex; in toUpper() 470 csc.cpLimit=titleLimit; in ustrcase_internalToTitle()
|