Home
last modified time | relevance | path

Searched refs:toUBytesArray (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF16.java109 toUBytesArray[toULength++] = source.get(); in decodeLoop()
114 && toUBytesArray[toULength - 1] == BOM_BE[toULength - 1]) { in decodeLoop()
118 && toUBytesArray[toULength - 1] == BOM_LE[toULength - 1]) { in decodeLoop()
132 … (isEndianSpecified && version == 1 && (toUBytesArray[toULength - 1] == actualBOM[toULength - 2] &… in decodeLoop()
134 … (isEndianSpecified && version == 1 && (toUBytesArray[toULength - 1] == actualBOM[toULength - 1] &… in decodeLoop()
139 … } else if (isEndianSpecified || toUBytesArray[toULength - 1] != actualBOM[toULength - 1]) { in decodeLoop()
170 toUBytesArray[toULength++] = source.get(); in decodeLoop()
173 … (isEndianSpecified && version == 1 && (toUBytesArray[toULength - 1] == actualBOM[toULength - 2] &… in decodeLoop()
175 … (isEndianSpecified && version == 1 && (toUBytesArray[toULength - 1] == actualBOM[toULength - 1] &… in decodeLoop()
185 …char16 = (char) (((toUBytesArray[0 ^ actualEndianXOR] & UConverterConstants.UNSIGNED_BYTE_MASK) <<… in decodeLoop()
[all …]
DCharsetUTF32.java91 toUBytesArray[toULength++] = source.get(); in decodeLoop()
96 && toUBytesArray[toULength - 1] == BOM_BE[toULength - 1]) { in decodeLoop()
100 && toUBytesArray[toULength - 1] == BOM_LE[toULength - 1]) { in decodeLoop()
109 } else if (toUBytesArray[toULength - 1] != actualBOM[toULength - 1]) { in decodeLoop()
132 toUBytesArray[toULength++] = source.get(); in decodeLoop()
141 … | (toUBytesArray[i ^ actualEndianXOR] & UConverterConstants.UNSIGNED_BYTE_MASK); in decodeLoop()
DCharsetHZ.java104 this.toUBytesArray[0] = UCNV_TILDE; in decodeLoop()
105 this.toUBytesArray[1] = (byte)mySourceChar; in decodeLoop()
124 toUBytesArray[0] = UCNV_TILDE; in decodeLoop()
131 toUBytesArray[1] = (byte)mySourceChar; in decodeLoop()
203 toUBytesArray[toUBytesBegin + 0] = (byte) (mySourceChar >> 8); in decodeLoop()
204 toUBytesArray[toUBytesBegin + 1] = (byte) mySourceChar; in decodeLoop()
207 toUBytesArray[toUBytesBegin + 0] = (byte) mySourceChar; in decodeLoop()
DCharsetUTF7.java238 toUBytesArray[0]=(byte)b; in decodeLoop()
284 toUBytesArray[byteIndex++]=(byte)b; in decodeLoop()
306 toUBytesArray[0]=PLUS; in decodeLoop()
359toUBytesArray[0]=(byte)b; /* keep this byte in case an error occurs */ in decodeLoop()
378toUBytesArray[0]=(byte)b; /* keep this byte in case an error occurs */ in decodeLoop()
429 toUBytesArray[0]=AMPERSAND; in decodeLoop()
430 toUBytesArray[1]=(byte)b; in decodeLoop()
453 toUBytesArray[0]=AMPERSAND; in decodeLoop()
DCharsetSCSU.java403 toUBytesArray[0] = (byte)b; in singleByteMode()
410 toUBytesArray[0] = (byte)b; in singleByteMode()
415 toUBytesArray[1] = (byte)b; in singleByteMode()
473 toUBytesArray[1] = (byte)b; in singleByteMode()
486 toUBytesArray[1] = (byte)b; in singleByteMode()
498 toUBytesArray[1] = (byte)b; in singleByteMode()
523 toUBytesArray[0] = (byte)b; in singleByteMode()
535 toUBytesArray[0] = (byte)b; in singleByteMode()
542 toUBytesArray[0] = (byte)b; in singleByteMode()
548 toUBytesArray[0] = (byte)b; in singleByteMode()
[all …]
DCharsetUTF8.java95 char32 = (toUBytesArray[0] = sourceArray[sourceIndex++]) & 0xff; in decodeLoop()
121 … if (((ch = toUBytesArray[bytesSoFar] = sourceArray[sourceIndex++]) & 0xc0) != 0x80) { in decodeLoop()
171 …while ((bytesExpected = BYTES_FROM_UTF8[char32 = (toUBytesArray[0] = sourceArray[sourceIndex++]) &… in decodeLoop()
215 char32 = (toUBytesArray[0] = source.get(sourceIndex++)) & 0xff; in decodeLoop()
241 … if (((ch = toUBytesArray[bytesSoFar] = source.get(sourceIndex++)) & 0xc0) != 0x80) { in decodeLoop()
308 …while ((bytesExpected = BYTES_FROM_UTF8[char32 = (toUBytesArray[0] = source.get(sourceIndex++)) & … in decodeLoop()
DCharsetCompoundText.java529 sourceChar[0] = this.toUBytesArray[0]; in decodeLoop()
535 tmpState = findStateFromEscSeq(source, this.toUBytesArray, this.toULength); in decodeLoop()
538 this.toUBytesArray[this.toULength++] = source.get(); in decodeLoop()
575 decoder.toUBytesArray = this.toUBytesArray; in decodeLoop()
DCharsetISO2022.java542 decoder.toUBytesArray[decoder.toULength++] = c; in changeState_2022()
711 decoder.preToUArray[i] = decoder.toUBytesArray[i+1]; in changeState_2022()
765 cnv.toUBytesArray[0] = (byte)(sourceChar>>8); in toUnicodeCallback()
766 cnv.toUBytesArray[1] = (byte)sourceChar; in toUnicodeCallback()
769 cnv.toUBytesArray[0] = (byte)sourceChar; in toUnicodeCallback()
863 mySourceChar = (toUBytesArray[0] & UConverterConstants.UNSIGNED_BYTE_MASK); in decodeLoop()
1045 toUBytesArray[0] = (byte)mySourceChar; in decodeLoop()
1124 mySourceChar = (toUBytesArray[0] & UConverterConstants.UNSIGNED_BYTE_MASK); in decodeLoop()
1151 this.toUBytesArray[0] = (byte)mySourceChar; in decodeLoop()
1257 toUBytesArray[0] = (byte)mySourceChar; in decodeLoop()
[all …]
DCharsetDecoderICU.java32 byte[] toUBytesArray = new byte[128]; field in CharsetDecoderICU
621 copy(toUBytesArray, 0, invalidCharBuffer, 0, errorInputLength); in toUnicodeWithCallback()
DCharsetLMBCS.java778 LMBCS[i] = toUBytesArray[i]; in decodeLoop()
793 toUBytesArray[i] = LMBCS[i]; in decodeLoop()
829 toUBytesArray[i] = source.get(errSource + i); in decodeLoop()
DCharsetMBCS.java1691 … System.arraycopy(preToUArray, preToUBegin, toUBytesArray, toUBytesBegin, preToUFirstLength); in continueMatchToU()
1892 … linear = LINEAR_18030(toUBytesArray[0], toUBytesArray[1], toUBytesArray[2], toUBytesArray[3]); in toU()
1924 …match = matchToU((byte) SISO_STATE(sharedData, mode), toUBytesArray, toUBytesBegin, firstLength, s… in initialMatchToU()
1940 sArray = toUBytesArray; in initialMatchToU()
2054 bytes = toUBytesArray; in cnvMBCSToUnicodeWithOffsets()
2448 toUBytesArray[0] = source.get(sourceArrayIndex - 1); in cnvMBCSSingleToBMPWithOffsets()
2602 toUBytesArray[0] = source.get(sourceArrayIndex - 1); in cnvMBCSSingleToUnicodeWithOffsets()
DCharsetASCII.java168 toUBytesArray[0] = (byte) ch; in decodeMalformedOrUnmappable()
DCharsetBOCU1.java813 bytes = toUBytesArray; in decodeLoop()
DCharsetISCII.java1116 toUBytesArray[0] = (byte)sourceChar; in decodeLoop()
1132 toUBytesArray[0] = (byte)data.contextCharToUnicode; in decodeLoop()