Home
last modified time | relevance | path

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

/external/libbrillo/brillo/dbus/
Dutils.cc60 size_t colon_pos = part.find(':'); in AddDBusError() local
61 if (slash_pos != std::string::npos && colon_pos != std::string::npos && in AddDBusError()
62 slash_pos < colon_pos) { in AddDBusError()
66 std::string code = part.substr(slash_pos + 1, colon_pos - slash_pos - 1); in AddDBusError()
67 std::string message = part.substr(colon_pos + 1); in AddDBusError()
70 colon_pos == std::string::npos && errors.empty()) { in AddDBusError()
/external/webrtc/webrtc/p2p/base/
Dport.cc450 size_t colon_pos = username.find(":"); in ParseStunUsername() local
451 if (colon_pos == std::string::npos) { in ParseStunUsername()
455 *local_ufrag = username.substr(0, colon_pos); in ParseStunUsername()
456 *remote_ufrag = username.substr(colon_pos + 1, username.size()); in ParseStunUsername()
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc1325 string::size_type colon_pos = value.find_first_of(':'); in InterpretArgument() local
1326 if (colon_pos == string::npos || IsWindowsAbsolutePath(value)) { in InterpretArgument()
1329 directive.parameter = value.substr(0, colon_pos); in InterpretArgument()
1330 directive.output_location = value.substr(colon_pos + 1); in InterpretArgument()