Searched refs:hp_field (Results 1 – 1 of 1) sorted by relevance
/external/flatbuffers/tests/ |
D | test.cpp | 888 auto &hp_field = *hp_field_ptr; in ReflectionTest() local 889 TEST_EQ_STR(hp_field.name()->c_str(), "hp"); in ReflectionTest() 890 TEST_EQ(hp_field.id(), 2); in ReflectionTest() 891 TEST_EQ(hp_field.type()->base_type(), reflection::Short); in ReflectionTest() 912 auto hp = flatbuffers::GetFieldI<uint16_t>(root, hp_field); in ReflectionTest() 917 auto hp_int64 = flatbuffers::GetAnyFieldI(root, hp_field); in ReflectionTest() 919 auto hp_double = flatbuffers::GetAnyFieldF(root, hp_field); in ReflectionTest() 921 auto hp_string = flatbuffers::GetAnyFieldS(root, hp_field, &schema); in ReflectionTest() 941 flatbuffers::SetField<uint16_t>(&root, hp_field, 200); in ReflectionTest() 942 hp = flatbuffers::GetFieldI<uint16_t>(root, hp_field); in ReflectionTest() [all …]
|