Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/
Dtest_util_lite.cc1026 message.GetExtension(unittest::optionalgroup_extension_lite).has_a()); in ExpectAllExtensionsSet()
1028 message.GetExtension(unittest::optional_nested_message_extension_lite) in ExpectAllExtensionsSet()
1031 message.GetExtension(unittest::optional_foreign_message_extension_lite) in ExpectAllExtensionsSet()
1034 message.GetExtension(unittest::optional_import_message_extension_lite) in ExpectAllExtensionsSet()
1038 .GetExtension(unittest::optional_public_import_message_extension_lite) in ExpectAllExtensionsSet()
1041 message.GetExtension(unittest::optional_lazy_message_extension_lite) in ExpectAllExtensionsSet()
1052 EXPECT_EQ(101, message.GetExtension(unittest::optional_int32_extension_lite)); in ExpectAllExtensionsSet()
1053 EXPECT_EQ(102, message.GetExtension(unittest::optional_int64_extension_lite)); in ExpectAllExtensionsSet()
1055 message.GetExtension(unittest::optional_uint32_extension_lite)); in ExpectAllExtensionsSet()
1057 message.GetExtension(unittest::optional_uint64_extension_lite)); in ExpectAllExtensionsSet()
[all …]
Dtest_util.inc1187 EXPECT_TRUE(message.GetExtension(UNITTEST::optionalgroup_extension).has_a());
1188 EXPECT_TRUE(message.GetExtension(UNITTEST::optional_nested_message_extension)
1190 EXPECT_TRUE(message.GetExtension(UNITTEST::optional_foreign_message_extension)
1192 EXPECT_TRUE(message.GetExtension(UNITTEST::optional_import_message_extension)
1195 message.GetExtension(UNITTEST::optional_public_import_message_extension)
1198 message.GetExtension(UNITTEST::optional_lazy_message_extension).has_bb());
1207 EXPECT_EQ(101, message.GetExtension(UNITTEST::optional_int32_extension));
1208 EXPECT_EQ(102, message.GetExtension(UNITTEST::optional_int64_extension));
1209 EXPECT_EQ(103, message.GetExtension(UNITTEST::optional_uint32_extension));
1210 EXPECT_EQ(104, message.GetExtension(UNITTEST::optional_uint64_extension));
[all …]
Dreflection_ops_unittest.cc133 message.GetExtension(unittest::optional_int32_extension)); in TEST()
139 message.GetExtension(unittest::optional_string_extension)); in TEST()
145 message.GetExtension(unittest::repeated_int32_extension, 1)); in TEST()
146 int32 i = message.GetExtension(unittest::repeated_int32_extension, 0); in TEST()
236 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
238 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
241 &message.GetExtension(unittest::optional_foreign_message_extension)); in TEST()
243 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
317 EXPECT_EQ(1, message.GetExtension(unittest::optional_nested_message_extension) in TEST()
321 message.GetExtension(unittest::repeated_nested_message_extension, 0) in TEST()
[all …]
Ddescriptor_unittest.cc2990 file->options().GetExtension(protobuf_unittest::file_opt1)); in TEST()
2992 message->options().GetExtension(protobuf_unittest::message_opt1)); in TEST()
2994 field->options().GetExtension(protobuf_unittest::field_opt1)); in TEST()
2996 field->options().GetExtension(protobuf_unittest::field_opt2)); in TEST()
2997 EXPECT_EQ(-99, oneof->options().GetExtension(protobuf_unittest::oneof_opt1)); in TEST()
2998 EXPECT_EQ(-789, enm->options().GetExtension(protobuf_unittest::enum_opt1)); in TEST()
2999 EXPECT_EQ(123, enm->value(1)->options().GetExtension( in TEST()
3002 service->options().GetExtension(protobuf_unittest::service_opt1)); in TEST()
3004 method->options().GetExtension(protobuf_unittest::method_opt1)); in TEST()
3016 EXPECT_EQ(false, options->GetExtension(protobuf_unittest::bool_opt)); in TEST()
[all …]
Dextension_set_unittest.cc78 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
80 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
83 &message.GetExtension(unittest::optional_foreign_message_extension)); in TEST()
85 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
114 &message.GetExtension(unittest::optionalgroup_extension)); in TEST()
116 &message.GetExtension(unittest::optional_nested_message_extension)); in TEST()
119 &message.GetExtension(unittest::optional_foreign_message_extension)); in TEST()
121 &message.GetExtension(unittest::optional_import_message_extension)); in TEST()
136 message.GetExtension(unittest::optional_int64_extension); in TEST()
141 EXPECT_EQ(0, message.GetExtension(unittest::optional_int64_extension)); in TEST()
[all …]
Dunknown_field_set_unittest.cc467 message.GetExtension(optional_nested_enum_extension)); in TEST_F()
470 message.GetExtension(repeated_nested_enum_extension, 0)); in TEST_F()
472 message.GetExtension(repeated_nested_enum_extension, 1)); in TEST_F()
Dwire_format_unittest.cc560 .GetExtension( in TEST()
565 .GetExtension( in TEST()
610 .GetExtension( in TEST()
624 .GetExtension( in TEST()
657 auto& message = mset.GetExtension( in SerializeReverseOrder()
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_page.cpp27 ASSERT(m_pDocument->GetExtension()); in CPDFXFA_Page()
58 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in GetXFAPageView()
64 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in LoadPage()
90 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in GetPageWidth()
112 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in GetPageHeight()
160 auto* pContext = static_cast<CPDFXFA_Context*>(m_pDocument->GetExtension()); in GetDisplayMatrix()
/external/golang-protobuf/proto/
Dextensions_test.go74 _, err := proto.GetExtension(msg, pb.E_Ext_More)
132 if b, err := proto.GetExtension(msg, &proto.ExtensionDesc{Field: extdesc1.Field}); err != nil {
146 if b, err := proto.GetExtension(msg, &proto.ExtensionDesc{Field: extdesc2.Field}); err != nil {
162 if b, err := proto.GetExtension(msg, &proto.ExtensionDesc{Field: extdesc3.Field}); err != nil {
223 ext1, err := proto.GetExtension(m, pb.E_Ext_More)
227 ext2, err := proto.GetExtension(m, pb.E_Ext_More)
311 val, err := proto.GetExtension(msg, test.ext)
394 if got, err := proto.GetExtension(nil, pb.E_Ext_More); err == nil {
448 e, err := proto.GetExtension(msg, pb.E_Ext_More)
459 if _, err = proto.GetExtension(msg, pb.E_Ext_More); err != proto.ErrMissingExtension {
[all …]
Dclone_test.go96 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)
Dextensions.go319 func GetExtension(pb Message, extension *ExtensionDesc) (interface{}, error) { func
454 extensions[i], err = GetExtension(epb, e)
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DReflectionUtil.cs147 object GetExtension(IMessage message); in GetExtension() method
210 public object GetExtension(IMessage message) in GetExtension() method in Google.Protobuf.Reflection.ReflectionUtil.ExtensionReflectionHelper
221 return extensionMessage.GetExtension(extension as Extension<T1, T3>); in GetExtension()
225 return extensionMessage.GetExtension(extension as RepeatedExtension<T1, T3>); in GetExtension()
294 extensionMessage.GetExtension(extension as RepeatedExtension<T1, T3>).Clear(); in ClearExtension()
DExtensionAccessor.cs61 return helper.GetExtension(message); in GetValue()
/external/golang-protobuf/protoc-gen-go/testdata/
Dextension_test.go68 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/protobuf/csharp/src/Google.Protobuf/
DIExtendableMessage.cs45 TValue GetExtension<TValue>(Extension<T, TValue> extension); in GetExtension() method
51 RepeatedField<TValue> GetExtension<TValue>(RepeatedExtension<T, TValue> extension); in GetExtension() method
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc99 EXPECT_EQ(123, message.GetExtension(ExtensionMessage::repeated_int32_ext, 0)); in TEST()
127 EXPECT_EQ(123, message.GetExtension(protobuf_unittest::void_)); in TEST()
/external/nos/host/generic/libnos/generator/
Dmain.cpp171 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/pdfium/testing/fuzzers/
Dpdf_formcalc_context_fuzzer.cc519 CPDFDocumentFromFPDFDocument(doc)->GetExtension()); in OnRenderFinished()
/external/pdfium/testing/
Dxfa_js_embedder_test.cpp52 auto* pContext = static_cast<CPDFXFA_Context*>(pDoc->GetExtension()); in GetXFADocument()
/external/pdfium/fpdfsdk/
Dcpdfsdk_pageview.cpp74 pPage ? pPage->GetDocument()->GetExtension() : nullptr; in PageView_OnDraw()
144 CPDF_Document::Extension* pContext = pPage->GetDocument()->GetExtension(); in DeleteAnnot()
535 CPDF_Document::Extension* pContext = m_page->GetDocument()->GetExtension(); in GetPageIndex()
Dfpdf_view.cpp203 auto* pContext = static_cast<CPDFXFA_Context*>(pDoc->GetExtension()); in FPDF_LoadXFA()
272 auto* pExtension = pDoc->GetExtension(); in FPDF_GetPageCount()
286 auto* pContext = static_cast<CPDFXFA_Context*>(pDoc->GetExtension()); in FPDF_LoadPage()
871 auto* pContext = static_cast<CPDFXFA_Context*>(pDoc->GetExtension()); in FPDF_GetPageSizeByIndexF()
Dfpdf_save.cpp167 auto* pContext = static_cast<CPDFXFA_Context*>(pPDFDoc->GetExtension()); in DoDocSave()
Dcpdfsdk_formfillenvironment.h102 return m_pCPDFDoc->GetExtension(); in GetDocExtension()
/external/flatbuffers/src/
Dflatc.cpp352 if (flatbuffers::GetExtension(conform_to_schema) == in Compile()
372 auto ext = flatbuffers::GetExtension(filename); in Compile()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_document.h94 Extension* GetExtension() const { return m_pExtension.get(); } in GetExtension() function

12