• Home
  • Raw
  • Download

Lines Matching refs:fielddef

96             auto &fielddef = **it;  in GetAnyValueS()  local
97 if (!table_field->CheckField(fielddef.offset())) continue; in GetAnyValueS()
98 auto val = GetAnyFieldS(*table_field, fielddef, schema); in GetAnyValueS()
99 if (fielddef.type()->base_type() == reflection::String) { in GetAnyValueS()
105 s += fielddef.name()->str(); in GetAnyValueS()
239 auto &fielddef = **it; in ResizeTable() local
240 auto base_type = fielddef.type()->base_type(); in ResizeTable()
244 auto offset = table->GetOptionalFieldOffset(fielddef.offset()); in ResizeTable()
249 ? schema_.objects()->Get(fielddef.type()->index()) in ResizeTable()
264 auto elem_type = fielddef.type()->element(); in ResizeTable()
270 ? schema_.objects()->Get(fielddef.type()->index()) in ResizeTable()
284 ResizeTable(GetUnionType(schema_, objectdef, fielddef, *table), in ResizeTable()
369 void CopyInline(FlatBufferBuilder &fbb, const reflection::Field &fielddef, in CopyInline() argument
372 fbb.PushBytes(table.GetStruct<const uint8_t *>(fielddef.offset()), size); in CopyInline()
373 fbb.TrackField(fielddef.offset(), fbb.GetSize()); in CopyInline()
385 auto &fielddef = **it; in CopyTable() local
387 if (!table.CheckField(fielddef.offset())) continue; in CopyTable()
389 switch (fielddef.type()->base_type()) { in CopyTable()
392 ? fbb.CreateSharedString(GetFieldS(table, fielddef)).o in CopyTable()
393 : fbb.CreateString(GetFieldS(table, fielddef)).o; in CopyTable()
397 auto &subobjectdef = *schema.objects()->Get(fielddef.type()->index()); in CopyTable()
400 *GetFieldT(table, fielddef), use_string_pooling) in CopyTable()
406 auto &subobjectdef = GetUnionType(schema, objectdef, fielddef, table); in CopyTable()
408 *GetFieldT(table, fielddef), use_string_pooling) in CopyTable()
414 table.GetPointer<const Vector<Offset<Table>> *>(fielddef.offset()); in CopyTable()
415 auto element_base_type = fielddef.type()->element(); in CopyTable()
418 ? schema.objects()->Get(fielddef.type()->index()) in CopyTable()
466 auto &fielddef = **it; in CopyTable() local
467 if (!table.CheckField(fielddef.offset())) continue; in CopyTable()
468 auto base_type = fielddef.type()->base_type(); in CopyTable()
471 auto &subobjectdef = *schema.objects()->Get(fielddef.type()->index()); in CopyTable()
473 CopyInline(fbb, fielddef, table, subobjectdef.minalign(), in CopyTable()
482 fbb.AddOffset(fielddef.offset(), Offset<void>(offsets[offset_idx++])); in CopyTable()
486 CopyInline(fbb, fielddef, table, size, size); in CopyTable()