Home
last modified time | relevance | path

Searched refs:regex_replace (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/tests/qtest/libqos/
H A Dvirtio-9p.c215 static void regex_replace(GString *haystack, const char *pattern, in regex_replace() function
236 regex_replace(cmd_line, "-fsdev synth,", "-fsdev local,"); in virtio_9p_assign_local_driver()
239 regex_replace(cmd_line, "(-fsdev \\w[^ ]*)", "\\1,path='%s'", in virtio_9p_assign_local_driver()
247 regex_replace(cmd_line, "(-fsdev \\w[^ ]*)", "\\1,%s", args); in virtio_9p_assign_local_driver()
/openbmc/dbus-sensors/src/
H A DSensorPaths.cpp56 return std::regex_replace(name, std::regex("[^a-zA-Z0-9_/]+"), "_"); in escapePathForDbus()
/openbmc/entity-manager/src/
H A Dentity_manager.cpp564 std::regex_replace(dbusName.begin(), dbusName.begin(), in createAddObjectMethod()
604 std::regex_replace(boardType.begin(), boardType.begin(), in postToDbus()
615 std::regex_replace(boardName.begin(), boardName.begin(), in postToDbus()
689 std::regex_replace(itemType.begin(), itemType.begin(), in postToDbus()
697 std::regex_replace(itemName.begin(), itemName.begin(), in postToDbus()
H A Doverlay.cpp241 subsituteString = std::regex_replace( in exportDevice()
H A Dfru_device.cpp779 std::regex_replace(property.second.begin(), property.second.begin(), in addFruObjectToDbus()
786 std::regex_replace(property.first, nonAsciiRegex, "_"); in addFruObjectToDbus()
H A Dfru_utils.cpp1131 productName = std::regex_replace(productName, illegalObject, "_"); in getProductName()
/openbmc/phosphor-power/tools/power-utils/
H A Dutils.cpp156 std::regex_replace(vpdValue.begin(), vpdValue.begin(), vpdValue.end(), in readVPDValue()
/openbmc/bmcweb/include/
H A Ddbus_utility.hpp105 std::regex_replace(path.begin(), path.begin(), path.end(), reg, "_"); in escapePathForDbus()
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensorMain.cpp734 std::regex_replace(nameRaw, illegalDbusRegex, "_"); in getCpuConfig()
/openbmc/phosphor-power/phosphor-power-supply/
H A Dpower_supply.cpp887 std::regex_replace(vpdValue.begin(), vpdValue.begin(), vpdValue.end(), in readVPDValue()
/openbmc/openpower-vpd-parser/
H A Dibm_vpd_app.cpp1342 i = regex_replace(i, pattern, ""); in doEnableAllDimms()