public class org.glassfish.grizzly.http.util.BufferChunk extends java.lang.Object implements org.glassfish.grizzly.http.util.Chunk
{
private static final java.nio.charset.Charset DEFAULT_CHARSET;
private org.glassfish.grizzly.Buffer buffer;
private int start;
private int end;
private int limit;
java.lang.String cachedString;
java.nio.charset.Charset cachedStringCharset;
public void <init>()
{
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public void setBufferChunk(org.glassfish.grizzly.Buffer, int, int)
{
int v, v;
org.glassfish.grizzly.Buffer v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: org.glassfish.grizzly.Buffer;
v := @parameter: int;
v := @parameter: int;
virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: void setBufferChunk(org.glassfish.grizzly.Buffer,int,int,int)>(v, v, v, v);
return;
}
public void setBufferChunk(org.glassfish.grizzly.Buffer, int, int, int)
{
int v, v, v;
org.glassfish.grizzly.Buffer v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: org.glassfish.grizzly.Buffer;
v := @parameter: int;
v := @parameter: int;
v := @parameter: int;
v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer> = v;
v.<org.glassfish.grizzly.http.util.BufferChunk: int start> = v;
v.<org.glassfish.grizzly.http.util.BufferChunk: int end> = v;
v.<org.glassfish.grizzly.http.util.BufferChunk: int limit> = v;
virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: void resetStringCache()>();
return;
}
public org.glassfish.grizzly.Buffer getBuffer()
{
org.glassfish.grizzly.Buffer v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
return v;
}
public void setBuffer(org.glassfish.grizzly.Buffer)
{
org.glassfish.grizzly.Buffer v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: org.glassfish.grizzly.Buffer;
v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer> = v;
virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: void resetStringCache()>();
return;
}
public int getStart()
{
int v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
return v;
}
public void setStart(int)
{
int v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: int;
v.<org.glassfish.grizzly.http.util.BufferChunk: int start> = v;
virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: void resetStringCache()>();
return;
}
public int getEnd()
{
int v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
return v;
}
public void setEnd(int)
{
int v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: int;
v.<org.glassfish.grizzly.http.util.BufferChunk: int end> = v;
virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: void resetStringCache()>();
return;
}
public final int getLength()
{
int v, v, v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v - v;
return v;
}
public final boolean isNull()
{
org.glassfish.grizzly.Buffer v;
boolean v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
if v != null goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
public void allocate(int)
{
byte[] v;
org.glassfish.grizzly.Buffer v;
int v, v, v, v, v;
boolean v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: int;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: boolean isNull()>();
if v != 0 goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int limit>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v - v;
if v >= v goto label;
label:
v = newarray (byte)[v];
v = staticinvoke <org.glassfish.grizzly.memory.Buffers: org.glassfish.grizzly.Buffer wrap(org.glassfish.grizzly.memory.MemoryManager,byte[])>(null, v);
virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: void setBufferChunk(org.glassfish.grizzly.Buffer,int,int,int)>(v, 0, 0, v);
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v.<org.glassfish.grizzly.http.util.BufferChunk: int end> = v;
return;
}
public void delete(int, int)
{
java.lang.Throwable v;
int v, v, v, v, v, v, v, v, v, v, v, v;
org.glassfish.grizzly.Buffer v, v, v, v, v, v, v, v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: int;
v := @parameter: int;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v + v;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v + v;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
v = v - v;
if v != 0 goto label;
v.<org.glassfish.grizzly.http.util.BufferChunk: int end> = v;
goto label;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int position()>();
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int limit()>();
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v + v;
staticinvoke <org.glassfish.grizzly.memory.Buffers: void setPositionLimit(org.glassfish.grizzly.Buffer,int,int)>(v, v, v);
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: org.glassfish.grizzly.Buffer duplicate()>();
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
interfaceinvoke v.<org.glassfish.grizzly.Buffer: org.glassfish.grizzly.Buffer put(org.glassfish.grizzly.Buffer,int,int)>(v, v, v);
v = v + v;
v.<org.glassfish.grizzly.http.util.BufferChunk: int end> = v;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
staticinvoke <org.glassfish.grizzly.memory.Buffers: void setPositionLimit(org.glassfish.grizzly.Buffer,int,int)>(v, v, v);
goto label;
label:
v := @caughtexception;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
staticinvoke <org.glassfish.grizzly.memory.Buffers: void setPositionLimit(org.glassfish.grizzly.Buffer,int,int)>(v, v, v);
throw v;
label:
virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: void resetStringCache()>();
return;
catch java.lang.Throwable from label to label with label;
}
public void append(org.glassfish.grizzly.http.util.BufferChunk)
{
int v, v, v, v, v, v, v, v, v;
org.glassfish.grizzly.Buffer v, v, v, v, v, v;
org.glassfish.grizzly.http.util.BufferChunk v, v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: org.glassfish.grizzly.http.util.BufferChunk;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int position()>();
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: int limit()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
v = v + v;
staticinvoke <org.glassfish.grizzly.memory.Buffers: void setPositionLimit(org.glassfish.grizzly.Buffer,int,int)>(v, v, v);
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer getBuffer()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getStart()>();
interfaceinvoke v.<org.glassfish.grizzly.Buffer: org.glassfish.grizzly.Buffer put(org.glassfish.grizzly.Buffer,int,int)>(v, v, v);
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
staticinvoke <org.glassfish.grizzly.memory.Buffers: void setPositionLimit(org.glassfish.grizzly.Buffer,int,int)>(v, v, v);
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
v = v + v;
v.<org.glassfish.grizzly.http.util.BufferChunk: int end> = v;
return;
}
public final int indexOf(char, int)
{
org.glassfish.grizzly.Buffer v;
char v;
int v, v, v, v, v, v, v, v, v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: char;
v := @parameter: int;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v + v;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
v = staticinvoke <org.glassfish.grizzly.http.util.BufferChunk: int indexOf(org.glassfish.grizzly.Buffer,int,int,char)>(v, v, v, v);
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
if v < v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v - v;
goto label;
label:
v = (int) -1;
v = v;
label:
return v;
}
public final int indexOf(java.lang.String, int)
{
org.glassfish.grizzly.Buffer v;
int v, v, v, v, v, v, v, v, v;
java.lang.String v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: java.lang.String;
v := @parameter: int;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v + v;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
v = staticinvoke <org.glassfish.grizzly.http.util.BufferChunk: int indexOf(org.glassfish.grizzly.Buffer,int,int,java.lang.CharSequence)>(v, v, v, v);
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
if v < v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v - v;
goto label;
label:
v = (int) -1;
v = v;
label:
return v;
}
boolean startsWith(java.lang.String, int)
{
org.glassfish.grizzly.Buffer v;
char v;
byte v;
int v, v, v, v, v, v, v, v;
java.lang.String v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: java.lang.String;
v := @parameter: int;
v = virtualinvoke v.<java.lang.String: int length()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
v = v - v;
if v <= v goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v + v;
v = 0;
label:
if v >= v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v;
v = v + 1;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = virtualinvoke v.<java.lang.String: char charAt(int)>(v);
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public boolean startsWithIgnoreCase(java.lang.String, int)
{
org.glassfish.grizzly.Buffer v;
char v;
byte v;
int v, v, v, v, v, v, v, v, v, v;
java.lang.String v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: java.lang.String;
v := @parameter: int;
v = virtualinvoke v.<java.lang.String: int length()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
v = v - v;
if v <= v goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v + v;
v = 0;
label:
if v >= v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v;
v = v + 1;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
v = virtualinvoke v.<java.lang.String: char charAt(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public int findBytesAscii(byte[])
{
byte[] v;
byte v, v, v, v;
int v, v, v, v, v, v, v, v, v, v, v, v, v;
org.glassfish.grizzly.Buffer v, v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: byte[];
v = v[0];
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getStart()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getEnd()>();
v = lengthof v;
v = v;
label:
v = v - v;
if v > v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
if v != v goto label;
v = v + 1;
v = 1;
label:
if v >= v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v;
v = v + 1;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
v = v;
v = v + 1;
v = v[v];
if v != v goto label;
if v != v goto label;
v = v - v;
return v;
label:
v = v + 1;
goto label;
label:
v = (int) -1;
return v;
}
public int hashCode()
{
int v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int hash()>();
return v;
}
public int hash()
{
byte v;
int v, v, v, v;
org.glassfish.grizzly.Buffer v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v = 0;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
if v >= v goto label;
v = v * 31;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = v + v;
v = v + 1;
goto label;
label:
return v;
}
public boolean equals(java.lang.Object)
{
org.glassfish.grizzly.Buffer v, v;
byte v, v;
int v, v, v, v, v, v, v;
java.lang.Object v;
boolean v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: java.lang.Object;
v = v instanceof org.glassfish.grizzly.http.util.BufferChunk;
if v != 0 goto label;
return 0;
label:
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
if v == v goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = 0;
label:
if v >= v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v;
v = v + 1;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v;
v = v + 1;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public boolean equals(java.lang.CharSequence)
{
java.lang.CharSequence v;
org.glassfish.grizzly.Buffer v;
char v;
byte v;
int v, v, v, v, v, v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: java.lang.CharSequence;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
v = interfaceinvoke v.<java.lang.CharSequence: int length()>();
if v == v goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
if v >= v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v - v;
v = interfaceinvoke v.<java.lang.CharSequence: char charAt(int)>(v);
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public boolean equals(byte[])
{
byte[] v;
int v;
boolean v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: byte[];
v = lengthof v;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: boolean equals(byte[],int,int)>(v, 0, v);
return v;
}
public boolean equals(byte[], int, int)
{
byte[] v;
org.glassfish.grizzly.Buffer v;
byte v, v;
int v, v, v, v, v, v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: int;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
if v == v goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
if v >= v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = v;
v = v + 1;
v = v[v];
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public static boolean equals(byte[], int, int, org.glassfish.grizzly.Buffer, int, int)
{
byte[] v;
org.glassfish.grizzly.Buffer v;
byte v, v;
int v, v, v, v, v, v, v;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: int;
v := @parameter: org.glassfish.grizzly.Buffer;
v := @parameter: int;
v := @parameter: int;
if v == v goto label;
return 0;
label:
if v == null goto label;
if v != null goto label;
label:
return 0;
label:
v = 0;
label:
if v >= v goto label;
v = v + v;
v = v[v];
v = v + v;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public boolean equals(char[], int, int)
{
org.glassfish.grizzly.Buffer v;
char v;
byte v;
int v, v, v, v, v, v;
char[] v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: char[];
v := @parameter: int;
v := @parameter: int;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
if v == v goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
if v >= v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = v;
v = v + 1;
v = v[v];
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public boolean equalsIgnoreCase(java.lang.Object)
{
byte v, v;
int v, v, v, v, v, v, v, v, v;
boolean v;
org.glassfish.grizzly.Buffer v, v;
java.lang.Object v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: java.lang.Object;
v = v instanceof org.glassfish.grizzly.http.util.BufferChunk;
if v != 0 goto label;
return 0;
label:
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
if v == v goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = 0;
label:
if v >= v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v;
v = v + 1;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v;
v = v + 1;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public boolean equalsIgnoreCase(java.lang.CharSequence)
{
java.lang.CharSequence v;
org.glassfish.grizzly.Buffer v;
char v;
byte v;
int v, v, v, v, v, v, v, v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: java.lang.CharSequence;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
v = interfaceinvoke v.<java.lang.CharSequence: int length()>();
if v == v goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
if v >= v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v - v;
v = interfaceinvoke v.<java.lang.CharSequence: char charAt(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public boolean equalsIgnoreCase(byte[])
{
byte[] v;
int v;
boolean v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: byte[];
v = lengthof v;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: boolean equalsIgnoreCase(byte[],int,int)>(v, 0, v);
return v;
}
public boolean equalsIgnoreCase(byte[], int, int)
{
byte[] v;
org.glassfish.grizzly.Buffer v;
byte v, v;
int v, v, v, v, v, v, v, v, v, v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: byte[];
v := @parameter: int;
v := @parameter: int;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
if v == v goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v;
v = 0;
label:
if v >= v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v;
v = v + 1;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
v = v;
v = v + 1;
v = v[v];
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public boolean equalsIgnoreCase(char[], int, int)
{
org.glassfish.grizzly.Buffer v;
char v;
byte v;
int v, v, v, v, v, v, v, v;
char[] v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: char[];
v := @parameter: int;
v := @parameter: int;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: int getLength()>();
if v == v goto label;
return 0;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
if v >= v goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
v = v;
v = v + 1;
v = v[v];
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public boolean equalsIgnoreCaseLowerCase(byte[])
{
byte[] v;
int v, v;
org.glassfish.grizzly.Buffer v;
boolean v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: byte[];
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
v = staticinvoke <org.glassfish.grizzly.http.util.BufferChunk: boolean equalsIgnoreCaseLowerCase(org.glassfish.grizzly.Buffer,int,int,byte[])>(v, v, v, v);
return v;
}
public java.lang.String toString()
{
java.lang.String v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v = virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: java.lang.String toString(java.nio.charset.Charset)>(null);
return v;
}
public java.lang.String toString(java.nio.charset.Charset)
{
org.glassfish.grizzly.Buffer v;
java.nio.charset.Charset v, v;
int v, v;
java.lang.String v, v, v, v;
boolean v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: java.nio.charset.Charset;
if v != null goto label;
v = <org.glassfish.grizzly.http.util.BufferChunk: java.nio.charset.Charset DEFAULT_CHARSET>;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: java.lang.String cachedString>;
if v == null goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: java.nio.charset.Charset cachedStringCharset>;
v = virtualinvoke v.<java.nio.charset.Charset: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: java.lang.String cachedString>;
return v;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int end>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: java.lang.String toStringContent(java.nio.charset.Charset,int,int)>(v, v, v);
v.<org.glassfish.grizzly.http.util.BufferChunk: java.lang.String cachedString> = v;
v.<org.glassfish.grizzly.http.util.BufferChunk: java.nio.charset.Charset cachedStringCharset> = v;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: java.lang.String cachedString>;
return v;
}
public java.lang.String toString(int, int)
{
org.glassfish.grizzly.Buffer v;
java.nio.charset.Charset v;
int v, v, v, v, v, v;
java.lang.String v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: int;
v := @parameter: int;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = <org.glassfish.grizzly.http.util.BufferChunk: java.nio.charset.Charset DEFAULT_CHARSET>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v + v;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v + v;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: java.lang.String toStringContent(java.nio.charset.Charset,int,int)>(v, v, v);
return v;
}
protected final void resetStringCache()
{
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v.<org.glassfish.grizzly.http.util.BufferChunk: java.lang.String cachedString> = null;
v.<org.glassfish.grizzly.http.util.BufferChunk: java.nio.charset.Charset cachedStringCharset> = null;
return;
}
protected final void reset()
{
int v, v, v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer> = null;
v = (int) -1;
v.<org.glassfish.grizzly.http.util.BufferChunk: int start> = v;
v = (int) -1;
v.<org.glassfish.grizzly.http.util.BufferChunk: int end> = v;
v = (int) -1;
v.<org.glassfish.grizzly.http.util.BufferChunk: int limit> = v;
virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: void resetStringCache()>();
return;
}
public final void recycle()
{
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: void reset()>();
return;
}
protected void notifyDirectUpdate()
{
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
return;
}
public static int indexOf(org.glassfish.grizzly.Buffer, int, int, char)
{
byte v;
int v, v, v;
org.glassfish.grizzly.Buffer v;
char v;
v := @parameter: org.glassfish.grizzly.Buffer;
v := @parameter: int;
v := @parameter: int;
v := @parameter: char;
label:
if v >= v goto label;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
if v != v goto label;
return v;
label:
v = v + 1;
goto label;
label:
v = (int) -1;
return v;
}
public static int indexOf(org.glassfish.grizzly.Buffer, int, int, java.lang.CharSequence)
{
java.lang.CharSequence v;
org.glassfish.grizzly.Buffer v;
char v;
byte v;
int v, v, v, v, v, v, v, v, v, v, v;
v := @parameter: org.glassfish.grizzly.Buffer;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.lang.CharSequence;
v = interfaceinvoke v.<java.lang.CharSequence: int length()>();
if v != 0 goto label;
return v;
label:
v = v - v;
if v <= v goto label;
v = (int) -1;
return v;
label:
v = 0;
v = v - v;
label:
v = v + v;
if v > v goto label;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = interfaceinvoke v.<java.lang.CharSequence: char charAt(int)>(v);
if v != v goto label;
v = v + 1;
if v != v goto label;
v = v - v;
v = v + 1;
return v;
label:
v = 0;
label:
v = v + 1;
goto label;
label:
v = (int) -1;
return v;
}
public int compareIgnoreCase(int, int, java.lang.String)
{
byte v, v, v;
int v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.lang.String v;
org.glassfish.grizzly.Buffer v, v;
char v, v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.lang.String;
v = 0;
v = virtualinvoke v.<java.lang.String: int length()>();
v = v - v;
if v >= v goto label;
v = v - v;
label:
v = 0;
label:
if v >= v goto label;
if v != 0 goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v + v;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
v = virtualinvoke v.<java.lang.String: char charAt(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
if v <= v goto label;
v = 1;
goto label;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v + v;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
v = virtualinvoke v.<java.lang.String: char charAt(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
if v >= v goto label;
v = -1;
label:
v = v + 1;
goto label;
label:
if v != 0 goto label;
v = virtualinvoke v.<java.lang.String: int length()>();
v = v - v;
if v <= v goto label;
v = -1;
goto label;
label:
v = virtualinvoke v.<java.lang.String: int length()>();
v = v - v;
if v >= v goto label;
v = 1;
label:
return v;
}
public int compare(int, int, java.lang.String)
{
byte v, v, v;
int v, v, v, v, v, v, v, v, v, v, v;
java.lang.String v;
org.glassfish.grizzly.Buffer v, v;
char v, v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v := @parameter: int;
v := @parameter: int;
v := @parameter: java.lang.String;
v = 0;
v = virtualinvoke v.<java.lang.String: int length()>();
v = v - v;
if v >= v goto label;
v = v - v;
label:
v = 0;
label:
if v >= v goto label;
if v != 0 goto label;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v + v;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = virtualinvoke v.<java.lang.String: char charAt(int)>(v);
if v <= v goto label;
v = 1;
goto label;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v + v;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = virtualinvoke v.<java.lang.String: char charAt(int)>(v);
if v >= v goto label;
v = -1;
label:
v = v + 1;
goto label;
label:
if v != 0 goto label;
v = virtualinvoke v.<java.lang.String: int length()>();
v = v - v;
if v <= v goto label;
v = -1;
goto label;
label:
v = virtualinvoke v.<java.lang.String: int length()>();
v = v - v;
if v >= v goto label;
v = 1;
label:
return v;
}
public static boolean equalsIgnoreCaseLowerCase(org.glassfish.grizzly.Buffer, int, int, byte[])
{
byte[] v;
org.glassfish.grizzly.Buffer v;
byte v, v;
int v, v, v, v, v, v, v;
v := @parameter: org.glassfish.grizzly.Buffer;
v := @parameter: int;
v := @parameter: int;
v := @parameter: byte[];
v = v - v;
v = lengthof v;
if v == v goto label;
return 0;
label:
v = 0;
label:
if v >= v goto label;
v = v + v;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = staticinvoke <org.glassfish.grizzly.http.util.Ascii: int toLower(int)>(v);
v = v[v];
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public static boolean startsWith(org.glassfish.grizzly.Buffer, int, int, byte[])
{
byte[] v;
org.glassfish.grizzly.Buffer v;
byte v, v;
int v, v, v, v, v, v, v;
v := @parameter: org.glassfish.grizzly.Buffer;
v := @parameter: int;
v := @parameter: int;
v := @parameter: byte[];
v = v - v;
v = lengthof v;
if v >= v goto label;
return 0;
label:
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v + v;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
v = v[v];
if v == v goto label;
return 0;
label:
v = v + 1;
goto label;
label:
return 1;
}
public void trimLeft()
{
byte v;
int v, v, v;
org.glassfish.grizzly.Buffer v;
boolean v;
org.glassfish.grizzly.http.util.BufferChunk v;
v := @this: org.glassfish.grizzly.http.util.BufferChunk;
v = 0;
label:
v = v.<org.glassfish.grizzly.http.util.BufferChunk: org.glassfish.grizzly.Buffer buffer>;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = interfaceinvoke v.<org.glassfish.grizzly.Buffer: byte get(int)>(v);
if v > 32 goto label;
v = 1;
v = v.<org.glassfish.grizzly.http.util.BufferChunk: int start>;
v = v + 1;
v.<org.glassfish.grizzly.http.util.BufferChunk: int start> = v;
goto label;
label:
if v == 0 goto label;
virtualinvoke v.<org.glassfish.grizzly.http.util.BufferChunk: void resetStringCache()>();
label:
return;
}
static void <clinit>()
{
java.nio.charset.Charset v;
v = <org.glassfish.grizzly.http.util.Constants: java.nio.charset.Charset DEFAULT_HTTP_CHARSET>;
<org.glassfish.grizzly.http.util.BufferChunk: java.nio.charset.Charset DEFAULT_CHARSET> = v;
return;
}
}