src/third_party/protobuf/src/google/protobuf/descriptor_unittest.cc
static std::string EmbedAggregateValue(const char* value) {
  return strings::Substitute(
      "name: \"foo.proto\" "
      "dependency: \"google/protobuf/descriptor.proto\" "
      "message_type { name: \"Foo\" } "
      "extension { name: \"foo\" number: 7672757 label: LABEL_OPTIONAL "
      "            type: TYPE_MESSAGE type_name: \"Foo\" "
      "            extendee: \"google.protobuf.FileOptions\" }"
      "options { uninterpreted_option { name { name_part: \"foo\" "
      "                                        is_extension: true } "
      "                                 $0 } }",
      value);
}
// Helper function for tests that check for aggregate value parsing
// errors.  The "value" argument is embedded inside the
// "uninterpreted_option" portion of the result.
Helper function for tests that check for aggregate value parsing
errors.  The "value" argument is embedded inside the
"uninterpreted_option" portion of the result.
Helper function for tests that check for aggregate value parsing errors . The " value " argument is embedded inside the " uninterpreted_option " portion of the result .
static std::string EmbedAggregateValue(const char* value) {
  return strings::Substitute(
      "name: \"foo.proto\" "
      "dependency: \"google/protobuf/descriptor.proto\" "
      "message_type { name: \"Foo\" } "
      "extension { name: \"foo\" number: 7672757 label: LABEL_OPTIONAL "
      "            type: TYPE_MESSAGE type_name: \"Foo\" "
      "            extendee: \"google.protobuf.FileOptions\" }"
      "options { uninterpreted_option { name { name_part: \"foo\" "
      "                                        is_extension: true } "
      "                                 $0 } }",
      value);
}
static std :: string EmbedAggregateValue ( const char * value ) { return strings :: Substitute ( " \" \" " " \" \" " " \" \" " " \" \" " " \" \" " " \" \" " " \" \" " " " " " , value ) ; }
Helper function for tests that check for aggregate value parsing
errors.
Helper function for tests that check for aggregate value parsing errors .