Searched refs:parsePostCode (Results 1 – 2 of 2) sorted by relevance
| /openbmc/bmcweb/test/redfish-core/lib/ |
| H A D | systems_logservices_postcode.cpp | 19 EXPECT_TRUE(parsePostCode("B1-2", currentValue, index)); in TEST() 22 EXPECT_TRUE(parsePostCode("B200-300", currentValue, index)); in TEST() 26 EXPECT_FALSE(parsePostCode("", currentValue, index)); in TEST() 27 EXPECT_FALSE(parsePostCode("B", currentValue, index)); in TEST() 28 EXPECT_FALSE(parsePostCode("B1", currentValue, index)); in TEST() 29 EXPECT_FALSE(parsePostCode("B1-", currentValue, index)); in TEST() 30 EXPECT_FALSE(parsePostCode("B1A-2", currentValue, index)); in TEST() 31 EXPECT_FALSE(parsePostCode("B1A-2", currentValue, index)); in TEST() 32 EXPECT_FALSE(parsePostCode("B1A-2z", currentValue, index)); in TEST() 34 EXPECT_FALSE(parsePostCode("B65536-1", currentValue, index)); in TEST() [all …]
|
| /openbmc/bmcweb/redfish-core/lib/ |
| H A D | systems_logservices_postcodes.hpp | 158 inline bool parsePostCode(std::string_view postCodeID, uint64_t& currentValue, in parsePostCode() function 333 if (!parsePostCode(entryId, codeIndex, bootIndex)) in getPostCodeForEntry() 536 if (!parsePostCode(postCodeID, currentValue, index)) in handleSystemsLogServicesPostCodesEntriesEntryAdditionalDataGet()
|