/external/icu/icu4c/source/common/ |
D | punycode.cpp | 379 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()
|
D | simpleformatter.cpp | 211 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()
|
D | unisetspan.cpp | 1353 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 …]
|
D | ucasemap.cpp | 140 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()
|
D | normalizer2impl.cpp | 141 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()
|
D | ustrcase.cpp | 59 int32_t cpLength, uint32_t options, icu::Edits *edits) { in appendResult() argument 67 edits->addUnchanged(cpLength); in appendResult() 77 length=cpLength; in appendResult() 85 edits->addReplace(cpLength, 1); in appendResult() 93 edits->addReplace(cpLength, length); in appendResult()
|
D | uts46.cpp | 835 int32_t cpLength=0; in processLabel() local 837 U16_NEXT_UNSAFE(label, cpLength, c); in processLabel() 840 labelString->replace(labelStart, cpLength, (UChar)0xfffd); in processLabel() 842 labelLength+=1-cpLength; in processLabel()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Punycode.java | 284 destCPCount, firstSupplementaryIndex, cpLength; in decode() local 395 cpLength=Character.charCount(n); in decode() 410 if(cpLength>1) { in decode() 420 if(caseFlags!=null && (dest.length()+cpLength)<=caseFlags.length) { in decode() 423 caseFlags, codeUnitIndex+cpLength, in decode() 428 if(cpLength==2) { in decode() 432 if(cpLength==1) { in decode()
|
D | UnicodeSetStringSpan.java | 577 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 …]
|
D | CaseMapImpl.java | 373 int cpLength, int options, Edits edits) throws IOException { in appendResult() argument 378 edits.addUnchanged(cpLength); in appendResult() 387 edits.addReplace(cpLength, result); in appendResult() 393 edits.addReplace(cpLength, length); in appendResult()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Punycode.java | 282 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()
|
D | UnicodeSetStringSpan.java | 573 int cpLength = spanOne(spanSet, s, pos, rest); in spanAndCount() local 574 int maxInc = (cpLength > 0) ? cpLength : 0; in spanAndCount() 608 int cpLength = spanOne(spanSet, s, pos, rest); in spanContainedAndCount() local 609 if (cpLength > 0) { in spanContainedAndCount() 610 offsets.addOffsetAndCount(cpLength, count + 1); in spanContainedAndCount() 861 int cpLength = spanOne(spanSet, s, pos, rest); in spanNot() local 862 if (cpLength > 0) { in spanNot() 882 pos -= cpLength; in spanNot() 883 rest += cpLength; in spanNot() 905 int cpLength = spanOneBack(spanSet, s, pos); in spanNotBack() local [all …]
|
D | CaseMapImpl.java | 368 int cpLength, int options, Edits edits) throws IOException { in appendResult() argument 373 edits.addUnchanged(cpLength); in appendResult() 382 edits.addReplace(cpLength, result); in appendResult() 388 edits.addReplace(cpLength, length); in appendResult()
|
/external/icu/icu4c/source/test/intltest/ |
D | csdetest.cpp | 163 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()
|