| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | extended_user_header.cpp | 172 jsonInsert(json, pv::sectionVer, getNumberString("%d", _header.version), 1); in getJSON() 173 jsonInsert(json, pv::subSection, getNumberString("%d", _header.subType), 1); in getJSON() 182 getNumberString("%02X", _refTime.month) + '/' + in getJSON() 183 getNumberString("%02X", _refTime.day) + '/' + in getJSON() 184 getNumberString("%02X", _refTime.yearMSB) + in getJSON() 185 getNumberString("%02X", _refTime.yearLSB) + ' ' + in getJSON() 186 getNumberString("%02X", _refTime.hour) + ':' + in getJSON() 187 getNumberString("%02X", _refTime.minutes) + ':' + in getJSON() 188 getNumberString("%02X", _refTime.seconds), in getJSON() 190 jsonInsert(json, "Symptom Id Len", getNumberString("%d", _symptomIDSize), in getJSON()
|
| H A D | private_header.cpp | 87 std::string creator = getNumberString("%c", _creatorID); in getJSON() 94 jsonInsert(ph, pv::sectionVer, getNumberString("%d", privateHeaderVersion), in getJSON() 96 jsonInsert(ph, pv::subSection, getNumberString("%d", _header.subType), 1); in getJSON() 103 jsonInsert(ph, "Platform Log Id", getNumberString("0x%X", _plid), 1); in getJSON() 104 jsonInsert(ph, "Entry Id", getNumberString("0x%X", _id), 1); in getJSON()
|
| H A D | failing_mtms.cpp | 82 jsonInsert(json, pv::sectionVer, getNumberString("%d", _header.version), 1); in getJSON() 83 jsonInsert(json, pv::subSection, getNumberString("%d", _header.subType), 1); in getJSON()
|
| H A D | user_data_json.cpp | 249 std::string module = getNumberString("%c", tolower(creatorID)) + in getPythonJSON() 250 getNumberString("%04x", componentID); in getPythonJSON() 394 std::string subsystem = getNumberString("%c", tolower(creatorID)); in getJSON() 395 std::string component = getNumberString("%04x", componentID); in getJSON() 398 if (pv::creatorIDs.at(getNumberString("%c", creatorID)) == "BMC" && in getJSON()
|
| H A D | src.cpp | 118 std::string module = getNumberString("%c", tolower(creatorID)) + "src"; in getPythonJSON() 514 auto srcValue = getNumberString( in getErrorDetails() 571 message.append(getNumberString( in getErrorMessage() 686 mruId.append(", " + getNumberString("%08X", element.id)); in getCallouts() 690 mruId.append(getNumberString("%08X", element.id)); in getCallouts() 710 jsonInsert(ps, pv::sectionVer, getNumberString("%d", _header.version), 1); in getJSON() 711 jsonInsert(ps, pv::subSection, getNumberString("%d", _header.subType), 1); in getJSON() 714 jsonInsert(ps, "SRC Version", getNumberString("0x%02X", _version), 1); in getJSON() 715 jsonInsert(ps, "SRC Format", getNumberString("0x%02X", _hexData[0] & 0xFF), in getJSON() 731 ccinString = getNumberString("%04X", ccin); in getJSON() [all …]
|
| H A D | json_utils.hpp | 66 std::string getNumberString(const char* format, T number) in getNumberString() function
|
| H A D | user_header.cpp | 267 jsonInsert(uh, pv::sectionVer, getNumberString("%d", userHeaderVersion), 1); in getJSON() 268 jsonInsert(uh, pv::subSection, getNumberString("%d", _header.subType), 1); in getJSON()
|
| H A D | json_utils.cpp | 281 auto id = getNumberString("%04X", compID); in lookupComponentName() 328 name = getNumberString("0x%04X", compID); in getComponentName()
|
| H A D | pel.cpp | 383 getNumberString("%d", section.header().version), 1); in printSectionInJSON() 385 getNumberString("%d", section.header().subType), 1); in printSectionInJSON() 387 getNumberString("0x%X", section.header().componentID), in printSectionInJSON()
|
| H A D | manager.cpp | 201 ad.add("PLID", getNumberString("0x%08X", pel->plid())); in addPEL() 527 data.add("BAD_ID", getNumberString("0x%08X", pelID)); in hostReject() 748 str += getNumberString("%08X", value); in getEventId()
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | json_utils_test.cpp | 29 EXPECT_EQ(getNumberString("%d", number), "123"); in TEST() 30 EXPECT_EQ(getNumberString("%03X", number), "07B"); in TEST() 31 EXPECT_EQ(getNumberString("0x%X", number), "0x7B"); in TEST() 32 EXPECT_THROW(getNumberString("%123", number), std::invalid_argument); in TEST()
|
| /openbmc/phosphor-logging/extensions/openpower-pels/tools/ |
| H A D | peltool.cpp | 370 getNumberString("0x%X", pel.privateHeader().id()) + in genPELJSON() 394 getNumberString("0x%X", pel.privateHeader().plid()), 2); in genPELJSON() 398 getNumberString("%c", pel.privateHeader().creatorID()); in genPELJSON() 744 << getNumberString("%d", count) << "\n}\n"; in printPELCount()
|