Home
last modified time | relevance | path

Searched refs:stringInfo (Results 1 – 3 of 3) sorted by relevance

/openbmc/pldm/libpldmresponder/
H A Dbios_string_attribute.cpp32 stringInfo.stringType = static_cast<uint8_t>(iter->second); in BIOSStringAttribute()
34 stringInfo.minLength = entry.at("minimum_string_length"); in BIOSStringAttribute()
35 stringInfo.maxLength = entry.at("maximum_string_length"); in BIOSStringAttribute()
36 stringInfo.defString = entry.at("default_string"); in BIOSStringAttribute()
37 stringInfo.defLength = in BIOSStringAttribute()
38 static_cast<uint16_t>((stringInfo.defString).length()); in BIOSStringAttribute()
43 stringInfo.stringType, in BIOSStringAttribute()
44 stringInfo.minLength, in BIOSStringAttribute()
45 stringInfo.maxLength, in BIOSStringAttribute()
46 stringInfo in BIOSStringAttribute()
[all...]
H A Dbios_string_attribute.hpp91 table::attribute::StringField stringInfo; member in pldm::responder::bios::BIOSStringAttribute
/openbmc/pldm/libpldmresponder/test/
H A Dlibpldmresponder_bios_string_attribute_test.cpp25 return biosStringAttribute.stringInfo; in getStringInfo()
45 auto& stringInfo = getStringInfo(stringReadOnly); in TEST_F() local
46 EXPECT_EQ(stringInfo.stringType, in TEST_F()
48 EXPECT_EQ(stringInfo.minLength, 1); in TEST_F()
49 EXPECT_EQ(stringInfo.maxLength, 100); in TEST_F()
50 EXPECT_EQ(stringInfo.defLength, 2); in TEST_F()
51 EXPECT_EQ(stringInfo.defString, "ef"); in TEST_F()