Searched refs:equals_pos (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/ |
D | code_generator.cc | 69 string::size_type equals_pos = parts[i].find_first_of('='); in ParseGeneratorParameter() local 71 if (equals_pos == string::npos) { in ParseGeneratorParameter() 75 value.first = parts[i].substr(0, equals_pos); in ParseGeneratorParameter() 76 value.second = parts[i].substr(equals_pos + 1); in ParseGeneratorParameter()
|
D | command_line_interface.cc | 895 const char* equals_pos = strchr(arg, '='); in ParseArgument() local 896 if (equals_pos != NULL) { in ParseArgument() 897 *name = string(arg, equals_pos - arg); in ParseArgument() 898 *value = equals_pos + 1; in ParseArgument() 970 string::size_type equals_pos = parts[i].find_first_of('='); in InterpretArgument() local 971 if (equals_pos == string::npos) { in InterpretArgument() 975 virtual_path = parts[i].substr(0, equals_pos); in InterpretArgument() 976 disk_path = parts[i].substr(equals_pos + 1); in InterpretArgument() 1088 string::size_type equals_pos = value.find_first_of('='); in InterpretArgument() local 1089 if (equals_pos == string::npos) { in InterpretArgument() [all …]
|
/external/webrtc/webrtc/base/ |
D | optionsfile.cc | 45 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()
|
/external/dbus/dbus/ |
D | dbus-address.c | 431 int comma_pos, equals_pos; in dbus_parse_address() local 436 if (!_dbus_string_find_to (&str, pos, comma_pos, "=", &equals_pos) || in dbus_parse_address() 437 equals_pos == pos || equals_pos + 1 == comma_pos) in dbus_parse_address() 483 if (!_dbus_string_copy_len (&str, pos, equals_pos - pos, key, 0)) in dbus_parse_address() 494 if (!append_unescaped_value (value, &str, equals_pos + 1, in dbus_parse_address() 495 comma_pos - equals_pos - 1, error)) in dbus_parse_address()
|