Searched defs:cpLimit (Results 1 - 8 of 8) sorted by relevance

/external/icu/icu4c/source/common/
H A Dnormalizer2impl.cpp63 * between cpStart and cpLimit.
70 UChar32 codePointFromValidUTF8(const uint8_t *cpStart, const uint8_t *cpLimit) { argument
72 U_ASSERT(cpStart < cpLimit);
74 switch(cpLimit-cpStart) {
134 appendCodePointDelta(const uint8_t *cpStart, const uint8_t *cpLimit, int32_t delta,
138 int32_t cpLength = (int32_t)(cpLimit - cpStart);
144 int32_t trail = *(cpLimit-1) + delta;
147 --cpLimit;
149 do { buffer[length++] = *cpStart++; } while (cpStart < cpLimit);
153 UChar32 c = codePointFromValidUTF8(cpStart, cpLimit)
[all...]
H A Ducase.h200 int32_t cpStart, cpLimit; member in struct:UCaseContext
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DReplaceableContextIterator.java39 limit=cpStart=cpLimit=index=contextStart=contextLimit=0;
51 cpStart=cpLimit=index=contextStart=0;
61 cpStart=cpLimit=index;
122 if(cpLimit<limit) {
123 cpStart=cpLimit;
124 c=rep.char32At(cpLimit);
125 cpLimit+=UTF16.getCharCount(c);
140 int delta=text.length()-(cpLimit-cpStart);
141 rep.replace(cpStart, cpLimit, text);
142 cpLimit
196 protected int index, limit, cpStart, cpLimit, contextStart, contextLimit; field in class:ReplaceableContextIterator
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DReplaceableContextIterator.java38 limit=cpStart=cpLimit=index=contextStart=contextLimit=0;
50 cpStart=cpLimit=index=contextStart=0;
60 cpStart=cpLimit=index;
121 if(cpLimit<limit) {
122 cpStart=cpLimit;
123 c=rep.char32At(cpLimit);
124 cpLimit+=UTF16.getCharCount(c);
139 int delta=text.length()-(cpLimit-cpStart);
140 rep.replace(cpStart, cpLimit, text);
141 cpLimit
195 protected int index, limit, cpStart, cpLimit, contextStart, contextLimit; field in class:ReplaceableContextIterator
[all...]
/external/icu/icu4c/source/i18n/
H A Dutf8collationiterator.cpp474 int32_t cpLimit = pos; local
479 if(trailCC == 0 && cpLimit != segmentLimit) {
481 pos = cpLimit;
489 cpLimit = pos;
493 pos = cpLimit;
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DCaseMapImpl.java33 cpStart=cpLimit=index=0;
59 cpStart=cpLimit=limit;
74 cpStart=cpLimit;
75 if(cpLimit<limit) {
76 int c=Character.codePointAt(s, cpLimit);
77 cpLimit+=Character.charCount(c);
97 return cpLimit;
101 return cpLimit-cpStart;
111 index=cpLimit;
141 protected int index, limit, cpStart, cpLimit; field in class:CaseMapImpl.StringContextIterator
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DCaseMapImpl.java29 cpStart=cpLimit=index=0;
55 cpStart=cpLimit=limit;
70 cpStart=cpLimit;
71 if(cpLimit<limit) {
72 int c=Character.codePointAt(s, cpLimit);
73 cpLimit+=Character.charCount(c);
93 return cpLimit;
97 return cpLimit-cpStart;
107 index=cpLimit;
137 protected int index, limit, cpStart, cpLimit; field in class:CaseMapImpl.StringContextIterator
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dconvtest.cpp520 UChar32 cpLimit; local
523 cpLimit=s0Length=0x10000; // BMP only
525 cpLimit=0x110000;
553 if(cpLimit==0x110000) {
600 expected.add(0, cpLimit-1);
618 if(cpLimit<0x110000) {
619 set.remove(cpLimit, 0x10ffff);

Completed in 3605 milliseconds