Home
last modified time | relevance | path

Searched refs:findHyphen (Results 1 – 2 of 2) sorted by relevance

/openbmc/dbus-sensors/src/
H A DUtils.hpp401 auto findHyphen = deviceName.find('-'); in getDeviceBusAddr() local
402 if (findHyphen == std::string::npos) in getDeviceBusAddr()
407 std::string busStr = deviceName.substr(0, findHyphen); in getDeviceBusAddr()
408 std::string addrStr = deviceName.substr(findHyphen + 1); in getDeviceBusAddr()
/openbmc/ipmbbridge/
H A Dipmbbridged.cpp539 auto findHyphen = ipmbI2cTargetStr.find("-"); in ipmbChannelInit() local
540 std::string busStr = ipmbI2cTargetStr.substr(findHyphen + 1); in ipmbChannelInit()