/external/protobuf/src/google/protobuf/ |
D | test_util_lite.cc | 987 …EXPECT_TRUE(message.GetExtension(unittest::optionalgroup_extension_lite ).has_a()); in ExpectAllExtensionsSet() 988 …EXPECT_TRUE(message.GetExtension(unittest::optional_nested_message_extension_lite ).has_bb()… in ExpectAllExtensionsSet() 989 …EXPECT_TRUE(message.GetExtension(unittest::optional_foreign_message_extension_lite ).has_c()); in ExpectAllExtensionsSet() 990 …EXPECT_TRUE(message.GetExtension(unittest::optional_import_message_extension_lite ).has_d()); in ExpectAllExtensionsSet() 991 …EXPECT_TRUE(message.GetExtension(unittest::optional_public_import_message_extension_lite).has_e()); in ExpectAllExtensionsSet() 992 …EXPECT_TRUE(message.GetExtension(unittest::optional_lazy_message_extension_lite ).has_bb()… in ExpectAllExtensionsSet() 999 EXPECT_EQ(101 , message.GetExtension(unittest::optional_int32_extension_lite )); in ExpectAllExtensionsSet() 1000 EXPECT_EQ(102 , message.GetExtension(unittest::optional_int64_extension_lite )); in ExpectAllExtensionsSet() 1001 EXPECT_EQ(103 , message.GetExtension(unittest::optional_uint32_extension_lite )); in ExpectAllExtensionsSet() 1002 EXPECT_EQ(104 , message.GetExtension(unittest::optional_uint64_extension_lite )); in ExpectAllExtensionsSet() [all …]
|
D | test_util.cc | 1186 EXPECT_TRUE(message.GetExtension(unittest::optionalgroup_extension ).has_a()); in ExpectAllExtensionsSet() 1187 EXPECT_TRUE(message.GetExtension(unittest::optional_nested_message_extension ).has_bb()); in ExpectAllExtensionsSet() 1188 EXPECT_TRUE(message.GetExtension(unittest::optional_foreign_message_extension ).has_c()); in ExpectAllExtensionsSet() 1189 EXPECT_TRUE(message.GetExtension(unittest::optional_import_message_extension ).has_d()); in ExpectAllExtensionsSet() 1190 EXPECT_TRUE(message.GetExtension(unittest::optional_public_import_message_extension).has_e()); in ExpectAllExtensionsSet() 1191 EXPECT_TRUE(message.GetExtension(unittest::optional_lazy_message_extension ).has_bb()); in ExpectAllExtensionsSet() 1200 EXPECT_EQ(101 , message.GetExtension(unittest::optional_int32_extension )); in ExpectAllExtensionsSet() 1201 EXPECT_EQ(102 , message.GetExtension(unittest::optional_int64_extension )); in ExpectAllExtensionsSet() 1202 EXPECT_EQ(103 , message.GetExtension(unittest::optional_uint32_extension )); in ExpectAllExtensionsSet() 1203 EXPECT_EQ(104 , message.GetExtension(unittest::optional_uint64_extension )); in ExpectAllExtensionsSet() [all …]
|
D | reflection_ops_unittest.cc | 131 message.GetExtension(unittest::optional_int32_extension)); in TEST() 136 message.GetExtension(unittest::optional_string_extension)); in TEST() 141 message.GetExtension(unittest::repeated_int32_extension, 1)); in TEST() 142 int32 i = message.GetExtension(unittest::repeated_int32_extension, 0); in TEST() 234 &message.GetExtension(unittest::optionalgroup_extension)); in TEST() 236 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST() 238 &message.GetExtension( in TEST() 241 &message.GetExtension(unittest::optional_import_message_extension)); in TEST() 318 message.GetExtension(unittest::optional_nested_message_extension) in TEST() 321 message.GetExtension(unittest::repeated_nested_message_extension, 0) in TEST() [all …]
|
D | descriptor_unittest.cc | 2715 file->options().GetExtension(protobuf_unittest::file_opt1)); in TEST() 2717 message->options().GetExtension(protobuf_unittest::message_opt1)); in TEST() 2719 field->options().GetExtension(protobuf_unittest::field_opt1)); in TEST() 2721 field->options().GetExtension(protobuf_unittest::field_opt2)); in TEST() 2723 enm->options().GetExtension(protobuf_unittest::enum_opt1)); in TEST() 2725 enm->value(1)->options().GetExtension( in TEST() 2728 service->options().GetExtension(protobuf_unittest::service_opt1)); in TEST() 2730 method->options().GetExtension(protobuf_unittest::method_opt1)); in TEST() 2742 EXPECT_EQ(false , options->GetExtension(protobuf_unittest::bool_opt)); in TEST() 2743 EXPECT_EQ(kint32min, options->GetExtension(protobuf_unittest::int32_opt)); in TEST() [all …]
|
D | extension_set_unittest.cc | 73 &message.GetExtension(unittest::optionalgroup_extension)); in TEST() 75 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST() 77 &message.GetExtension( in TEST() 80 &message.GetExtension(unittest::optional_import_message_extension)); in TEST() 109 &message.GetExtension(unittest::optionalgroup_extension)); in TEST() 111 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST() 113 &message.GetExtension( in TEST() 116 &message.GetExtension(unittest::optional_import_message_extension)); in TEST() 131 message.GetExtension(unittest::optional_int64_extension); in TEST() 136 EXPECT_EQ(0, message.GetExtension(unittest::optional_int64_extension)); in TEST() [all …]
|
D | unknown_field_set_unittest.cc | 464 message.GetExtension(optional_nested_enum_extension)); in TEST_F() 467 message.GetExtension(repeated_nested_enum_extension, 0)); in TEST_F() 469 message.GetExtension(repeated_nested_enum_extension, 1)); in TEST_F()
|
D | wire_format_unittest.cc | 548 EXPECT_EQ(123, message_set.GetExtension( in TEST() 550 EXPECT_EQ("foo", message_set.GetExtension( in TEST() 592 EXPECT_EQ(123, message_set.GetExtension( in TEST() 603 EXPECT_EQ(123, message_set.GetExtension( in TEST()
|
D | message_unittest.cc | 385 parsing_merge.GetExtension(unittest::TestParsingMerge::optional_ext)); in TEST()
|
D | repeated_field_reflection_unittest.cc | 188 extended_message.GetExtension(unittest::repeated_int64_extension, i)); in TEST() 545 extended_message.GetExtension(unittest::repeated_int64_extension, i)); in TEST()
|
D | text_format_unittest.cc | 1469 EXPECT_EQ(23, proto.message_set().GetExtension( in TEST_F() 1471 EXPECT_EQ("foo", proto.message_set().GetExtension( in TEST_F()
|
D | extension_set.h | 1141 inline typename _proto_TypeTraits::Singular::ConstType GetExtension( \ 1192 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( \
|
D | lite_unittest.cc | 208 ExpectMessageMerged(parsing_merge.GetExtension( in main()
|
/external/golang-protobuf/proto/ |
D | extensions_test.go | 78 _, err := proto.GetExtension(msg, pb.E_Ext_More) 136 if b, err := proto.GetExtension(msg, &proto.ExtensionDesc{Field: extdesc1.Field}); err != nil { 150 if b, err := proto.GetExtension(msg, &proto.ExtensionDesc{Field: extdesc2.Field}); err != nil { 166 if b, err := proto.GetExtension(msg, &proto.ExtensionDesc{Field: extdesc3.Field}); err != nil { 227 ext1, err := proto.GetExtension(m, pb.E_Ext_More) 231 ext2, err := proto.GetExtension(m, pb.E_Ext_More) 315 val, err := proto.GetExtension(msg, test.ext) 398 if got, err := proto.GetExtension(nil, pb.E_Ext_More); err == nil { 452 e, err := proto.GetExtension(msg, pb.E_Ext_More) 463 if _, err = proto.GetExtension(msg, pb.E_Ext_More); err != proto.ErrMissingExtension { [all …]
|
D | clone_test.go | 96 x1, err := proto.GetExtension(m, pb.E_Ext_More) 100 x2, err := proto.GetExtension(m, pb.E_Ext_Text) 104 x3, err := proto.GetExtension(m, pb.E_Greeting)
|
D | extensions.go | 319 func GetExtension(pb Message, extension *ExtensionDesc) (interface{}, error) { func 454 extensions[i], err = GetExtension(epb, e)
|
D | text.go | 712 pb, err := GetExtension(ep, desc)
|
D | text_parser.go | 554 old, err := GetExtension(ep, desc)
|
/external/golang-protobuf/protoc-gen-go/testdata/ |
D | extension_test.go | 68 vol_out, err := proto.GetExtension(bm_new, user.E_LoudMessage_Volume) 106 um_out, err := proto.GetExtension(bm_new, user.E_LoginMessage_UserMessage) 143 width_out, err := proto.GetExtension(bm_new, user.E_Width) 187 osp_out, err := proto.GetExtension(osm, user.E_OldStyleParcel_MessageSetExtension)
|
/external/nos/host/generic/libnos/generator/ |
D | main.cpp | 171 vars["app_id"] = "APP_ID_" + service.options().GetExtension(app_id); in GenerateClientHeader() 226 const uint32_t max_request_size = service.options().GetExtension(request_buffer_size); in GenerateClientSource() 227 const uint32_t max_response_size = service.options().GetExtension(response_buffer_size); in GenerateClientSource()
|
/external/syzkaller/vendor/github.com/golang/protobuf/proto/ |
D | extensions.go | 303 func GetExtension(pb Message, extension *ExtensionDesc) (interface{}, error) { func 438 extensions[i], err = GetExtension(epb, e)
|
D | text.go | 712 pb, err := GetExtension(ep, desc)
|
D | text_parser.go | 554 old, err := GetExtension(ep, desc)
|
/external/flatbuffers/src/ |
D | flatc.cpp | 344 if (flatbuffers::GetExtension(conform_to_schema) == in Compile() 364 auto ext = flatbuffers::GetExtension(filename); in Compile()
|
D | util.cpp | 131 std::string GetExtension(const std::string &filepath) { in GetExtension() function
|
/external/flatbuffers/include/flatbuffers/ |
D | util.h | 441 std::string GetExtension(const std::string &filepath);
|