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
37
subChar = new byte[
UConverterConstants
.MAX_SUBCHAR_LEN];
50
subChar = new byte[
UConverterConstants
.MAX_SUBCHAR_LEN];
CharsetSCSU.java
295
while(source.hasRemaining() && target.hasRemaining() && (b=(short)(source.get(source.position()) &
UConverterConstants
.UNSIGNED_BYTE_MASK)) >= 0x20){
341
while((source.position()+1)<source.limit() && target.hasRemaining() && (((b=source.get(source.position()))-UC0)&
UConverterConstants
.UNSIGNED_BYTE_MASK)>(Urs-UC0)){
342
target.put((char)((b<<8)|(source.get(source.position()+1)&
UConverterConstants
.UNSIGNED_BYTE_MASK)));
365
b = (short)(source.get() &
UConverterConstants
.UNSIGNED_BYTE_MASK);
492
}else if(((b - gapThreshold)&
UConverterConstants
.UNSIGNED_BYTE_MASK)<(reservedStart - gapThreshold)){
517
b = (short)(source.get() &
UConverterConstants
.UNSIGNED_BYTE_MASK);
521
if((short)((b -UC0)&
UConverterConstants
.UNSIGNED_BYTE_MASK)>(Urs - UC0)){
526
}else if((b&
UConverterConstants
.UNSIGNED_BYTE_MASK) <= UC7){
532
}else if((b&
UConverterConstants
.UNSIGNED_BYTE_MASK) <= UD7){
540
}else if((b&
UConverterConstants
.UNSIGNED_BYTE_MASK) == UDX)
[
all
...]
CharsetISO2022.java
197
((short)(value&
UConverterConstants
.UNSIGNED_BYTE_MASK) <= 0xfe && ((short)(value&
UConverterConstants
.UNSIGNED_BYTE_MASK) >= 0xa1))) {
215
((short)(returnValue&
UConverterConstants
.UNSIGNED_BYTE_MASK) <= 0xfe && ((short)(returnValue&
UConverterConstants
.UNSIGNED_BYTE_MASK) >= 0xa1))) {
[
all
...]
CharsetUTF8.java
137
if (char32 <=
UConverterConstants
.MAXIMUM_UCS2) {
142
char32 -=
UConverterConstants
.HALF_BASE;
145
targetArray[targetIndex++] = (char) ((char32 >>>
UConverterConstants
.HALF_SHIFT) +
UConverterConstants
.SURROGATE_HIGH_START);
149
charErrorBufferArray[charErrorBufferLength++] = (char) ((char32 &
UConverterConstants
.HALF_MASK) +
UConverterConstants
.SURROGATE_LOW_START);
153
targetArray[targetIndex++] = (char) ((char32 &
UConverterConstants
.HALF_MASK) +
UConverterConstants
.SURROGATE_LOW_START);
270
if (char32 <=
UConverterConstants
.MAXIMUM_UCS2) {
275
char32 -=
UConverterConstants
.HALF_BASE
[
all
...]
UConverterConstants.java
11
interface
UConverterConstants
{
CharsetMBCS.java
113
return (unicodeMask &
UConverterConstants
.HAS_SUPPLEMENTARY) != 0;
174
if (icuCanonicalName.indexOf(
UConverterConstants
.OPTION_SWAP_LFNL_STRING) > -1) {
175
options =
UConverterConstants
.OPTION_SWAP_LFNL;
176
icuCanonicalName = icuCanonicalName.substring(0, icuCanonicalName.indexOf(
UConverterConstants
.OPTION_SWAP_LFNL_STRING));
434
mbcsTable.unicodeMask =
UConverterConstants
.HAS_SUPPLEMENTARY |
UConverterConstants
.HAS_SURROGATES;
453
if (header.version[1] >= 3 && (mbcsTable.unicodeMask &
UConverterConstants
.HAS_SURROGATES) == 0 &&
490
int stage1Length = (mbcsTable.unicodeMask&
UConverterConstants
.HAS_SUPPLEMENTARY) != 0 ? 0x440 : 0x40;
716
codePoints[0] =
UConverterConstants
.U_SENTINEL;
730
codePoints[b&0x1f] =
UConverterConstants
.U_SENTINEL
[
all
...]
CharsetBOCU1.java
94
return (((packed)&
UConverterConstants
.UNSIGNED_INT_MASK)<0x04000000 ? (packed)>>24 : 4);
340
result|=((BOCU1_START_POS_4&
UConverterConstants
.UNSIGNED_INT_MASK))<<24;
773
b = b&
UConverterConstants
.UNSIGNED_BYTE_MASK;
[
all
...]
CharsetUTF16.java
185
char16 = (char) (((toUBytesArray[0 ^ actualEndianXOR] &
UConverterConstants
.UNSIGNED_BYTE_MASK) << 8) | ((toUBytesArray[1 ^ actualEndianXOR] &
UConverterConstants
.UNSIGNED_BYTE_MASK)));
214
char trail = (char) (((toUBytesArray[2 ^ actualEndianXOR] &
UConverterConstants
.UNSIGNED_BYTE_MASK) << 8) | ((toUBytesArray[3 ^ actualEndianXOR] &
UConverterConstants
.UNSIGNED_BYTE_MASK)));
CharsetUTF32.java
141
| (toUBytesArray[i ^ actualEndianXOR] &
UConverterConstants
.UNSIGNED_BYTE_MASK);
143
if (0 <= char32 && char32 <=
UConverterConstants
.MAXIMUM_UTF && !isSurrogate(char32)) {
145
if (char32 <=
UConverterConstants
.MAXIMUM_UCS2) {
CharsetCallback.java
398
valueStringLength += itou(uniValueString, valueStringLength, buffer[i++] &
UConverterConstants
.UNSIGNED_BYTE_MASK, 16, 2);
405
valueStringLength += itou(uniValueString, valueStringLength, buffer[i++] &
UConverterConstants
.UNSIGNED_BYTE_MASK, 10, 0);
413
valueStringLength += itou(uniValueString, valueStringLength, buffer[i++] &
UConverterConstants
.UNSIGNED_BYTE_MASK, 16, 0);
420
valueStringLength += itou(uniValueString, valueStringLength, buffer[i++] &
UConverterConstants
.UNSIGNED_BYTE_MASK, 16, 2);
426
itou(uniValueString, valueStringLength, buffer[i++] &
UConverterConstants
.UNSIGNED_BYTE_MASK, 16, 2);
CharsetISCII.java
[
all
...]
CharsetLMBCS.java
579
short HighCh = (short)(ppLMBCSin.get() &
UConverterConstants
.UNSIGNED_BYTE_MASK);
580
short LowCh = (short)(ppLMBCSin.get() &
UConverterConstants
.UNSIGNED_BYTE_MASK);
626
CurByte = (short)(source.get() &
UConverterConstants
.UNSIGNED_BYTE_MASK);
[
all
...]
CharsetProviderICU.java
56
if (charsetName.endsWith(
UConverterConstants
.OPTION_SWAP_LFNL_STRING)) {
58
optionsString =
UConverterConstants
.OPTION_SWAP_LFNL_STRING;
CharsetHZ.java
164
leadIsOk = (short)(
UConverterConstants
.UNSIGNED_BYTE_MASK & (leadByte - 0x21)) <= (0x7d - 0x21);
165
trailIsOk = (short)(
UConverterConstants
.UNSIGNED_BYTE_MASK & (mySourceChar - 0x21)) <= (0x7e - 0x21);
UConverterDataReader.java
448
byte[] name = new byte[
UConverterConstants
.MAX_CONVERTER_NAME_LENGTH];
CharsetUTF7.java
475
toUnicodeStatus=(inDirectMode<<24 | ((base64Counter &
UConverterConstants
.UNSIGNED_BYTE_MASK)<<16) | bits);
[
all
...]
CharsetDecoderICU.java
663
dst[dstOffset++]=(char)(src[srcOffset++] &
UConverterConstants
.UNSIGNED_BYTE_MASK);
CharsetEncoderICU.java
246
preFromUFirstCP =
UConverterConstants
.U_SENTINEL;
[
all
...]
CharsetCompoundText.java
567
target.put((char)(
UConverterConstants
.UNSIGNED_BYTE_MASK&source.get()));
Completed in 2861 milliseconds