• Home
  • Raw
  • Download

Lines Matching refs:fielddef

89             auto &fielddef = **it;  in GetAnyValueS()  local
90 if (!table_field->CheckField(fielddef.offset())) continue; in GetAnyValueS()
91 auto val = GetAnyFieldS(*table_field, fielddef, schema); in GetAnyValueS()
92 if (fielddef.type()->base_type() == reflection::String) { in GetAnyValueS()
98 s += fielddef.name()->str(); in GetAnyValueS()
229 auto &fielddef = **it; in ResizeTable() local
230 auto base_type = fielddef.type()->base_type(); in ResizeTable()
234 auto offset = table->GetOptionalFieldOffset(fielddef.offset()); in ResizeTable()
239 ? schema_.objects()->Get(fielddef.type()->index()) in ResizeTable()
254 auto elem_type = fielddef.type()->element(); in ResizeTable()
260 ? schema_.objects()->Get(fielddef.type()->index()) in ResizeTable()
274 ResizeTable(GetUnionType(schema_, objectdef, fielddef, *table), in ResizeTable()
361 void CopyInline(FlatBufferBuilder &fbb, const reflection::Field &fielddef, in CopyInline() argument
364 fbb.PushBytes(table.GetStruct<const uint8_t *>(fielddef.offset()), size); in CopyInline()
365 fbb.TrackField(fielddef.offset(), fbb.GetSize()); in CopyInline()
377 auto &fielddef = **it; in CopyTable() local
379 if (!table.CheckField(fielddef.offset())) continue; in CopyTable()
381 switch (fielddef.type()->base_type()) { in CopyTable()
384 ? fbb.CreateSharedString(GetFieldS(table, fielddef)).o in CopyTable()
385 : fbb.CreateString(GetFieldS(table, fielddef)).o; in CopyTable()
389 auto &subobjectdef = *schema.objects()->Get(fielddef.type()->index()); in CopyTable()
392 CopyTable(fbb, schema, subobjectdef, *GetFieldT(table, fielddef)) in CopyTable()
398 auto &subobjectdef = GetUnionType(schema, objectdef, fielddef, table); in CopyTable()
400 CopyTable(fbb, schema, subobjectdef, *GetFieldT(table, fielddef)).o; in CopyTable()
405 table.GetPointer<const Vector<Offset<Table>> *>(fielddef.offset()); in CopyTable()
406 auto element_base_type = fielddef.type()->element(); in CopyTable()
409 ? schema.objects()->Get(fielddef.type()->index()) in CopyTable()
457 auto &fielddef = **it; in CopyTable() local
458 if (!table.CheckField(fielddef.offset())) continue; in CopyTable()
459 auto base_type = fielddef.type()->base_type(); in CopyTable()
462 auto &subobjectdef = *schema.objects()->Get(fielddef.type()->index()); 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()