Searched refs:role_str (Results 1 – 3 of 3) sorted by relevance
34 bool StringToConnectionRole(const std::string& role_str, ConnectionRole* role) { in StringToConnectionRole() argument43 if (stricmp(roles[i], role_str.c_str()) == 0) { in StringToConnectionRole()51 bool ConnectionRoleToString(const ConnectionRole& role, std::string* role_str) { in ConnectionRoleToString() argument54 *role_str = cricket::CONNECTIONROLE_ACTIVE_STR; in ConnectionRoleToString()57 *role_str = cricket::CONNECTIONROLE_ACTPASS_STR; in ConnectionRoleToString()60 *role_str = cricket::CONNECTIONROLE_PASSIVE_STR; in ConnectionRoleToString()63 *role_str = cricket::CONNECTIONROLE_HOLDCONN_STR; in ConnectionRoleToString()
96 bool StringToConnectionRole(const std::string& role_str, ConnectionRole* role);97 bool ConnectionRoleToString(const ConnectionRole& role, std::string* role_str);
2016 std::string role_str = fields[1]; in ParseDtlsSetup() local2017 if (!cricket::StringToConnectionRole(role_str, role)) { in ParseDtlsSetup()