Home
last modified time | relevance | path

Searched refs:ExtensionDesc (Results 1 – 12 of 12) sorted by relevance

/external/golang-protobuf/proto/
Dextensions.go164 type ExtensionDesc struct { struct
173 func (ed *ExtensionDesc) repeated() bool { argument
188 desc *ExtensionDesc
230 func checkExtensionTypes(pb extendableProto, extension *ExtensionDesc) error { argument
259 func extensionProperties(ed *ExtensionDesc) *Properties { argument
283 func HasExtension(pb Message, extension *ExtensionDesc) bool { argument
300 func ClearExtension(pb Message, extension *ExtensionDesc) { argument
319 func GetExtension(pb Message, extension *ExtensionDesc) (interface{}, error) { argument
377 func defaultExtensionValue(extension *ExtensionDesc) (interface{}, error) { argument
416 func decodeExtension(b []byte, extension *ExtensionDesc) (interface{}, error) { argument
[all …]
Dextensions_test.go54 exts, err := proto.GetExtensions(msg, []*proto.ExtensionDesc{
82 extdesc1 := &proto.ExtensionDesc{
93 extdesc2 := &proto.ExtensionDesc{
104 extdesc3 := &proto.ExtensionDesc{
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 {
180 extdesc2 := &proto.ExtensionDesc{
205 wantDescs := []*proto.ExtensionDesc{extdesc1, {Field: extdesc2.Field}}
211 type ExtensionDescSlice []*proto.ExtensionDesc
[all …]
Dequal.go271 var desc *ExtensionDesc
Dtext.go702 var desc *ExtensionDesc
Dtext_parser.go513 var desc *ExtensionDesc
Dall_test.go1650 var exts = []*ExtensionDesc{
Dtable_marshal.go398 func (u *marshalInfo) getExtElemInfo(desc *ExtensionDesc) *marshalElemInfo {
/external/golang-protobuf/proto/test_proto/
Dtest.pb.go2114 var E_Ext_More = &proto.ExtensionDesc{
2123 var E_Ext_Text = &proto.ExtensionDesc{
2132 var E_Ext_Number = &proto.ExtensionDesc{
3709 var E_Greeting = &proto.ExtensionDesc{
3718 var E_Complex = &proto.ExtensionDesc{
3727 var E_RComplex = &proto.ExtensionDesc{
3736 var E_NoDefaultDouble = &proto.ExtensionDesc{
3745 var E_NoDefaultFloat = &proto.ExtensionDesc{
3754 var E_NoDefaultInt32 = &proto.ExtensionDesc{
3763 var E_NoDefaultInt64 = &proto.ExtensionDesc{
[all …]
/external/golang-protobuf/protoc-gen-go/testdata/extension_user/
Dextension_user.pb.go113 var E_LoudMessage_Volume = &proto.ExtensionDesc{
154 var E_LoginMessage_UserMessage = &proto.ExtensionDesc{
242 var E_Announcement_LoudExt = &proto.ExtensionDesc{
299 var E_OldStyleParcel_MessageSetExtension = &proto.ExtensionDesc{
308 var E_UserMessage = &proto.ExtensionDesc{
317 var E_ExtraMessage = &proto.ExtensionDesc{
326 var E_Width = &proto.ExtensionDesc{
335 var E_Area = &proto.ExtensionDesc{
344 var E_Detail = &proto.ExtensionDesc{
/external/golang-protobuf/protoc-gen-go/testdata/my_test/
Dtest.pb.go595 var E_ReplyExtensions_Time = &proto.ExtensionDesc{
604 var E_ReplyExtensions_Carrot = &proto.ExtensionDesc{
613 var E_ReplyExtensions_Donut = &proto.ExtensionDesc{
981 var E_Tag = &proto.ExtensionDesc{
990 var E_Donut = &proto.ExtensionDesc{
/external/golang-protobuf/jsonpb/jsonpb_test_proto/
Dtest_objects.pb.go803 var E_Complex_RealExtension = &proto.ExtensionDesc{
1136 var E_Name = &proto.ExtensionDesc{
1145 var E_Extm = &proto.ExtensionDesc{
/external/golang-protobuf/protoc-gen-go/testdata/import_public/sub/
Da.pb.go360 var E_ExtensionField = &proto.ExtensionDesc{