Home
last modified time | relevance | path

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

/external/icu4c/common/
Dpunycode.c375 destCPCount, firstSupplementaryIndex, cpLength; in u_strFromPunycode() local
518 cpLength=UTF_CHAR_LENGTH(n); in u_strFromPunycode()
519 if((destLength+cpLength)<destCapacity) { in u_strFromPunycode()
534 if(cpLength>1) { in u_strFromPunycode()
546 uprv_memmove(dest+codeUnitIndex+cpLength, in u_strFromPunycode()
550 uprv_memmove(caseFlags+codeUnitIndex+cpLength, in u_strFromPunycode()
555 if(cpLength==1) { in u_strFromPunycode()
566 if(cpLength==2) { in u_strFromPunycode()
571 destLength+=cpLength; in u_strFromPunycode()
Dunisetspan.cpp1352 int32_t cpLength=spanOne(spanSet, s+pos, rest); in spanNot() local
1353 if(cpLength>0) { in spanNot()
1373 pos-=cpLength; in spanNot()
1374 rest+=cpLength; in spanNot()
1392 int32_t cpLength=spanOneBack(spanSet, s, pos); in spanNotBack() local
1393 if(cpLength>0) { in spanNotBack()
1416 pos+=cpLength; in spanNotBack()
1440 int32_t cpLength=spanOneUTF8(spanSet, s+pos, rest); in spanNotUTF8() local
1441 if(cpLength>0) { in spanNotUTF8()
1460 pos-=cpLength; in spanNotUTF8()
[all …]
/external/icu4c/test/intltest/
Dcsdetest.cpp135 int32_t cpLength = eSplit[0].length(); in checkEncoding() local
138 u_UCharsToChars(eSplit[0].getBuffer(), codepage, cpLength); in checkEncoding()
139 codepage[cpLength] = '\0'; in checkEncoding()