Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Duregex.cpp1375 int32_t destIdx = 0; in appendReplacement() local
1400 appendToBuf(regexp->fText[i], &destIdx, dest, capacity); in appendReplacement()
1404 destIdx += utext_extract(m->fInputText, m->fLastMatchEnd, m->fMatchStart, in appendReplacement()
1405 … dest==NULL?NULL:&dest[destIdx], REMAINING_CAPACITY(destIdx, capacity), in appendReplacement()
1408 U_ASSERT(destIdx >= 0); in appendReplacement()
1418 appendToBuf(c, &destIdx, dest, capacity); in appendReplacement()
1443 appendToBuf((UChar)escapedChar, &destIdx, dest, capacity); in appendReplacement()
1445 appendToBuf(U16_LEAD(escapedChar), &destIdx, dest, capacity); in appendReplacement()
1446 appendToBuf(U16_TRAIL(escapedChar), &destIdx, dest, capacity); in appendReplacement()
1455 appendToBuf(c, &destIdx, dest, capacity); in appendReplacement()
[all …]
Ddigitlst.cpp215 int32_t destIdx = MAX_IDX; in formatBase10() local
216 outputStr[--destIdx] = 0; in formatBase10()
220 outputStr[--destIdx] = (char)(-(n % 10) + kZero); in formatBase10()
224 outputStr[--destIdx] = (char)(n % 10 + kZero); in formatBase10()
229 outputStr[--destIdx] = '-'; in formatBase10()
233 U_ASSERT(destIdx >= 0); in formatBase10()
234 int32_t length = MAX_IDX - destIdx; in formatBase10()
Ddecimfmt.cpp1412 int32_t destIdx = MAX_IDX;
1413 outputStr[--destIdx] = 0; // term
1416 noGroupingThreshold = destIdx - fGroupingSize;
1422 outputStr[--destIdx] = (-(n % 10) + kZero);
1427 if (destIdx == noGroupingThreshold) {
1430 outputStr[--destIdx] = (n % 10) + kZero;
1435 U_ASSERT(destIdx >= 0);
1436 int32_t length = MAX_IDX - destIdx -1;
1461 appendTo.append(outputStr+destIdx+
1471 … printf("Writing [%s] length [%d] max %d for [%d]\n", outputStr+destIdx, length, MAX_IDX, number);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTrie2Writable.java1087 int destIdx = 0; in freeze() local
1089 dest.index[destIdx++] = (char)((index2[i]+dataMove) >> UTRIE2_INDEX_SHIFT); in freeze()
1092 System.out.println("\n\nIndex2 for BMP limit is " + Integer.toHexString(destIdx)); in freeze()
1097 dest.index[destIdx++] = (char)(dataMove+UTRIE2_BAD_UTF8_DATA_OFFSET); in freeze()
1100 dest.index[destIdx++]=(char)(dataMove+index2[i<<(6-UTRIE2_SHIFT_2)]); in freeze()
1103 … System.out.println("Index2 for UTF-8 2byte values limit is " + Integer.toHexString(destIdx)); in freeze()
1114 …dest.index[destIdx++] = (char)(UTRIE2_INDEX_2_OFFSET + index1[i+UTRIE2_OMITTED_BMP_INDEX_1_LENGTH]… in freeze()
1117 … System.out.println("Index 1 for supplementals, limit is " + Integer.toHexString(destIdx)); in freeze()
1125 … dest.index[destIdx++] = (char)((dataMove + index2[index2Offset+i])>>UTRIE2_INDEX_SHIFT); in freeze()
1128 … System.out.println("Index 2 for supplementals, limit is " + Integer.toHexString(destIdx)); in freeze()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtransrt.cpp1045 int32_t destIdx = 0; in writeStringInU8() local
1046 U8_APPEND(bufForOneChar, destIdx, (int32_t)sizeof(bufForOneChar), c, isError); in writeStringInU8()
1047 fwrite(bufForOneChar, 1, destIdx, out); in writeStringInU8()