Home
last modified time | relevance | path

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

12

/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
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 …]
/third_party/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()
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 …]
/third_party/skia/third_party/externals/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()
/third_party/flutter/skia/third_party/externals/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()
/third_party/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()
/third_party/node/deps/icu-small/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()
/third_party/icu/icu4c/source/test/intltest/
Dconvtest.cpp494 UChar32 cpLimit; in TestGetUnicodeSet2() local
497 cpLimit=s0Length=0x10000; // BMP only in TestGetUnicodeSet2()
499 cpLimit=0x110000; in TestGetUnicodeSet2()
527 if(cpLimit==0x110000) { in TestGetUnicodeSet2()
574 expected.add(0, cpLimit-1); in TestGetUnicodeSet2()
592 if(cpLimit<0x110000) { in TestGetUnicodeSet2()
593 set.remove(cpLimit, 0x10ffff); in TestGetUnicodeSet2()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducasemap.cpp179 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()
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()
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()
/third_party/icu/icu4c/source/common/
Ducasemap.cpp179 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()
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()
/third_party/node/deps/icu-small/source/common/
Ducasemap.cpp179 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()
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()
/third_party/skia/third_party/externals/icu/source/common/
Ducasemap.cpp179 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()
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()

12