Searched refs:roleName (Results 1 – 4 of 4) sorted by relevance
103 void extractRole(std::string *roleName) { in extractRole() argument106 first = roleName->find("["); in extractRole()107 last = roleName->find("]"); in extractRole()110 *roleName = roleName->substr(first + 1, last - first - 1); in extractRole()287 std::string roleName; in getCurrentRoleHelper() local320 if (readFile(filename, &roleName)) { in getCurrentRoleHelper()326 extractRole(&roleName); in getCurrentRoleHelper()328 if (roleName == "source") { in getCurrentRoleHelper()330 } else if (roleName == "sink") { in getCurrentRoleHelper()332 } else if (roleName == "host") { in getCurrentRoleHelper()[all …]
129 void extractRole(std::string *roleName) { in extractRole() argument132 first = roleName->find("["); in extractRole()133 last = roleName->find("]"); in extractRole()136 *roleName = roleName->substr(first + 1, last - first - 1); in extractRole()313 std::string roleName; in getCurrentRoleHelper() local346 if (readFile(filename, &roleName)) { in getCurrentRoleHelper()352 extractRole(&roleName); in getCurrentRoleHelper()354 if (roleName == "source") { in getCurrentRoleHelper()356 } else if (roleName == "sink") { in getCurrentRoleHelper()358 } else if (roleName == "host") { in getCurrentRoleHelper()[all …]
105 void extractRole(std::string *roleName) { in extractRole() argument108 first = roleName->find("["); in extractRole()109 last = roleName->find("]"); in extractRole()112 *roleName = roleName->substr(first + 1, last - first - 1); in extractRole()289 std::string roleName; in getCurrentRoleHelper() local322 if (readFile(filename, &roleName)) { in getCurrentRoleHelper()328 extractRole(&roleName); in getCurrentRoleHelper()330 if (roleName == "source") { in getCurrentRoleHelper()332 } else if (roleName == "sink") { in getCurrentRoleHelper()334 } else if (roleName == "host") { in getCurrentRoleHelper()[all …]
194 void extractRole(std::string *roleName) { in extractRole() argument197 first = roleName->find("["); in extractRole()198 last = roleName->find("]"); in extractRole()201 *roleName = roleName->substr(first + 1, last - first - 1); in extractRole()368 std::string roleName; in getCurrentRoleHelper() local402 if (readFile(filename, &roleName)) { in getCurrentRoleHelper()407 extractRole(&roleName); in getCurrentRoleHelper()409 if (roleName == "source") { in getCurrentRoleHelper()411 } else if (roleName == "sink") { in getCurrentRoleHelper()413 } else if (roleName == "host") { in getCurrentRoleHelper()[all …]