Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetCompoundText.java57 private final static byte[][] escSeqCompoundText = { field in CharsetCompoundText
248 for (i = 0; i < escSeqCompoundText.length; i++) { in findStateFromEscSeq()
250 for (n = 0; n < escSeqCompoundText[i].length; n++) { in findStateFromEscSeq()
252 if (toUBytes[n] != escSeqCompoundText[i][n]) { in findStateFromEscSeq()
258 } else if (source.get(sourceIndex + (n - offset)) != escSeqCompoundText[i][n]) { in findStateFromEscSeq()
270 source.position(sourceIndex + (escSeqCompoundText[i].length - offset)); in findStateFromEscSeq()
444 for (i = 0; i < escSeqCompoundText[currentState].length; i++) { in encodeLoop()
445 targetBytes[i] = escSeqCompoundText[currentState][i]; in encodeLoop()
/external/icu/icu4c/source/common/
Ducnv_ct.c63 static const uint8_t escSeqCompoundText[NUM_OF_CONVERTERS][5] = { variable
230 for (n = 0; escSeqCompoundText[i][n] != 0; n++) { in findStateFromEscSeq()
232 if (toUBytesBuffer[n] != escSeqCompoundText[i][n]) { in findStateFromEscSeq()
240 } else if (*(source + (n - offset)) != escSeqCompoundText[i][n]) { in findStateFromEscSeq()
398 for (i = 0; escSeqCompoundText[currentState][i] != 0; i++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
399 tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][i]; in UConverter_fromUnicode_CompoundText_OFFSETS()
411 for (j = 0; escSeqCompoundText[currentState][j] != 0; j++) { in UConverter_fromUnicode_CompoundText_OFFSETS()
412 … tmpTargetBuffer[tmpTargetBufferLength++] = escSeqCompoundText[currentState][j]; in UConverter_fromUnicode_CompoundText_OFFSETS()
516 … sourceOffset = uprv_strlen((char*)escSeqCompoundText[currentState]) - args->converter->toULength; in UConverter_toUnicode_CompoundText_OFFSETS()