Home
last modified time | relevance | path

Searched refs:cpStart (Results 1 – 12 of 12) sorted by relevance

/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()
72 return cpStart; in getCaseMapCPStart()
123 cpStart=cpLimit; in nextCaseMapCP()
140 int delta=text.length()-(cpLimit-cpStart); in replace()
141 rep.replace(cpStart, cpLimit, text); in replace()
165 index=cpStart; in reset()
196 protected int index, limit, cpStart, cpLimit, contextStart, contextLimit; field in ReplaceableContextIterator
/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()
71 return cpStart; in getCaseMapCPStart()
122 cpStart=cpLimit; in nextCaseMapCP()
139 int delta=text.length()-(cpLimit-cpStart); in replace()
140 rep.replace(cpStart, cpLimit, text); in replace()
164 index=cpStart; in reset()
195 protected int index, limit, cpStart, cpLimit, contextStart, contextLimit; field in ReplaceableContextIterator
/external/pdfium/xfa/fxfa/parser/
Dcxfa_rectangle.cpp489 CFX_PointF cpStart; in GetPath() local
501 cpStart.x = cp1.x - halfBefore; in GetPath()
502 cpStart.y = cp1.y + fRadius1, offsetY = -halfAfter; in GetPath()
504 cpStart.x = cp1.x + fRadius1 - halfBefore, cpStart.y = cp1.y, in GetPath()
520 cpStart.x = cp1.x - fRadius1, cpStart.y = cp1.y - halfBefore, in GetPath()
523 cpStart.x = cp1.x, cpStart.y = cp1.y + fRadius1 - halfBefore, in GetPath()
539 cpStart.x = cp1.x + halfBefore, cpStart.y = cp1.y - fRadius1, in GetPath()
542 cpStart.x = cp1.x - fRadius1 + halfBefore, cpStart.y = cp1.y, in GetPath()
558 cpStart.x = cp1.x + fRadius1, cpStart.y = cp1.y + halfBefore, in GetPath()
561 cpStart.x = cp1.x, cpStart.y = cp1.y - fRadius1 + halfBefore, in GetPath()
[all …]
/external/icu/icu4c/source/common/
Ducasemap.cpp175 csc->index=csc->cpStart; in utf8_caseContextIterator()
221 int32_t cpStart; in toLower() local
232 cpStart = srcIndex - 1; in toLower()
255 cpStart = srcIndex - 2; in toLower()
275 cpStart = --srcIndex; in toLower()
287 ByteSinkUtil::appendUnchanged(src + prev, cpStart - prev, in toLower()
289 ByteSinkUtil::appendCodePoint(srcIndex - cpStart, c + delta, sink, edits); in toLower()
298 csc->cpStart = cpStart; in toLower()
305 ByteSinkUtil::appendUnchanged(src + prev, cpStart - prev, in toLower()
307 appendResult(srcIndex - cpStart, c, s, sink, options, edits, errorCode); in toLower()
[all …]
Dustrcase.cpp173 csc->index=csc->cpStart; in utf16_caseContextIterator()
260 int32_t cpStart = srcIndex++; in toLower() local
271 csc->cpStart = cpStart; in toLower()
279 src + prev, cpStart - prev, options, edits); in toLower()
282 srcIndex - cpStart, options, edits); in toLower()
355 int32_t cpStart; in toUpper() local
356 csc->cpStart = cpStart = srcIndex++; in toUpper()
370 src + prev, cpStart - prev, options, edits); in toUpper()
373 srcIndex - cpStart, options, edits); in toUpper()
469 csc.cpStart=titleStart; in ustrcase_internalToTitle()
Dnormalizer2impl.cpp74 UChar32 codePointFromValidUTF8(const uint8_t *cpStart, const uint8_t *cpLimit) { in codePointFromValidUTF8() argument
76 U_ASSERT(cpStart < cpLimit); in codePointFromValidUTF8()
77 uint8_t c = *cpStart; in codePointFromValidUTF8()
78 switch(cpLimit-cpStart) { in codePointFromValidUTF8()
82 return ((c&0x1f)<<6) | (cpStart[1]&0x3f); in codePointFromValidUTF8()
85 return (UChar)((c<<12) | ((cpStart[1]&0x3f)<<6) | (cpStart[2]&0x3f)); in codePointFromValidUTF8()
87 return ((c&7)<<18) | ((cpStart[1]&0x3f)<<12) | ((cpStart[2]&0x3f)<<6) | (cpStart[3]&0x3f); 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()
145 buffer[0] = (uint8_t)(*cpStart + delta); in appendCodePointDelta()
[all …]
Ducase.h228 int32_t cpStart, cpLimit; member
/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
48 this.cpStart = cpStart; in StringContextIterator()
75 cpStart=cpLimit=limit; in moveToLimit()
90 cpStart=cpLimit; in nextCaseMapCP()
101 cpStart = s; in setCPStartAndLimit()
110 return cpStart; in getCPStart()
122 return cpLimit-cpStart; in getCPLength()
136 index=cpStart; in reset()
162 protected int index, limit, cpStart, cpLimit; field in CaseMapImpl.StringContextIterator
[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
43 this.cpStart = cpStart; in StringContextIterator()
70 cpStart=cpLimit=limit; in moveToLimit()
85 cpStart=cpLimit; in nextCaseMapCP()
96 cpStart = s; in setCPStartAndLimit()
105 return cpStart; in getCPStart()
117 return cpLimit-cpStart; in getCPLength()
131 index=cpStart; in reset()
157 protected int index, limit, cpStart, cpLimit; field in CaseMapImpl.StringContextIterator
[all …]
/external/icu/icu4c/source/i18n/
Dcasetrn.cpp45 csc->index=csc->cpStart; in utrans_rep_caseContextIterator()
155 csc.cpStart=textPos; in handleTransliterate()
164 offsets.start=csc.cpStart; in handleTransliterate()
180 text.handleReplaceBetween(csc.cpStart, textPos, tmp); in handleTransliterate()
Dtitletrn.cpp124 csc.cpStart=textPos; in handleTransliterate()
140 offsets.start=csc.cpStart; in handleTransliterate()
156 text.handleReplaceBetween(csc.cpStart, textPos, tmp); in handleTransliterate()
Dutf8collationiterator.cpp395 int32_t cpStart = pos; in nextSegment() local
400 if(leadCC == 0 && cpStart != segmentStart) { in nextSegment()
402 pos = cpStart; in nextSegment()
409 cpStart = pos; in nextSegment()
412 pos = cpStart; in nextSegment()