Searched refs:timeStruct (Results 1 – 8 of 8) sorted by relevance
| /openbmc/phosphor-power/phosphor-regulators/src/ |
| H A D | journal.cpp | 164 struct tm* timeStruct = localtime(&secs); in getTimeStamp() local 165 if (timeStruct == nullptr) in getTimeStamp() 173 strftime(timeStamp, sizeof(timeStamp), "%b %d %H:%M:%S", timeStruct); in getTimeStamp()
|
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | journal.cpp | 166 struct tm* timeStruct = gmtime(&secs); in getTimeStamp() local 167 if (timeStruct == nullptr) in getTimeStamp() 175 strftime(timeStamp, sizeof(timeStamp), "%b %d %H:%M:%S", timeStruct); in getTimeStamp()
|
| /openbmc/bmcweb/redfish-core/src/ |
| H A D | event_log.cpp | 39 std::tm timeStruct = {}; in getUniqueEntryID() local 41 if (entryStream >> std::get_time(&timeStruct, "%Y-%m-%dT%H:%M:%S")) in getUniqueEntryID() 43 curTs = std::mktime(&timeStruct); in getUniqueEntryID()
|
| /openbmc/phosphor-fan-presence/monitor/ |
| H A D | fan_error.cpp | 290 struct tm* timeStruct = localtime(&secs); in getTimeStamp() local 291 if (timeStruct == nullptr) in getTimeStamp() 298 strftime(timeStamp, sizeof(timeStamp), "%b %d %H:%M:%S", timeStruct); in getTimeStamp()
|
| /openbmc/openpower-occ-control/ |
| H A D | occ_ffdc.cpp | 373 struct tm* timeStruct = localtime(&secs); in getTimeStamp() local 374 if (timeStruct == nullptr) in getTimeStamp() 381 strftime(timeStamp, sizeof(timeStamp), "%b %d %H:%M:%S", timeStruct); in getTimeStamp()
|
| /openbmc/phosphor-host-ipmid/dbus-sdr/ |
| H A D | storagecommands.cpp | 1015 std::tm timeStruct = {}; in ipmiStorageGetSELEntry() local 1019 if (entryStream >> std::get_time(&timeStruct, "%Y-%m-%dT%H:%M:%S")) in ipmiStorageGetSELEntry() 1021 timeStruct.tm_isdst = -1; in ipmiStorageGetSELEntry() 1022 timestamp = std::mktime(&timeStruct); in ipmiStorageGetSELEntry() 1095 std::tm timeStruct = {}; in ipmiStorageGetSELEntry() local 1099 if (entryStream >> std::get_time(&timeStruct, "%Y-%m-%dT%H:%M:%S")) in ipmiStorageGetSELEntry() 1101 timeStruct.tm_isdst = -1; in ipmiStorageGetSELEntry() 1102 timestamp = std::mktime(&timeStruct); in ipmiStorageGetSELEntry()
|
| /openbmc/intel-ipmi-oem/src/ |
| H A D | storagecommands.cpp | 968 std::tm timeStruct = {}; in ipmiStorageGetSELEntry() local 972 if (entryStream >> std::get_time(&timeStruct, "%Y-%m-%dT%H:%M:%S")) in ipmiStorageGetSELEntry() 974 timestamp = std::mktime(&timeStruct); in ipmiStorageGetSELEntry() 1036 std::tm timeStruct = {}; in ipmiStorageGetSELEntry() local 1040 if (entryStream >> std::get_time(&timeStruct, "%Y-%m-%dT%H:%M:%S")) in ipmiStorageGetSELEntry() 1042 timestamp = std::mktime(&timeStruct); in ipmiStorageGetSELEntry()
|
| /openbmc/bmcweb/redfish-core/include/utils/ |
| H A D | eventlog_utils.hpp | 196 std::tm timeStruct = {}; in getUniqueEntryID() local 198 if (entryStream >> std::get_time(&timeStruct, "%Y-%m-%dT%H:%M:%S")) in getUniqueEntryID() 200 curTs = std::mktime(&timeStruct); in getUniqueEntryID()
|