Home
last modified time | relevance | path

Searched refs:UnPack (Results 1 – 25 of 74) sorted by relevance

123

/third_party/flatbuffers/tests/MyGame/Example/
DAnyAmbiguousAliases.go61 func (rcv AnyAmbiguousAliases) UnPack(table flatbuffers.Table) *AnyAmbiguousAliasesT { func
65 return &AnyAmbiguousAliasesT{ Type: AnyAmbiguousAliasesM1, Value: x.UnPack() }
68 return &AnyAmbiguousAliasesT{ Type: AnyAmbiguousAliasesM2, Value: x.UnPack() }
71 return &AnyAmbiguousAliasesT{ Type: AnyAmbiguousAliasesM3, Value: x.UnPack() }
DAny.go63 func (rcv Any) UnPack(table flatbuffers.Table) *AnyT { func
67 return &AnyT{ Type: AnyMonster, Value: x.UnPack() }
70 return &AnyT{ Type: AnyTestSimpleTableWithEnum, Value: x.UnPack() }
73 return &AnyT{ Type: AnyMyGame_Example2_Monster, Value: x.UnPack() }
DAnyUniqueAliases.go63 func (rcv AnyUniqueAliases) UnPack(table flatbuffers.Table) *AnyUniqueAliasesT { func
67 return &AnyUniqueAliasesT{ Type: AnyUniqueAliasesM, Value: x.UnPack() }
70 return &AnyUniqueAliasesT{ Type: AnyUniqueAliasesTS, Value: x.UnPack() }
73 return &AnyUniqueAliasesT{ Type: AnyUniqueAliasesM2, Value: x.UnPack() }
DStructOfStructs.go20 t.A = rcv.A(nil).UnPack()
21 t.B = rcv.B(nil).UnPack()
22 t.C = rcv.C(nil).UnPack()
25 func (rcv *StructOfStructs) UnPack() *StructOfStructsT { func
DStructOfStructs.cs37 public StructOfStructsT UnPack() { in UnPack() method
43 _o.A = this.A.UnPack(); in UnPackTo()
44 _o.B = this.B.UnPack(); in UnPackTo()
45 _o.C = this.C.UnPack(); in UnPackTo()
DArrayTable.cs33 public ArrayTableT UnPack() { in UnPack() method
39 _o.A = this.A.HasValue ? this.A.Value.UnPack() : null; in UnPackTo()
65 return ArrayTable.GetRootAsArrayTable(new ByteBuffer(fbBuffer)).UnPack(); in DeserializeFromBinary()
/third_party/flatbuffers/tests/union_vector/
DMovie.cs71 public MovieT UnPack() { in UnPack() method
82 …e = this.MainCharacter<Attacker>().HasValue ? this.MainCharacter<Attacker>().Value.UnPack() : null; in UnPackTo()
85 …e = this.MainCharacter<Rapunzel>().HasValue ? this.MainCharacter<Rapunzel>().Value.UnPack() : null; in UnPackTo()
88 …this.MainCharacter<BookReader>().HasValue ? this.MainCharacter<BookReader>().Value.UnPack() : null; in UnPackTo()
91 …this.MainCharacter<BookReader>().HasValue ? this.MainCharacter<BookReader>().Value.UnPack() : null; in UnPackTo()
107 …lue = this.Characters<Attacker>(_j).HasValue ? this.Characters<Attacker>(_j).Value.UnPack() : null; in UnPackTo()
110 …lue = this.Characters<Rapunzel>(_j).HasValue ? this.Characters<Rapunzel>(_j).Value.UnPack() : null; in UnPackTo()
113 …= this.Characters<BookReader>(_j).HasValue ? this.Characters<BookReader>(_j).Value.UnPack() : null; in UnPackTo()
116 …= this.Characters<BookReader>(_j).HasValue ? this.Characters<BookReader>(_j).Value.UnPack() : null; in UnPackTo()
201 return Movie.GetRootAsMovie(new ByteBuffer(fbBuffer)).UnPack(); in DeserializeFromBinary()
Dunion_vector_generated.h100 …static void *UnPack(const void *obj, Character type, const flatbuffers::resolver_function_t *resol…
310 AttackerT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
429 MovieT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
493 inline AttackerT *Attacker::UnPack(const flatbuffers::resolver_function_t *_resolver) const { in UnPack() function
519 inline MovieT *Movie::UnPack(const flatbuffers::resolver_function_t *_resolver) const { in UnPack() function
529 …{ auto _e = main_character(); if (_e) _o->main_character.value = CharacterUnion::UnPack(_e, main_c… in UnPackTo()
531 …= 0; _i < _e->size(); _i++) { _o->characters[_i].value = CharacterUnion::UnPack(_e->Get(_i), chara… in UnPackTo()
596 inline void *CharacterUnion::UnPack(const void *obj, Character type, const flatbuffers::resolver_fu… in UnPack() function
600 return ptr->UnPack(resolver); in UnPack()
864 return flatbuffers::unique_ptr<MovieT>(GetMovie(buf)->UnPack(res));
[all …]
/third_party/mindspore/mindspore/lite/schema/inner/
Dops_generated.h2674 …static void *UnPack(const void *obj, PrimitiveType type, const flatbuffers::resolver_function_t *r…
4296 AbsT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
4385 ActivationT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
4472 ActivationGradT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
4544 AdamT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
4607 AddFusionT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
4750 AdderFusionT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
4872 AddGradT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
4914 AddNT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
4967 AllT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
[all …]
Dmodel_v0_generated.h1572 …static void *UnPack(const void *obj, PrimitiveType type, const flatbuffers::resolver_function_t *r…
3372 QuantParamT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
3572 TensorT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
4325 PrimitiveT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
5253 CNodeT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
5398 SubGraphT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
5579 MetaGraphT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
5683 inline QuantParamT *QuantParam::UnPack(const flatbuffers::resolver_function_t *_resolver) const {
5742 inline TensorT *Tensor::UnPack(const flatbuffers::resolver_function_t *_resolver) const {
5758 …ms[_i] = std::unique_ptr<mindspore::schema::v0::QuantParamT>(_e->Get(_i)->UnPack(_resolver)); } } }
[all …]
Dops_v0_generated.h1863 PadT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
1933 MaximumT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
1975 MinimumT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
2017 FlattenT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
2059 FlattenGradT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
2121 ConcatT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
2184 SoftMaxT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
2269 ActivationT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
2351 ActivationGradT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
2558 Conv2DT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
[all …]
Dgpu_cache_generated.h86 TuneParamT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
208 ProgramBinaryT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
320 GpuCacheT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
378 inline TuneParamT *TuneParam::UnPack(const flatbuffers::resolver_function_t *_resolver) const { in UnPack() function
413 inline ProgramBinaryT *ProgramBinary::UnPack(const flatbuffers::resolver_function_t *_resolver) con… in UnPack() function
424 …{ auto _e = tune(); if (_e) _o->tune = std::unique_ptr<mindspore::schema::TuneParamT>(_e->UnPack(_… in UnPackTo()
448 inline GpuCacheT *GpuCache::UnPack(const flatbuffers::resolver_function_t *_resolver) const { in UnPack() function
459 …ins[_i] = std::unique_ptr<mindspore::schema::ProgramBinaryT>(_e->Get(_i)->UnPack(_resolver)); } } } in UnPackTo()
561 return std::unique_ptr<mindspore::schema::GpuCacheT>(GetGpuCache(buf)->UnPack(res));
567 return std::unique_ptr<mindspore::schema::GpuCacheT>(GetSizePrefixedGpuCache(buf)->UnPack(res));
/third_party/flatbuffers/tests/namespace_test/
Dnamespace_test2_generated.h142 TableInFirstNST *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
256 TableInCT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
340 SecondTableInAT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
373 inline TableInFirstNST *TableInFirstNS::UnPack(const flatbuffers::resolver_function_t *_resolver) c… in UnPack() function
382 …table = flatbuffers::unique_ptr<NamespaceA::NamespaceB::TableInNestedNST>(_e->UnPack(_resolver)); } in UnPackTo()
385 …(_e) _o->foo_union.value = NamespaceA::NamespaceB::UnionInNestedNSUnion::UnPack(_e, foo_union_type… in UnPackTo()
415 inline TableInCT *TableInC::UnPack(const flatbuffers::resolver_function_t *_resolver) const { in UnPack() function
424 …e) _o->refer_to_a1 = flatbuffers::unique_ptr<NamespaceA::TableInFirstNST>(_e->UnPack(_resolver)); } in UnPackTo()
425 …e) _o->refer_to_a2 = flatbuffers::unique_ptr<NamespaceA::SecondTableInAT>(_e->UnPack(_resolver)); } in UnPackTo()
448 inline SecondTableInAT *SecondTableInA::UnPack(const flatbuffers::resolver_function_t *_resolver) c… in UnPack() function
[all …]
Dnamespace_test1_generated.h94 …static void *UnPack(const void *obj, UnionInNestedNS type, const flatbuffers::resolver_function_t …
251 TableInNestedNST *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
284 inline TableInNestedNST *TableInNestedNS::UnPack(const flatbuffers::resolver_function_t *_resolver)…
335 inline void *UnionInNestedNSUnion::UnPack(const void *obj, UnionInNestedNS type, const flatbuffers:…
339 return ptr->UnPack(resolver);
/third_party/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DUnionInNestedNS.go29 func (rcv UnionInNestedNS) UnPack(table flatbuffers.Table) *UnionInNestedNST { func
33 …&NamespaceA__NamespaceB.UnionInNestedNST{ Type: UnionInNestedNSTableInNestedNS, Value: x.UnPack() }
/third_party/flatbuffers/tests/namespace_test/NamespaceA/
DTableInFirstNS.go36 t.FooTable = rcv.FooTable(nil).UnPack()
40 t.FooUnion = rcv.FooUnionType().UnPack(fooUnionTable)
42 t.FooStruct = rcv.FooStruct(nil).UnPack()
45 func (rcv *TableInFirstNS) UnPack() *TableInFirstNST { func
DTableInFirstNS.cs55 public TableInFirstNST UnPack() { in UnPack() method
61 _o.FooTable = this.FooTable.HasValue ? this.FooTable.Value.UnPack() : null; in UnPackTo()
68 …estedNS>().HasValue ? this.FooUnion<NamespaceA.NamespaceB.TableInNestedNS>().Value.UnPack() : null; in UnPackTo()
71 _o.FooStruct = this.FooStruct.HasValue ? this.FooStruct.Value.UnPack() : null; in UnPackTo()
DSecondTableInA.cs37 public SecondTableInAT UnPack() { in UnPack() method
43 _o.ReferToC = this.ReferToC.HasValue ? this.ReferToC.Value.UnPack() : null; in UnPackTo()
DSecondTableInA.go24 t.ReferToC = rcv.ReferToC(nil).UnPack()
27 func (rcv *SecondTableInA) UnPack() *SecondTableInAT { func
/third_party/flatbuffers/tests/namespace_test/NamespaceC/
DTableInC.cs41 public TableInCT UnPack() { in UnPack() method
47 _o.ReferToA1 = this.ReferToA1.HasValue ? this.ReferToA1.Value.UnPack() : null; in UnPackTo()
48 _o.ReferToA2 = this.ReferToA2.HasValue ? this.ReferToA2.Value.UnPack() : null; in UnPackTo()
DTableInC.go27 t.ReferToA1 = rcv.ReferToA1(nil).UnPack()
28 t.ReferToA2 = rcv.ReferToA2(nil).UnPack()
31 func (rcv *TableInC) UnPack() *TableInCT { func
/third_party/flatbuffers/tests/
Dnative_type_test_generated.h145 ApplicationDataT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
195 inline ApplicationDataT *ApplicationData::UnPack(const flatbuffers::resolver_function_t *_resolver)… in UnPack() function
204 …offset_t _i = 0; _i < _e->size(); _i++) { _o->vectors[_i] = flatbuffers::UnPack(*_e->Get(_i)); } }… in UnPackTo()
316 return flatbuffers::unique_ptr<Geometry::ApplicationDataT>(GetApplicationData(buf)->UnPack(res));
322 …tbuffers::unique_ptr<Geometry::ApplicationDataT>(GetSizePrefixedApplicationData(buf)->UnPack(res));
Dmonster_test_generated.h274 static void *UnPack(const void *obj, Any type, const flatbuffers::resolver_function_t *resolver);
416 …static void *UnPack(const void *obj, AnyUniqueAliases type, const flatbuffers::resolver_function_t…
530 …static void *UnPack(const void *obj, AnyAmbiguousAliases type, const flatbuffers::resolver_functio…
864 InParentNamespaceT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
917 MonsterT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
984 …TestSimpleTableWithEnumT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) cons…
1079 StatT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
1176 ReferrableT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
1799 MonsterT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
2376 TypeAliasesT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
[all …]
/third_party/flatbuffers/samples/
Dmonster_generated.h135 …static void *UnPack(const void *obj, Equipment type, const flatbuffers::resolver_function_t *resol…
355 MonsterT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
513 WeaponT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
562 inline MonsterT *Monster::UnPack(const flatbuffers::resolver_function_t *_resolver) const {
577 …apons[_i] = flatbuffers::unique_ptr<MyGame::Sample::WeaponT>(_e->Get(_i)->UnPack(_resolver)); } } }
579 …{ auto _e = equipped(); if (_e) _o->equipped.value = MyGame::Sample::EquipmentUnion::UnPack(_e, eq…
615 inline WeaponT *Weapon::UnPack(const flatbuffers::resolver_function_t *_resolver) const {
669 inline void *EquipmentUnion::UnPack(const void *obj, Equipment type, const flatbuffers::resolver_fu…
673 return ptr->UnPack(resolver);
860 return flatbuffers::unique_ptr<MyGame::Sample::MonsterT>(GetMonster(buf)->UnPack(res));
[all …]
/third_party/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h244 static void *UnPack(const void *obj, Any type, const flatbuffers::resolver_function_t *resolver);
357 …static void *UnPack(const void *obj, AnyUniqueAliases type, const flatbuffers::resolver_function_t…
442 …static void *UnPack(const void *obj, AnyAmbiguousAliases type, const flatbuffers::resolver_functio…
780 InParentNamespaceT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
834 MonsterT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
906 …TestSimpleTableWithEnumT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) cons…
1010 StatT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
1118 ReferrableT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
1753 MonsterT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
2388 TypeAliasesT *UnPack(const flatbuffers::resolver_function_t *_resolver = nullptr) const;
[all …]

123