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.cc60 string::size_type equals_pos = parts[i].find_first_of('='); in ParseGeneratorParameter() local
62 if (equals_pos == string::npos) { in ParseGeneratorParameter()
66 value.first = parts[i].substr(0, equals_pos); in ParseGeneratorParameter()
67 value.second = parts[i].substr(equals_pos + 1); in ParseGeneratorParameter()
Dcommand_line_interface.cc803 const char* equals_pos = strchr(arg, '='); in ParseArgument() local
804 if (equals_pos != NULL) { in ParseArgument()
805 *name = string(arg, equals_pos - arg); in ParseArgument()
806 *value = equals_pos + 1; in ParseArgument()
875 int equals_pos = parts[i].find_first_of('='); in InterpretArgument() local
876 if (equals_pos == string::npos) { in InterpretArgument()
880 virtual_path = parts[i].substr(0, equals_pos); in InterpretArgument()
881 disk_path = parts[i].substr(equals_pos + 1); in InterpretArgument()
983 string::size_type equals_pos = value.find_first_of('='); in InterpretArgument() local
984 if (equals_pos == string::npos) { in InterpretArgument()
[all …]
/external/dbus/dbus/
Ddbus-address.c431 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()