Home
last modified time | relevance | path

Searched refs:message_name (Results 1 - 15 of 15) sorted by relevance

/third_party/protobuf/benchmarks/util/
H A Dproto3_data_stripper.cc43 if (dataset.message_name() == "benchmarks.proto3.GoogleMessage1") { in main()
45 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage1") { in main()
47 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage2") { in main()
49 } else if (dataset.message_name() == in main()
52 } else if (dataset.message_name() == in main()
56 std::cerr << "Unknown message type: " << dataset.message_name(); in main()
H A Dgogo_data_scrubber.cc43 if (dataset.message_name() == "benchmarks.proto3.GoogleMessage1") { in main()
45 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage1") { in main()
47 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage2") { in main()
49 } else if (dataset.message_name() == in main()
52 } else if (dataset.message_name() == in main()
56 std::cerr << "Unknown message type: " << dataset.message_name(); in main()
/third_party/protobuf/benchmarks/cpp/
H A Dcpp_benchmark.cc61 dataset.message_name()); in Fixture()
64 std::cerr << "Couldn't find message named '" << dataset.message_name() in Fixture()
220 if (dataset.message_name() == "benchmarks.proto3.GoogleMessage1") { in RegisterBenchmarks()
222 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage1") { in RegisterBenchmarks()
224 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage2") { in RegisterBenchmarks()
226 } else if (dataset.message_name() == in RegisterBenchmarks()
230 } else if (dataset.message_name() == in RegisterBenchmarks()
235 std::cerr << "Unknown message type: " << dataset.message_name(); in RegisterBenchmarks()
/third_party/protobuf/benchmarks/python/
H A Dpy_benchmark.py56 result["message_name"] = benchmark_dataset.message_name
76 if benchmark_dataset.message_name == "benchmarks.proto3.GoogleMessage1":
78 elif benchmark_dataset.message_name == "benchmarks.proto2.GoogleMessage1":
80 elif benchmark_dataset.message_name == "benchmarks.proto2.GoogleMessage2":
82 elif benchmark_dataset.message_name == "benchmarks.google_message3.GoogleMessage3":
84 elif benchmark_dataset.message_name == "benchmarks.google_message4.GoogleMessage4":
87 raise IOError("Message %s not found!" % (benchmark_dataset.message_name))
154 (result["message_name"], result["filename"]))
/third_party/protobuf/python/google/protobuf/
H A Ddescriptor_database.py171 message_name = package + '.' + desc_proto.name if package else desc_proto.name
172 yield message_name
174 for symbol in _ExtractSymbols(nested_type, message_name):
177 yield '.'.join((message_name, enum_type.name))
H A Ddescriptor_pool.py545 message_name, _, field_name = full_name.rpartition('.')
546 message_descriptor = self.FindMessageTypeByName(message_name)
562 message_name, _, oneof_name = full_name.rpartition('.')
563 message_descriptor = self.FindMessageTypeByName(message_name)
587 message_name, _, extension_name = full_name.rpartition('.')
590 scope = self.FindMessageTypeByName(message_name)
964 def _MakeFieldDescriptor(self, field_proto, message_name, index,
976 message_name: The name of the containing message.
985 if message_name:
986 full_name = '.'.join((message_name, field_prot
[all...]
/third_party/protobuf/benchmarks/php/
H A DPhpBenchmark.php102 $message_name = getMessageName($dataset); variable
107 $new_message = new $message_name();
115 array($dataset, $message_name), $total_bytes);
126 "message_name" => $dataset->getMessageName()
/third_party/protobuf/src/google/protobuf/
H A Dany_lite.cc42 std::string GetTypeUrl(StringPiece message_name, in GetTypeUrl() argument
46 return StrCat(type_url_prefix, message_name); in GetTypeUrl()
48 return StrCat(type_url_prefix, "/", message_name); in GetTypeUrl()
H A Dany.h54 std::string GetTypeUrl(StringPiece message_name,
H A Ddescriptor_unittest.cc7814 const char* message_name) { in AddSimpleMessageProtoFileToDb()
7820 std::string(message_name) + in AddSimpleMessageProtoFileToDb()
7813 AddSimpleMessageProtoFileToDb(const char* file_name, const char* message_name) AddSimpleMessageProtoFileToDb() argument
/third_party/protobuf/src/google/protobuf/compiler/
H A Dcommand_line_interface_unittest.cc170 // generate given these inputs. message_name is the name of the first
176 const std::string& message_name);
180 const std::string& message_name,
185 const std::string& message_name);
190 const std::string& message_name);
441 const std::string& proto_name, const std::string& message_name) { in ExpectGenerated()
443 message_name, proto_name, temp_directory_); in ExpectGenerated()
448 const std::string& proto_name, const std::string& message_name, in ExpectGenerated()
451 message_name, proto_name, in ExpectGenerated()
457 const std::string& proto_name, const std::string& message_name) { in ExpectGeneratedWithMultipleInputs()
439 ExpectGenerated( const std::string& generator_name, const std::string& parameter, const std::string& proto_name, const std::string& message_name) ExpectGenerated() argument
446 ExpectGenerated( const std::string& generator_name, const std::string& parameter, const std::string& proto_name, const std::string& message_name, const std::string& output_directory) ExpectGenerated() argument
455 ExpectGeneratedWithMultipleInputs( const std::string& generator_name, const std::string& all_proto_names, const std::string& proto_name, const std::string& message_name) ExpectGeneratedWithMultipleInputs() argument
463 ExpectGeneratedWithInsertions( const std::string& generator_name, const std::string& parameter, const std::string& insertions, const std::string& proto_name, const std::string& message_name) ExpectGeneratedWithInsertions() argument
[all...]
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dprotocol_core.cc30 std::string DeserializerState::ErrorMessage(span<char> message_name) const { in ErrorMessage()
32 msg.append(message_name.begin(), message_name.end()); in ErrorMessage()
H A Dprotocol_core.h40 std::string ErrorMessage(span<char> message_name) const;
/third_party/protobuf/python/google/protobuf/internal/
H A Dpython_message.py480 def _ReraiseTypeErrorWithFieldName(message_name, field_name):
485 exc = TypeError('%s for field %s.%s' % (str(exc), message_name, field_name))
/third_party/protobuf/python/google/protobuf/pyext/
H A Dmessage.cc1422 auto message_name = field_descriptor->containing_type()->name(); in CheckHasPresence() local
1426 message_name.c_str(), field_descriptor->name().c_str()); in CheckHasPresence()
1434 message_name.c_str(), field_descriptor->name().c_str()); in CheckHasPresence()

Completed in 25 milliseconds