public void @this(global::java.util.AbstractList n1, int n2){
//XMLVM_BEGIN_WRAPPER[java.util.AbstractList$FullListIterator: void <init>(java.util.AbstractList, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    _r1_o = this;
    _r2_o = n1;
    _r3.i = n2;
    ((global::java.util.AbstractList_2FullListIterator) _r1_o)._fthis_20 = (global::java.util.AbstractList) _r2_o;
    _r0_o = null;
    ((global::java.util.AbstractList_2SimpleListIterator) _r1_o).@this((global::java.util.AbstractList) _r2_o, (global::java.util.AbstractList_2SimpleListIterator) _r0_o);
    if (_r3.i < 0) goto label12;
    _r0.i = ((global::java.util.AbstractList_2FullListIterator) _r1_o)._fnumLeft;
    if (_r3.i <= _r0.i) goto label18;
    label12:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label18:;
    _r0.i = ((global::java.util.AbstractList_2FullListIterator) _r1_o)._fnumLeft;
    _r0.i = _r0.i - _r3.i;
    ((global::java.util.AbstractList_2FullListIterator) _r1_o)._fnumLeft = _r0.i;
    return;
//XMLVM_END_WRAPPER[java.util.AbstractList$FullListIterator: void <init>(java.util.AbstractList, int)]
}
Beispiel #2
0
public static global::System.Object wrap(global::org.xmlvm._nArrayAdapter<sbyte> n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[java.nio.ByteBuffer: java.nio.ByteBuffer wrap(byte[], int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::org.xmlvm._nElement _r7;
    _r5_o = n1;
    _r6.i = n2;
    _r7.i = n3;
    _r0.i = ((global::org.xmlvm._nIArray) _r5_o).Length;
    if (_r6.i < 0) goto label13;
    if (_r7.i < 0) goto label13;
    _r1.l = (long) _r6.i;
    _r3.l = (long) _r7.i;
    _r1.l = _r1.l + _r3.l;
    _r3.l = (long) _r0.i;
    _r0.i = _r1.l > _r3.l ? 1 : (_r1.l == _r3.l ? 0 : -1);
    if (_r0.i <= 0) goto label19;
    label13:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label19:;
    _r0_o = global::java.nio.BufferFactory.newByteBuffer((global::org.xmlvm._nArrayAdapter<sbyte>) _r5_o);
    ((global::java.nio.ByteBuffer) _r0_o)._fposition = _r6.i;
    _r1.i = _r6.i + _r7.i;
    ((global::java.nio.ByteBuffer) _r0_o)._flimit = _r1.i;
    return (global::java.nio.ByteBuffer) _r0_o;
//XMLVM_END_WRAPPER[java.nio.ByteBuffer: java.nio.ByteBuffer wrap(byte[], int, int)]
}
public void @this(global::org.xmlvm._nArrayAdapter<sbyte> n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[java.nio.HeapByteBuffer: void <init>(byte[], int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::org.xmlvm._nElement _r5;
    _r2_o = this;
    _r3_o = n1;
    _r4.i = n2;
    _r5.i = n3;
    ((global::java.nio.ByteBuffer) _r2_o).@this((int) _r4.i);
    ((global::java.nio.HeapByteBuffer) _r2_o)._fbackingArray = (global::org.xmlvm._nArrayAdapter<sbyte>) _r3_o;
    ((global::java.nio.HeapByteBuffer) _r2_o)._foffset = _r5.i;
    _r0.i = _r5.i + _r4.i;
    _r1.i = ((global::org.xmlvm._nIArray) _r3_o).Length;
    if (_r0.i <= _r1.i) goto label18;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label18:;
    return;
//XMLVM_END_WRAPPER[java.nio.HeapByteBuffer: void <init>(byte[], int, int)]
}
public override global::System.Object get(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.Collections$EmptyList: java.lang.Object get(int)]
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    _r1_o = this;
    _r2.i = n1;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
//XMLVM_END_WRAPPER[java.util.Collections$EmptyList: java.lang.Object get(int)]
}
public override global::System.Object get(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.Collections$SingletonList: java.lang.Object get(int)]
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    _r1_o = this;
    _r2.i = n1;
    if (_r2.i != 0) goto label5;
    _r0_o = ((global::java.util.Collections_2SingletonList) _r1_o)._felement;
    return (global::java.lang.Object) _r0_o;
    label5:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
//XMLVM_END_WRAPPER[java.util.Collections$SingletonList: java.lang.Object get(int)]
}
public override global::System.Object get(global::org.xmlvm._nArrayAdapter<sbyte> n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[java.nio.DirectByteBuffer: java.nio.ByteBuffer get(byte[], int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::org.xmlvm._nElement _r2;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r5_o = null;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::org.xmlvm._nElement _r8;
    _r5_o = this;
    _r6_o = n1;
    _r7.i = n2;
    _r8.i = n3;
    _r0.i = ((global::org.xmlvm._nIArray) _r6_o).Length;
    if (_r7.i < 0) goto label13;
    if (_r8.i < 0) goto label13;
    _r1.l = (long) _r7.i;
    _r3.l = (long) _r8.i;
    _r1.l = _r1.l + _r3.l;
    _r3.l = (long) _r0.i;
    _r0.i = _r1.l > _r3.l ? 1 : (_r1.l == _r3.l ? 0 : -1);
    if (_r0.i <= 0) goto label19;
    label13:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label19:;
    _r0.i = ((global::java.nio.DirectByteBuffer) _r5_o).remaining();
    if (_r8.i <= _r0.i) goto label31;
    _r0_o = new global::java.nio.BufferUnderflowException();
    ((global::java.nio.BufferUnderflowException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.nio.BufferUnderflowException) _r0_o);
    label31:;
    _r0_o = ((global::java.nio.DirectByteBuffer) _r5_o).getBaseAddress();
    _r1.i = ((global::java.nio.DirectByteBuffer) _r5_o)._foffset;
    _r2.i = ((global::java.nio.DirectByteBuffer) _r5_o)._fposition;
    _r1.i = _r1.i + _r2.i;
// Red class access removed: org.apache.harmony.luni.platform.PlatformAddress getByteArray
throw new global::org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.luni.platform.PlatformAddress getByteArray");
    _r0.i = ((global::java.nio.DirectByteBuffer) _r5_o)._fposition;
    _r0.i = _r0.i + _r8.i;
    ((global::java.nio.DirectByteBuffer) _r5_o)._fposition = _r0.i;
    return (global::java.nio.ByteBuffer) _r5_o;
//XMLVM_END_WRAPPER[java.nio.DirectByteBuffer: java.nio.ByteBuffer get(byte[], int, int)]
}
Beispiel #7
0
public virtual void write(global::org.xmlvm._nArrayAdapter<sbyte> n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[java.io.OutputStream: void write(byte[], int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::org.xmlvm._nElement _r5;
    _r2_o = this;
    _r3_o = n1;
    _r4.i = n2;
    _r5.i = n3;
    _r0.i = ((global::org.xmlvm._nIArray) _r3_o).Length;
    if (_r4.i > _r0.i) goto label11;
    if (_r4.i < 0) goto label11;
    if (_r5.i < 0) goto label11;
    _r0.i = ((global::org.xmlvm._nIArray) _r3_o).Length;
    _r0.i = _r0.i - _r4.i;
    if (_r5.i <= _r0.i) goto label23;
    label11:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    // Value=luni.13
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 51))}));
    _r1_o = global::[email protected]((global::java.lang.String) _r1_o);
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label23:;
    _r0.i = _r4.i;
    label24:;
    _r1.i = _r4.i + _r5.i;
    if (_r0.i < _r1.i) goto label29;
    return;
    label29:;
    _r1.i = ((global::org.xmlvm._nArrayAdapter<sbyte>) _r3_o)[_r0.i];
    ((global::java.io.OutputStream) _r2_o).write((int) _r1.i);
    _r0.i = _r0.i + 1;
    goto label24;
//XMLVM_END_WRAPPER[java.io.OutputStream: void write(byte[], int, int)]
}
public override void add(int n1, global::java.lang.Object n2){
//XMLVM_BEGIN_WRAPPER[java.util.AbstractList$SubAbstractList: void add(int, java.lang.Object)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r4_o = null;
    _r2_o = this;
    _r3.i = n1;
    _r4_o = n2;
    _r0.i = ((global::java.util.AbstractList_2SubAbstractList) _r2_o)._fmodCount;
    _r1_o = ((global::java.util.AbstractList_2SubAbstractList) _r2_o)._ffullList;
    _r1.i = ((global::java.util.AbstractList) _r1_o)._fmodCount;
    if (_r0.i != _r1.i) goto label41;
    if (_r3.i < 0) goto label35;
    _r0.i = ((global::java.util.AbstractList_2SubAbstractList) _r2_o)._fsize;
    if (_r3.i > _r0.i) goto label35;
    _r0_o = ((global::java.util.AbstractList_2SubAbstractList) _r2_o)._ffullList;
    _r1.i = ((global::java.util.AbstractList_2SubAbstractList) _r2_o)._foffset;
    _r1.i = _r1.i + _r3.i;
    ((global::java.util.AbstractList) _r0_o).add((int) _r1.i, (global::java.lang.Object) _r4_o);
    _r0.i = ((global::java.util.AbstractList_2SubAbstractList) _r2_o)._fsize;
    _r0.i = _r0.i + 1;
    ((global::java.util.AbstractList_2SubAbstractList) _r2_o)._fsize = _r0.i;
    _r0_o = ((global::java.util.AbstractList_2SubAbstractList) _r2_o)._ffullList;
    _r0.i = ((global::java.util.AbstractList) _r0_o)._fmodCount;
    ((global::java.util.AbstractList_2SubAbstractList) _r2_o)._fmodCount = _r0.i;
    return;
    label35:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label41:;
    _r0_o = new global::java.util.ConcurrentModificationException();
    ((global::java.util.ConcurrentModificationException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.util.ConcurrentModificationException) _r0_o);
//XMLVM_END_WRAPPER[java.util.AbstractList$SubAbstractList: void add(int, java.lang.Object)]
}
Beispiel #9
0
public static global::System.Object wrap(global::org.xmlvm._nArrayAdapter<float> n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[java.nio.FloatBuffer: java.nio.FloatBuffer wrap(float[], int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::org.xmlvm._nElement _r6;
    _r4_o = n1;
    _r5.i = n2;
    _r6.i = n3;
    if (_r4_o != null) goto label8;
    _r0_o = new global::java.lang.NullPointerException();
    ((global::java.lang.NullPointerException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NullPointerException) _r0_o);
    label8:;
    if (_r5.i < 0) goto label21;
    if (_r6.i < 0) goto label21;
    _r0.l = (long) _r5.i;
    _r2.l = (long) _r6.i;
    _r0.l = _r0.l + _r2.l;
    _r2.i = ((global::org.xmlvm._nIArray) _r4_o).Length;
    _r2.l = (long) _r2.i;
    _r0.i = _r0.l > _r2.l ? 1 : (_r0.l == _r2.l ? 0 : -1);
    if (_r0.i <= 0) goto label27;
    label21:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label27:;
    _r0_o = global::java.nio.BufferFactory.newFloatBuffer((global::org.xmlvm._nArrayAdapter<float>) _r4_o);
    ((global::java.nio.FloatBuffer) _r0_o)._fposition = _r5.i;
    _r1.i = _r5.i + _r6.i;
    ((global::java.nio.FloatBuffer) _r0_o)._flimit = _r1.i;
    return (global::java.nio.FloatBuffer) _r0_o;
//XMLVM_END_WRAPPER[java.nio.FloatBuffer: java.nio.FloatBuffer wrap(float[], int, int)]
}
public override global::System.Object remove(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.AbstractList$SubAbstractList: java.lang.Object remove(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    _r3_o = this;
    _r4.i = n1;
    _r0.i = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._fmodCount;
    _r1_o = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._ffullList;
    _r1.i = ((global::java.util.AbstractList) _r1_o)._fmodCount;
    if (_r0.i != _r1.i) goto label42;
    if (_r4.i < 0) goto label36;
    _r0.i = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._fsize;
    if (_r4.i >= _r0.i) goto label36;
    _r0_o = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._ffullList;
    _r1.i = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._foffset;
    _r1.i = _r1.i + _r4.i;
    _r0_o = ((global::java.util.AbstractList) _r0_o).remove((int) _r1.i);
    _r1.i = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._fsize;
    _r2.i = 1;
    _r1.i = _r1.i - _r2.i;
    ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._fsize = _r1.i;
    _r1_o = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._ffullList;
    _r1.i = ((global::java.util.AbstractList) _r1_o)._fmodCount;
    ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._fmodCount = _r1.i;
    return (global::java.lang.Object) _r0_o;
    label36:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label42:;
    _r0_o = new global::java.util.ConcurrentModificationException();
    ((global::java.util.ConcurrentModificationException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.util.ConcurrentModificationException) _r0_o);
//XMLVM_END_WRAPPER[java.util.AbstractList$SubAbstractList: java.lang.Object remove(int)]
}
Beispiel #11
0
public override void add(int n1, global::java.lang.Object n2){
//XMLVM_BEGIN_WRAPPER[java.util.LinkedList: void add(int, java.lang.Object)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r6_o = null;
    _r4_o = this;
    _r5.i = n1;
    _r6_o = n2;
    if (_r5.i < 0) goto label64;
    _r0.i = ((global::java.util.LinkedList) _r4_o)._fsize;
    if (_r5.i > _r0.i) goto label64;
    _r0_o = ((global::java.util.LinkedList) _r4_o)._fvoidLink;
    _r1.i = ((global::java.util.LinkedList) _r4_o)._fsize;
    _r1.i = _r1.i / 2;
    if (_r5.i >= _r1.i) goto label50;
    _r1.i = 0;
    _r3.i = _r1.i;
    _r1_o = _r0_o;
    _r0.i = _r3.i;
    label18:;
    if (_r0.i <= _r5.i) goto label45;
    _r0_o = _r1_o;
    label21:;
    _r1_o = ((global::java.util.LinkedList_2Link) _r0_o)._fprevious;
    _r2_o = new global::java.util.LinkedList_2Link();
    ((global::java.util.LinkedList_2Link) _r2_o).@this((global::java.lang.Object) _r6_o, (global::java.util.LinkedList_2Link) _r1_o, (global::java.util.LinkedList_2Link) _r0_o);
    ((global::java.util.LinkedList_2Link) _r1_o)._fnext = (global::java.util.LinkedList_2Link) _r2_o;
    ((global::java.util.LinkedList_2Link) _r0_o)._fprevious = (global::java.util.LinkedList_2Link) _r2_o;
    _r0.i = ((global::java.util.LinkedList) _r4_o)._fsize;
    _r0.i = _r0.i + 1;
    ((global::java.util.LinkedList) _r4_o)._fsize = _r0.i;
    _r0.i = ((global::java.util.LinkedList) _r4_o)._fmodCount;
    _r0.i = _r0.i + 1;
    ((global::java.util.LinkedList) _r4_o)._fmodCount = _r0.i;
    return;
    label45:;
    _r1_o = ((global::java.util.LinkedList_2Link) _r1_o)._fnext;
    _r0.i = _r0.i + 1;
    goto label18;
    label50:;
    _r1.i = ((global::java.util.LinkedList) _r4_o)._fsize;
    _r3.i = _r1.i;
    _r1_o = _r0_o;
    _r0.i = _r3.i;
    label55:;
    if (_r0.i > _r5.i) goto label59;
    _r0_o = _r1_o;
    goto label21;
    label59:;
    _r1_o = ((global::java.util.LinkedList_2Link) _r1_o)._fprevious;
    _r0.i = _r0.i + -1;
    goto label55;
    label64:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
//XMLVM_END_WRAPPER[java.util.LinkedList: void add(int, java.lang.Object)]
}
public override global::System.Object put(global::org.xmlvm._nArrayAdapter<int> n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[java.nio.ReadWriteIntArrayBuffer: java.nio.IntBuffer put(int[], int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::org.xmlvm._nElement _r2;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r5_o = null;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::org.xmlvm._nElement _r8;
    _r5_o = this;
    _r6_o = n1;
    _r7.i = n2;
    _r8.i = n3;
    _r0.i = ((global::org.xmlvm._nIArray) _r6_o).Length;
    if (_r7.i < 0) goto label13;
    if (_r8.i < 0) goto label13;
    _r1.l = (long) _r7.i;
    _r3.l = (long) _r8.i;
    _r1.l = _r1.l + _r3.l;
    _r3.l = (long) _r0.i;
    _r0.i = _r1.l > _r3.l ? 1 : (_r1.l == _r3.l ? 0 : -1);
    if (_r0.i <= 0) goto label19;
    label13:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label19:;
    _r0.i = ((global::java.nio.ReadWriteIntArrayBuffer) _r5_o).remaining();
    if (_r8.i <= _r0.i) goto label31;
    _r0_o = new global::java.nio.BufferOverflowException();
    ((global::java.nio.BufferOverflowException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.nio.BufferOverflowException) _r0_o);
    label31:;
    _r0_o = ((global::java.nio.ReadWriteIntArrayBuffer) _r5_o)._fbackingArray;
    _r1.i = ((global::java.nio.ReadWriteIntArrayBuffer) _r5_o)._foffset;
    _r2.i = ((global::java.nio.ReadWriteIntArrayBuffer) _r5_o)._fposition;
    _r1.i = _r1.i + _r2.i;
    global::java.lang.System.arraycopy((global::java.lang.Object) _r6_o, (int) _r7.i, (global::java.lang.Object) _r0_o, (int) _r1.i, (int) _r8.i);
    _r0.i = ((global::java.nio.ReadWriteIntArrayBuffer) _r5_o)._fposition;
    _r0.i = _r0.i + _r8.i;
    ((global::java.nio.ReadWriteIntArrayBuffer) _r5_o)._fposition = _r0.i;
    return (global::java.nio.IntBuffer) _r5_o;
//XMLVM_END_WRAPPER[java.nio.ReadWriteIntArrayBuffer: java.nio.IntBuffer put(int[], int, int)]
}
public override global::System.Object listIterator(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.AbstractList$SubAbstractList: java.util.ListIterator listIterator(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    _r4_o = this;
    _r5.i = n1;
    _r0.i = ((global::java.util.AbstractList_2SubAbstractList) _r4_o)._fmodCount;
    _r1_o = ((global::java.util.AbstractList_2SubAbstractList) _r4_o)._ffullList;
    _r1.i = ((global::java.util.AbstractList) _r1_o)._fmodCount;
    if (_r0.i != _r1.i) goto label39;
    if (_r5.i < 0) goto label33;
    _r0.i = ((global::java.util.AbstractList_2SubAbstractList) _r4_o)._fsize;
    if (_r5.i > _r0.i) goto label33;
    _r0_o = new global::java.util.AbstractList_2SubAbstractList_2SubAbstractListIterator();
    _r1_o = ((global::java.util.AbstractList_2SubAbstractList) _r4_o)._ffullList;
    _r2.i = ((global::java.util.AbstractList_2SubAbstractList) _r4_o)._foffset;
    _r2.i = _r2.i + _r5.i;
    _r1_o = ((global::java.util.AbstractList) _r1_o).listIterator((int) _r2.i);
    _r2.i = ((global::java.util.AbstractList_2SubAbstractList) _r4_o)._foffset;
    _r3.i = ((global::java.util.AbstractList_2SubAbstractList) _r4_o)._fsize;
    ((global::java.util.AbstractList_2SubAbstractList_2SubAbstractListIterator) _r0_o).@this((global::java.util.ListIterator) _r1_o, (global::java.util.AbstractList_2SubAbstractList) _r4_o, (int) _r2.i, (int) _r3.i);
    return (global::java.util.ListIterator) _r0_o;
    label33:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label39:;
    _r0_o = new global::java.util.ConcurrentModificationException();
    ((global::java.util.ConcurrentModificationException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.util.ConcurrentModificationException) _r0_o);
//XMLVM_END_WRAPPER[java.util.AbstractList$SubAbstractList: java.util.ListIterator listIterator(int)]
}
public override global::System.Object put(int n1, long n2){
//XMLVM_BEGIN_WRAPPER[java.nio.LongToByteBufferAdapter: java.nio.LongBuffer put(int, long)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::org.xmlvm._nElement _r4;
    _r2_o = this;
    _r3.i = n1;
    _r4.l = n2;
    if (_r3.i < 0) goto label6;
    _r0.i = ((global::java.nio.LongToByteBufferAdapter) _r2_o)._flimit;
    if (_r3.i < _r0.i) goto label12;
    label6:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label12:;
    _r0_o = ((global::java.nio.LongToByteBufferAdapter) _r2_o)._fbyteBuffer;
    _r1.i = _r3.i << (0x1f & 3);
    ((global::java.nio.ByteBuffer) _r0_o).putLong((int) _r1.i, (long) _r4.l);
    return (global::java.nio.LongBuffer) _r2_o;
//XMLVM_END_WRAPPER[java.nio.LongToByteBufferAdapter: java.nio.LongBuffer put(int, long)]
}
public override global::System.Object put(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[java.nio.ReadWriteIntArrayBuffer: java.nio.IntBuffer put(int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::org.xmlvm._nElement _r4;
    _r2_o = this;
    _r3.i = n1;
    _r4.i = n2;
    if (_r3.i < 0) goto label6;
    _r0.i = ((global::java.nio.ReadWriteIntArrayBuffer) _r2_o)._flimit;
    if (_r3.i < _r0.i) goto label12;
    label6:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label12:;
    _r0_o = ((global::java.nio.ReadWriteIntArrayBuffer) _r2_o)._fbackingArray;
    _r1.i = ((global::java.nio.ReadWriteIntArrayBuffer) _r2_o)._foffset;
    _r1.i = _r1.i + _r3.i;
    ((global::org.xmlvm._nArrayAdapter<int>) _r0_o)[_r1.i] = _r4.i;
    return (global::java.nio.IntBuffer) _r2_o;
//XMLVM_END_WRAPPER[java.nio.ReadWriteIntArrayBuffer: java.nio.IntBuffer put(int, int)]
}
public virtual int currentSegment(global::org.xmlvm._nArrayAdapter<float> n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.geom.GeneralPath$Iterator: int currentSegment(float[])]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r8_o = this;
    _r9_o = n1;
    _r7.i = 1;
    _r6.i = 0;
    _r3.i = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o).isDone() ? 1 : 0;
    if (_r3.i == 0) goto label16;
    _r3_o = new global::java.lang.IndexOutOfBoundsException();
    // Value=Path done
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)80)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101))}));
    ((global::java.lang.IndexOutOfBoundsException) _r3_o).@this((global::java.lang.String) _r4_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r3_o);
    label16:;
    _r3_o = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._fp;
    _r3_o = global::com.codename1.ui.geom.GeneralPath.access_2100((global::com.codename1.ui.geom.GeneralPath) _r3_o);
    _r4.i = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._ftypeIndex;
    _r2.i = ((global::org.xmlvm._nArrayAdapter<sbyte>) _r3_o)[_r4.i];
    _r3_o = global::com.codename1.ui.geom.GeneralPath.access_2200();
    _r0.i = ((global::org.xmlvm._nArrayAdapter<int>) _r3_o)[_r2.i];
    _r3_o = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._fp;
    _r3_o = global::com.codename1.ui.geom.GeneralPath.access_2300((global::com.codename1.ui.geom.GeneralPath) _r3_o);
    _r4.i = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._fpointIndex;
    global::java.lang.System.arraycopy((global::java.lang.Object) _r3_o, (int) _r4.i, (global::java.lang.Object) _r9_o, (int) _r6.i, (int) _r0.i);
    _r3_o = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._ftransform;
    if (_r3_o == null) goto label90;
    _r1.i = 0;
    label48:;
    if (_r1.i >= _r0.i) goto label90;
    _r3_o = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._fbuf;
    _r4.f = ((global::org.xmlvm._nArrayAdapter<float>) _r9_o)[_r1.i];
    ((global::org.xmlvm._nArrayAdapter<float>) _r3_o)[_r6.i] = _r4.f;
    _r3_o = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._fbuf;
    _r4.i = _r1.i + 1;
    _r4.f = ((global::org.xmlvm._nArrayAdapter<float>) _r9_o)[_r4.i];
    ((global::org.xmlvm._nArrayAdapter<float>) _r3_o)[_r7.i] = _r4.f;
    _r3_o = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._ftransform;
    _r4_o = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._fbuf;
    _r5_o = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._fbuf;
    ((global::com.codename1.ui.Transform) _r3_o).transformPoint((global::org.xmlvm._nArrayAdapter<float>) _r4_o, (global::org.xmlvm._nArrayAdapter<float>) _r5_o);
    _r3_o = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._fbuf;
    _r3.f = ((global::org.xmlvm._nArrayAdapter<float>) _r3_o)[_r6.i];
    ((global::org.xmlvm._nArrayAdapter<float>) _r9_o)[_r1.i] = _r3.f;
    _r3.i = _r1.i + 1;
    _r4_o = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._fbuf;
    _r4.f = ((global::org.xmlvm._nArrayAdapter<float>) _r4_o)[_r7.i];
    ((global::org.xmlvm._nArrayAdapter<float>) _r9_o)[_r3.i] = _r4.f;
    _r1.i = _r1.i + 2;
    goto label48;
    label90:;
    _r3.i = ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._fpointIndex;
    _r3.i = _r3.i + _r0.i;
    ((global::com.codename1.ui.geom.GeneralPath_2Iterator) _r8_o)._fpointIndex = _r3.i;
    return _r2.i;
//XMLVM_END_WRAPPER[com.codename1.ui.geom.GeneralPath$Iterator: int currentSegment(float[])]
}
Beispiel #17
0
public virtual global::System.Object put(global::org.xmlvm._nArrayAdapter<sbyte> n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[java.nio.ByteBuffer: java.nio.ByteBuffer put(byte[], int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r5_o = null;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::org.xmlvm._nElement _r8;
    _r5_o = this;
    _r6_o = n1;
    _r7.i = n2;
    _r8.i = n3;
    _r0.i = ((global::org.xmlvm._nIArray) _r6_o).Length;
    if (_r7.i < 0) goto label13;
    if (_r8.i < 0) goto label13;
    _r1.l = (long) _r7.i;
    _r3.l = (long) _r8.i;
    _r1.l = _r1.l + _r3.l;
    _r3.l = (long) _r0.i;
    _r0.i = _r1.l > _r3.l ? 1 : (_r1.l == _r3.l ? 0 : -1);
    if (_r0.i <= 0) goto label19;
    label13:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label19:;
    _r0.i = ((global::java.nio.ByteBuffer) _r5_o).remaining();
    if (_r8.i <= _r0.i) goto label31;
    _r0_o = new global::java.nio.BufferOverflowException();
    ((global::java.nio.BufferOverflowException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.nio.BufferOverflowException) _r0_o);
    label31:;
    _r0.i = _r7.i;
    label32:;
    _r1.i = _r7.i + _r8.i;
    if (_r0.i < _r1.i) goto label37;
    return (global::java.nio.ByteBuffer) _r5_o;
    label37:;
    _r1.i = ((global::org.xmlvm._nArrayAdapter<sbyte>) _r6_o)[_r0.i];
    ((global::java.nio.ByteBuffer) _r5_o).put((sbyte) _r1.i);
    _r0.i = _r0.i + 1;
    goto label32;
//XMLVM_END_WRAPPER[java.nio.ByteBuffer: java.nio.ByteBuffer put(byte[], int, int)]
}
public override short getShort(int n1){
//XMLVM_BEGIN_WRAPPER[java.nio.HeapByteBuffer: short getShort(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    _r2_o = this;
    _r3.i = n1;
    if (_r3.i < 0) goto label8;
    _r0.i = _r3.i + 2;
    _r1.i = ((global::java.nio.HeapByteBuffer) _r2_o)._flimit;
    if (_r0.i <= _r1.i) goto label14;
    label8:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label14:;
    _r0.i = ((global::java.nio.HeapByteBuffer) _r2_o).loadShort((int) _r3.i);
    return (short) _r0.i;
//XMLVM_END_WRAPPER[java.nio.HeapByteBuffer: short getShort(int)]
}
Beispiel #19
0
public override global::System.Object remove(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.LinkedList: java.lang.Object remove(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    _r4_o = this;
    _r5.i = n1;
    if (_r5.i < 0) goto label63;
    _r0.i = ((global::java.util.LinkedList) _r4_o)._fsize;
    if (_r5.i >= _r0.i) goto label63;
    _r0_o = ((global::java.util.LinkedList) _r4_o)._fvoidLink;
    _r1.i = ((global::java.util.LinkedList) _r4_o)._fsize;
    _r1.i = _r1.i / 2;
    if (_r5.i >= _r1.i) goto label49;
    _r1.i = 0;
    _r3.i = _r1.i;
    _r1_o = _r0_o;
    _r0.i = _r3.i;
    label18:;
    if (_r0.i <= _r5.i) goto label44;
    _r0_o = _r1_o;
    label21:;
    _r1_o = ((global::java.util.LinkedList_2Link) _r0_o)._fprevious;
    _r2_o = ((global::java.util.LinkedList_2Link) _r0_o)._fnext;
    ((global::java.util.LinkedList_2Link) _r1_o)._fnext = (global::java.util.LinkedList_2Link) _r2_o;
    ((global::java.util.LinkedList_2Link) _r2_o)._fprevious = (global::java.util.LinkedList_2Link) _r1_o;
    _r1.i = ((global::java.util.LinkedList) _r4_o)._fsize;
    _r2.i = 1;
    _r1.i = _r1.i - _r2.i;
    ((global::java.util.LinkedList) _r4_o)._fsize = _r1.i;
    _r1.i = ((global::java.util.LinkedList) _r4_o)._fmodCount;
    _r1.i = _r1.i + 1;
    ((global::java.util.LinkedList) _r4_o)._fmodCount = _r1.i;
    _r0_o = ((global::java.util.LinkedList_2Link) _r0_o)._fdata;
    return (global::java.lang.Object) _r0_o;
    label44:;
    _r1_o = ((global::java.util.LinkedList_2Link) _r1_o)._fnext;
    _r0.i = _r0.i + 1;
    goto label18;
    label49:;
    _r1.i = ((global::java.util.LinkedList) _r4_o)._fsize;
    _r3.i = _r1.i;
    _r1_o = _r0_o;
    _r0.i = _r3.i;
    label54:;
    if (_r0.i > _r5.i) goto label58;
    _r0_o = _r1_o;
    goto label21;
    label58:;
    _r1_o = ((global::java.util.LinkedList_2Link) _r1_o)._fprevious;
    _r0.i = _r0.i + -1;
    goto label54;
    label63:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
//XMLVM_END_WRAPPER[java.util.LinkedList: java.lang.Object remove(int)]
}
public override sbyte get(int n1){
//XMLVM_BEGIN_WRAPPER[java.nio.HeapByteBuffer: byte get(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    _r2_o = this;
    _r3.i = n1;
    if (_r3.i < 0) goto label6;
    _r0.i = ((global::java.nio.HeapByteBuffer) _r2_o)._flimit;
    if (_r3.i < _r0.i) goto label12;
    label6:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label12:;
    _r0_o = ((global::java.nio.HeapByteBuffer) _r2_o)._fbackingArray;
    _r1.i = ((global::java.nio.HeapByteBuffer) _r2_o)._foffset;
    _r1.i = _r1.i + _r3.i;
    _r0.i = ((global::org.xmlvm._nArrayAdapter<sbyte>) _r0_o)[_r1.i];
    return (sbyte) _r0.i;
//XMLVM_END_WRAPPER[java.nio.HeapByteBuffer: byte get(int)]
}
Beispiel #21
0
public virtual bool find(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.regex.Matcher: boolean find(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    _r3_o = this;
    _r4.i = n1;
    _r0_o = ((global::java.util.regex.Matcher) _r3_o)._fstring;
    _r0.i = ((global::java.lang.CharSequence) _r0_o).length();
    if (_r4.i < 0) goto label10;
    if (_r4.i <= _r0.i) goto label26;
    label10:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    // Value=regex.03
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 120)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 48)), unchecked((char) unchecked((uint) 51))}));
    _r2_o = global::java.lang.Integer.valueOf((int) _r4.i);
    _r1_o = global::[email protected]((global::java.lang.String) _r1_o, (global::java.lang.Object) _r2_o);
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label26:;
    _r0.i = ((global::java.util.regex.Matcher) _r3_o).findAt((int) _r4.i);
    if (_r0.i < 0) goto label47;
    _r0_o = ((global::java.util.regex.Matcher) _r3_o)._fmatchResult;
    _r0.i = ((global::java.util.regex.MatchResultImpl) _r0_o).isValid() ? 1 : 0;
    if (_r0.i == 0) goto label47;
    _r0_o = ((global::java.util.regex.Matcher) _r3_o)._fmatchResult;
    ((global::java.util.regex.MatchResultImpl) _r0_o).finalizeMatch();
    _r0.i = 1;
    label46:;
    return _r0.i!=0;
    label47:;
    _r0_o = ((global::java.util.regex.Matcher) _r3_o)._fmatchResult;
    _r1.i = -1;
    ((global::java.util.regex.MatchResultImpl) _r0_o)._fstartIndex = _r1.i;
    _r0.i = 0;
    goto label46;
