Lines Matching refs:fbb

352 void CopyInline(FlatBufferBuilder &fbb, const reflection::Field &fielddef,  in CopyInline()  argument
354 fbb.Align(align); in CopyInline()
355 fbb.PushBytes(table.GetStruct<const uint8_t *>(fielddef.offset()), size); in CopyInline()
356 fbb.TrackField(fielddef.offset(), fbb.GetSize()); in CopyInline()
359 Offset<const Table *> CopyTable(FlatBufferBuilder &fbb, in CopyTable() argument
376 ? fbb.CreateSharedString(GetFieldS(table, fielddef)).o in CopyTable()
377 : fbb.CreateString(GetFieldS(table, fielddef)).o; in CopyTable()
383 offset = CopyTable(fbb, schema, subobjectdef, in CopyTable()
390 offset = CopyTable(fbb, schema, subobjectdef, in CopyTable()
407 ? fbb.CreateSharedString(vec_s->Get(i)).o in CopyTable()
408 : fbb.CreateString(vec_s->Get(i)).o; in CopyTable()
410 offset = fbb.CreateVector(elements).o; in CopyTable()
418 CopyTable(fbb, schema, *elemobjectdef, *vec->Get(i)); in CopyTable()
420 offset = fbb.CreateVector(elements).o; in CopyTable()
429 fbb.StartVector(element_size, vec->size()); in CopyTable()
430 fbb.PushBytes(vec->Data(), element_size * vec->size()); in CopyTable()
431 offset = fbb.EndVector(vec->size()); in CopyTable()
446 ? fbb.StartStruct(objectdef.minalign()) in CopyTable()
447 : fbb.StartTable(); in CopyTable()
457 CopyInline(fbb, fielddef, table, subobjectdef.minalign(), in CopyTable()
466 fbb.AddOffset(fielddef.offset(), Offset<void>(offsets[offset_idx++])); in CopyTable()
470 CopyInline(fbb, fielddef, table, size, size); in CopyTable()
477 fbb.ClearOffsets(); in CopyTable()
478 return fbb.EndStruct(); in CopyTable()
480 return fbb.EndTable(start, static_cast<voffset_t>(fielddefs->size())); in CopyTable()