Home
last modified time | relevance | path

Searched refs:GetExtension (Results 1 – 16 of 16) sorted by relevance

/external/protobuf/src/google/protobuf/
Dtest_util_lite.cc986 …EXPECT_TRUE(message.GetExtension(unittest::optionalgroup_extension_lite ).has_a()); in ExpectAllExtensionsSet()
987 …EXPECT_TRUE(message.GetExtension(unittest::optional_nested_message_extension_lite ).has_bb()… in ExpectAllExtensionsSet()
988 …EXPECT_TRUE(message.GetExtension(unittest::optional_foreign_message_extension_lite ).has_c()); in ExpectAllExtensionsSet()
989 …EXPECT_TRUE(message.GetExtension(unittest::optional_import_message_extension_lite ).has_d()); in ExpectAllExtensionsSet()
990 …EXPECT_TRUE(message.GetExtension(unittest::optional_public_import_message_extension_lite).has_e()); in ExpectAllExtensionsSet()
991 …EXPECT_TRUE(message.GetExtension(unittest::optional_lazy_message_extension_lite ).has_bb()… in ExpectAllExtensionsSet()
998 EXPECT_EQ(101 , message.GetExtension(unittest::optional_int32_extension_lite )); in ExpectAllExtensionsSet()
999 EXPECT_EQ(102 , message.GetExtension(unittest::optional_int64_extension_lite )); in ExpectAllExtensionsSet()
1000 EXPECT_EQ(103 , message.GetExtension(unittest::optional_uint32_extension_lite )); in ExpectAllExtensionsSet()
1001 EXPECT_EQ(104 , message.GetExtension(unittest::optional_uint64_extension_lite )); in ExpectAllExtensionsSet()
[all …]
Dtest_util.cc1185 EXPECT_TRUE(message.GetExtension(unittest::optionalgroup_extension ).has_a()); in ExpectAllExtensionsSet()
1186 EXPECT_TRUE(message.GetExtension(unittest::optional_nested_message_extension ).has_bb()); in ExpectAllExtensionsSet()
1187 EXPECT_TRUE(message.GetExtension(unittest::optional_foreign_message_extension ).has_c()); in ExpectAllExtensionsSet()
1188 EXPECT_TRUE(message.GetExtension(unittest::optional_import_message_extension ).has_d()); in ExpectAllExtensionsSet()
1189 EXPECT_TRUE(message.GetExtension(unittest::optional_public_import_message_extension).has_e()); in ExpectAllExtensionsSet()
1190 EXPECT_TRUE(message.GetExtension(unittest::optional_lazy_message_extension ).has_bb()); in ExpectAllExtensionsSet()
1199 EXPECT_EQ(101 , message.GetExtension(unittest::optional_int32_extension )); in ExpectAllExtensionsSet()
1200 EXPECT_EQ(102 , message.GetExtension(unittest::optional_int64_extension )); in ExpectAllExtensionsSet()
1201 EXPECT_EQ(103 , message.GetExtension(unittest::optional_uint32_extension )); in ExpectAllExtensionsSet()
1202 EXPECT_EQ(104 , message.GetExtension(unittest::optional_uint64_extension )); in ExpectAllExtensionsSet()
[all …]
Dreflection_ops_unittest.cc130 message.GetExtension(unittest::optional_int32_extension)); in TEST()
135 message.GetExtension(unittest::optional_string_extension)); in TEST()
140 message.GetExtension(unittest::repeated_int32_extension, 1)); in TEST()
141 int32 i = message.GetExtension(unittest::repeated_int32_extension, 0); in TEST()
233 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
235 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
237 &message.GetExtension( in TEST()
240 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
317 message.GetExtension(unittest::optional_nested_message_extension) in TEST()
320 message.GetExtension(unittest::repeated_nested_message_extension, 0) in TEST()
[all …]
Ddescriptor_unittest.cc2384 file->options().GetExtension(protobuf_unittest::file_opt1)); in TEST()
2386 message->options().GetExtension(protobuf_unittest::message_opt1)); in TEST()
2388 field->options().GetExtension(protobuf_unittest::field_opt1)); in TEST()
2390 field->options().GetExtension(protobuf_unittest::field_opt2)); in TEST()
2392 enm->options().GetExtension(protobuf_unittest::enum_opt1)); in TEST()
2394 enm->value(1)->options().GetExtension( in TEST()
2397 service->options().GetExtension(protobuf_unittest::service_opt1)); in TEST()
2399 method->options().GetExtension(protobuf_unittest::method_opt1)); in TEST()
2411 EXPECT_EQ(false , options->GetExtension(protobuf_unittest::bool_opt)); in TEST()
2412 EXPECT_EQ(kint32min, options->GetExtension(protobuf_unittest::int32_opt)); in TEST()
[all …]
Dextension_set_unittest.cc71 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
73 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
75 &message.GetExtension( in TEST()
78 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
107 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
109 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
111 &message.GetExtension( in TEST()
114 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
129 message.GetExtension(unittest::optional_int64_extension); in TEST()
134 EXPECT_EQ(0, message.GetExtension(unittest::optional_int64_extension)); in TEST()
[all …]
Dunknown_field_set_unittest.cc461 message.GetExtension(optional_nested_enum_extension)); in TEST_F()
464 message.GetExtension(repeated_nested_enum_extension, 0)); in TEST_F()
466 message.GetExtension(repeated_nested_enum_extension, 1)); in TEST_F()
Dwire_format_unittest.cc544 EXPECT_EQ(123, message_set.GetExtension( in TEST()
546 EXPECT_EQ("foo", message_set.GetExtension( in TEST()
588 EXPECT_EQ(123, message_set.GetExtension( in TEST()
599 EXPECT_EQ(123, message_set.GetExtension( in TEST()
Drepeated_field_reflection_unittest.cc189 extended_message.GetExtension(unittest::repeated_int64_extension, i)); in TEST()
Dmessage_unittest.cc341 parsing_merge.GetExtension(unittest::TestParsingMerge::optional_ext)); in TEST()
Dlite_unittest.cc197 ExpectMessageMerged(parsing_merge.GetExtension( in main()
Dtext_format_unittest.cc1464 EXPECT_EQ(23, proto.message_set().GetExtension( in TEST_F()
1466 EXPECT_EQ("foo", proto.message_set().GetExtension( in TEST_F()
Dextension_set.h1109 inline typename _proto_TypeTraits::Singular::ConstType GetExtension( \
1160 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( \
/external/lzma/CPP/7zip/Archive/7z/
D7zUpdate.h53 UString GetExtension() const;
D7zUpdate.cpp74 UString CUpdateItem::GetExtension() const in GetExtension() function in NArchive::N7z::CUpdateItem
1056 UString ext = ui.GetExtension(); in Update()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc789 message.GetExtension(ExtensionMessage::repeated_int32_ext, 0)); in TEST()
/external/protobuf/
DCHANGES.txt507 assert(field->options().GetExtension(foo) == "bar");