Searched refs:colon_pos (Results 1 – 5 of 5) sorted by relevance
62 size_t colon_pos = part.find(':'); in AddDBusError() local63 if (slash_pos != std::string::npos && colon_pos != std::string::npos && in AddDBusError()64 slash_pos < colon_pos) { in AddDBusError()68 std::string code = part.substr(slash_pos + 1, colon_pos - slash_pos - 1); in AddDBusError()69 std::string message = part.substr(colon_pos + 1); in AddDBusError()72 colon_pos == std::string::npos && errors.empty()) { in AddDBusError()
149 size_t colon_pos = line.find(':', len); in LazyCpuInfoValue() local150 if (colon_pos == std::string::npos) { in LazyCpuInfoValue()155 StringPiece value_sp = line_sp.substr(colon_pos + 1); in LazyCpuInfoValue()
628 colon_pos = stmt.find(":")629 if colon_pos < 0:631 w = stmt[:colon_pos].strip()637 stmt = stmt[colon_pos+1:].strip()
1155 string::size_type colon_pos = value.find_first_of(':'); in InterpretArgument() local1156 if (colon_pos == string::npos || IsWindowsAbsolutePath(value)) { in InterpretArgument()1159 directive.parameter = value.substr(0, colon_pos); in InterpretArgument()1160 directive.output_location = value.substr(colon_pos + 1); in InterpretArgument()
450 size_t colon_pos = username.find(":"); in ParseStunUsername() local451 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()