public abstract class sun.io.CharToByteDBCS_ASCII extends sun.io.CharToByteConverter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.io.CharToByteDBCS_ASCII
super_class: sun.io.CharToByteConverter
{
private char highHalfZoneCode;
descriptor: C
flags: (0x0002) ACC_PRIVATE
private byte[] outputByte;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
protected short[] index1;
descriptor: [S
flags: (0x0004) ACC_PROTECTED
protected java.lang.String index2;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String index2a;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected int mask1;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int mask2;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int shift;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.io.CharToByteConverter.<init>:()V
1: aload 0
iconst_2
newarray 8
putfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/CharToByteDBCS_ASCII;
public int flush(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.io.CharToByteDBCS_ASCII.highHalfZoneCode:C
ifeq 4
1: aload 0
invokevirtual sun.io.CharToByteDBCS_ASCII.reset:()V
2: aload 0
iconst_0
putfield sun.io.CharToByteDBCS_ASCII.badInputLength:I
3: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.io.CharToByteDBCS_ASCII.reset:()V
5: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/io/CharToByteDBCS_ASCII;
0 6 1 output [B
0 6 2 outStart I
0 6 3 outEnd I
Exceptions:
throws sun.io.MalformedInputException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
output
outStart
outEnd
public int convert(char[], int, int, byte[], int, int);
descriptor: ([CII[BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=12, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
iload 5
putfield sun.io.CharToByteDBCS_ASCII.byteOff:I
1: aload 0
iload 2
putfield sun.io.CharToByteDBCS_ASCII.charOff:I
2: goto 63
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.highHalfZoneCode:C
ifne 7
4: aload 1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.charOff:I
caload
istore 7
start local 7 5: iconst_1
istore 8
start local 8 6: goto 10
end local 8 end local 7 7: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.highHalfZoneCode:C
istore 7
start local 7 8: iconst_0
istore 8
start local 8 9: aload 0
iconst_0
putfield sun.io.CharToByteDBCS_ASCII.highHalfZoneCode:C
10: StackMap locals: int int
StackMap stack:
iload 7
ldc 55296
if_icmplt 30
iload 7
ldc 56319
if_icmpgt 30
11: aload 0
getfield sun.io.CharToByteDBCS_ASCII.charOff:I
iload 8
iadd
iload 3
if_icmplt 15
12: aload 0
iload 7
putfield sun.io.CharToByteDBCS_ASCII.highHalfZoneCode:C
13: aload 0
dup
getfield sun.io.CharToByteDBCS_ASCII.charOff:I
iload 8
iadd
putfield sun.io.CharToByteDBCS_ASCII.charOff:I
14: goto 64
15: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.charOff:I
iload 8
iadd
caload
istore 7
16: iload 7
ldc 56320
if_icmplt 28
iload 7
ldc 57343
if_icmpgt 28
17: aload 0
getfield sun.io.CharToByteDBCS_ASCII.subMode:Z
ifeq 26
18: aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
arraylength
iconst_1
if_icmpne 22
19: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
iconst_0
bastore
20: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
iconst_0
baload
bastore
21: goto 24
22: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
iconst_0
baload
bastore
23: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
iconst_1
baload
bastore
24: StackMap locals:
StackMap stack:
iinc 8 1
25: goto 40
26: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield sun.io.CharToByteDBCS_ASCII.badInputLength:I
27: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
28: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteDBCS_ASCII.badInputLength:I
29: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
30: StackMap locals:
StackMap stack:
iload 7
ldc 56320
if_icmplt 33
iload 7
ldc 57343
if_icmpgt 33
31: aload 0
iconst_1
putfield sun.io.CharToByteDBCS_ASCII.badInputLength:I
32: new sun.io.MalformedInputException
dup
invokespecial sun.io.MalformedInputException.<init>:()V
athrow
33: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.index1:[S
iload 7
aload 0
getfield sun.io.CharToByteDBCS_ASCII.mask1:I
iand
aload 0
getfield sun.io.CharToByteDBCS_ASCII.shift:I
ishr
saload
iload 7
aload 0
getfield sun.io.CharToByteDBCS_ASCII.mask2:I
iand
iadd
istore 9
start local 9 34: iload 9
sipush 15000
if_icmpge 37
35: aload 0
getfield sun.io.CharToByteDBCS_ASCII.index2:Ljava/lang/String;
iload 9
invokevirtual java.lang.String.charAt:(I)C
istore 10
start local 10 36: goto 38
end local 10 37: StackMap locals: int
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.index2a:Ljava/lang/String;
iload 9
sipush 15000
isub
invokevirtual java.lang.String.charAt:(I)C
istore 10
start local 10 38: StackMap locals: int
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
iload 10
ldc 65280
iand
bipush 8
ishr
i2b
bastore
39: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
iload 10
sipush 255
iand
i2b
bastore
end local 10 end local 9 40: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
baload
ifne 52
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
baload
ifne 52
41: iload 7
ifeq 52
42: aload 0
getfield sun.io.CharToByteDBCS_ASCII.subMode:Z
ifeq 50
43: aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
arraylength
iconst_1
if_icmpne 47
44: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
iconst_0
bastore
45: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
iconst_0
baload
bastore
46: goto 52
47: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
iconst_0
baload
bastore
48: aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.subBytes:[B
iconst_1
baload
bastore
49: goto 52
50: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.io.CharToByteDBCS_ASCII.badInputLength:I
51: new sun.io.UnknownCharacterException
dup
invokespecial sun.io.UnknownCharacterException.<init>:()V
athrow
52: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
baload
ifne 55
53: iconst_1
istore 11
start local 11 54: goto 56
end local 11 55: StackMap locals:
StackMap stack:
iconst_2
istore 11
start local 11 56: StackMap locals: sun.io.CharToByteDBCS_ASCII char[] int int byte[] int int int int top top int
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.byteOff:I
iload 11
iadd
iload 6
if_icmple 58
57: new sun.io.ConversionBufferFullException
dup
invokespecial sun.io.ConversionBufferFullException.<init>:()V
athrow
58: StackMap locals:
StackMap stack:
iload 11
iconst_1
if_icmpne 60
59: aload 4
aload 0
dup
getfield sun.io.CharToByteDBCS_ASCII.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteDBCS_ASCII.byteOff:I
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
baload
bastore
goto 62
60: StackMap locals:
StackMap stack:
aload 4
aload 0
dup
getfield sun.io.CharToByteDBCS_ASCII.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteDBCS_ASCII.byteOff:I
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_0
baload
bastore
61: aload 4
aload 0
dup
getfield sun.io.CharToByteDBCS_ASCII.byteOff:I
dup_x1
iconst_1
iadd
putfield sun.io.CharToByteDBCS_ASCII.byteOff:I
aload 0
getfield sun.io.CharToByteDBCS_ASCII.outputByte:[B
iconst_1
baload
bastore
62: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.io.CharToByteDBCS_ASCII.charOff:I
iload 8
iadd
putfield sun.io.CharToByteDBCS_ASCII.charOff:I
end local 11 end local 8 end local 7 63: StackMap locals: sun.io.CharToByteDBCS_ASCII char[] int int byte[] int int
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.charOff:I
iload 3
if_icmplt 3
64: StackMap locals:
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.byteOff:I
iload 5
isub
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 65 0 this Lsun/io/CharToByteDBCS_ASCII;
0 65 1 input [C
0 65 2 inOff I
0 65 3 inEnd I
0 65 4 output [B
0 65 5 outOff I
0 65 6 outEnd I
5 7 7 inputChar C
8 63 7 inputChar C
6 7 8 inputSize I
9 63 8 inputSize I
34 40 9 index I
36 37 10 theBytes I
38 40 10 theBytes I
54 55 11 spaceNeeded I
56 63 11 spaceNeeded I
Exceptions:
throws sun.io.UnknownCharacterException, sun.io.MalformedInputException, sun.io.ConversionBufferFullException
MethodParameters:
Name Flags
input
inOff
inEnd
output
outOff
outEnd
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
iconst_0
dup_x1
putfield sun.io.CharToByteDBCS_ASCII.byteOff:I
putfield sun.io.CharToByteDBCS_ASCII.charOff:I
1: aload 0
iconst_0
putfield sun.io.CharToByteDBCS_ASCII.highHalfZoneCode:C
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/io/CharToByteDBCS_ASCII;
public int getMaxBytesPerChar();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_2
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/io/CharToByteDBCS_ASCII;
public boolean canConvert(char);
descriptor: (C)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.io.CharToByteDBCS_ASCII.index1:[S
iload 1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.mask1:I
iand
aload 0
getfield sun.io.CharToByteDBCS_ASCII.shift:I
ishr
saload
iload 1
aload 0
getfield sun.io.CharToByteDBCS_ASCII.mask2:I
iand
iadd
istore 2
start local 2 1: iload 2
sipush 15000
if_icmpge 4
2: aload 0
getfield sun.io.CharToByteDBCS_ASCII.index2:Ljava/lang/String;
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 3: goto 5
end local 3 4: StackMap locals: int
StackMap stack:
aload 0
getfield sun.io.CharToByteDBCS_ASCII.index2a:Ljava/lang/String;
iload 2
sipush 15000
isub
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 5: StackMap locals: int
StackMap stack:
iload 3
ifeq 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iload 1
ifne 8
iconst_1
ireturn
StackMap locals:
StackMap stack:
8: iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/io/CharToByteDBCS_ASCII;
0 9 1 ch C
1 9 2 index I
3 4 3 theBytes I
5 9 3 theBytes I
MethodParameters:
Name Flags
ch
}
SourceFile: "CharToByteDBCS_ASCII.java"