Lines Matching refs:hp_field
479 auto &hp_field = *hp_field_ptr; in ReflectionTest() local
480 TEST_EQ_STR(hp_field.name()->c_str(), "hp"); in ReflectionTest()
481 TEST_EQ(hp_field.id(), 2); in ReflectionTest()
482 TEST_EQ(hp_field.type()->base_type(), reflection::Short); in ReflectionTest()
503 auto hp = flatbuffers::GetFieldI<uint16_t>(root, hp_field); in ReflectionTest()
508 auto hp_int64 = flatbuffers::GetAnyFieldI(root, hp_field); in ReflectionTest()
510 auto hp_double = flatbuffers::GetAnyFieldF(root, hp_field); in ReflectionTest()
512 auto hp_string = flatbuffers::GetAnyFieldS(root, hp_field, &schema); in ReflectionTest()
530 flatbuffers::SetField<uint16_t>(&root, hp_field, 200); in ReflectionTest()
531 hp = flatbuffers::GetFieldI<uint16_t>(root, hp_field); in ReflectionTest()
535 flatbuffers::SetAnyFieldI(&root, hp_field, 300); in ReflectionTest()
536 hp_int64 = flatbuffers::GetAnyFieldI(root, hp_field); in ReflectionTest()
538 flatbuffers::SetAnyFieldF(&root, hp_field, 300.5); in ReflectionTest()
539 hp_int64 = flatbuffers::GetAnyFieldI(root, hp_field); in ReflectionTest()
541 flatbuffers::SetAnyFieldS(&root, hp_field, "300"); in ReflectionTest()
542 hp_int64 = flatbuffers::GetAnyFieldI(root, hp_field); in ReflectionTest()
550 flatbuffers::SetField<uint16_t>(&root, hp_field, 80); in ReflectionTest()