Searched refs:colon_pos (Results 1 – 5 of 5) sorted by relevance
60 size_t colon_pos = part.find(':'); in AddDBusError() local61 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()
172 size_t colon_pos = it->find(':'); in ParseTestCasesString() local173 if (colon_pos == grpc::string::npos) { in ParseTestCasesString()179 grpc::string test_name = it->substr(0, colon_pos); in ParseTestCasesString()180 int weight = std::stoi(it->substr(colon_pos + 1)); in ParseTestCasesString()
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()
1325 string::size_type colon_pos = value.find_first_of(':'); in InterpretArgument() local1326 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()
1046 auto colon_pos = name.find_first_of(":"); in CheckEachArray() local1047 if (colon_pos != string::npos) { in CheckEachArray()1048 CHECK_EQ(name.substr(colon_pos + 1).find_first_not_of("0123456789"), in CheckEachArray()1052 CHECK_GT(colon_pos, 0) << "Array '" << name in CheckEachArray()