• Home
  • Raw
  • Download

Lines Matching refs:_o

153   Test(const Test &_o) {
154 memcpy(this, &_o, sizeof(Test));
193 Vec3(const Vec3 &_o) {
194 memcpy(this, &_o, sizeof(Vec3));
266 void UnPackTo(MonsterT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
267 …static flatbuffers::Offset<Monster> Pack(flatbuffers::FlatBufferBuilder &_fbb, const MonsterT* _o,…
291 flatbuffers::Offset<Monster> CreateMonster(flatbuffers::FlatBufferBuilder &_fbb, const MonsterT *_o
322 …void UnPackTo(TestSimpleTableWithEnumT *_o, const flatbuffers::resolver_function_t *_resolver = nu…
323 …Pack(flatbuffers::FlatBufferBuilder &_fbb, const TestSimpleTableWithEnumT* _o, const flatbuffers::…
352 …Enum(flatbuffers::FlatBufferBuilder &_fbb, const TestSimpleTableWithEnumT *_o, const flatbuffers::…
399 void UnPackTo(StatT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
400 …static flatbuffers::Offset<Stat> Pack(flatbuffers::FlatBufferBuilder &_fbb, const StatT* _o, const…
451 flatbuffers::Offset<Stat> CreateStat(flatbuffers::FlatBufferBuilder &_fbb, const StatT *_o, const f…
761 void UnPackTo(MonsterT *_o, const flatbuffers::resolver_function_t *_resolver = nullptr) const;
762 …static flatbuffers::Offset<Monster> Pack(flatbuffers::FlatBufferBuilder &_fbb, const MonsterT* _o,…
989 flatbuffers::Offset<Monster> CreateMonster(flatbuffers::FlatBufferBuilder &_fbb, const MonsterT *_o
996 auto _o = new MonsterT();
997 UnPackTo(_o, _resolver);
998 return _o;
1001 inline void Monster::UnPackTo(MonsterT *_o, const flatbuffers::resolver_function_t *_resolver) cons…
1002 (void)_o;
1006 …nster> Monster::Pack(flatbuffers::FlatBufferBuilder &_fbb, const MonsterT* _o, const flatbuffers::…
1007 return CreateMonster(_fbb, _o, _rehasher);
1010 …nster> CreateMonster(flatbuffers::FlatBufferBuilder &_fbb, const MonsterT *_o, const flatbuffers::…
1012 (void)_o;
1022 auto _o = new TestSimpleTableWithEnumT();
1023 UnPackTo(_o, _resolver);
1024 return _o;
1027 inline void TestSimpleTableWithEnum::UnPackTo(TestSimpleTableWithEnumT *_o, const flatbuffers::reso…
1028 (void)_o;
1030 { auto _e = color(); _o->color = _e; };
1033 …Pack(flatbuffers::FlatBufferBuilder &_fbb, const TestSimpleTableWithEnumT* _o, const flatbuffers::…
1034 return CreateTestSimpleTableWithEnum(_fbb, _o, _rehasher);
1037 …Enum(flatbuffers::FlatBufferBuilder &_fbb, const TestSimpleTableWithEnumT *_o, const flatbuffers::…
1039 (void)_o;
1040 auto _color = _o->color;
1047 auto _o = new StatT();
1048 UnPackTo(_o, _resolver);
1049 return _o;
1052 inline void Stat::UnPackTo(StatT *_o, const flatbuffers::resolver_function_t *_resolver) const {
1053 (void)_o;
1055 { auto _e = id(); if (_e) _o->id = _e->str(); };
1056 { auto _e = val(); _o->val = _e; };
1057 { auto _e = count(); _o->count = _e; };
1060 inline flatbuffers::Offset<Stat> Stat::Pack(flatbuffers::FlatBufferBuilder &_fbb, const StatT* _o, …
1061 return CreateStat(_fbb, _o, _rehasher);
1064 inline flatbuffers::Offset<Stat> CreateStat(flatbuffers::FlatBufferBuilder &_fbb, const StatT *_o, …
1066 (void)_o;
1067 auto _id = _o->id.size() ? _fbb.CreateString(_o->id) : 0;
1068 auto _val = _o->val;
1069 auto _count = _o->count;
1078 auto _o = new MonsterT();
1079 UnPackTo(_o, _resolver);
1080 return _o;
1083 inline void Monster::UnPackTo(MonsterT *_o, const flatbuffers::resolver_function_t *_resolver) cons…
1084 (void)_o;
1086 { auto _e = pos(); if (_e) _o->pos = std::unique_ptr<Vec3>(new Vec3(*_e)); };
1087 { auto _e = mana(); _o->mana = _e; };
1088 { auto _e = hp(); _o->hp = _e; };
1089 { auto _e = name(); if (_e) _o->name = _e->str(); };
1090 …{ auto _e = inventory(); if (_e) for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->…
1091 { auto _e = color(); _o->color = _e; };
1092 { auto _e = test_type(); _o->test.type = _e; };
1093 { auto _e = test(); if (_e) _o->test.table = AnyUnion::UnPack(_e, test_type(),_resolver); };
1094 …{ auto _e = test4(); if (_e) for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->test…
1095 …ng(); if (_e) for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->testarrayofstring.p…
1096 …es(); if (_e) for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->testarrayoftables.p…
1097 { auto _e = enemy(); if (_e) _o->enemy = std::unique_ptr<MonsterT>(_e->UnPack(_resolver)); };
1098 …er(); if (_e) for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->testnestedflatbuffe…
1099 { auto _e = testempty(); if (_e) _o->testempty = std::unique_ptr<StatT>(_e->UnPack(_resolver)); };
1100 { auto _e = testbool(); _o->testbool = _e; };
1101 { auto _e = testhashs32_fnv1(); _o->testhashs32_fnv1 = _e; };
1102 { auto _e = testhashu32_fnv1(); _o->testhashu32_fnv1 = _e; };
1103 { auto _e = testhashs64_fnv1(); _o->testhashs64_fnv1 = _e; };
1104 { auto _e = testhashu64_fnv1(); _o->testhashu64_fnv1 = _e; };
1105 { auto _e = testhashs32_fnv1a(); _o->testhashs32_fnv1a = _e; };
1106 …_resolver)(reinterpret_cast<void **>(&_o->testhashu32_fnv1a), static_cast<flatbuffers::hash_value_…
1107 { auto _e = testhashs64_fnv1a(); _o->testhashs64_fnv1a = _e; };
1108 { auto _e = testhashu64_fnv1a(); _o->testhashu64_fnv1a = _e; };
1109 …ls(); if (_e) for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->testarrayofbools.pu…
1110 { auto _e = testf(); _o->testf = _e; };
1111 { auto _e = testf2(); _o->testf2 = _e; };
1112 { auto _e = testf3(); _o->testf3 = _e; };
1113 …g2(); if (_e) for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->testarrayofstring2.…
1116 …nster> Monster::Pack(flatbuffers::FlatBufferBuilder &_fbb, const MonsterT* _o, const flatbuffers::…
1117 return CreateMonster(_fbb, _o, _rehasher);
1120 …nster> CreateMonster(flatbuffers::FlatBufferBuilder &_fbb, const MonsterT *_o, const flatbuffers::…
1122 (void)_o;
1123 auto _pos = _o->pos ? _o->pos.get() : 0;
1124 auto _mana = _o->mana;
1125 auto _hp = _o->hp;
1126 auto _name = _fbb.CreateString(_o->name);
1127 auto _inventory = _o->inventory.size() ? _fbb.CreateVector(_o->inventory) : 0;
1128 auto _color = _o->color;
1129 auto _test_type = _o->test.type;
1130 auto _test = _o->test.Pack(_fbb);
1131 auto _test4 = _o->test4.size() ? _fbb.CreateVectorOfStructs(_o->test4) : 0;
1132 …auto _testarrayofstring = _o->testarrayofstring.size() ? _fbb.CreateVectorOfStrings(_o->testarrayo…
1133_o->testarrayoftables.size() ? _fbb.CreateVector<flatbuffers::Offset<Monster>>(_o->testarrayoftabl…
1134 auto _enemy = _o->enemy ? CreateMonster(_fbb, _o->enemy.get(), _rehasher) : 0;
1135 …auto _testnestedflatbuffer = _o->testnestedflatbuffer.size() ? _fbb.CreateVector(_o->testnestedfla…
1136 auto _testempty = _o->testempty ? CreateStat(_fbb, _o->testempty.get(), _rehasher) : 0;
1137 auto _testbool = _o->testbool;
1138 auto _testhashs32_fnv1 = _o->testhashs32_fnv1;
1139 auto _testhashu32_fnv1 = _o->testhashu32_fnv1;
1140 auto _testhashs64_fnv1 = _o->testhashs64_fnv1;
1141 auto _testhashu64_fnv1 = _o->testhashu64_fnv1;
1142 auto _testhashs32_fnv1a = _o->testhashs32_fnv1a;
1143 …auto _testhashu32_fnv1a = _rehasher ? static_cast<uint32_t>((*_rehasher)(_o->testhashu32_fnv1a)) :…
1144 auto _testhashs64_fnv1a = _o->testhashs64_fnv1a;
1145 auto _testhashu64_fnv1a = _o->testhashu64_fnv1a;
1146 …auto _testarrayofbools = _o->testarrayofbools.size() ? _fbb.CreateVector(_o->testarrayofbools) : 0;
1147 auto _testf = _o->testf;
1148 auto _testf2 = _o->testf2;
1149 auto _testf3 = _o->testf3;
1150 …auto _testarrayofstring2 = _o->testarrayofstring2.size() ? _fbb.CreateVectorOfStrings(_o->testarra…