Home | History | Annotate | Download | only in common

Lines Matching refs:codeUnitIndex

520             int32_t codeUnitIndex;
533 codeUnitIndex=i;
535 firstSupplementaryIndex=codeUnitIndex;
540 codeUnitIndex=firstSupplementaryIndex;
541 UTF_FWD_N(dest, codeUnitIndex, destLength, i-codeUnitIndex);
544 /* use the UChar index codeUnitIndex instead of the code point index i */
545 if(codeUnitIndex<destLength) {
546 uprv_memmove(dest+codeUnitIndex+cpLength,
547 dest+codeUnitIndex,
548 (destLength-codeUnitIndex)*U_SIZEOF_UCHAR);
550 uprv_memmove(caseFlags+codeUnitIndex+cpLength,
551 caseFlags+codeUnitIndex,
552 destLength-codeUnitIndex);
557 dest[codeUnitIndex]=(UChar)n;
560 dest[codeUnitIndex]=UTF16_LEAD(n);
561 dest[codeUnitIndex+1]=UTF16_TRAIL(n);
565 caseFlags[codeUnitIndex]=IS_BASIC_UPPERCASE(src[in-1]);
567 caseFlags[codeUnitIndex+1]=FALSE;