Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/compiler/
Dcode_generator.cc70 string::size_type equals_pos = parts[i].find_first_of('='); in ParseGeneratorParameter() local
72 if (equals_pos == string::npos) { in ParseGeneratorParameter()
76 value.first = parts[i].substr(0, equals_pos); in ParseGeneratorParameter()
77 value.second = parts[i].substr(equals_pos + 1); in ParseGeneratorParameter()
Dcommand_line_interface.cc1044 const char* equals_pos = strchr(arg, '='); in ParseArgument() local
1045 if (equals_pos != NULL) { in ParseArgument()
1046 *name = string(arg, equals_pos - arg); in ParseArgument()
1047 *value = equals_pos + 1; in ParseArgument()
1121 string::size_type equals_pos = parts[i].find_first_of('='); in InterpretArgument() local
1122 if (equals_pos == string::npos) { in InterpretArgument()
1126 virtual_path = parts[i].substr(0, equals_pos); in InterpretArgument()
1127 disk_path = parts[i].substr(equals_pos + 1); in InterpretArgument()
1256 string::size_type equals_pos = value.find_first_of('='); in InterpretArgument() local
1257 if (equals_pos == string::npos) { in InterpretArgument()
[all …]
/external/webrtc/webrtc/base/
Doptionsfile.cc45 size_t equals_pos = line.find('='); in Load() local
46 if (equals_pos == std::string::npos) { in Load()
52 std::string key(line, 0, equals_pos); in Load()
53 std::string value(line, equals_pos + 1, line.length() - (equals_pos + 1)); in Load()