Home
last modified time | relevance | path

Searched refs:cpLimit (Results 1 - 25 of 27) sorted by relevance

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A 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 in replace()
195 protected int index, limit, cpStart, cpLimit, contextStart, contextLimit; global() field in ReplaceableContextIterator
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A 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 in replace()
196 protected int index, limit, cpStart, cpLimit, contextStart, contextLimit; global() field in ReplaceableContextIterator
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DCaseMapImpl.java29 cpStart=cpLimit=index=0; in StringContextIterator()
37 * @param cpLimit Limit index of the current code point.
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()
161 protected int index, limit, cpStart, cpLimit; global() field in CaseMapImpl.StringContextIterator
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DCaseMapImpl.java34 cpStart=cpLimit=index=0; in StringContextIterator()
42 * @param cpLimit Limit index of the current code point.
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 in nextCaseMapCP()
162 protected int index, limit, cpStart, cpLimit; global() field in CaseMapImpl.StringContextIterator
[all...]
/third_party/icu/icu4c/source/i18n/
H A 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()
H A Dcasetrn.cpp49 csc->index=csc->cpLimit; in utrans_rep_caseContextIterator()
157 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
H A Dtitletrn.cpp126 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
/third_party/node/deps/icu-small/source/i18n/
H A 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()
H A Dcasetrn.cpp49 csc->index=csc->cpLimit; in utrans_rep_caseContextIterator()
157 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
H A Dtitletrn.cpp126 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
/third_party/skia/third_party/externals/icu/source/i18n/
H A 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()
H A Dcasetrn.cpp49 csc->index=csc->cpLimit; in utrans_rep_caseContextIterator()
157 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
H A Dtitletrn.cpp126 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
/third_party/skia/third_party/externals/icu/source/common/
H A 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()
H A Dnormalizer2impl.cpp67 * between cpStart and cpLimit.
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()
137 appendCodePointDelta(const uint8_t *cpStart, const uint8_t *cpLimit, int32_t delta,
141 int32_t cpLength = (int32_t)(cpLimit - cpStart);
147 int32_t trail = *(cpLimit-1) + delta;
150 --cpLimit;
152 do { buffer[length++] = *cpStart++; } while (cpStart < cpLimit);
156 UChar32 c = codePointFromValidUTF8(cpStart, cpLimit)
[all...]
H A Ducase.h229 int32_t cpStart, cpLimit; member
/third_party/icu/icu4c/source/common/
H A Dnormalizer2impl.cpp67 * between cpStart and cpLimit.
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()
137 appendCodePointDelta(const uint8_t *cpStart, const uint8_t *cpLimit, int32_t delta,
141 int32_t cpLength = (int32_t)(cpLimit - cpStart);
147 int32_t trail = *(cpLimit-1) + delta;
150 --cpLimit;
152 do { buffer[length++] = *cpStart++; } while (cpStart < cpLimit);
156 UChar32 c = codePointFromValidUTF8(cpStart, cpLimit)
[all...]
H A 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;
H A Ducase.h229 int32_t cpStart, cpLimit; member
H A 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;
/third_party/node/deps/icu-small/source/common/
H A Dnormalizer2impl.cpp67 * between cpStart and cpLimit.
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()
137 appendCodePointDelta(const uint8_t *cpStart, const uint8_t *cpLimit, int32_t delta,
141 int32_t cpLength = (int32_t)(cpLimit - cpStart);
147 int32_t trail = *(cpLimit-1) + delta;
150 --cpLimit;
152 do { buffer[length++] = *cpStart++; } while (cpStart < cpLimit);
156 UChar32 c = codePointFromValidUTF8(cpStart, cpLimit)
[all...]
H A 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;
H A Ducase.h233 int32_t cpStart, cpLimit; member
H A 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;
/third_party/icu/icu4c/source/test/intltest/
H A 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()

Completed in 21 milliseconds

12