Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/authorization/
Devaluate_args.cc77 size_t first_colon = addr.find(":"); in GetLocalAddress() local
79 if (first_colon == std::string::npos || last_colon == std::string::npos) { in GetLocalAddress()
82 return addr.substr(first_colon + 1, last_colon - first_colon - 1); in GetLocalAddress()
101 size_t first_colon = addr.find(":"); in GetPeerAddress() local
103 if (first_colon == std::string::npos || last_colon == std::string::npos) { in GetPeerAddress()
106 return addr.substr(first_colon + 1, last_colon - first_colon - 1); in GetPeerAddress()