Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dpunycode.cpp528 int32_t codeUnitIndex; in u_strFromPunycode() local
541 codeUnitIndex=i; in u_strFromPunycode()
543 firstSupplementaryIndex=codeUnitIndex; in u_strFromPunycode()
548 codeUnitIndex=firstSupplementaryIndex; in u_strFromPunycode()
549 U16_FWD_N(dest, codeUnitIndex, destLength, i-codeUnitIndex); in u_strFromPunycode()
553 if(codeUnitIndex<destLength) { in u_strFromPunycode()
554 uprv_memmove(dest+codeUnitIndex+cpLength, in u_strFromPunycode()
555 dest+codeUnitIndex, in u_strFromPunycode()
556 (destLength-codeUnitIndex)*U_SIZEOF_UCHAR); in u_strFromPunycode()
558 uprv_memmove(caseFlags+codeUnitIndex+cpLength, in u_strFromPunycode()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPunycode.java389 int codeUnitIndex; in decode() local
402 codeUnitIndex=i; in decode()
404 firstSupplementaryIndex=codeUnitIndex; in decode()
409codeUnitIndex=dest.offsetByCodePoints(firstSupplementaryIndex, i-firstSupplementaryIndex); in decode()
414 if(codeUnitIndex<dest.length()) { in decode()
415 System.arraycopy(caseFlags, codeUnitIndex, in decode()
416 caseFlags, codeUnitIndex+cpLength, in decode()
417 dest.length()-codeUnitIndex); in decode()
420 caseFlags[codeUnitIndex]=isBasicUpperCase(src.charAt(in-1)); in decode()
422 caseFlags[codeUnitIndex+1]=false; in decode()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DPunycode.java391 int codeUnitIndex; in decode() local
404 codeUnitIndex=i; in decode()
406 firstSupplementaryIndex=codeUnitIndex; in decode()
411codeUnitIndex=dest.offsetByCodePoints(firstSupplementaryIndex, i-firstSupplementaryIndex); in decode()
416 if(codeUnitIndex<dest.length()) { in decode()
417 System.arraycopy(caseFlags, codeUnitIndex, in decode()
418 caseFlags, codeUnitIndex+cpLength, in decode()
419 dest.length()-codeUnitIndex); in decode()
422 caseFlags[codeUnitIndex]=isBasicUpperCase(src.charAt(in-1)); in decode()
424 caseFlags[codeUnitIndex+1]=false; in decode()
[all …]