| 12717 | } |
| 12718 | |
| 12719 | inline bool VerifyBuiltinOptionsVector(flatbuffers::Verifier &verifier, const flatbuffers::Vector<flatbuffers::Offset<void>> *values, const flatbuffers::Vector<uint8_t> *types) { |
| 12720 | if (!values || !types) return !values && !types; |
| 12721 | if (values->size() != types->size()) return false; |
| 12722 | for (flatbuffers::uoffset_t i = 0; i < values->size(); ++i) { |
| 12723 | if (!VerifyBuiltinOptions( |
| 12724 | verifier, values->Get(i), types->GetEnum<BuiltinOptions>(i))) { |
| 12725 | return false; |
| 12726 | } |
| 12727 | } |
| 12728 | return true; |
| 12729 | } |
| 12730 | |
| 12731 | inline void *BuiltinOptionsUnion::UnPack(const void *obj, BuiltinOptions type, const flatbuffers::resolver_function_t *resolver) { |
| 12732 | switch (type) { |
nothing calls this directly
no test coverage detected