Lines Matching refs:userAndPasswd
224 std::string userAndPasswd = input.substr(0, pos);
226 if (userAndPasswd.empty()) {
229 if (userAndPasswd.find('@') != std::string::npos) {
232 if ((posTmp = userAndPasswd.find('@')) != std::string::npos) {
233 userAndPasswd = userAndPasswd.replace(posTmp, 1, "%40");
239 if (userAndPasswd.find(':') != std::string::npos) {
240 size_t position = userAndPasswd.find(':');
241 std::string user = userAndPasswd.substr(0, position);
242 std::string keyWord = userAndPasswd.substr(position + 1);
252 username = userAndPasswd;