Home
last modified time | relevance | path

Searched refs:cpLimit (Results 1 – 21 of 21) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DReplaceableContextIterator.java38 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/text/
DReplaceableContextIterator.java39 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/impl/
DCaseMapImpl.java29 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()
74 cpStart=cpLimit=i; in moveTo()
89 cpStart=cpLimit; in nextCaseMapCP()
90 if(cpLimit<limit) { in nextCaseMapCP()
91 int c=Character.codePointAt(s, cpLimit); in nextCaseMapCP()
92 cpLimit+=Character.charCount(c); in nextCaseMapCP()
101 cpLimit = l; in setCPStartAndLimit()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCaseMapImpl.java34 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()
79 cpStart=cpLimit=i; in moveTo()
94 cpStart=cpLimit; in nextCaseMapCP()
95 if(cpLimit<limit) { in nextCaseMapCP()
96 int c=Character.codePointAt(s, cpLimit); in nextCaseMapCP()
97 cpLimit+=Character.charCount(c); in nextCaseMapCP()
106 cpLimit = l; in setCPStartAndLimit()
[all …]
/external/cronet/third_party/icu/source/i18n/
Dutf8collationiterator.cpp474 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()
Dcasetrn.cpp49 csc->index=csc->cpLimit; in utrans_rep_caseContextIterator()
157 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
Dtitletrn.cpp126 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
/external/icu/icu4c/source/i18n/
Dutf8collationiterator.cpp474 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()
Dcasetrn.cpp49 csc->index=csc->cpLimit; in utrans_rep_caseContextIterator()
157 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
Dtitletrn.cpp126 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
/external/cronet/third_party/icu/source/test/intltest/
Dconvtest.cpp495 UChar32 cpLimit; in TestGetUnicodeSet2() local
498 cpLimit=s0Length=0x10000; // BMP only in TestGetUnicodeSet2()
500 cpLimit=0x110000; in TestGetUnicodeSet2()
528 if(cpLimit==0x110000) { in TestGetUnicodeSet2()
575 expected.add(0, cpLimit-1); in TestGetUnicodeSet2()
593 if(cpLimit<0x110000) { in TestGetUnicodeSet2()
594 set.remove(cpLimit, 0x10ffff); in TestGetUnicodeSet2()
/external/icu/icu4c/source/test/intltest/
Dconvtest.cpp522 UChar32 cpLimit; in TestGetUnicodeSet2() local
525 cpLimit=s0Length=0x10000; // BMP only in TestGetUnicodeSet2()
527 cpLimit=0x110000; in TestGetUnicodeSet2()
555 if(cpLimit==0x110000) { in TestGetUnicodeSet2()
602 expected.add(0, cpLimit-1); in TestGetUnicodeSet2()
620 if(cpLimit<0x110000) { in TestGetUnicodeSet2()
621 set.remove(cpLimit, 0x10ffff); in TestGetUnicodeSet2()
/external/cronet/third_party/icu/source/common/
Dnormalizer2impl.cpp74 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()
137 appendCodePointDelta(const uint8_t *cpStart, const uint8_t *cpLimit, int32_t delta, in appendCodePointDelta() argument
141 int32_t cpLength = (int32_t)(cpLimit - cpStart); in appendCodePointDelta()
147 int32_t trail = *(cpLimit-1) + delta; in appendCodePointDelta()
150 --cpLimit; in appendCodePointDelta()
152 do { buffer[length++] = *cpStart++; } while (cpStart < cpLimit); in appendCodePointDelta()
156 UChar32 c = codePointFromValidUTF8(cpStart, cpLimit) + delta; in appendCodePointDelta()
Ducasemap.cpp178 csc->index=csc->cpLimit; in utf8_caseContextIterator()
298 csc->cpLimit = srcIndex; in toLower()
404 csc->cpLimit = srcIndex; in toUpper()
582 csc.cpLimit=titleLimit; in ucasemap_internalUTF8ToTitle()
Ducase.h229 int32_t cpStart, cpLimit; member
Dustrcase.cpp183 csc->index=csc->cpLimit; in utf16_caseContextIterator()
278 csc->cpLimit = srcIndex; in toLower()
371 csc->cpLimit = srcIndex; in toUpper()
564 csc.cpLimit=titleLimit; in ustrcase_internalToTitle()
/external/icu/icu4c/source/common/
Dnormalizer2impl.cpp74 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()
137 appendCodePointDelta(const uint8_t *cpStart, const uint8_t *cpLimit, int32_t delta, in appendCodePointDelta() argument
141 int32_t cpLength = (int32_t)(cpLimit - cpStart); in appendCodePointDelta()
147 int32_t trail = *(cpLimit-1) + delta; in appendCodePointDelta()
150 --cpLimit; in appendCodePointDelta()
152 do { buffer[length++] = *cpStart++; } while (cpStart < cpLimit); in appendCodePointDelta()
156 UChar32 c = codePointFromValidUTF8(cpStart, cpLimit) + delta; in appendCodePointDelta()
Ducasemap.cpp178 csc->index=csc->cpLimit; in utf8_caseContextIterator()
298 csc->cpLimit = srcIndex; in toLower()
404 csc->cpLimit = srcIndex; in toUpper()
582 csc.cpLimit=titleLimit; in ucasemap_internalUTF8ToTitle()
Ducase.h229 int32_t cpStart, cpLimit; member
Dustrcase.cpp183 csc->index=csc->cpLimit; in utf16_caseContextIterator()
278 csc->cpLimit = srcIndex; in toLower()
371 csc->cpLimit = srcIndex; in toUpper()
564 csc.cpLimit=titleLimit; in ustrcase_internalToTitle()
/external/icu/libicu/cts_headers/
Ducase.h229 int32_t cpStart, cpLimit; member