Home
last modified time | relevance | path

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

/external/icu4c/common/
Ducnv_u32.c218 unsigned int indexToWrite; in T_UConverter_fromUnicode_UTF32_BE() local
291 for (indexToWrite = 0; indexToWrite <= sizeof(uint32_t) - 1; indexToWrite++) { in T_UConverter_fromUnicode_UTF32_BE()
293 *(myTarget++) = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE()
296 … args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE()
321 unsigned int indexToWrite; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
395 for (indexToWrite = 0; indexToWrite <= sizeof(uint32_t) - 1; indexToWrite++) { in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
397 *(myTarget++) = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
401 … args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = temp[indexToWrite]; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
696 unsigned int indexToWrite; in T_UConverter_fromUnicode_UTF32_LE() local
773 for (indexToWrite = 0; indexToWrite <= sizeof(uint32_t) - 1; indexToWrite++) in T_UConverter_fromUnicode_UTF32_LE()
[all …]
Ducnv_u8.c356 int32_t indexToWrite; in ucnv_fromUnicode_UTF8() local
420 indexToWrite = 2; in ucnv_fromUnicode_UTF8()
424 indexToWrite = 3; in ucnv_fromUnicode_UTF8()
428 tempPtr[indexToWrite-1] = (uint8_t) (((ch >> 6) & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
429 tempPtr[indexToWrite] = (uint8_t) ((ch & 0x3f) | 0x80); in ucnv_fromUnicode_UTF8()
433 myTarget += (indexToWrite + 1); in ucnv_fromUnicode_UTF8()
437 for (; tempPtr <= (tempBuf + indexToWrite); tempPtr++) { in ucnv_fromUnicode_UTF8()
471 int32_t indexToWrite; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() local
547 indexToWrite = 2; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
551 indexToWrite = 3; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
[all …]