//XMLVM_END_WRAPPER[java.util.regex.Matcher: boolean find(int)]
}
Beispiel #22
0
public virtual global::System.Object region(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[java.util.regex.Matcher: java.util.regex.Matcher region(int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::org.xmlvm._nElement _r6;
    _r4_o = this;
    _r5.i = n1;
    _r6.i = n2;
    _r1_o = null;
    if (_r5.i > _r6.i) goto label23;
    if (_r5.i < 0) goto label23;
    if (_r6.i < 0) goto label23;
    _r0_o = ((global::java.util.regex.Matcher) _r4_o)._fstring;
    _r0.i = ((global::java.lang.CharSequence) _r0_o).length();
    if (_r5.i > _r0.i) goto label23;
    _r0_o = ((global::java.util.regex.Matcher) _r4_o)._fstring;
    _r0.i = ((global::java.lang.CharSequence) _r0_o).length();
    if (_r6.i <= _r0.i) goto label43;
    label23:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    // Value=regex.02
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 120)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 48)), unchecked((char) unchecked((uint) 50))}));
    _r2_o = global::java.lang.Integer.toString((int) _r5.i);
    _r3_o = global::java.lang.Integer.toString((int) _r6.i);
    _r1_o = global::[email protected]((global::java.lang.String) _r1_o, (global::java.lang.Object) _r2_o, (global::java.lang.Object) _r3_o);
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this((global::java.lang.String) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label43:;
    ((global::java.util.regex.Matcher) _r4_o)._fleftBound = _r5.i;
    ((global::java.util.regex.Matcher) _r4_o)._frightBound = _r6.i;
    _r0_o = ((global::java.util.regex.Matcher) _r4_o)._fmatchResult;
    ((global::java.util.regex.MatchResultImpl) _r0_o).reset((global::java.lang.CharSequence) _r1_o, (int) _r5.i, (int) _r6.i);
    _r0.i = 0;
    ((global::java.util.regex.Matcher) _r4_o)._fappendPos = _r0.i;
    ((global::java.util.regex.Matcher) _r4_o)._freplacement = (global::java.lang.String) _r1_o;
    return (global::java.util.regex.Matcher) _r4_o;
//XMLVM_END_WRAPPER[java.util.regex.Matcher: java.util.regex.Matcher region(int, int)]
}
public override bool addAll(int n1, global::java.util.Collection n2){
//XMLVM_BEGIN_WRAPPER[java.util.AbstractList$SubAbstractList: boolean addAll(int, java.util.Collection)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r5_o = null;
    _r3_o = this;
    _r4.i = n1;
    _r5_o = n2;
    _r0.i = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._fmodCount;
    _r1_o = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._ffullList;
    _r1.i = ((global::java.util.AbstractList) _r1_o)._fmodCount;
    if (_r0.i != _r1.i) goto label47;
    if (_r4.i < 0) goto label41;
    _r0.i = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._fsize;
    if (_r4.i > _r0.i) goto label41;
    _r0_o = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._ffullList;
    _r1.i = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._foffset;
    _r1.i = _r1.i + _r4.i;
    _r0.i = ((global::java.util.AbstractList) _r0_o).addAll((int) _r1.i, (global::java.util.Collection) _r5_o) ? 1 : 0;
    if (_r0.i == 0) goto label40;
    _r1.i = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._fsize;
    _r2.i = ((global::java.util.Collection) _r5_o).size();
    _r1.i = _r1.i + _r2.i;
    ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._fsize = _r1.i;
    _r1_o = ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._ffullList;
    _r1.i = ((global::java.util.AbstractList) _r1_o)._fmodCount;
    ((global::java.util.AbstractList_2SubAbstractList) _r3_o)._fmodCount = _r1.i;
    label40:;
    return _r0.i!=0;
    label41:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label47:;
    _r0_o = new global::java.util.ConcurrentModificationException();
    ((global::java.util.ConcurrentModificationException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.util.ConcurrentModificationException) _r0_o);
//XMLVM_END_WRAPPER[java.util.AbstractList$SubAbstractList: boolean addAll(int, java.util.Collection)]
}
Beispiel #24
0
public override global::System.Object get(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.LinkedList: java.lang.Object get(int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    _r3_o = this;
    _r4.i = n1;
    if (_r4.i < 0) goto label43;
    _r0.i = ((global::java.util.LinkedList) _r3_o)._fsize;
    if (_r4.i >= _r0.i) goto label43;
    _r0_o = ((global::java.util.LinkedList) _r3_o)._fvoidLink;
    _r1.i = ((global::java.util.LinkedList) _r3_o)._fsize;
    _r1.i = _r1.i / 2;
    if (_r4.i >= _r1.i) goto label29;
    _r1.i = 0;
    _r2.i = _r1.i;
    _r1_o = _r0_o;
    _r0.i = _r2.i;
    label18:;
    if (_r0.i <= _r4.i) goto label24;
    _r0_o = _r1_o;
    label21:;
    _r0_o = ((global::java.util.LinkedList_2Link) _r0_o)._fdata;
    return (global::java.lang.Object) _r0_o;
    label24:;
    _r1_o = ((global::java.util.LinkedList_2Link) _r1_o)._fnext;
    _r0.i = _r0.i + 1;
    goto label18;
    label29:;
    _r1.i = ((global::java.util.LinkedList) _r3_o)._fsize;
    _r2.i = _r1.i;
    _r1_o = _r0_o;
    _r0.i = _r2.i;
    label34:;
    if (_r0.i > _r4.i) goto label38;
    _r0_o = _r1_o;
    goto label21;
    label38:;
    _r1_o = ((global::java.util.LinkedList_2Link) _r1_o)._fprevious;
    _r0.i = _r0.i + -1;
    goto label34;
    label43:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
//XMLVM_END_WRAPPER[java.util.LinkedList: java.lang.Object get(int)]
}
public override void write(global::java.lang.String n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[java.io.OutputStreamWriter: void write(java.lang.String, int, int)]
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::org.xmlvm._nElement _r5;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r2_o = this;
    _r3_o = n1;
    _r4.i = n2;
    _r5.i = n3;
    _r0_o = ((global::java.io.OutputStreamWriter) _r2_o)._flock;
    global::System.Threading.Monitor.Enter(_r0_o);
    if (_r5.i >= 0) goto label14;
    try {
    _r1_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r1_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r1_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label11;
        }
        throw ex;
    } // end catch
    label11:;
    try {
    _r1_o = _ex.getJavaException();
    _ex = null;
    global::System.Threading.Monitor.Exit(_r0_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label11;
        }
        throw ex;
    } // end catch
    throw new global::org.xmlvm._nExceptionAdapter((global::System.Object) _r1_o);
    label14:;
    try {
    _r1.i = ((global::java.lang.String) _r3_o).length();
    _r1.i = _r1.i - _r5.i;
    if (_r4.i > _r1.i) goto label23;
    if (_r4.i >= 0) goto label29;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label11;
        }
        throw ex;
    } // end catch
    label23:;
    try {
    _r1_o = new global::java.lang.StringIndexOutOfBoundsException();
    ((global::java.lang.StringIndexOutOfBoundsException) _r1_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.StringIndexOutOfBoundsException) _r1_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label11;
        }
        throw ex;
    } // end catch
    label29:;
    try {
    ((global::java.io.OutputStreamWriter) _r2_o).checkStatus();
    _r1.i = _r5.i + _r4.i;
    _r1_o = global::java.nio.CharBuffer.wrap((global::java.lang.CharSequence) _r3_o, (int) _r4.i, (int) _r1.i);
    ((global::java.io.OutputStreamWriter) _r2_o).convert((global::java.nio.CharBuffer) _r1_o);
    global::System.Threading.Monitor.Exit(_r0_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label11;
        }
        throw ex;
    } // end catch
    return;
