Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Dtest_util_lite.cc987 …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 …]
Dtest_util.cc1186 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 …]
Dreflection_ops_unittest.cc131 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 …]
Ddescriptor_unittest.cc2715 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 …]
Dextension_set_unittest.cc73 &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 …]
Dunknown_field_set_unittest.cc464 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()
Dwire_format_unittest.cc548 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()
Dmessage_unittest.cc385 parsing_merge.GetExtension(unittest::TestParsingMerge::optional_ext)); in TEST()
Drepeated_field_reflection_unittest.cc188 extended_message.GetExtension(unittest::repeated_int64_extension, i)); in TEST()
545 extended_message.GetExtension(unittest::repeated_int64_extension, i)); in TEST()
Dtext_format_unittest.cc1469 EXPECT_EQ(23, proto.message_set().GetExtension( in TEST_F()
1471 EXPECT_EQ("foo", proto.message_set().GetExtension( in TEST_F()
Dextension_set.h1141 inline typename _proto_TypeTraits::Singular::ConstType GetExtension( \
1192 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( \
Dlite_unittest.cc208 ExpectMessageMerged(parsing_merge.GetExtension( in main()
/external/libtextclassifier/smartselect/
Dmodel-params.cc35 reader.trimmed_proto().GetExtension(model_options_extension_id); in ModelParamsBuilder()
43 reader.trimmed_proto().GetExtension(feature_processor_extension_id); in ModelParamsBuilder()
69 reader.trimmed_proto().GetExtension(selection_options_extension_id); in ModelParamsBuilder()
113 reader.trimmed_proto().GetExtension(sharing_options_extension_id); in ModelParamsBuilder()
Dtext-classification-model.cc227 reader.trimmed_proto().GetExtension(model_options_extension_id); in ReadSelectionModelOptions()
/external/lzma/CPP/7zip/Archive/7z/
D7zUpdate.h83 UString GetExtension() const;
D7zUpdate.cpp66 UString CUpdateItem::GetExtension() const in GetExtension() function in NArchive::N7z::CUpdateItem
1236 UString ext = ui.GetExtension(); in Update()
/external/libtextclassifier/common/memory_image/
Dembedding-network-params-from-image.h61 return &(trimmed_proto_.GetExtension(extension_id)); in GetTaskSpec()
/external/libtextclassifier/common/
Dembedding-network-params-from-proto.h101 return &(proto_->GetExtension(extension_id)); in GetTaskSpec()
/external/flatbuffers/include/flatbuffers/
Dutil.h178 inline std::string GetExtension(const std::string &filepath) { in GetExtension() function
/external/flatbuffers/src/
Dflatc.cpp288 auto is_schema = flatbuffers::GetExtension(*file_it) == "fbs"; in Compile()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc814 message.GetExtension(ExtensionMessage::repeated_int32_ext, 0)); in TEST()
/external/protobuf/util/
DCHANGES.txt1096 assert(field->options().GetExtension(foo) == "bar");
/external/protobuf/
DCHANGES.txt1096 assert(field->options().GetExtension(foo) == "bar");