Home
last modified time | relevance | path

Searched refs:jid_string (Results 1 – 2 of 2) sorted by relevance

/external/chromium/third_party/libjingle/source/talk/xmpp/
Djid.cc48 Jid::Jid(const std::string & jid_string) { in Jid() argument
49 if (jid_string == STR_EMPTY) { in Jid()
55 size_t slash = jid_string.find('/'); in Jid()
57 jid_string.substr(slash + 1)); in Jid()
61 size_t at = jid_string.find('@'); in Jid()
64 node_name = jid_string.substr(0, at); in Jid()
73 ? jid_string.length() - domain_begin in Jid()
79 if (domain_length == 9 && jid_string.find("gmail.com", domain_begin) == domain_begin) { in Jid()
82 else if (domain_length == 14 && jid_string.find("googlemail.com", domain_begin) == domain_begin) { in Jid()
85 else if (domain_length == 10 && jid_string.find("google.com", domain_begin) == domain_begin) { in Jid()
[all …]
Djid.h47 explicit Jid(const std::string & jid_string);