//XMLVM_END_WRAPPER[java.io.OutputStreamWriter: void write(java.lang.String, int, int)]
}
public override global::System.Object putShort(int n1, short n2){
//XMLVM_BEGIN_WRAPPER[java.nio.ReadWriteHeapByteBuffer: java.nio.ByteBuffer putShort(int, short)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::org.xmlvm._nElement _r6;
    _r4_o = this;
    _r5.i = n1;
    _r6.i = n2;
    if (_r5.i < 0) goto label13;
    _r0.l = (long) _r5.i;
    _r2.l = 2L;
    _r0.l = _r0.l + _r2.l;
    _r2.i = ((global::java.nio.ReadWriteHeapByteBuffer) _r4_o)._flimit;
    _r2.l = (long) _r2.i;
    _r0.i = _r0.l > _r2.l ? 1 : (_r0.l == _r2.l ? 0 : -1);
    if (_r0.i <= 0) goto label19;
    label13:;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    label19:;
    ((global::java.nio.ReadWriteHeapByteBuffer) _r4_o).store((int) _r5.i, (short) _r6.i);
    return (global::java.nio.ByteBuffer) _r4_o;
//XMLVM_END_WRAPPER[java.nio.ReadWriteHeapByteBuffer: java.nio.ByteBuffer putShort(int, short)]
}
public override global::System.Object get(int n1){
//XMLVM_BEGIN_WRAPPER[java.util.Arrays$ArrayList: java.lang.Object get(int)]
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r1_o = this;
    _r2.i = n1;
    try {
    _r0_o = ((global::java.util.Arrays_2ArrayList) _r1_o)._fa;
    _r0_o = ((global::org.xmlvm._nArrayAdapter<global::System.Object>) _r0_o)[_r2.i];
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.ArrayIndexOutOfBoundsException) {
            _ex = ex;
            goto label5;
        }
        throw ex;
    } // end catch
    return (global::java.lang.Object) _r0_o;
    label5:;
    _r0_o = _ex.getJavaException();
    _ex = null;
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
//XMLVM_END_WRAPPER[java.util.Arrays$ArrayList: java.lang.Object get(int)]
}
public override int read(global::org.xmlvm._nArrayAdapter<sbyte> n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[com.codename1.io.BufferedInputStream: int read(byte[], int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r8_o = this;
    _r9_o = n1;
    _r10.i = n2;
    _r11.i = n3;
    _r7.i = -1;
    global::System.Threading.Monitor.Enter(_r8_o);
    try {
    _r4.i = ((global::com.codename1.io.BufferedInputStream) _r8_o)._fstopped ? 1 : 0;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label91;
        }
        throw ex;
    } // end catch
    if (_r4.i == 0) goto label9;
    _r4.i = _r7.i;
    label7:;
    global::System.Threading.Monitor.Exit(_r8_o);
    return _r4.i;
    label9:;
    try {
    _r4.i = ((global::com.codename1.io.BufferedInputStream) _r8_o)._fyield;
    if (_r4.i <= _r7.i) goto label26;
    _r4_o = global::com.codename1.ui.Display.getInstance();
    _r4.i = ((global::com.codename1.ui.Display) _r4_o).isEdt() ? 1 : 0;
    if (_r4.i != 0) goto label26;
    ((global::com.codename1.io.BufferedInputStream) _r8_o).yieldTime();
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label91;
        }
        throw ex;
    } // end catch
    label26:;
    try {
    _r4.l = global::java.lang.System.currentTimeMillis();
    ((global::com.codename1.io.BufferedInputStream) _r8_o)._flastActivityTime = _r4.l;
    _r4.i = ((global::com.codename1.io.BufferedInputStream) _r8_o)._fdisableBuffering ? 1 : 0;
    if (_r4.i == 0) goto label70;
    _r4_o = ((global::com.codename1.io.BufferedInputStream) _r8_o).getInIfOpen();
    _r3.i = ((global::java.io.InputStream) _r4_o).read((global::org.xmlvm._nArrayAdapter<sbyte>) _r9_o, (int) _r10.i, (int) _r11.i);
    if (_r3.i <= _r7.i) goto label68;
    _r4.i = ((global::com.codename1.io.BufferedInputStream) _r8_o)._fprintInput ? 1 : 0;
    if (_r4.i == 0) goto label60;
    _r4_o = global::java.lang.System._fout;
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String) _r5_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r9_o, (int) _r10.i, (int) _r3.i);
    ((global::java.io.PrintStream) _r4_o).print((global::java.lang.String) _r5_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label91;
        }
        throw ex;
    } // end catch
    label60:;
    try {
    _r4.i = ((global::com.codename1.io.BufferedInputStream) _r8_o)._ftotalBytesRead;
    _r4.i = _r4.i + _r3.i;
    ((global::com.codename1.io.BufferedInputStream) _r8_o)._ftotalBytesRead = _r4.i;
    ((global::com.codename1.io.BufferedInputStream) _r8_o).fireProgress();
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label91;
        }
        throw ex;
    } // end catch
    label68:;
    try {
    _r4.i = _r3.i;
    goto label7;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label91;
        }
        throw ex;
    } // end catch
    label70:;
    try {
    ((global::com.codename1.io.BufferedInputStream) _r8_o).getBufIfOpen();
    _r4.i = _r10.i | _r11.i;
    _r5.i = _r10.i + _r11.i;
    _r4.i = _r4.i | _r5.i;
    _r5.i = ((global::org.xmlvm._nIArray) _r9_o).Length;
    _r6.i = _r10.i + _r11.i;
    _r5.i = _r5.i - _r6.i;
    _r4.i = _r4.i | _r5.i;
    if (_r4.i >= 0) goto label94;
    _r4_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r4_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r4_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label91;
        }
        throw ex;
    } // end catch
    label91:;
    _r4_o = _ex.getJavaException();
    _ex = null;
    global::System.Threading.Monitor.Exit(_r8_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.Throwable) _r4_o);
    label94:;
    if (_r11.i != 0) goto label98;
    _r4.i = 0;
    goto label7;
    label98:;
    _r1.i = 0;
    label99:;
    try {
    _r4.i = ((global::com.codename1.io.BufferedInputStream) _r8_o)._fstopped ? 1 : 0;
    if (_r4.i == 0) goto label105;
    _r4.i = _r7.i;
    goto label7;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label91;
        }
        throw ex;
    } // end catch
    label105:;
    try {
    _r4.l = global::java.lang.System.currentTimeMillis();
    ((global::com.codename1.io.BufferedInputStream) _r8_o)._flastActivityTime = _r4.l;
    _r4.i = _r10.i + _r1.i;
    _r5.i = _r11.i - _r1.i;
    _r2.i = ((global::com.codename1.io.BufferedInputStream) _r8_o).read1((global::org.xmlvm._nArrayAdapter<sbyte>) _r9_o, (int) _r4.i, (int) _r5.i);
    if (_r2.i > 0) goto label143;
    if (_r1.i != 0) goto label124;
    _r1.i = _r2.i;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label91;
        }
        throw ex;
    } // end catch
    label124:;
    try {
    if (_r1.i <= 0) goto label134;
    _r4.i = ((global::com.codename1.io.BufferedInputStream) _r8_o)._ftotalBytesRead;
    _r4.i = _r4.i + _r1.i;
    ((global::com.codename1.io.BufferedInputStream) _r8_o)._ftotalBytesRead = _r4.i;
    ((global::com.codename1.io.BufferedInputStream) _r8_o).fireProgress();
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label91;
        }
        throw ex;
    } // end catch
    label134:;
    try {
    _r4.l = global::java.lang.System.currentTimeMillis();
    ((global::com.codename1.io.BufferedInputStream) _r8_o)._flastActivityTime = _r4.l;
    _r4.i = _r1.i;
    goto label7;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label91;
        }
        throw ex;
    } // end catch
    label143:;
    try {
    _r1.i = _r1.i + _r2.i;
    if (_r1.i >= _r11.i) goto label124;
    _r0_o = ((global::com.codename1.io.BufferedInputStream) _r8_o)._fin;
    if (_r0_o == null) goto label156;
    _r4.i = ((global::com.codename1.io.BufferedInputStream) _r8_o).superAvailable();
    if (_r4.i <= 0) goto label124;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label91;
        }
        throw ex;
    } // end catch
    label156:;
    try {
    _r4.i = ((global::com.codename1.io.BufferedInputStream) _r8_o)._fyield;
    if (_r4.i <= _r7.i) goto label99;
    _r4_o = global::com.codename1.ui.Display.getInstance();
    _r4.i = ((global::com.codename1.ui.Display) _r4_o).isEdt() ? 1 : 0;
    if (_r4.i != 0) goto label99;
    ((global::com.codename1.io.BufferedInputStream) _r8_o).yieldTime();
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label91;
        }
        throw ex;
    } // end catch
    goto label99;
