public override double get(){ //XMLVM_BEGIN_WRAPPER[java.nio.DoubleArrayBuffer: double get()] 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 _r4_o = null; _r4_o = this; _r0.i = ((global::java.nio.DoubleArrayBuffer) _r4_o)._fposition; _r1.i = ((global::java.nio.DoubleArrayBuffer) _r4_o)._flimit; if (_r0.i != _r1.i) goto label12; _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); label12:; _r0_o = ((global::java.nio.DoubleArrayBuffer) _r4_o)._fbackingArray; _r1.i = ((global::java.nio.DoubleArrayBuffer) _r4_o)._foffset; _r2.i = ((global::java.nio.DoubleArrayBuffer) _r4_o)._fposition; _r3.i = _r2.i + 1; ((global::java.nio.DoubleArrayBuffer) _r4_o)._fposition = _r3.i; _r1.i = _r1.i + _r2.i; _r0.d = ((global::org.xmlvm._nArrayAdapter<double>) _r0_o)[_r1.i]; return _r0.d; //XMLVM_END_WRAPPER[java.nio.DoubleArrayBuffer: double get()] }
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)] }
public virtual global::System.Object get(global::org.xmlvm._nArrayAdapter<sbyte> n1, int n2, int n3){ //XMLVM_BEGIN_WRAPPER[java.nio.ByteBuffer: 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 _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.BufferUnderflowException(); ((global::java.nio.BufferUnderflowException) _r0_o).@this(); throw new global::org.xmlvm._nExceptionAdapter((global::java.nio.BufferUnderflowException) _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::java.nio.ByteBuffer) _r5_o).get(); ((global::org.xmlvm._nArrayAdapter<sbyte>) _r6_o)[_r0.i] = (sbyte)_r1.i; _r0.i = _r0.i + 1; goto label32; //XMLVM_END_WRAPPER[java.nio.ByteBuffer: java.nio.ByteBuffer get(byte[], int, int)] }
public override global::System.Object get(global::org.xmlvm._nArrayAdapter<sbyte> n1, int n2, int n3){ //XMLVM_BEGIN_WRAPPER[java.nio.HeapByteBuffer: 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.HeapByteBuffer) _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.HeapByteBuffer) _r5_o)._fbackingArray; _r1.i = ((global::java.nio.HeapByteBuffer) _r5_o)._foffset; _r2.i = ((global::java.nio.HeapByteBuffer) _r5_o)._fposition; _r1.i = _r1.i + _r2.i; global::java.lang.System.arraycopy((global::java.lang.Object) _r0_o, (int) _r1.i, (global::java.lang.Object) _r6_o, (int) _r7.i, (int) _r8.i); _r0.i = ((global::java.nio.HeapByteBuffer) _r5_o)._fposition; _r0.i = _r0.i + _r8.i; ((global::java.nio.HeapByteBuffer) _r5_o)._fposition = _r0.i; return (global::java.nio.ByteBuffer) _r5_o; //XMLVM_END_WRAPPER[java.nio.HeapByteBuffer: java.nio.ByteBuffer get(byte[], int, int)] }
public override short getShort(){ //XMLVM_BEGIN_WRAPPER[java.nio.HeapByteBuffer: short getShort()] global::org.xmlvm._nElement _r0; global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r2_o = null; _r2_o = this; _r0.i = ((global::java.nio.HeapByteBuffer) _r2_o)._fposition; _r0.i = _r0.i + 2; _r1.i = ((global::java.nio.HeapByteBuffer) _r2_o)._flimit; if (_r0.i <= _r1.i) goto label14; _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); label14:; _r1.i = ((global::java.nio.HeapByteBuffer) _r2_o)._fposition; _r1.i = ((global::java.nio.HeapByteBuffer) _r2_o).loadShort((int) _r1.i); ((global::java.nio.HeapByteBuffer) _r2_o)._fposition = _r0.i; return (short) _r1.i; //XMLVM_END_WRAPPER[java.nio.HeapByteBuffer: short getShort()] }
public override long get(){ //XMLVM_BEGIN_WRAPPER[java.nio.LongToByteBufferAdapter: long get()] global::org.xmlvm._nElement _r0; global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::org.xmlvm._nElement _r2; global::System.Object _r3_o = null; _r3_o = this; _r0.i = ((global::java.nio.LongToByteBufferAdapter) _r3_o)._fposition; _r1.i = ((global::java.nio.LongToByteBufferAdapter) _r3_o)._flimit; if (_r0.i != _r1.i) goto label12; _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); label12:; _r0_o = ((global::java.nio.LongToByteBufferAdapter) _r3_o)._fbyteBuffer; _r1.i = ((global::java.nio.LongToByteBufferAdapter) _r3_o)._fposition; _r2.i = _r1.i + 1; ((global::java.nio.LongToByteBufferAdapter) _r3_o)._fposition = _r2.i; _r1.i = _r1.i << (0x1f & 3); _r0.l = ((global::java.nio.ByteBuffer) _r0_o).getLong((int) _r1.i); return _r0.l; //XMLVM_END_WRAPPER[java.nio.LongToByteBufferAdapter: long get()] }
public virtual void throwException(){ //XMLVM_BEGIN_WRAPPER[java.nio.charset.CoderResult: void throwException()] global::org.xmlvm._nElement _r0; global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r2_o = null; _r2_o = this; _r0.i = ((global::java.nio.charset.CoderResult) _r2_o)._ftype; switch (_r0.i) { case 1: goto label11; case 2: goto label17; case 3: goto label31; case 4: goto label23; } _r0_o = new global::java.nio.charset.CharacterCodingException(); ((global::java.nio.charset.CharacterCodingException) _r0_o).@this(); throw new global::org.xmlvm._nExceptionAdapter((global::java.nio.charset.CharacterCodingException) _r0_o); label11:; _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); label17:; _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); label23:; _r0_o = new global::java.nio.charset.UnmappableCharacterException(); _r1.i = ((global::java.nio.charset.CoderResult) _r2_o)._flength; ((global::java.nio.charset.UnmappableCharacterException) _r0_o).@this((int) _r1.i); throw new global::org.xmlvm._nExceptionAdapter((global::java.nio.charset.UnmappableCharacterException) _r0_o); label31:; _r0_o = new global::java.nio.charset.MalformedInputException(); _r1.i = ((global::java.nio.charset.CoderResult) _r2_o)._flength; ((global::java.nio.charset.MalformedInputException) _r0_o).@this((int) _r1.i); throw new global::org.xmlvm._nExceptionAdapter((global::java.nio.charset.MalformedInputException) _r0_o); //XMLVM_END_WRAPPER[java.nio.charset.CoderResult: void throwException()] }
public override sbyte get(){ //XMLVM_BEGIN_WRAPPER[java.nio.DirectByteBuffer: byte get()] 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 _r4_o = null; _r4_o = this; _r0.i = ((global::java.nio.DirectByteBuffer) _r4_o)._fposition; _r1.i = ((global::java.nio.DirectByteBuffer) _r4_o)._flimit; if (_r0.i != _r1.i) goto label12; _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); label12:; _r0_o = ((global::java.nio.DirectByteBuffer) _r4_o).getBaseAddress(); _r1.i = ((global::java.nio.DirectByteBuffer) _r4_o)._foffset; _r2.i = ((global::java.nio.DirectByteBuffer) _r4_o)._fposition; _r3.i = _r2.i + 1; ((global::java.nio.DirectByteBuffer) _r4_o)._fposition = _r3.i; _r1.i = _r1.i + _r2.i; // Red class access removed: org.apache.harmony.luni.platform.PlatformAddress getByte throw new global::org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.luni.platform.PlatformAddress getByte"); return (sbyte) _r0.i; //XMLVM_END_WRAPPER[java.nio.DirectByteBuffer: byte get()] }