Home
last modified time | relevance | path

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

/external/icu4c/common/
Ducnv_u32.c219 unsigned int indexToWrite; in T_UConverter_fromUnicode_UTF32_BE() local
292 for (indexToWrite = 0; indexToWrite <= sizeof(uint32_t) - 1; indexToWrite++) { in T_UConverter_fromUnicode_UTF32_BE()
294 *(myTarget++) = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE()
297 … args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE()
322 unsigned int indexToWrite; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
396 for (indexToWrite = 0; indexToWrite <= sizeof(uint32_t) - 1; indexToWrite++) { in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
398 *(myTarget++) = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
402 … args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
697 unsigned int indexToWrite; in T_UConverter_fromUnicode_UTF32_LE() local
774 for (indexToWrite = 0; indexToWrite <= sizeof(uint32_t) - 1; indexToWrite++) in T_UConverter_fromUnicode_UTF32_LE()
[all …]
Ducnv_u8.c359 int32_t indexToWrite; in ucnv_fromUnicode_UTF8() local
423 indexToWrite = 2; in ucnv_fromUnicode_UTF8()
427 indexToWrite = 3; in ucnv_fromUnicode_UTF8()
431 tempPtr[indexToWrite-1] = (uint8_t) (((ch >> 6) & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
432 tempPtr[indexToWrite] = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
436 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8()
440 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8()
474 int32_t indexToWrite; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
550 indexToWrite = 2; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
554 indexToWrite = 3; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
[all …]