Lines Matching defs:dbusPath
601 std::string& dbusPath)
604 if (dbusPath.find(toFind) != std::string::npos)
606 size_t pos = dbusPath.find(toFind);
607 dbusPath.replace(pos, toFind.length(), "system/chassis/motherboard");
610 if (dbusPath.find(toFind) != std::string::npos)
612 size_t pos = dbusPath.find(toFind);
613 dbusPath.replace(pos, toFind.length(), "system");
619 size_t pos1 = dbusPath.find(toFind);
623 size_t pos2 = dbusPath.substr(pos1 + 1).find('/') + 1;
625 dbusPath.replace(pos1, pos2 + 1, "");
626 pos1 = dbusPath.find(toFind);