/external/icu/icu4c/source/common/ |
D | punycode.cpp | 382 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()
|
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 | 142 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()
|
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 | 825 int32_t cpLength=0; in processLabel() local 827 U16_NEXT_UNSAFE(label, cpLength, c); in processLabel() 830 labelString->replace(labelStart, cpLength, (UChar)0xfffd); in processLabel() 832 labelLength+=1-cpLength; in processLabel()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
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 | Punycode.java | 279 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()
|
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 | 277 destCPCount, firstSupplementaryIndex, cpLength; in decode() local 388 cpLength=Character.charCount(n); in decode() 403 if(cpLength>1) { in decode() 413 if(caseFlags!=null && (dest.length()+cpLength)<=caseFlags.length) { in decode() 416 caseFlags, codeUnitIndex+cpLength, in decode() 421 if(cpLength==2) { in decode() 425 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()
|