Lines Matching refs:opath
141 std::ostringstream opath; in getRxPackets() local
142 opath << "/sys/class/net/" << name << "/statistics/rx_packets"; in getRxPackets()
143 std::string path = opath.str(); in getRxPackets()
181 std::ostringstream opath; in getCpldVersion() local
182 opath << "/run/cpld" << id << ".version"; in getCpldVersion()
186 if (!this->getFs()->exists(opath.str(), ec)) in getCpldVersion()
188 stdplus::print(stderr, "Path: '{}' doesn't exist.\n", opath.str()); in getCpldVersion()
199 ifs.open(opath.str()); in getCpldVersion()
787 std::string opath = std::format("/run/bm-instance/{}", propertyTypeString); in getBMInstanceProperty() local
792 if (!this->getFs()->exists(opath, ec)) in getBMInstanceProperty()
794 stdplus::print(stderr, "Path: '{}' doesn't exist.\n", opath); in getBMInstanceProperty()
803 ifs.open(opath); in getBMInstanceProperty()
808 stdplus::print(stderr, "Failed to read: '{}'.\n", opath); in getBMInstanceProperty()