Home
last modified time | relevance | path

Searched refs:timeStruct (Results 1 – 8 of 8) sorted by relevance

/openbmc/phosphor-power/phosphor-regulators/src/
H A Djournal.cpp164 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 Djournal.cpp166 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 Devent_log.cpp39 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 Dfan_error.cpp290 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 Docc_ffdc.cpp373 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 Dstoragecommands.cpp1015 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 Dstoragecommands.cpp968 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 Deventlog_utils.hpp196 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()