Home
last modified time | relevance | path

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

/external/icu4c/common/
Dpunycode.c377 destCPCount, firstSupplementaryIndex, cpLength; in u_strFromPunycode() local
520 cpLength=UTF_CHAR_LENGTH(n); in u_strFromPunycode()
521 if((destLength+cpLength)<=destCapacity) { in u_strFromPunycode()
536 if(cpLength>1) { in u_strFromPunycode()
548 uprv_memmove(dest+codeUnitIndex+cpLength, in u_strFromPunycode()
552 uprv_memmove(caseFlags+codeUnitIndex+cpLength, in u_strFromPunycode()
557 if(cpLength==1) { in u_strFromPunycode()
568 if(cpLength==2) { in u_strFromPunycode()
573 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 …]
Duts46.cpp801 int32_t cpLength=0; in processLabel() local
803 U16_NEXT_UNSAFE(label, cpLength, c); in processLabel()
806 labelString->replace(labelStart, cpLength, (UChar)0xfffd); in processLabel()
808 labelLength+=1-cpLength; in processLabel()
Dnormalizer2impl.cpp127 int32_t cpLength=U16_LENGTH(c); in appendZeroCC() local
128 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) { in appendZeroCC()
131 remainingCapacity-=cpLength; in appendZeroCC()
132 if(cpLength==1) { in appendZeroCC()
/external/icu4c/test/intltest/
Dcsdetest.cpp151 int32_t cpLength = eSplit[0].length(); in checkEncoding() local
154 u_UCharsToChars(eSplit[0].getBuffer(), codepage, cpLength); in checkEncoding()
155 codepage[cpLength] = '\0'; in checkEncoding()