• Home
  • Raw
  • Download

Lines Matching refs:fbb

361 void CopyInline(FlatBufferBuilder &fbb, const reflection::Field &fielddef,  in CopyInline()  argument
363 fbb.Align(align); in CopyInline()
364 fbb.PushBytes(table.GetStruct<const uint8_t *>(fielddef.offset()), size); in CopyInline()
365 fbb.TrackField(fielddef.offset(), fbb.GetSize()); in CopyInline()
368 Offset<const Table *> CopyTable(FlatBufferBuilder &fbb, in CopyTable() argument
384 ? fbb.CreateSharedString(GetFieldS(table, fielddef)).o in CopyTable()
385 : fbb.CreateString(GetFieldS(table, fielddef)).o; in CopyTable()
392 CopyTable(fbb, schema, subobjectdef, *GetFieldT(table, fielddef)) in CopyTable()
400 CopyTable(fbb, schema, subobjectdef, *GetFieldT(table, fielddef)).o; in CopyTable()
417 ? fbb.CreateSharedString(vec_s->Get(i)).o in CopyTable()
418 : fbb.CreateString(vec_s->Get(i)).o; in CopyTable()
420 offset = fbb.CreateVector(elements).o; in CopyTable()
428 CopyTable(fbb, schema, *elemobjectdef, *vec->Get(i)); in CopyTable()
430 offset = fbb.CreateVector(elements).o; in CopyTable()
439 fbb.StartVector(vec->size(), element_size); in CopyTable()
440 fbb.PushBytes(vec->Data(), element_size * vec->size()); in CopyTable()
441 offset = fbb.EndVector(vec->size()); in CopyTable()
453 auto start = objectdef.is_struct() ? fbb.StartStruct(objectdef.minalign()) in CopyTable()
454 : fbb.StartTable(); in CopyTable()
464 CopyInline(fbb, fielddef, table, subobjectdef.minalign(), in CopyTable()
473 fbb.AddOffset(fielddef.offset(), Offset<void>(offsets[offset_idx++])); in CopyTable()
477 CopyInline(fbb, fielddef, table, size, size); in CopyTable()
484 fbb.ClearOffsets(); in CopyTable()
485 return fbb.EndStruct(); in CopyTable()
487 return fbb.EndTable(start); in CopyTable()