Home
last modified time | relevance | path

Searched refs:marshaler (Results 1 – 3 of 3) sorted by relevance

/external/golang-protobuf/jsonpb/
Djsonpb_test.go56 marshaler = Marshaler{} var
410 marshaler Marshaler
414 {"simple flat object", marshaler, simpleObject, simpleObjectOutputJSON},
416 {"non-finite floats fields object", marshaler, nonFinites, nonFinitesJSON},
417 {"repeated fields flat object", marshaler, repeatsObject, repeatsObjectJSON},
419 {"nested message/enum flat object", marshaler, complexObject, complexObjectJSON},
439 {"empty value", marshaler, &pb.Simple3{}, `{}`},
444 …{"map<int64, int32>", marshaler, &pb.Mappy{Nummy: map[int64]int32{1: 2, 3: 4}}, `{"nummy":{"1":2,"…
446 {"map<string, string>", marshaler,
449 {"map<int32, Object>", marshaler,
[all …]
/external/syzkaller/vendor/github.com/golang/protobuf/proto/
Dtable_marshal.go53 type marshaler func(b []byte, ptr pointer, wiretag uint64, deterministic bool) ([]byte, error) type
76 marshaler marshaler member
88 marshaler marshaler member
267 b, err = f.marshaler(b, ptr.offset(f.field), f.wiretag, deterministic)
405 sizer, marshaler := typeMarshaler(t, tags, false, false)
410 marshaler: marshaler,
448 fi.sizer, fi.marshaler = makeOneOfMarshaler(fi, f)
464 …sizer, marshaler := typeMarshaler(sf.Type, tags, false, true) // oneof should not omit any zero va…
469 marshaler: marshaler,
508 fi.sizer, fi.marshaler = makeMapMarshaler(f)
[all …]
/external/golang-protobuf/proto/
Dtable_marshal.go53 type marshaler func(b []byte, ptr pointer, wiretag uint64, deterministic bool) ([]byte, error) type
76 marshaler marshaler member
88 marshaler marshaler member
270 b, err = f.marshaler(b, ptr.offset(f.field), f.wiretag, deterministic)
417 sizer, marshaler := typeMarshaler(t, tags, false, false)
427 marshaler: marshaler,
466 fi.sizer, fi.marshaler = makeOneOfMarshaler(fi, f)
482 …sizer, marshaler := typeMarshaler(sf.Type, tags, false, true) // oneof should not omit any zero va…
487 marshaler: marshaler,
522 fi.sizer, fi.marshaler = makeMapMarshaler(f)
[all …]