Home
last modified time | relevance | path

Searched refs:nameLen (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-host-ipmid/include/dbus-sdr/
H A Dstoragecommands.hpp110 size_t nameLen = std::min(sensorname.size(), sizeof(name)); local
113 sizeof(name) + nameLen;
114 typeLengthCode = 0xc0 | nameLen;
115 std::copy(sensorname.begin(), sensorname.begin() + nameLen, name);
/openbmc/intel-ipmi-oem/include/
H A Dstoragecommands.hpp283 size_t nameLen = std::min(sensorname.size(), sizeof(name)); local
286 sizeof(name) + nameLen;
287 typeLengthCode = 0xc0 | nameLen;
288 std::copy(sensorname.begin(), sensorname.begin() + nameLen, name);
/openbmc/phosphor-host-ipmid/user_channel/
H A Dusercommands.cpp223 size_t nameLen = strnlen(reinterpret_cast<const char*>(name.data()), in ipmiSetUserName() local
226 nameLen); in ipmiSetUserName()
/openbmc/ipmitool/lib/
H A Dipmi_fru.c1614 uint8_t nameLen; in ipmi_fru_oemkontron_get() local
1617 nameLen = ( fru_data[offset++] &= 0x3F ); in ipmi_fru_oemkontron_get()
1618 printf(" Name: %*.*s\n",nameLen, nameLen, (const char *)(fru_data+offset)); in ipmi_fru_oemkontron_get()
1620 offset+=nameLen; in ipmi_fru_oemkontron_get()
1766 uint8_t nameLen; in ipmi_fru_oemkontron_edit() local
1770 nameLen = ( fru_data[offset++] & 0x3F ); in ipmi_fru_oemkontron_edit()
1775 (const char *)(fru_data+offset),nameLen)&& (matchInstance == instance)){ in ipmi_fru_oemkontron_edit()
1778 offset+=nameLen; in ipmi_fru_oemkontron_edit()
1825 (const char *)(fru_data+offset), nameLen)){ in ipmi_fru_oemkontron_edit()
1829 offset+=nameLen; in ipmi_fru_oemkontron_edit()
[all …]
/openbmc/intel-ipmi-oem/src/
H A Doemcommands.cpp1343 size_t nameLen = strnlen(reinterpret_cast<const char*>(userName.data()), in ipmiOEMSetUser2Activation() local
1346 reinterpret_cast<const char*>(userName.data()), nameLen); in ipmiOEMSetUser2Activation()