Lines Matching defs:pos
88 std::string::size_type pos = fileName.find("_");
89 if (pos == std::string::npos) {
93 if (!IsNum(fileName.substr(0, pos))) {
102 std::string deviceName = fileName.substr(pos + 1);
338 const std::string::size_type pos = fileName.find("_");
339 const std::string processPath = "/proc/" + fileName.substr(0, pos) + "/";
348 if (pos == std::string::npos) {
747 std::string::size_type pos;
750 pos = item.find("_");
751 if (pos != std::string::npos) {
752 std::cout << item.substr(0, pos) << "\t" << item.substr(pos + 1, item.size() - pos - 1) << std::endl;