Searched refs:equals_pos (Results 1 – 6 of 6) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/ |
D | code_generator.cc | 60 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()
|
D | command_line_interface.cc | 803 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/ |
D | code_generator.cc | 65 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()
|
D | command_line_interface.cc | 855 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/ |
D | device_description.cc | 53 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/ |
D | optionsfile.cc | 43 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()
|