Searched defs:byte1 (Results 1 - 24 of 24) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/io/
H A DByteToCharBig5_HKSCS.java46 protected char decodeDouble(int byte1, int byte2) { argument
47 char c = dec.decodeDouble(byte1, byte2);
49 c = dec.decodeBig5(byte1, byte2);
H A DByteToCharMS950_HKSCS.java45 protected char decodeDouble(int byte1, int byte2) { argument
46 char c = dec.decodeDouble(byte1, byte2);
48 c = dec.decodeBig5(byte1, byte2);
H A DByteToCharDoubleByte.java109 int byte1, byte2;
112 byte1 = input[byteOff];
115 byte1 = savedByte;
120 outputChar = convSingleByte(byte1);
126 savedByte = (byte) byte1;
131 byte1 &= 0xff;
135 outputChar = getUnicode(byte1, byte2);
179 protected char getUnicode(int byte1, int byte2) { argument
182 if (((byte1 < 0) || (byte1 > index
[all...]
H A DByteToCharEUC_JP.java75 protected char getUnicode(int byte1, int byte2) { argument
76 if (byte1 == 0x8E) {
81 if (((byte1 < 0) || (byte1 > index1.length))
85 int n = (index1[byte1 - 0x80] & 0xf) * (end - start + 1)
87 return index2[index1[byte1 - 0x80] >> 4].charAt(n);
90 protected char decode0212(int byte1, int byte2) { argument
91 return bcJIS0212.getUnicode(byte1, byte2);
122 int byte1, byte2;
125 byte1
[all...]
H A DByteToCharEUC_JP_LINUX.java77 protected char getUnicode(int byte1, int byte2) { argument
78 if (byte1 == 0x8E) {
83 if (((byte1 < 0) || (byte1 > index1.length))
87 int n = (index1[byte1 - 0x80] & 0xf) * (end - start + 1)
89 return index2[index1[byte1 - 0x80] >> 4].charAt(n);
120 int byte1, byte2;
123 byte1 = input[byteOff];
126 byte1 = savedByte;
131 outputChar = convSingleByte(byte1);
[all...]
H A DByteToCharEUC_JP_Solaris.java87 protected char getUnicode(int byte1, int byte2) { argument
88 if (byte1 == 0x8E) {
93 if (((byte1 < 0) || (byte1 > j0208Index1.length))
97 char result = super.getUnicode(byte1, byte2);
101 int n = (j0208Index1[byte1 - 0x80] & 0xf) * (end - start + 1)
103 return j0208Index2[j0208Index1[byte1 - 0x80] >> 4].charAt(n);
107 protected char decode0212(int byte1, int byte2) { argument
108 return j0212Decoder.getUnicode(byte1, byte2);
139 int byte1, byte
[all...]
H A DByteToCharISO2022.java114 private char getUnicode(byte byte1, byte byte2, byte shiftFlag) argument
116 byte1 |= MSB;
119 byte[] tmpByte = {byte1,byte2};
H A DByteToCharISO2022CN.java110 private char getUnicode(byte byte1, byte byte2, byte shiftFlag) argument
112 byte1 |= MSB;
119 byte[] tmpByte = {byte1,byte2};
126 byte[] tmpByte = {(byte)0x8e, (byte)0xa2, byte1, byte2};
133 byte[] tmpByte = {(byte)0x8e, (byte)0xa3, byte1,byte2};
/openjdk7/jdk/src/share/instrument/
H A DEncodingSupport.c101 unsigned byte1; local
103 byte1 = (unsigned char)string[i];
106 if ( (byte1 & 0x80) == 0 ) { /* 1byte encoding */
107 if ( byte1 == 0 ) {
113 new_string[j++] = byte1;
115 } else if ( (byte1 & 0xE0) == 0xC0 ) { /* 2byte encoding */
116 new_string[j++] = byte1;
118 } else if ( (byte1 & 0xF0) == 0xE0 ) { /* 3byte encoding */
119 new_string[j++] = byte1;
122 } else if ( (byte1
[all...]
/openjdk7/jdk/test/sun/nio/cs/OLD/
H A DDBCSDecoderMapping.java68 protected char decodeDouble(int byte1, int byte2) { argument
69 if (((byte1 < 0) || (byte1 > index1.length))
73 int n = (index1[byte1] & 0xf) * (end - start + 1) + (byte2 - start);
74 return index2[index1[byte1] >> 4].charAt(n);
H A DDoubleByteDecoder.java174 protected char decodeDouble(int byte1, int byte2) { argument
175 if (((byte1 < 0) || (byte1 > index1.length))
179 int n = (index1[byte1] & 0xf) * (end - start + 1) + (byte2 - start);
180 return index2[index1[byte1] >> 4].charAt(n);
/openjdk7/jdk/src/share/classes/sun/nio/cs/ext/
H A DJIS_X_0212_MS5022X_Decoder.java42 protected char decodeDouble(int byte1, int byte2) { argument
43 if (((byte1 < 0) || (byte1 > _index1.length))
46 int n = (_index1[byte1] & 0xf)*(_end - _start + 1) + (byte2 - _start);
47 char unicode = _index2[_index1[byte1] >> 4].charAt(n);
49 return (super.decodeDouble(byte1, byte2));
H A DDoubleByteDecoder.java174 protected char decodeDouble(int byte1, int byte2) { argument
175 if (((byte1 < 0) || (byte1 > index1.length))
179 int n = (index1[byte1] & 0xf) * (end - start + 1) + (byte2 - start);
180 return index2[index1[byte1] >> 4].charAt(n);
H A DEUC_JP_LINUX.java88 protected char decodeDouble(int byte1, int byte2) { argument
89 if (byte1 == 0x8e) {
93 if (((byte1 < 0) || (byte1 > jis0208Index1.length))
97 int n = (jis0208Index1[byte1 - 0x80] & 0xf) * (end - start + 1)
99 return jis0208Index2[jis0208Index1[byte1 - 0x80] >> 4].charAt(n);
H A DEUC_JP_Open.java94 protected char decode0212(int byte1, int byte2) { argument
95 return decodeMappingJ0212.decodeDouble(byte1, byte2);
99 protected char decodeDouble(int byte1, int byte2) { argument
100 if (byte1 == 0x8e) {
104 if (((byte1 < 0)
105 || (byte1 > j0208Index1.length))
110 char result = super.decodeDouble(byte1, byte2);
114 int n = (j0208Index1[byte1 - 0x80] & 0xf) *
117 return j0208Index2[j0208Index1[byte1 - 0x80] >> 4].charAt(n);
H A DISO2022_CN.java105 private char cnsDecode(byte byte1, byte byte2, byte SS) { argument
106 byte1 |= MSB;
115 char[] ret = cnsDecoder.toUnicode(byte1 & 0xff,
123 private char SODecode(byte byte1, byte byte2, byte SOD) { argument
124 byte1 |= MSB;
127 return gb2312Decoder.decodeDouble(byte1 & 0xff,
130 char[] ret = cnsDecoder.toUnicode(byte1 & 0xff,
H A DEUC_JP.java94 protected char decode0212(int byte1, int byte2) { argument
95 return decoderJ0212.decodeDouble(byte1, byte2);
98 protected char decodeDouble(int byte1, int byte2) { argument
99 if (byte1 == 0x8e) {
104 if (((byte1 < 0) || (byte1 > getIndex1().length))
108 int n = (j0208Index1[byte1 - 0x80] & 0xf) * (end - start + 1)
110 return j0208Index2[j0208Index1[byte1 - 0x80] >> 4].charAt(n);
H A DGB18030.java12325 int byte1 = (offset >>8) & 0xFF;
12329 if (((byte1 < 0) || (byte1 > decoderIndex1.length))
12334 int n = (decoderIndex1[byte1] & 0xf) * (end - start + 1) + (byte2 - start);
12335 return decoderIndex2[decoderIndex1[byte1] >> 4].charAt(n);
12338 protected char decodeDouble(int byte1, int byte2) { argument
12340 if (((byte1 < 0) || (byte1 > index1.length))
12344 int n = (index1[byte1] & 0xf) * (end - start + 1) + (byte2 - start);
12345 return index2[index1[byte1] >>
[all...]
H A DISO2022.java94 private char decode(byte byte1, byte byte2, byte shiftFlag) argument
96 byte1 |= MSB;
99 byte[] tmpByte = { byte1,byte2 };
/openjdk7/jdk/src/solaris/native/sun/font/
H A DX11FontScaler.h41 unsigned char byte1; member in struct:__anon1022
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DOutputRecord.java434 byte byte1, byte2;
436 byte1 = v3Msg[v3CipherSpecOffset++];
438 v2CipherSpecLen += V3toV2CipherSuite(byte1, byte2);
440 byte1 == (byte)0x00 && byte2 == (byte)0xFF) {
499 private int V3toV2CipherSuite(byte byte1, byte byte2) { argument
501 buf[count++] = byte1;
/openjdk7/jdk/src/share/npt/
H A Dutf.c204 unsigned byte1; local
206 byte1 = (unsigned char)string[i];
209 if ( (byte1 & 0x80) == 0 ) { /* 1byte encoding */
210 if ( byte1 == 0 ) {
216 newString[j++] = byte1;
218 } else if ( (byte1 & 0xE0) == 0xC0 ) { /* 2byte encoding */
219 newString[j++] = byte1;
221 } else if ( (byte1 & 0xF0) == 0xE0 ) { /* 3byte encoding */
222 newString[j++] = byte1;
225 } else if ( (byte1
268 unsigned byte1, byte2, byte3, byte4, byte5, byte6; local
335 unsigned byte1, byte2, byte3, byte4, byte5, byte6; local
[all...]
/openjdk7/jdk/test/sun/nio/cs/
H A DEUC_TW_OLD.java10555 protected char convToUnicode(byte byte1, byte byte2, String table) argument
10559 if ((byte1 & 0xff) < 0xa1 || (byte2 & 0xff) < 0xa1 ||
10560 (byte1 & 0xff) > 0xfe || (byte2 & 0xff) > 0xfe)
10562 index = (((byte1 & 0xff) - 0xa1) * 94) + (byte2 & 0xff) - 0xa1;
10568 protected char[] convToSurrogate(byte byte1, byte byte2, String table) argument
10573 if ((byte1 & 0xff) < 0xa1 || (byte2 & 0xff) < 0xa1 ||
10574 (byte1 & 0xff) > 0xfe || (byte2 & 0xff) > 0xfe)
10576 index = (((byte1 & 0xff) - 0xa1) * 94) + (byte2 & 0xff) - 0xa1;
10604 byte byte1 = sa[sp];
10607 if ((byte1
[all...]
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dassembler_x86.cpp4209 int byte1 = (vex_r ? VEX_R : 0) | (vex_x ? VEX_X : 0) | (vex_b ? VEX_B : 0); local
4210 byte1 = (~byte1) & 0xE0;
4211 byte1 |= opc;
4212 a_byte(byte1);
4220 int byte1 = vex_r ? VEX_R : 0; local
4221 byte1 = (~byte1) & 0x80;
4222 byte1 |= ((~nds_enc) & 0xf) << 3;
4223 byte1 |
[all...]

Completed in 192 milliseconds