Searched refs:destIdx (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4c/source/i18n/ |
D | uregex.cpp | 1377 int32_t destIdx = 0; in appendReplacement() local 1402 appendToBuf(regexp->fText[i], &destIdx, dest, capacity); in appendReplacement() 1406 destIdx += utext_extract(m->fInputText, m->fLastMatchEnd, m->fMatchStart, in appendReplacement() 1407 … dest==NULL?NULL:&dest[destIdx], REMAINING_CAPACITY(destIdx, capacity), in appendReplacement() 1410 U_ASSERT(destIdx >= 0); in appendReplacement() 1420 appendToBuf(c, &destIdx, dest, capacity); in appendReplacement() 1445 appendToBuf((UChar)escapedChar, &destIdx, dest, capacity); in appendReplacement() 1447 appendToBuf(U16_LEAD(escapedChar), &destIdx, dest, capacity); in appendReplacement() 1448 appendToBuf(U16_TRAIL(escapedChar), &destIdx, dest, capacity); in appendReplacement() 1457 appendToBuf(c, &destIdx, dest, capacity); in appendReplacement() [all …]
|
D | digitlst.cpp | 241 int32_t destIdx = MAX_IDX; in formatBase10() local 242 outputStr[--destIdx] = 0; in formatBase10() 246 outputStr[--destIdx] = (char)(-(n % 10) + kZero); in formatBase10() 250 outputStr[--destIdx] = (char)(n % 10 + kZero); in formatBase10() 255 outputStr[--destIdx] = '-'; in formatBase10() 259 U_ASSERT(destIdx >= 0); in formatBase10() 260 int32_t length = MAX_IDX - destIdx; in formatBase10()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Trie2Writable.java | 1091 int destIdx = 0; in freeze() local 1093 dest.index[destIdx++] = (char)((index2[i]+dataMove) >> UTRIE2_INDEX_SHIFT); in freeze() 1096 System.out.println("\n\nIndex2 for BMP limit is " + Integer.toHexString(destIdx)); in freeze() 1101 dest.index[destIdx++] = (char)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in freeze() 1104 dest.index[destIdx++]=(char)(dataMove+index2[i<<(6-UTRIE2_SHIFT_2)]); in freeze() 1107 … System.out.println("Index2 for UTF-8 2byte values limit is " + Integer.toHexString(destIdx)); in freeze() 1118 …dest.index[destIdx++] = (char)(UTRIE2_INDEX_2_OFFSET + index1[i+UTRIE2_OMITTED_BMP_INDEX_1_LENGTH]… in freeze() 1121 … System.out.println("Index 1 for supplementals, limit is " + Integer.toHexString(destIdx)); in freeze() 1129 … dest.index[destIdx++] = (char)((dataMove + index2[index2Offset+i])>>UTRIE2_INDEX_SHIFT); in freeze() 1132 … System.out.println("Index 2 for supplementals, limit is " + Integer.toHexString(destIdx)); in freeze() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Trie2Writable.java | 1089 int destIdx = 0; in freeze() local 1091 dest.index[destIdx++] = (char)((index2[i]+dataMove) >> UTRIE2_INDEX_SHIFT); in freeze() 1094 System.out.println("\n\nIndex2 for BMP limit is " + Integer.toHexString(destIdx)); in freeze() 1099 dest.index[destIdx++] = (char)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in freeze() 1102 dest.index[destIdx++]=(char)(dataMove+index2[i<<(6-UTRIE2_SHIFT_2)]); in freeze() 1105 … System.out.println("Index2 for UTF-8 2byte values limit is " + Integer.toHexString(destIdx)); in freeze() 1116 …dest.index[destIdx++] = (char)(UTRIE2_INDEX_2_OFFSET + index1[i+UTRIE2_OMITTED_BMP_INDEX_1_LENGTH]… in freeze() 1119 … System.out.println("Index 1 for supplementals, limit is " + Integer.toHexString(destIdx)); in freeze() 1127 … dest.index[destIdx++] = (char)((dataMove + index2[index2Offset+i])>>UTRIE2_INDEX_SHIFT); in freeze() 1130 … System.out.println("Index 2 for supplementals, limit is " + Integer.toHexString(destIdx)); in freeze() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | transrt.cpp | 1048 int32_t destIdx = 0; in writeStringInU8() local 1049 U8_APPEND(bufForOneChar, destIdx, (int32_t)sizeof(bufForOneChar), c, isError); in writeStringInU8() 1050 fwrite(bufForOneChar, 1, destIdx, out); in writeStringInU8()
|