//XMLVM_END_WRAPPER[com.codename1.io.BufferedInputStream: int read(byte[], int, int)]
}
public override int read(global::org.xmlvm._nArrayAdapter<sbyte> n1, int n2, int n3){
//XMLVM_BEGIN_WRAPPER[java.io.ByteArrayInputStream: int read(byte[], int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r3_o = null;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::org.xmlvm._nElement _r6;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r3_o = this;
    _r4_o = n1;
    _r5.i = n2;
    _r6.i = n3;
    global::System.Threading.Monitor.Enter(_r3_o);
    if (_r4_o != null) goto label12;
    try {
    _r0_o = new global::java.lang.NullPointerException();
    ((global::java.lang.NullPointerException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.NullPointerException) _r0_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label9;
        }
        throw ex;
    } // end catch
    label9:;
    _r0_o = _ex.getJavaException();
    _ex = null;
    global::System.Threading.Monitor.Exit(_r3_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.Throwable) _r0_o);
    label12:;
    if (_r5.i < 0) goto label23;
    try {
    _r0.i = ((global::org.xmlvm._nIArray) _r4_o).Length;
    if (_r5.i > _r0.i) goto label23;
    if (_r6.i < 0) goto label23;
    _r0.i = ((global::org.xmlvm._nIArray) _r4_o).Length;
    _r0.i = _r0.i - _r5.i;
    if (_r6.i <= _r0.i) goto label29;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label9;
        }
        throw ex;
    } // end catch
    label23:;
    try {
    _r0_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r0_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r0_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label9;
        }
        throw ex;
    } // end catch
    label29:;
    try {
    _r0.i = ((global::java.io.ByteArrayInputStream) _r3_o)._fpos;
    _r1.i = ((global::java.io.ByteArrayInputStream) _r3_o)._fcount;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label9;
        }
        throw ex;
    } // end catch
    if (_r0.i < _r1.i) goto label38;
    _r0.i = -1;
    label36:;
    global::System.Threading.Monitor.Exit(_r3_o);
    return _r0.i;
    label38:;
    if (_r6.i != 0) goto label42;
    _r0.i = 0;
    goto label36;
    label42:;
    try {
    _r0.i = ((global::java.io.ByteArrayInputStream) _r3_o)._fcount;
    _r1.i = ((global::java.io.ByteArrayInputStream) _r3_o)._fpos;
    _r0.i = _r0.i - _r1.i;
    if (_r0.i >= _r6.i) goto label67;
    _r0.i = ((global::java.io.ByteArrayInputStream) _r3_o)._fcount;
    _r1.i = ((global::java.io.ByteArrayInputStream) _r3_o)._fpos;
    _r0.i = _r0.i - _r1.i;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label9;
        }
        throw ex;
    } // end catch
    label54:;
    try {
    _r1_o = ((global::java.io.ByteArrayInputStream) _r3_o)._fbuf;
    _r2.i = ((global::java.io.ByteArrayInputStream) _r3_o)._fpos;
    global::java.lang.System.arraycopy((global::java.lang.Object) _r1_o, (int) _r2.i, (global::java.lang.Object) _r4_o, (int) _r5.i, (int) _r0.i);
    _r1.i = ((global::java.io.ByteArrayInputStream) _r3_o)._fpos;
    _r1.i = _r1.i + _r0.i;
    ((global::java.io.ByteArrayInputStream) _r3_o)._fpos = _r1.i;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.Object) {
            _ex = ex;
            goto label9;
        }
        throw ex;
    } // end catch
    goto label36;
    label67:;
    _r0.i = _r6.i;
    goto label54;
