OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:UConverterConstants
(Results
1 - 19
of
19
) sorted by null
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
UConverterStaticData.java
35
subChar = new byte[
UConverterConstants
.MAX_SUBCHAR_LEN];
48
subChar = new byte[
UConverterConstants
.MAX_SUBCHAR_LEN];
CharsetSCSU.java
293
while(source.hasRemaining() && target.hasRemaining() && (b=(short)(source.get(source.position()) &
UConverterConstants
.UNSIGNED_BYTE_MASK)) >= 0x20){
339
while((source.position()+1)<source.limit() && target.hasRemaining() && (((b=source.get(source.position()))-UC0)&
UConverterConstants
.UNSIGNED_BYTE_MASK)>(Urs-UC0)){
340
target.put((char)((b<<8)|(source.get(source.position()+1)&
UConverterConstants
.UNSIGNED_BYTE_MASK)));
363
b = (short)(source.get() &
UConverterConstants
.UNSIGNED_BYTE_MASK);
490
}else if(((b - gapThreshold)&
UConverterConstants
.UNSIGNED_BYTE_MASK)<(reservedStart - gapThreshold)){
515
b = (short)(source.get() &
UConverterConstants
.UNSIGNED_BYTE_MASK);
519
if((short)((b -UC0)&
UConverterConstants
.UNSIGNED_BYTE_MASK)>(Urs - UC0)){
524
}else if((b&
UConverterConstants
.UNSIGNED_BYTE_MASK) <= UC7){
530
}else if((b&
UConverterConstants
.UNSIGNED_BYTE_MASK) <= UD7){
538
}else if((b&
UConverterConstants
.UNSIGNED_BYTE_MASK) == UDX)
[
all
...]
CharsetISO2022.java
195
((short)(value&
UConverterConstants
.UNSIGNED_BYTE_MASK) <= 0xfe && ((short)(value&
UConverterConstants
.UNSIGNED_BYTE_MASK) >= 0xa1))) {
213
((short)(returnValue&
UConverterConstants
.UNSIGNED_BYTE_MASK) <= 0xfe && ((short)(returnValue&
UConverterConstants
.UNSIGNED_BYTE_MASK) >= 0xa1))) {
[
all
...]
CharsetUTF8.java
134
if (char32 <=
UConverterConstants
.MAXIMUM_UCS2) {
139
char32 -=
UConverterConstants
.HALF_BASE;
142
targetArray[targetIndex++] = (char) ((char32 >>>
UConverterConstants
.HALF_SHIFT) +
UConverterConstants
.SURROGATE_HIGH_START);
146
charErrorBufferArray[charErrorBufferLength++] = (char) ((char32 &
UConverterConstants
.HALF_MASK) +
UConverterConstants
.SURROGATE_LOW_START);
150
targetArray[targetIndex++] = (char) ((char32 &
UConverterConstants
.HALF_MASK) +
UConverterConstants
.SURROGATE_LOW_START);
267
if (char32 <=
UConverterConstants
.MAXIMUM_UCS2) {
272
char32 -=
UConverterConstants
.HALF_BASE
[
all
...]
UConverterConstants.java
9
interface
UConverterConstants
{
CharsetMBCS.java
114
return (unicodeMask &
UConverterConstants
.HAS_SUPPLEMENTARY) != 0;
175
if (icuCanonicalName.indexOf(
UConverterConstants
.OPTION_SWAP_LFNL_STRING) > -1) {
176
options =
UConverterConstants
.OPTION_SWAP_LFNL;
177
icuCanonicalName = icuCanonicalName.substring(0, icuCanonicalName.indexOf(
UConverterConstants
.OPTION_SWAP_LFNL_STRING));
439
mbcsTable.unicodeMask =
UConverterConstants
.HAS_SUPPLEMENTARY |
UConverterConstants
.HAS_SURROGATES;
458
if (header.version[1] >= 3 && (mbcsTable.unicodeMask &
UConverterConstants
.HAS_SURROGATES) == 0 &&
495
int stage1Length = (mbcsTable.unicodeMask&
UConverterConstants
.HAS_SUPPLEMENTARY) != 0 ? 0x440 : 0x40;
722
codePoints[0] =
UConverterConstants
.U_SENTINEL;
736
codePoints[b&0x1f] =
UConverterConstants
.U_SENTINEL
[
all
...]
CharsetBOCU1.java
92
return (((packed)&
UConverterConstants
.UNSIGNED_INT_MASK)<0x04000000 ? (packed)>>24 : 4);
338
result|=((BOCU1_START_POS_4&
UConverterConstants
.UNSIGNED_INT_MASK))<<24;
771
b = b&
UConverterConstants
.UNSIGNED_BYTE_MASK;
[
all
...]
CharsetUTF16.java
181
char16 = (char) (((toUBytesArray[0 ^ actualEndianXOR] &
UConverterConstants
.UNSIGNED_BYTE_MASK) << 8) | ((toUBytesArray[1 ^ actualEndianXOR] &
UConverterConstants
.UNSIGNED_BYTE_MASK)));
210
char trail = (char) (((toUBytesArray[2 ^ actualEndianXOR] &
UConverterConstants
.UNSIGNED_BYTE_MASK) << 8) | ((toUBytesArray[3 ^ actualEndianXOR] &
UConverterConstants
.UNSIGNED_BYTE_MASK)));
CharsetUTF32.java
137
| (toUBytesArray[i ^ actualEndianXOR] &
UConverterConstants
.UNSIGNED_BYTE_MASK);
139
if (0 <= char32 && char32 <=
UConverterConstants
.MAXIMUM_UTF && !isSurrogate(char32)) {
141
if (char32 <=
UConverterConstants
.MAXIMUM_UCS2) {
CharsetCallback.java
388
valueStringLength += itou(uniValueString, valueStringLength, buffer[i++] &
UConverterConstants
.UNSIGNED_BYTE_MASK, 16, 2);
395
valueStringLength += itou(uniValueString, valueStringLength, buffer[i++] &
UConverterConstants
.UNSIGNED_BYTE_MASK, 10, 0);
403
valueStringLength += itou(uniValueString, valueStringLength, buffer[i++] &
UConverterConstants
.UNSIGNED_BYTE_MASK, 16, 0);
410
valueStringLength += itou(uniValueString, valueStringLength, buffer[i++] &
UConverterConstants
.UNSIGNED_BYTE_MASK, 16, 2);
416
itou(uniValueString, valueStringLength, buffer[i++] &
UConverterConstants
.UNSIGNED_BYTE_MASK, 16, 2);
CharsetISCII.java
[
all
...]
CharsetLMBCS.java
576
short HighCh = (short)(ppLMBCSin.get() &
UConverterConstants
.UNSIGNED_BYTE_MASK);
577
short LowCh = (short)(ppLMBCSin.get() &
UConverterConstants
.UNSIGNED_BYTE_MASK);
623
CurByte = (short)(source.get() &
UConverterConstants
.UNSIGNED_BYTE_MASK);
[
all
...]
CharsetProviderICU.java
53
if (charsetName.endsWith(
UConverterConstants
.OPTION_SWAP_LFNL_STRING)) {
55
optionsString =
UConverterConstants
.OPTION_SWAP_LFNL_STRING;
CharsetHZ.java
160
leadIsOk = (short)(
UConverterConstants
.UNSIGNED_BYTE_MASK & (leadByte - 0x21)) <= (0x7d - 0x21);
161
trailIsOk = (short)(
UConverterConstants
.UNSIGNED_BYTE_MASK & (mySourceChar - 0x21)) <= (0x7e - 0x21);
UConverterDataReader.java
445
byte[] name = new byte[
UConverterConstants
.MAX_CONVERTER_NAME_LENGTH];
CharsetUTF7.java
471
toUnicodeStatus=(inDirectMode<<24 | (((short)base64Counter &
UConverterConstants
.UNSIGNED_BYTE_MASK)<<16) | (int)bits);
[
all
...]
CharsetDecoderICU.java
655
dst[dstOffset++]=(char)(src[srcOffset++] &
UConverterConstants
.UNSIGNED_BYTE_MASK);
CharsetEncoderICU.java
239
preFromUFirstCP =
UConverterConstants
.U_SENTINEL;
[
all
...]
CharsetCompoundText.java
561
target.put((char)(
UConverterConstants
.UNSIGNED_BYTE_MASK&source.get()));
Completed in 4263 milliseconds