Java 类org.codehaus.jackson.util.TextBuffer 实例源码

项目:12306-android-Decompile    文件:ReaderBasedParser.java   
private String _parseUnusualFieldName2(int paramInt1, int paramInt2, int[] paramArrayOfInt)
  throws IOException, JsonParseException
{
  this._textBuffer.resetWithShared(this._inputBuffer, paramInt1, this._inputPtr - paramInt1);
  char[] arrayOfChar1 = this._textBuffer.getCurrentSegment();
  int i = this._textBuffer.getCurrentSegmentSize();
  int j = paramArrayOfInt.length;
  while (true)
  {
    if ((this._inputPtr >= this._inputEnd) && (!loadMore()));
    int i1;
    while (true)
    {
      this._textBuffer.setCurrentLength(i);
      TextBuffer localTextBuffer = this._textBuffer;
      char[] arrayOfChar2 = localTextBuffer.getTextBuffer();
      int m = localTextBuffer.getTextOffset();
      int n = localTextBuffer.size();
      return this._symbols.findSymbol(arrayOfChar2, m, n, paramInt2);
      int k = this._inputBuffer[this._inputPtr];
      if (k <= j)
        if (paramArrayOfInt[k] != 0)
          continue;
      do
      {
        this._inputPtr = (1 + this._inputPtr);
        paramInt2 = k + paramInt2 * 31;
        i1 = i + 1;
        arrayOfChar1[i] = k;
        if (i1 < arrayOfChar1.length)
          break label199;
        arrayOfChar1 = this._textBuffer.finishCurrentSegment();
        i = 0;
        break;
      }
      while (Character.isJavaIdentifierPart(k));
    }
    label199: i = i1;
  }
}
项目:12306-android-Decompile    文件:ReaderBasedParser.java   
private String _parseUnusualFieldName2(int paramInt1, int paramInt2, int[] paramArrayOfInt)
  throws IOException, JsonParseException
{
  this._textBuffer.resetWithShared(this._inputBuffer, paramInt1, this._inputPtr - paramInt1);
  char[] arrayOfChar1 = this._textBuffer.getCurrentSegment();
  int i = this._textBuffer.getCurrentSegmentSize();
  int j = paramArrayOfInt.length;
  while (true)
  {
    if ((this._inputPtr >= this._inputEnd) && (!loadMore()));
    int i1;
    while (true)
    {
      this._textBuffer.setCurrentLength(i);
      TextBuffer localTextBuffer = this._textBuffer;
      char[] arrayOfChar2 = localTextBuffer.getTextBuffer();
      int m = localTextBuffer.getTextOffset();
      int n = localTextBuffer.size();
      return this._symbols.findSymbol(arrayOfChar2, m, n, paramInt2);
      int k = this._inputBuffer[this._inputPtr];
      if (k <= j)
        if (paramArrayOfInt[k] != 0)
          continue;
      do
      {
        this._inputPtr = (1 + this._inputPtr);
        paramInt2 = k + paramInt2 * 31;
        i1 = i + 1;
        arrayOfChar1[i] = k;
        if (i1 < arrayOfChar1.length)
          break label199;
        arrayOfChar1 = this._textBuffer.finishCurrentSegment();
        i = 0;
        break;
      }
      while (Character.isJavaIdentifierPart(k));
    }
    label199: i = i1;
  }
}
项目:12306-android-Decompile    文件:ReaderBasedParser.java   
private String _parseFieldName2(int paramInt1, int paramInt2, int paramInt3)
  throws IOException, JsonParseException
{
  this._textBuffer.resetWithShared(this._inputBuffer, paramInt1, this._inputPtr - paramInt1);
  char[] arrayOfChar1 = this._textBuffer.getCurrentSegment();
  int i = this._textBuffer.getCurrentSegmentSize();
  while (true)
  {
    if ((this._inputPtr >= this._inputEnd) && (!loadMore()))
      _reportInvalidEOF(": was expecting closing '" + (char)paramInt3 + "' for name");
    char[] arrayOfChar2 = this._inputBuffer;
    int j = this._inputPtr;
    this._inputPtr = (j + 1);
    int k = arrayOfChar2[j];
    int m = k;
    if (m <= 92)
    {
      if (m != 92)
        break label178;
      k = _decodeEscaped();
    }
    int n;
    while (true)
    {
      paramInt2 = m + paramInt2 * 31;
      n = i + 1;
      arrayOfChar1[i] = k;
      if (n < arrayOfChar1.length)
        break label259;
      arrayOfChar1 = this._textBuffer.finishCurrentSegment();
      i = 0;
      break;
      label178: if (m > paramInt3)
        continue;
      if (m == paramInt3)
      {
        this._textBuffer.setCurrentLength(i);
        TextBuffer localTextBuffer = this._textBuffer;
        char[] arrayOfChar3 = localTextBuffer.getTextBuffer();
        int i1 = localTextBuffer.getTextOffset();
        int i2 = localTextBuffer.size();
        return this._symbols.findSymbol(arrayOfChar3, i1, i2, paramInt2);
      }
      if (m >= 32)
        continue;
      _throwUnquotedSpace(m, "name");
    }
    label259: i = n;
  }
}
项目:12306-android-Decompile    文件:IOContext.java   
public final TextBuffer constructTextBuffer()
{
  return new TextBuffer(this._bufferRecycler);
}
项目:12306-android-Decompile    文件:SegmentedStringWriter.java   
public SegmentedStringWriter(BufferRecycler paramBufferRecycler)
{
  this._buffer = new TextBuffer(paramBufferRecycler);
}
项目:RHome    文件:IOContext.java   
public TextBuffer constructTextBuffer()
{
    return new TextBuffer(_bufferRecycler);
}
项目:RHome    文件:SegmentedStringWriter.java   
public SegmentedStringWriter(BufferRecycler br)
{
    super();
    _buffer = new TextBuffer(br);
}
项目:12306-android-Decompile    文件:ReaderBasedParser.java   
private String _parseFieldName2(int paramInt1, int paramInt2, int paramInt3)
  throws IOException, JsonParseException
{
  this._textBuffer.resetWithShared(this._inputBuffer, paramInt1, this._inputPtr - paramInt1);
  char[] arrayOfChar1 = this._textBuffer.getCurrentSegment();
  int i = this._textBuffer.getCurrentSegmentSize();
  while (true)
  {
    if ((this._inputPtr >= this._inputEnd) && (!loadMore()))
      _reportInvalidEOF(": was expecting closing '" + (char)paramInt3 + "' for name");
    char[] arrayOfChar2 = this._inputBuffer;
    int j = this._inputPtr;
    this._inputPtr = (j + 1);
    int k = arrayOfChar2[j];
    int m = k;
    if (m <= 92)
    {
      if (m != 92)
        break label178;
      k = _decodeEscaped();
    }
    int n;
    while (true)
    {
      paramInt2 = m + paramInt2 * 31;
      n = i + 1;
      arrayOfChar1[i] = k;
      if (n < arrayOfChar1.length)
        break label259;
      arrayOfChar1 = this._textBuffer.finishCurrentSegment();
      i = 0;
      break;
      label178: if (m > paramInt3)
        continue;
      if (m == paramInt3)
      {
        this._textBuffer.setCurrentLength(i);
        TextBuffer localTextBuffer = this._textBuffer;
        char[] arrayOfChar3 = localTextBuffer.getTextBuffer();
        int i1 = localTextBuffer.getTextOffset();
        int i2 = localTextBuffer.size();
        return this._symbols.findSymbol(arrayOfChar3, i1, i2, paramInt2);
      }
      if (m >= 32)
        continue;
      _throwUnquotedSpace(m, "name");
    }
    label259: i = n;
  }
}
项目:12306-android-Decompile    文件:IOContext.java   
public final TextBuffer constructTextBuffer()
{
  return new TextBuffer(this._bufferRecycler);
}
项目:12306-android-Decompile    文件:SegmentedStringWriter.java   
public SegmentedStringWriter(BufferRecycler paramBufferRecycler)
{
  this._buffer = new TextBuffer(paramBufferRecycler);
}
项目:ingress-indonesia-dev    文件:ReaderBasedParser.java   
private String _parseFieldName2(int paramInt1, int paramInt2, int paramInt3)
{
  this._textBuffer.resetWithShared(this._inputBuffer, paramInt1, this._inputPtr - paramInt1);
  char[] arrayOfChar1 = this._textBuffer.getCurrentSegment();
  int i = this._textBuffer.getCurrentSegmentSize();
  while (true)
  {
    if ((this._inputPtr >= this._inputEnd) && (!loadMore()))
      _reportInvalidEOF(": was expecting closing '" + (char)paramInt3 + "' for name");
    char[] arrayOfChar2 = this._inputBuffer;
    int j = this._inputPtr;
    this._inputPtr = (j + 1);
    int k = arrayOfChar2[j];
    if (k <= 92)
      if (k != 92);
    int n;
    for (int m = _decodeEscaped(); ; m = k)
    {
      paramInt2 = k + paramInt2 * 31;
      n = i + 1;
      arrayOfChar1[i] = m;
      if (n < arrayOfChar1.length)
        break label256;
      arrayOfChar1 = this._textBuffer.finishCurrentSegment();
      i = 0;
      break;
      if (k <= paramInt3)
      {
        if (k == paramInt3)
          break label205;
        if (k < 32)
          _throwUnquotedSpace(k, "name");
      }
    }
    label205: this._textBuffer.setCurrentLength(i);
    TextBuffer localTextBuffer = this._textBuffer;
    char[] arrayOfChar3 = localTextBuffer.getTextBuffer();
    int i1 = localTextBuffer.getTextOffset();
    int i2 = localTextBuffer.size();
    return this._symbols.findSymbol(arrayOfChar3, i1, i2, paramInt2);
    label256: i = n;
  }
}
项目:ingress-indonesia-dev    文件:ReaderBasedParser.java   
private String _parseUnusualFieldName2(int paramInt1, int paramInt2, int[] paramArrayOfInt)
{
  this._textBuffer.resetWithShared(this._inputBuffer, paramInt1, this._inputPtr - paramInt1);
  char[] arrayOfChar1 = this._textBuffer.getCurrentSegment();
  int i = this._textBuffer.getCurrentSegmentSize();
  int j = paramArrayOfInt.length;
  while (true)
  {
    int k;
    if ((this._inputPtr < this._inputEnd) || (loadMore()))
    {
      k = this._inputBuffer[this._inputPtr];
      if (k > j)
        break label134;
      if (paramArrayOfInt[k] == 0)
        break label142;
    }
    label134: 
    while (!Character.isJavaIdentifierPart(k))
    {
      this._textBuffer.setCurrentLength(i);
      TextBuffer localTextBuffer = this._textBuffer;
      char[] arrayOfChar2 = localTextBuffer.getTextBuffer();
      int n = localTextBuffer.getTextOffset();
      int i1 = localTextBuffer.size();
      return this._symbols.findSymbol(arrayOfChar2, n, i1, paramInt2);
    }
    label142: this._inputPtr = (1 + this._inputPtr);
    paramInt2 = k + paramInt2 * 31;
    int m = i + 1;
    arrayOfChar1[i] = k;
    if (m >= arrayOfChar1.length)
    {
      arrayOfChar1 = this._textBuffer.finishCurrentSegment();
      i = 0;
    }
    else
    {
      i = m;
    }
  }
}
项目:ingress-indonesia-dev    文件:IOContext.java   
public final TextBuffer constructTextBuffer()
{
  return new TextBuffer(this._bufferRecycler);
}
项目:ingress-indonesia-dev    文件:SegmentedStringWriter.java   
public SegmentedStringWriter(BufferRecycler paramBufferRecycler)
{
  this._buffer = new TextBuffer(paramBufferRecycler);
}