Home
last modified time | relevance | path

Searched refs:indexToWrite (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/common/
Ducnv_u32.cpp221 unsigned int indexToWrite; in T_UConverter_fromUnicode_UTF32_BE() local
294 for (indexToWrite = 0; indexToWrite <= sizeof(uint32_t) - 1; indexToWrite++) { in T_UConverter_fromUnicode_UTF32_BE()
296 *(myTarget++) = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE()
299 … args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE()
324 unsigned int indexToWrite; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
398 for (indexToWrite = 0; indexToWrite <= sizeof(uint32_t) - 1; indexToWrite++) { in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
400 *(myTarget++) = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
404 … args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
699 unsigned int indexToWrite; in T_UConverter_fromUnicode_UTF32_LE() local
776 for (indexToWrite = 0; indexToWrite <= sizeof(uint32_t) - 1; indexToWrite++) in T_UConverter_fromUnicode_UTF32_LE()
[all …]
Ducnv_u8.cpp311 int32_t indexToWrite; in ucnv_fromUnicode_UTF8() local
375 indexToWrite = 2; in ucnv_fromUnicode_UTF8()
379 indexToWrite = 3; in ucnv_fromUnicode_UTF8()
383 tempPtr[indexToWrite-1] = (uint8_t) (((ch >> 6) & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
384 tempPtr[indexToWrite] = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
388 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8()
392 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8()
426 int32_t indexToWrite; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
502 indexToWrite = 2; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
506 indexToWrite = 3; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
[all …]