Home
last modified time | relevance | path

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

/third_party/grpc/test/cpp/interop/
Dclient.cc126 size_t colon_pos = flag.find(':', start_pos); in ParseAdditionalMetadataFlag() local
127 if (colon_pos == std::string::npos) { in ParseAdditionalMetadataFlag()
132 size_t semicolon_pos = flag.find(';', colon_pos); in ParseAdditionalMetadataFlag()
134 std::string key = flag.substr(start_pos, colon_pos - start_pos); in ParseAdditionalMetadataFlag()
136 flag.substr(colon_pos + 1, semicolon_pos - colon_pos - 1); in ParseAdditionalMetadataFlag()
Dstress_test.cc172 size_t colon_pos = it->find(':'); in ParseTestCasesString() local
173 if (colon_pos == std::string::npos) { in ParseTestCasesString()
179 std::string test_name = it->substr(0, colon_pos); in ParseTestCasesString()
180 int weight = std::stoi(it->substr(colon_pos + 1)); in ParseTestCasesString()
/third_party/gn/src/gn/
Dfilesystem_utils.cc192 const auto colon_pos = src_dir_value.find(':'); in AppendFixedAbsolutePathSuffix() local
193 if (colon_pos != std::string::npos) in AppendFixedAbsolutePathSuffix()
194 src_dir_value.erase(src_dir_value.begin() + colon_pos); in AppendFixedAbsolutePathSuffix()
/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc1854 std::string::size_type colon_pos = value.find_first_of(':'); in InterpretArgument() local
1855 if (colon_pos == std::string::npos || IsWindowsAbsolutePath(value)) { in InterpretArgument()
1858 directive.parameter = value.substr(0, colon_pos); in InterpretArgument()
1859 directive.output_location = value.substr(colon_pos + 1); in InterpretArgument()