Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/
Dcode_generator.cc107 std::string::size_type equals_pos = parts[i].find_first_of('='); in ParseGeneratorParameter() local
109 if (equals_pos == std::string::npos) { in ParseGeneratorParameter()
113 value.first = parts[i].substr(0, equals_pos); in ParseGeneratorParameter()
114 value.second = parts[i].substr(equals_pos + 1); in ParseGeneratorParameter()
Dcommand_line_interface.cc1382 const char* equals_pos = strchr(arg, '='); in ParseArgument() local
1383 if (equals_pos != NULL) { in ParseArgument()
1384 *name = std::string(arg, equals_pos - arg); in ParseArgument()
1385 *value = equals_pos + 1; in ParseArgument()
1459 std::string::size_type equals_pos = parts[i].find_first_of('='); in InterpretArgument() local
1460 if (equals_pos == std::string::npos) { in InterpretArgument()
1464 virtual_path = parts[i].substr(0, equals_pos); in InterpretArgument()
1465 disk_path = parts[i].substr(equals_pos + 1); in InterpretArgument()
1649 std::string::size_type equals_pos = value.find_first_of('='); in InterpretArgument() local
1650 if (equals_pos == std::string::npos) { in InterpretArgument()
[all …]