Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dpunycode.cpp380 destCPCount, firstSupplementaryIndex, cpLength; in u_strFromPunycode() local
524 cpLength=U16_LENGTH(n); in u_strFromPunycode()
525 if(dest!=NULL && ((destLength+cpLength)<=destCapacity)) { in u_strFromPunycode()
540 if(cpLength>1) { in u_strFromPunycode()
552 uprv_memmove(dest+codeUnitIndex+cpLength, in u_strFromPunycode()
556 uprv_memmove(caseFlags+codeUnitIndex+cpLength, in u_strFromPunycode()
561 if(cpLength==1) { in u_strFromPunycode()
572 if(cpLength==2) { in u_strFromPunycode()
577 destLength+=cpLength; in u_strFromPunycode()
Dunisetspan.cpp1354 int32_t cpLength=spanOne(spanSet, s+pos, rest); in spanNot() local
1355 if(cpLength>0) { in spanNot()
1375 pos-=cpLength; in spanNot()
1376 rest+=cpLength; in spanNot()
1394 int32_t cpLength=spanOneBack(spanSet, s, pos); in spanNotBack() local
1395 if(cpLength>0) { in spanNotBack()
1418 pos+=cpLength; in spanNotBack()
1442 int32_t cpLength=spanOneUTF8(spanSet, s+pos, rest); in spanNotUTF8() local
1443 if(cpLength>0) { in spanNotUTF8()
1462 pos-=cpLength; in spanNotUTF8()
[all …]
Duts46.cpp805 int32_t cpLength=0; in processLabel() local
807 U16_NEXT_UNSAFE(label, cpLength, c); in processLabel()
810 labelString->replace(labelStart, cpLength, (UChar)0xfffd); in processLabel()
812 labelLength+=1-cpLength; in processLabel()
Dnormalizer2impl.cpp128 int32_t cpLength=U16_LENGTH(c); in appendZeroCC() local
129 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) { in appendZeroCC()
132 remainingCapacity-=cpLength; in appendZeroCC()
133 if(cpLength==1) { in appendZeroCC()
/external/chromium_org/third_party/icu/source/common/
Dpunycode.cpp380 destCPCount, firstSupplementaryIndex, cpLength; in u_strFromPunycode() local
524 cpLength=U16_LENGTH(n); in u_strFromPunycode()
525 if(dest!=NULL && ((destLength+cpLength)<=destCapacity)) { in u_strFromPunycode()
540 if(cpLength>1) { in u_strFromPunycode()
552 uprv_memmove(dest+codeUnitIndex+cpLength, in u_strFromPunycode()
556 uprv_memmove(caseFlags+codeUnitIndex+cpLength, in u_strFromPunycode()
561 if(cpLength==1) { in u_strFromPunycode()
572 if(cpLength==2) { in u_strFromPunycode()
577 destLength+=cpLength; in u_strFromPunycode()
Dunisetspan.cpp1354 int32_t cpLength=spanOne(spanSet, s+pos, rest); in spanNot() local
1355 if(cpLength>0) { in spanNot()
1375 pos-=cpLength; in spanNot()
1376 rest+=cpLength; in spanNot()
1394 int32_t cpLength=spanOneBack(spanSet, s, pos); in spanNotBack() local
1395 if(cpLength>0) { in spanNotBack()
1418 pos+=cpLength; in spanNotBack()
1442 int32_t cpLength=spanOneUTF8(spanSet, s+pos, rest); in spanNotUTF8() local
1443 if(cpLength>0) { in spanNotUTF8()
1462 pos-=cpLength; in spanNotUTF8()
[all …]
Duts46.cpp807 int32_t cpLength=0; in processLabel() local
809 U16_NEXT_UNSAFE(label, cpLength, c); in processLabel()
812 labelString->replace(labelStart, cpLength, (UChar)0xfffd); in processLabel()
814 labelLength+=1-cpLength; in processLabel()
Dnormalizer2impl.cpp128 int32_t cpLength=U16_LENGTH(c); in appendZeroCC() local
129 if(remainingCapacity<cpLength && !resize(cpLength, errorCode)) { in appendZeroCC()
132 remainingCapacity-=cpLength; in appendZeroCC()
133 if(cpLength==1) { in appendZeroCC()
/external/chromium_org/third_party/icu/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()
/external/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()