Home
last modified time | relevance | path

Searched refs:equals_pos (Results 1 – 6 of 6) 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/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dcode_generator.cc65 string::size_type equals_pos = parts[i].find_first_of('='); in ParseGeneratorParameter() local
67 if (equals_pos == string::npos) { in ParseGeneratorParameter()
71 value.first = parts[i].substr(0, equals_pos); in ParseGeneratorParameter()
72 value.second = parts[i].substr(equals_pos + 1); in ParseGeneratorParameter()
Dcommand_line_interface.cc855 const char* equals_pos = strchr(arg, '='); in ParseArgument() local
856 if (equals_pos != NULL) { in ParseArgument()
857 *name = string(arg, equals_pos - arg); in ParseArgument()
858 *value = equals_pos + 1; in ParseArgument()
929 string::size_type equals_pos = parts[i].find_first_of('='); in InterpretArgument() local
930 if (equals_pos == string::npos) { in InterpretArgument()
934 virtual_path = parts[i].substr(0, equals_pos); in InterpretArgument()
935 disk_path = parts[i].substr(equals_pos + 1); in InterpretArgument()
1047 string::size_type equals_pos = value.find_first_of('='); in InterpretArgument() local
1048 if (equals_pos == string::npos) { in InterpretArgument()
[all …]
/external/chromium_org/chrome/browser/local_discovery/
Ddevice_description.cc53 size_t equals_pos = i->find_first_of('='); in FillFromServiceDescription() local
54 if (equals_pos == std::string::npos) in FillFromServiceDescription()
57 std::string key = i->substr(0, equals_pos); in FillFromServiceDescription()
58 std::string value = i->substr(equals_pos + 1); in FillFromServiceDescription()
/external/chromium_org/third_party/webrtc/base/
Doptionsfile.cc43 size_t equals_pos = line.find('='); in Load() local
44 if (equals_pos == std::string::npos) { in Load()
50 std::string key(line, 0, equals_pos); in Load()
51 std::string value(line, equals_pos + 1, line.length() - (equals_pos + 1)); in Load()