Searched refs:UNSIGNED_BYTE_MASK (Results 1 – 15 of 15) sorted by relevance
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetISO2022.java | 197 …(short)(value&UConverterConstants.UNSIGNED_BYTE_MASK) <= 0xfe && ((short)(value&UConverterConstant… in _2022FromGR94DBCS() 728 togo = normalize_esq_chars_2022[c&UConverterConstants.UNSIGNED_BYTE_MASK]; in getKey_2022() 840 bytes[0] = (byte)(UConverterConstants.UNSIGNED_BYTE_MASK & c1); in _2022ToSJIS() 841 bytes[1] = (byte)(UConverterConstants.UNSIGNED_BYTE_MASK & c2); in _2022ToSJIS() 863 mySourceChar = (toUBytesArray[0] & UConverterConstants.UNSIGNED_BYTE_MASK); in decodeLoop() 881 mySourceChar = source.get() & UConverterConstants.UNSIGNED_BYTE_MASK; in decodeLoop() 1009 … trailByte = (short)(source.get(source.position()) & UConverterConstants.UNSIGNED_BYTE_MASK); in decodeLoop() 1020 …leadIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (mySourceChar - 0x21)) <= (0x7e - 0x21… in decodeLoop() 1021 … trailIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (trailByte - 0x21)) <= (0x7e - 0x21); in decodeLoop() 1034 … tempBuf[0] = (byte)(UConverterConstants.UNSIGNED_BYTE_MASK & (tmpSourceChar >> 8)); in decodeLoop() [all …]
|
D | CharsetSCSU.java | 295 …() && (b=(short)(source.get(source.position()) & UConverterConstants.UNSIGNED_BYTE_MASK)) >= 0x20){ in fastSingle() 341 …g() && (((b=source.get(source.position()))-UC0)&UConverterConstants.UNSIGNED_BYTE_MASK)>(Urs-UC0)){ in fastSingle() 342 …arget.put((char)((b<<8)|(source.get(source.position()+1)&UConverterConstants.UNSIGNED_BYTE_MASK))); in fastSingle() 365 b = (short)(source.get() & UConverterConstants.UNSIGNED_BYTE_MASK); in singleByteMode() 492 …}else if(((b - gapThreshold)&UConverterConstants.UNSIGNED_BYTE_MASK)<(reservedStart - gapThreshold… in singleByteMode() 517 b = (short)(source.get() & UConverterConstants.UNSIGNED_BYTE_MASK); in singleByteMode() 521 if((short)((b -UC0)&UConverterConstants.UNSIGNED_BYTE_MASK)>(Urs - UC0)){ in singleByteMode() 526 }else if((b&UConverterConstants.UNSIGNED_BYTE_MASK) <= UC7){ in singleByteMode() 532 }else if((b&UConverterConstants.UNSIGNED_BYTE_MASK) <= UD7){ in singleByteMode() 540 }else if((b&UConverterConstants.UNSIGNED_BYTE_MASK) == UDX){ in singleByteMode() [all …]
|
D | CharsetUTF16.java | 181 …] & UConverterConstants.UNSIGNED_BYTE_MASK) << 8) | ((toUBytesArray[1 ^ actualEndianXOR] & UConver… in decodeLoop() 210 …] & UConverterConstants.UNSIGNED_BYTE_MASK) << 8) | ((toUBytesArray[3 ^ actualEndianXOR] & UConver… in decodeTrail()
|
D | CharsetCallback.java | 388 …ou(uniValueString, valueStringLength, buffer[i++] & UConverterConstants.UNSIGNED_BYTE_MASK, 16, 2); 395 …ou(uniValueString, valueStringLength, buffer[i++] & UConverterConstants.UNSIGNED_BYTE_MASK, 10, 0); 403 …ou(uniValueString, valueStringLength, buffer[i++] & UConverterConstants.UNSIGNED_BYTE_MASK, 16, 0); 410 …ou(uniValueString, valueStringLength, buffer[i++] & UConverterConstants.UNSIGNED_BYTE_MASK, 16, 2); 416 …ou(uniValueString, valueStringLength, buffer[i++] & UConverterConstants.UNSIGNED_BYTE_MASK, 16, 2);
|
D | CharsetLMBCS.java | 579 short HighCh = (short)(ppLMBCSin.get() & UConverterConstants.UNSIGNED_BYTE_MASK); in GetUniFromLMBCSUni() 580 short LowCh = (short)(ppLMBCSin.get() & UConverterConstants.UNSIGNED_BYTE_MASK); in GetUniFromLMBCSUni() 626 CurByte = (short)(source.get() & UConverterConstants.UNSIGNED_BYTE_MASK); in LMBCSGetNextUCharWorker() 655 C0C1byte = (short)(source.get() & UConverterConstants.UNSIGNED_BYTE_MASK); in LMBCSGetNextUCharWorker() 699 CurByte = (short)(source.get() & UConverterConstants.UNSIGNED_BYTE_MASK); in LMBCSGetNextUCharWorker() 870 …tByte = (short)((value[0] >> ((bytesConverted - 1) * 8)) & UConverterConstants.UNSIGNED_BYTE_MASK); in LMBCSConversionWorker() 920 short LowCh = (short)(uniChar & UConverterConstants.UNSIGNED_BYTE_MASK); in LMBCSConvertUni() 921 short HighCh = (short)((uniChar >> 8) & UConverterConstants.UNSIGNED_BYTE_MASK); in LMBCSConvertUni()
|
D | CharsetMBCS.java | 1772 … b = (short) (preArray[preArrayBegin + i++] & UConverterConstants.UNSIGNED_BYTE_MASK); in matchToU() 1774 … b = (short) (source.get(source.position() + j++) & UConverterConstants.UNSIGNED_BYTE_MASK); in matchToU() 2087 … entry = stateTable[state][source.get(sourceArrayIndex)&UConverterConstants.UNSIGNED_BYTE_MASK]; in cnvMBCSToUnicodeWithOffsets() 2093 …NAL(entry = stateTable[state][source.get(sourceArrayIndex)&UConverterConstants.UNSIGNED_BYTE_MASK]) in cnvMBCSToUnicodeWithOffsets() 2145 & UConverterConstants.UNSIGNED_BYTE_MASK]; in cnvMBCSToUnicodeWithOffsets() 2311 …stateTable, state, isDBCSOnly, (short)(bytes[i] & UConverterConstants.UNSIGNED_BYTE_MASK)); i++) {} in cnvMBCSToUnicodeWithOffsets() 2398 … entry = stateTable[0][source.get(sourceArrayIndex++) & UConverterConstants.UNSIGNED_BYTE_MASK]; in cnvMBCSSingleToBMPWithOffsets() 2528 … entry = stateTable[0][source.get(sourceArrayIndex++) & UConverterConstants.UNSIGNED_BYTE_MASK]; in cnvMBCSSingleToUnicodeWithOffsets() 2692 entry = stateTable[state][source.get(i++) & UConverterConstants.UNSIGNED_BYTE_MASK]; in simpleGetNextUChar() 3123 … value = ((pArray[pArrayIndex] & UConverterConstants.UNSIGNED_BYTE_MASK) << 16) in encodeLoop() [all …]
|
D | CharsetBOCU1.java | 773 b = b&UConverterConstants.UNSIGNED_BYTE_MASK; in decodeBocu1TrailByte() 854 …START_NEG_2 <=(c=source.get(source.position())&UConverterConstants.UNSIGNED_BYTE_MASK) && c< BOCU1… in fastSingle() 865 } else if((c&UConverterConstants.UNSIGNED_BYTE_MASK) <= 0x20) { in fastSingle() 866 if((c&UConverterConstants.UNSIGNED_BYTE_MASK) != 0x20) { in fastSingle() 930 c = source.get()&UConverterConstants.UNSIGNED_BYTE_MASK; in afterGetTrail()
|
D | UConverterConstants.java | 13 static final short UNSIGNED_BYTE_MASK = 0xff; field
|
D | CharsetHZ.java | 164 … leadIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (leadByte - 0x21)) <= (0x7d - 0x21); in decodeLoop() 165 …trailIsOk = (short)(UConverterConstants.UNSIGNED_BYTE_MASK & (mySourceChar - 0x21)) <= (0x7e - 0x2… in decodeLoop()
|
D | CharsetISCII.java | 845 sourceChar = (short)(source.get() & UConverterConstants.UNSIGNED_BYTE_MASK); in decodeLoop() 853 …if (((short)(ISCIILang.PNJ - sourceChar) & UConverterConstants.UNSIGNED_BYTE_MASK) <= (ISCIILang.P… in decodeLoop() 877 …if (((short)(EXT_RANGE_END - sourceChar) & UConverterConstants.UNSIGNED_BYTE_MASK) <= (EXT_RANGE_E… in decodeLoop() 883 …if ((validityTable[((short)targetUniChar) & UConverterConstants.UNSIGNED_BYTE_MASK] & data.current… in decodeLoop() 978 …pecialCases[n][0] == ((short)data.contextCharToUnicode & UConverterConstants.UNSIGNED_BYTE_MASK)) { in decodeLoop() 1031 …pecialCases[i][0] == ((short)data.contextCharToUnicode & UConverterConstants.UNSIGNED_BYTE_MASK)) { in decodeLoop() 1315 … targetByteUnit = fromUnicodeTable[(short)sourceChar & UConverterConstants.UNSIGNED_BYTE_MASK]; in encodeLoop() 1318 …if ((validityTable[(short)sourceChar & UConverterConstants.UNSIGNED_BYTE_MASK] & converterData.cur… in encodeLoop() 1331 … temp += (char)(lookupInitialData[range].isciiLang & UConverterConstants.UNSIGNED_BYTE_MASK); in encodeLoop()
|
D | CharsetUTF32.java | 141 … | (toUBytesArray[i ^ actualEndianXOR] & UConverterConstants.UNSIGNED_BYTE_MASK); in decodeLoop()
|
D | CharsetUTF7.java | 475 …deStatus=(inDirectMode<<24 | ((base64Counter & UConverterConstants.UNSIGNED_BYTE_MASK)<<16) | bits… in decodeLoop() 763 …0000) | (inDirectMode<<24) | ((base64Counter & UConverterConstants.UNSIGNED_BYTE_MASK)<<16) | (bit… in encodeLoop()
|
D | CharsetDecoderICU.java | 663 dst[dstOffset++]=(char)(src[srcOffset++] & UConverterConstants.UNSIGNED_BYTE_MASK); in copy()
|
D | CharsetCompoundText.java | 567 … target.put((char)(UConverterConstants.UNSIGNED_BYTE_MASK&source.get())); in decodeLoop()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ByteString.java | 232 private static final int UNSIGNED_BYTE_MASK = 0xFF; 243 return value & UNSIGNED_BYTE_MASK; in toInt()
|