//XMLVM_END_WRAPPER[java.io.ByteArrayInputStream: int read(byte[], int, int)]
}
Beispiel #30
0
public static void readFully(global::java.io.InputStream n1, global::org.xmlvm._nArrayAdapter<sbyte> n2, int n3, int n4){
//XMLVM_BEGIN_WRAPPER[com.codename1.io.Util: void readFully(java.io.InputStream, byte[], int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r4_o = n1;
    _r5_o = n2;
    _r6.i = n3;
    _r7.i = n4;
    if (_r7.i >= 0) goto label8;
    _r2_o = new global::java.lang.IndexOutOfBoundsException();
    ((global::java.lang.IndexOutOfBoundsException) _r2_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IndexOutOfBoundsException) _r2_o);
    label8:;
    _r1.i = 0;
    label9:;
    if (_r1.i >= _r7.i) goto label29;
    _r2.i = _r6.i + _r1.i;
    _r3.i = _r7.i - _r1.i;
    _r0.i = ((global::java.io.InputStream) _r4_o).read((global::org.xmlvm._nArrayAdapter<sbyte>) _r5_o, (int) _r2.i, (int) _r3.i);
    if (_r0.i >= 0) goto label27;
    _r2_o = new global::java.io.EOFException();
    ((global::java.io.EOFException) _r2_o).@this();
    throw new global::org.xmlvm._nExceptionAdapter((global::java.io.EOFException) _r2_o);
    label27:;
    _r1.i = _r1.i + _r0.i;
    goto label9;
    label29:;
    return;
//XMLVM_END_WRAPPER[com.codename1.io.Util: void readFully(java.io.InputStream, byte[], int, int)]
}