Home
last modified time | relevance | path

Searched refs:cpLength (Results 1 – 25 of 35) sorted by relevance

12

/third_party/icu/icu4c/source/common/
Dpunycode.cpp379 destCPCount, firstSupplementaryIndex, cpLength; in u_strFromPunycode() local
527 cpLength=U16_LENGTH(n); in u_strFromPunycode()
528 if(dest!=NULL && ((destLength+cpLength)<=destCapacity)) { in u_strFromPunycode()
543 if(cpLength>1) { in u_strFromPunycode()
555 uprv_memmove(dest+codeUnitIndex+cpLength, in u_strFromPunycode()
559 uprv_memmove(caseFlags+codeUnitIndex+cpLength, in u_strFromPunycode()
564 if(cpLength==1) { in u_strFromPunycode()
575 if(cpLength==2) { in u_strFromPunycode()
580 destLength+=cpLength; in u_strFromPunycode()
Dsimpleformatter.cpp211 int32_t cpLength = compiledPattern.length(); in formatAndReplace() local
212 if (valuesLength < getArgumentLimit(cp, cpLength)) { in formatAndReplace()
224 if (getArgumentLimit(cp, cpLength) > 0) { in formatAndReplace()
225 for (int32_t i = 1; i < cpLength;) { in formatAndReplace()
243 return format(cp, cpLength, values, in formatAndReplace()
Dunisetspan.cpp1364 int32_t cpLength=spanOne(spanSet, s+pos, rest); in spanNot() local
1365 if(cpLength>0) { in spanNot()
1386 pos-=cpLength; in spanNot()
1387 rest+=cpLength; in spanNot()
1405 int32_t cpLength=spanOneBack(spanSet, s, pos); in spanNotBack() local
1406 if(cpLength>0) { in spanNotBack()
1430 pos+=cpLength; in spanNotBack()
1454 int32_t cpLength=spanOneUTF8(spanSet, s+pos, rest); in spanNotUTF8() local
1455 if(cpLength>0) { in spanNotUTF8()
1474 pos-=cpLength; in spanNotUTF8()
[all …]
Ducasemap.cpp140 appendResult(int32_t cpLength, int32_t result, const UChar *s, in appendResult() argument
148 edits->addUnchanged(cpLength); in appendResult()
151 ByteSinkUtil::appendCodePoint(cpLength, ~result, sink); in appendResult()
156 return ByteSinkUtil::appendChange(cpLength, s, result, sink, edits, errorCode); in appendResult()
158 ByteSinkUtil::appendCodePoint(cpLength, result, sink, edits); in appendResult()
Dnormalizer2impl.cpp141 int32_t cpLength = (int32_t)(cpLimit - cpStart); in appendCodePointDelta() local
142 if (cpLength == 1) { in appendCodePointDelta()
162 edits->addReplace(cpLength, length); in appendCodePointDelta()
301 int32_t cpLength=U16_LENGTH(c); in appendZeroCC() local
302 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) { in appendZeroCC()
305 remainingCapacity-=cpLength; in appendZeroCC()
306 if(cpLength==1) { in appendZeroCC()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dpunycode.cpp382 destCPCount, firstSupplementaryIndex, cpLength; in u_strFromPunycode() local
526 cpLength=U16_LENGTH(n); in u_strFromPunycode()
527 if(dest!=NULL && ((destLength+cpLength)<=destCapacity)) { in u_strFromPunycode()
542 if(cpLength>1) { in u_strFromPunycode()
554 uprv_memmove(dest+codeUnitIndex+cpLength, in u_strFromPunycode()
558 uprv_memmove(caseFlags+codeUnitIndex+cpLength, in u_strFromPunycode()
563 if(cpLength==1) { in u_strFromPunycode()
574 if(cpLength==2) { in u_strFromPunycode()
579 destLength+=cpLength; in u_strFromPunycode()
Dsimpleformatter.cpp211 int32_t cpLength = compiledPattern.length(); in formatAndReplace() local
212 if (valuesLength < getArgumentLimit(cp, cpLength)) { in formatAndReplace()
224 if (getArgumentLimit(cp, cpLength) > 0) { in formatAndReplace()
225 for (int32_t i = 1; i < cpLength;) { in formatAndReplace()
243 return format(cp, cpLength, values, in formatAndReplace()
Dunisetspan.cpp1353 int32_t cpLength=spanOne(spanSet, s+pos, rest); in spanNot() local
1354 if(cpLength>0) { in spanNot()
1374 pos-=cpLength; in spanNot()
1375 rest+=cpLength; in spanNot()
1393 int32_t cpLength=spanOneBack(spanSet, s, pos); in spanNotBack() local
1394 if(cpLength>0) { in spanNotBack()
1417 pos+=cpLength; in spanNotBack()
1441 int32_t cpLength=spanOneUTF8(spanSet, s+pos, rest); in spanNotUTF8() local
1442 if(cpLength>0) { in spanNotUTF8()
1461 pos-=cpLength; in spanNotUTF8()
[all …]
Ducasemap.cpp140 appendResult(int32_t cpLength, int32_t result, const UChar *s, in appendResult() argument
148 edits->addUnchanged(cpLength); in appendResult()
151 ByteSinkUtil::appendCodePoint(cpLength, ~result, sink); in appendResult()
156 return ByteSinkUtil::appendChange(cpLength, s, result, sink, edits, errorCode); in appendResult()
158 ByteSinkUtil::appendCodePoint(cpLength, result, sink, edits); in appendResult()
Dnormalizer2impl.cpp142 int32_t cpLength = (int32_t)(cpLimit - cpStart); in appendCodePointDelta() local
143 if (cpLength == 1) { in appendCodePointDelta()
163 edits->addReplace(cpLength, length); in appendCodePointDelta()
302 int32_t cpLength=U16_LENGTH(c); in appendZeroCC() local
303 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) { in appendZeroCC()
306 remainingCapacity-=cpLength; in appendZeroCC()
307 if(cpLength==1) { in appendZeroCC()
/third_party/node/deps/icu-small/source/common/
Dpunycode.cpp379 destCPCount, firstSupplementaryIndex, cpLength; in u_strFromPunycode() local
527 cpLength=U16_LENGTH(n); in u_strFromPunycode()
528 if(dest!=NULL && ((destLength+cpLength)<=destCapacity)) { in u_strFromPunycode()
543 if(cpLength>1) { in u_strFromPunycode()
555 uprv_memmove(dest+codeUnitIndex+cpLength, in u_strFromPunycode()
559 uprv_memmove(caseFlags+codeUnitIndex+cpLength, in u_strFromPunycode()
564 if(cpLength==1) { in u_strFromPunycode()
575 if(cpLength==2) { in u_strFromPunycode()
580 destLength+=cpLength; in u_strFromPunycode()
Dsimpleformatter.cpp211 int32_t cpLength = compiledPattern.length(); in formatAndReplace() local
212 if (valuesLength < getArgumentLimit(cp, cpLength)) { in formatAndReplace()
224 if (getArgumentLimit(cp, cpLength) > 0) { in formatAndReplace()
225 for (int32_t i = 1; i < cpLength;) { in formatAndReplace()
243 return format(cp, cpLength, values, in formatAndReplace()
Dunisetspan.cpp1364 int32_t cpLength=spanOne(spanSet, s+pos, rest); in spanNot() local
1365 if(cpLength>0) { in spanNot()
1386 pos-=cpLength; in spanNot()
1387 rest+=cpLength; in spanNot()
1405 int32_t cpLength=spanOneBack(spanSet, s, pos); in spanNotBack() local
1406 if(cpLength>0) { in spanNotBack()
1430 pos+=cpLength; in spanNotBack()
1454 int32_t cpLength=spanOneUTF8(spanSet, s+pos, rest); in spanNotUTF8() local
1455 if(cpLength>0) { in spanNotUTF8()
1474 pos-=cpLength; in spanNotUTF8()
[all …]
Ducasemap.cpp140 appendResult(int32_t cpLength, int32_t result, const UChar *s, in appendResult() argument
148 edits->addUnchanged(cpLength); in appendResult()
151 ByteSinkUtil::appendCodePoint(cpLength, ~result, sink); in appendResult()
156 return ByteSinkUtil::appendChange(cpLength, s, result, sink, edits, errorCode); in appendResult()
158 ByteSinkUtil::appendCodePoint(cpLength, result, sink, edits); in appendResult()
Dnormalizer2impl.cpp141 int32_t cpLength = (int32_t)(cpLimit - cpStart); in appendCodePointDelta() local
142 if (cpLength == 1) { in appendCodePointDelta()
162 edits->addReplace(cpLength, length); in appendCodePointDelta()
301 int32_t cpLength=U16_LENGTH(c); in appendZeroCC() local
302 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) { in appendZeroCC()
305 remainingCapacity-=cpLength; in appendZeroCC()
306 if(cpLength==1) { in appendZeroCC()
/third_party/skia/third_party/externals/icu/source/common/
Dpunycode.cpp379 destCPCount, firstSupplementaryIndex, cpLength; in u_strFromPunycode() local
527 cpLength=U16_LENGTH(n); in u_strFromPunycode()
528 if(dest!=NULL && ((destLength+cpLength)<=destCapacity)) { in u_strFromPunycode()
543 if(cpLength>1) { in u_strFromPunycode()
555 uprv_memmove(dest+codeUnitIndex+cpLength, in u_strFromPunycode()
559 uprv_memmove(caseFlags+codeUnitIndex+cpLength, in u_strFromPunycode()
564 if(cpLength==1) { in u_strFromPunycode()
575 if(cpLength==2) { in u_strFromPunycode()
580 destLength+=cpLength; in u_strFromPunycode()
Dsimpleformatter.cpp211 int32_t cpLength = compiledPattern.length(); in formatAndReplace() local
212 if (valuesLength < getArgumentLimit(cp, cpLength)) { in formatAndReplace()
224 if (getArgumentLimit(cp, cpLength) > 0) { in formatAndReplace()
225 for (int32_t i = 1; i < cpLength;) { in formatAndReplace()
243 return format(cp, cpLength, values, in formatAndReplace()
Dunisetspan.cpp1364 int32_t cpLength=spanOne(spanSet, s+pos, rest); in spanNot() local
1365 if(cpLength>0) { in spanNot()
1386 pos-=cpLength; in spanNot()
1387 rest+=cpLength; in spanNot()
1405 int32_t cpLength=spanOneBack(spanSet, s, pos); in spanNotBack() local
1406 if(cpLength>0) { in spanNotBack()
1430 pos+=cpLength; in spanNotBack()
1454 int32_t cpLength=spanOneUTF8(spanSet, s+pos, rest); in spanNotUTF8() local
1455 if(cpLength>0) { in spanNotUTF8()
1474 pos-=cpLength; in spanNotUTF8()
[all …]
Ducasemap.cpp140 appendResult(int32_t cpLength, int32_t result, const UChar *s, in appendResult() argument
148 edits->addUnchanged(cpLength); in appendResult()
151 ByteSinkUtil::appendCodePoint(cpLength, ~result, sink); in appendResult()
156 return ByteSinkUtil::appendChange(cpLength, s, result, sink, edits, errorCode); in appendResult()
158 ByteSinkUtil::appendCodePoint(cpLength, result, sink, edits); in appendResult()
Dnormalizer2impl.cpp141 int32_t cpLength = (int32_t)(cpLimit - cpStart); in appendCodePointDelta() local
142 if (cpLength == 1) { in appendCodePointDelta()
162 edits->addReplace(cpLength, length); in appendCodePointDelta()
301 int32_t cpLength=U16_LENGTH(c); in appendZeroCC() local
302 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) { in appendZeroCC()
305 remainingCapacity-=cpLength; in appendZeroCC()
306 if(cpLength==1) { in appendZeroCC()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DPunycode.java279 destCPCount, firstSupplementaryIndex, cpLength; in decode() local
390 cpLength=Character.charCount(n); in decode()
405 if(cpLength>1) { in decode()
415 if(caseFlags!=null && (dest.length()+cpLength)<=caseFlags.length) { in decode()
418 caseFlags, codeUnitIndex+cpLength, in decode()
423 if(cpLength==2) { in decode()
427 if(cpLength==1) { in decode()
DUnicodeSetStringSpan.java577 int cpLength = spanOne(spanSet, s, pos, rest); in spanAndCount() local
578 int maxInc = (cpLength > 0) ? cpLength : 0; in spanAndCount()
612 int cpLength = spanOne(spanSet, s, pos, rest); in spanContainedAndCount() local
613 if (cpLength > 0) { in spanContainedAndCount()
614 offsets.addOffsetAndCount(cpLength, count + 1); in spanContainedAndCount()
865 int cpLength = spanOne(spanSet, s, pos, rest); in spanNot() local
866 if (cpLength > 0) { in spanNot()
886 pos -= cpLength; in spanNot()
887 rest += cpLength; in spanNot()
909 int cpLength = spanOneBack(spanSet, s, pos); in spanNotBack() local
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPunycode.java282 destCPCount, firstSupplementaryIndex, cpLength; in decode() local
393 cpLength=Character.charCount(n); in decode()
408 if(cpLength>1) { in decode()
418 if(caseFlags!=null && (dest.length()+cpLength)<=caseFlags.length) { in decode()
421 caseFlags, codeUnitIndex+cpLength, in decode()
426 if(cpLength==2) { in decode()
430 if(cpLength==1) { in decode()
DUnicodeSetStringSpan.java580 int cpLength = spanOne(spanSet, s, pos, rest); in spanAndCount() local
581 int maxInc = (cpLength > 0) ? cpLength : 0; in spanAndCount()
615 int cpLength = spanOne(spanSet, s, pos, rest); in spanContainedAndCount() local
616 if (cpLength > 0) { in spanContainedAndCount()
617 offsets.addOffsetAndCount(cpLength, count + 1); in spanContainedAndCount()
868 int cpLength = spanOne(spanSet, s, pos, rest); in spanNot() local
869 if (cpLength > 0) { in spanNot()
889 pos -= cpLength; in spanNot()
890 rest += cpLength; in spanNot()
912 int cpLength = spanOneBack(spanSet, s, pos); in spanNotBack() local
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dcsdetest.cpp163 int32_t cpLength = eSplit[0].length(); in checkEncoding() local
166 u_UCharsToChars(eSplit[0].getBuffer(), codepage, cpLength); in checkEncoding()
167 codepage[cpLength] = '\0'; in checkEncoding()

12