Searched refs:rfc4122 (Results 1 – 3 of 3) sorted by relevance
/openbmc/phosphor-net-ipmid/command/ |
H A D | guid.cpp | 27 static void rfcToGuid(std::string rfc4122, Guid& uuid) in rfcToGuid() argument 37 if (rfc4122.size() == uuidRfc4122Length) in rfcToGuid() 39 rfc4122.erase(std::remove(rfc4122.begin(), rfc4122.end(), '-'), in rfcToGuid() 40 rfc4122.end()); in rfcToGuid() 42 if (rfc4122.size() != uuidHexLength) in rfcToGuid() 45 Argument::ARGUMENT_VALUE(rfc4122.c_str())); in rfcToGuid() 52 b = std::stoul(rfc4122.substr(ind, 2), nullptr, 16); in rfcToGuid() 57 Argument::ARGUMENT_VALUE(rfc4122.c_str())); in rfcToGuid()
|
/openbmc/intel-ipmi-oem/src/ |
H A D | appcommands.cpp | 272 rfc4122ToIpmiConvesrion(std::string rfc4122) in rfc4122ToIpmiConvesrion() argument 282 if (rfc4122.size() == uuidRfc4122Length) in rfc4122ToIpmiConvesrion() 284 rfc4122.erase(std::remove(rfc4122.begin(), rfc4122.end(), '-'), in rfc4122ToIpmiConvesrion() 285 rfc4122.end()); in rfc4122ToIpmiConvesrion() 287 if (rfc4122.size() != uuidHexLength) in rfc4122ToIpmiConvesrion() 290 Argument::ARGUMENT_VALUE(rfc4122.c_str())); in rfc4122ToIpmiConvesrion() 295 v[0] = rfc4122[ind]; in rfc4122ToIpmiConvesrion() 296 v[1] = rfc4122[ind + 1]; in rfc4122ToIpmiConvesrion() 307 Argument::ARGUMENT_VALUE(rfc4122.c_str())); in rfc4122ToIpmiConvesrion() 313 Argument::ARGUMENT_VALUE(rfc4122.c_str())); in rfc4122ToIpmiConvesrion()
|
/openbmc/phosphor-host-ipmid/ |
H A D | apphandler.cpp | 761 static std::array<uint8_t, uuidBinaryLength> rfc4122ToIpmi(std::string rfc4122) in rfc4122ToIpmi() argument 771 if (rfc4122.size() == uuidRfc4122Length) in rfc4122ToIpmi() 773 rfc4122.erase(std::remove(rfc4122.begin(), rfc4122.end(), '-'), in rfc4122ToIpmi() 774 rfc4122.end()); in rfc4122ToIpmi() 776 if (rfc4122.size() != uuidHexLength) in rfc4122ToIpmi() 779 Argument::ARGUMENT_VALUE(rfc4122.c_str())); in rfc4122ToIpmi() 784 v[0] = rfc4122[ind]; in rfc4122ToIpmi() 785 v[1] = rfc4122[ind + 1]; in rfc4122ToIpmi() 796 Argument::ARGUMENT_VALUE(rfc4122.c_str())); in rfc4122ToIpmi() 802 Argument::ARGUMENT_VALUE(rfc4122.c_str())); in rfc4122ToIpmi()
|