Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetCompoundText.java344 ByteBuffer tmpTargetBuffer = ByteBuffer.allocate(3); in encodeLoop() local
370 tmpTargetBuffer.position(0); in encodeLoop()
371 tmpTargetBuffer.limit(3); in encodeLoop()
419 …r[i].cnvMBCSFromUnicodeWithOffsets(CharBuffer.wrap(sourceCharArray), tmpTargetBuffer, offsets, tru… in encodeLoop()
422 tmpTargetBuffer.limit(tmpTargetBuffer.position()); in encodeLoop()
428 tmpTargetBuffer.put(0, (byte)sourceChar); in encodeLoop()
429 tmpTargetBuffer.limit(1); in encodeLoop()
431 …ate].cnvMBCSFromUnicodeWithOffsets(CharBuffer.wrap(sourceCharArray), tmpTargetBuffer, offsets, tru… in encodeLoop()
433 tmpTargetBuffer.limit(tmpTargetBuffer.position()); in encodeLoop()
450 for (i = 0; i < tmpTargetBuffer.limit(); i++) { in encodeLoop()
[all …]
/external/icu/icu4c/source/common/
Ducnv_ct.c337 uint8_t tmpTargetBuffer[7]; in UConverter_fromUnicode_CompoundText_OFFSETS() local
399 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][i]; in UConverter_fromUnicode_CompoundText_OFFSETS()
412tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][j]; in UConverter_fromUnicode_CompoundText_OFFSETS()
416tmpTargetBuffer[tmpTargetBufferLength++] = (uint8_t)(pValue >> (n * 8)); in UConverter_fromUnicode_CompoundText_OFFSETS()
422 tmpTargetBuffer[tmpTargetBufferLength++] = (uint8_t)sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS()
427 tmpTargetBuffer[tmpTargetBufferLength++] = (uint8_t)(pValue >> (n * 8)); in UConverter_fromUnicode_CompoundText_OFFSETS()
434 *target++ = tmpTargetBuffer[i]; in UConverter_fromUnicode_CompoundText_OFFSETS()
443 … args->converter->charErrorBuffer[args->converter->charErrorBufferLength++] = tmpTargetBuffer[i]; in UConverter_fromUnicode_CompoundText_OFFSETS()