• Home
  • Raw
  • Download

Lines Matching refs:_bb

34         private ByteBuffer _bb;  field in FlatBuffers.FlatBufferBuilder
62 _bb = new ByteBuffer(initialSize); in FlatBufferBuilder()
71 _bb = buffer; in FlatBufferBuilder()
81 _space = _bb.Length; in Clear()
82 _bb.Reset(); in Clear()
102 public int Offset { get { return _bb.Length - _space; } }
106 _bb.PutByte(_space -= size, 0, size); in Pad()
113 _bb.GrowFront(_bb.Length << 1); in GrowBuffer()
129 ((~((int)_bb.Length - _space + additionalBytes)) + 1) & in Prep()
134 var oldBufSize = (int)_bb.Length; in Prep()
136 _space += (int)_bb.Length - oldBufSize; in Prep()
145 _bb.PutByte(_space -= sizeof(byte), (byte)(x ? 1 : 0)); in PutBool()
150 _bb.PutSbyte(_space -= sizeof(sbyte), x); in PutSbyte()
155 _bb.PutByte(_space -= sizeof(byte), x); in PutByte()
160 _bb.PutShort(_space -= sizeof(short), x); in PutShort()
165 _bb.PutUshort(_space -= sizeof(ushort), x); in PutUshort()
170 _bb.PutInt(_space -= sizeof(int), x); in PutInt()
175 _bb.PutUint(_space -= sizeof(uint), x); in PutUint()
180 _bb.PutLong(_space -= sizeof(long), x); in PutLong()
185 _bb.PutUlong(_space -= sizeof(ulong), x); in PutUlong()
190 _bb.PutFloat(_space -= sizeof(float), x); in PutFloat()
202 _space = _bb.Put(_space, x);
215 _space = _bb.Put(_space, x);
221 _bb.PutDouble(_space -= sizeof(double), x); in PutDouble()
557 _bb.PutStringUTF8(_space -= utf8StringLen, s); in CreateString()
577 _space = _bb.Put(_space, chars); in CreateUTF8String()
626 int vt1 = _bb.Length - _vtables[i]; in EndObject()
628 short len = _bb.GetShort(vt1); in EndObject()
629 if (len == _bb.GetShort(vt2)) { in EndObject()
631 if (_bb.GetShort(vt1 + j) != _bb.GetShort(vt2 + j)) { in EndObject()
645 _space = _bb.Length - vtableloc; in EndObject()
647 _bb.PutInt(_space, existingVtable - vtableloc); in EndObject()
662 _bb.PutInt(_bb.Length - vtableloc, Offset - vtableloc); in EndObject()
673 int table_start = _bb.Length - table; in Required()
674 int vtable_start = table_start - _bb.GetInt(table_start); in Required()
675 bool ok = _bb.GetShort(vtable_start + field) != 0; in Required()
697 AddInt(_bb.Length - _space); in Finish()
699 _bb.Position = _space; in Finish()
735 public ByteBuffer DataBuffer { get { return _bb; } }
746 return _bb.ToSizedArray(); in SizedByteArray()