Lines Matching refs:hp_field
706 auto &hp_field = *hp_field_ptr; in ReflectionTest() local
707 TEST_EQ_STR(hp_field.name()->c_str(), "hp"); in ReflectionTest()
708 TEST_EQ(hp_field.id(), 2); in ReflectionTest()
709 TEST_EQ(hp_field.type()->base_type(), reflection::Short); in ReflectionTest()
730 auto hp = flatbuffers::GetFieldI<uint16_t>(root, hp_field); in ReflectionTest()
735 auto hp_int64 = flatbuffers::GetAnyFieldI(root, hp_field); in ReflectionTest()
737 auto hp_double = flatbuffers::GetAnyFieldF(root, hp_field); in ReflectionTest()
739 auto hp_string = flatbuffers::GetAnyFieldS(root, hp_field, &schema); in ReflectionTest()
759 flatbuffers::SetField<uint16_t>(&root, hp_field, 200); in ReflectionTest()
760 hp = flatbuffers::GetFieldI<uint16_t>(root, hp_field); in ReflectionTest()
764 flatbuffers::SetAnyFieldI(&root, hp_field, 300); in ReflectionTest()
765 hp_int64 = flatbuffers::GetAnyFieldI(root, hp_field); in ReflectionTest()
767 flatbuffers::SetAnyFieldF(&root, hp_field, 300.5); in ReflectionTest()
768 hp_int64 = flatbuffers::GetAnyFieldI(root, hp_field); in ReflectionTest()
770 flatbuffers::SetAnyFieldS(&root, hp_field, "300"); in ReflectionTest()
771 hp_int64 = flatbuffers::GetAnyFieldI(root, hp_field); in ReflectionTest()
779 flatbuffers::SetField<uint16_t>(&root, hp_field, 80); in ReflectionTest()