Searched refs:field_def (Results 1 – 2 of 2) sorted by relevance
/external/flatbuffers/src/ |
D | reflection.cpp | 598 auto field_def = obj.fields()->Get(i); in VerifyObject() local 599 switch (field_def->type()->base_type()) { in VerifyObject() 602 if (!table->VerifyField<uint8_t>(v, field_def->offset())) return false; in VerifyObject() 607 if (!table->VerifyField<int8_t>(v, field_def->offset())) return false; in VerifyObject() 611 if (!table->VerifyField<int16_t>(v, field_def->offset())) return false; in VerifyObject() 615 if (!table->VerifyField<int32_t>(v, field_def->offset())) return false; in VerifyObject() 619 if (!table->VerifyField<int64_t>(v, field_def->offset())) return false; in VerifyObject() 622 if (!table->VerifyField<float>(v, field_def->offset())) return false; in VerifyObject() 625 if (!table->VerifyField<double>(v, field_def->offset())) return false; in VerifyObject() 628 if (!table->VerifyField<uoffset_t>(v, field_def->offset()) || in VerifyObject() [all …]
|
D | idl_parser.cpp | 2766 auto field_def = new FieldDef(); in Deserialize() local 2767 if (!field_def->Deserialize(parser, field) || in Deserialize() 2768 fields.Add(field_def->name, field_def)) { in Deserialize() 2769 delete field_def; in Deserialize() 2774 auto size = InlineSize(field_def->value.type); in Deserialize() 2780 field_def->padding = in Deserialize() 2781 next_field ? (next_field->offset() - field_def->value.offset) - size in Deserialize() 2783 bytesize += field_def->padding; in Deserialize()
|