/external/golang-protobuf/encoding/protojson/ |
D | encode_test.go | 38 mo protojson.MarshalOptions 752 mo: protojson.MarshalOptions{AllowPartial: true}, 796 mo: protojson.MarshalOptions{AllowPartial: true}, 824 mo: protojson.MarshalOptions{AllowPartial: true}, 856 mo: protojson.MarshalOptions{AllowPartial: true}, 880 mo: protojson.MarshalOptions{AllowPartial: true}, 1564 b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m) 1588 mo: protojson.MarshalOptions{Resolver: new(protoregistry.Types)}, 1597 b, err := proto.MarshalOptions{ 1615 mo: protojson.MarshalOptions{ [all …]
|
D | encode.go | 31 return MarshalOptions{Multiline: true}.Format(m) 38 return MarshalOptions{}.Marshal(m) 42 type MarshalOptions struct { struct 96 func (o MarshalOptions) Format(m proto.Message) string { argument 108 func (o MarshalOptions) Marshal(m proto.Message) ([]byte, error) { argument 115 func (o MarshalOptions) marshal(m proto.Message) ([]byte, error) { argument 146 opts MarshalOptions
|
D | decode_test.go | 1971 b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m) 2002 b, err := proto.MarshalOptions{ 2028 b, err := proto.MarshalOptions{ 2057 b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m) 2100 b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m) 2134 b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m) 2160 b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m) 2200 b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m)
|
/external/golang-protobuf/proto/ |
D | size.go | 16 return MarshalOptions{}.Size(m) 20 func (o MarshalOptions) Size(m Message) int { 32 func (o MarshalOptions) size(m protoreflect.Message) (size int) { 51 func (o MarshalOptions) sizeMessageSlow(m protoreflect.Message) (size int) { 63 func (o MarshalOptions) sizeField(fd protoreflect.FieldDescriptor, value protoreflect.Value) (size … 75 func (o MarshalOptions) sizeList(num protowire.Number, fd protoreflect.FieldDescriptor, list protor… 90 func (o MarshalOptions) sizeMap(num protowire.Number, fd protoreflect.FieldDescriptor, mapv protore…
|
D | encode.go | 21 type MarshalOptions struct { struct 80 out, err := MarshalOptions{}.marshal(nil, m.ProtoReflect()) 88 func (o MarshalOptions) Marshal(m Message) ([]byte, error) { argument 119 func (o MarshalOptions) MarshalAppend(b []byte, m Message) ([]byte, error) { argument 133 func (o MarshalOptions) MarshalState(in protoiface.MarshalInput) (protoiface.MarshalOutput, error) { argument 140 func (o MarshalOptions) marshal(b []byte, m protoreflect.Message) (out protoiface.MarshalOutput, er… argument 179 func (o MarshalOptions) marshalMessage(b []byte, m protoreflect.Message) ([]byte, error) { argument 210 func (o MarshalOptions) marshalMessageSlow(b []byte, m protoreflect.Message) ([]byte, error) { argument 233 func (o MarshalOptions) marshalField(b []byte, fd protoreflect.FieldDescriptor, value protoreflect.… argument 245 func (o MarshalOptions) marshalList(b []byte, fd protoreflect.FieldDescriptor, list protoreflect.Li… argument [all …]
|
D | encode_test.go | 31 opts := proto.MarshalOptions{ 64 opts := proto.MarshalOptions{ 115 got, err := proto.MarshalOptions{}.MarshalAppend(got, &test3pb.TestAllTypes{ 133 opts := proto.MarshalOptions{ 166 _, err := proto.MarshalOptions{}.MarshalAppend(b[:0], m) 174 b, err = proto.MarshalOptions{}.MarshalAppend(b, m) 213 b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m) 270 b, err = proto.MarshalOptions{}.Marshal(m)
|
D | messageset.go | 17 func (o MarshalOptions) sizeMessageSet(m protoreflect.Message) (size int) { 28 func (o MarshalOptions) marshalMessageSet(b []byte, m protoreflect.Message) ([]byte, error) { 47 func (o MarshalOptions) marshalMessageSetField(b []byte, fd protoreflect.FieldDescriptor, value pro…
|
D | methods_test.go | 61 b, err = proto.MarshalOptions{}.MarshalAppend(prefix, m) 66 b, err = proto.MarshalOptions{
|
D | bench_test.go | 28 opts := proto.MarshalOptions{AllowPartial: *allowPartial}
|
D | size_gen.go | 14 func (o MarshalOptions) sizeSingular(num protowire.Number, kind protoreflect.Kind, v protoreflect.V…
|
/external/golang-protobuf/encoding/protodelim/ |
D | protodelim.go | 19 type MarshalOptions struct{ proto.MarshalOptions } struct 23 func (o MarshalOptions) MarshalTo(w io.Writer, m proto.Message) (int, error) { argument 24 msgBytes, err := o.MarshalOptions.Marshal(m) 46 return MarshalOptions{}.MarshalTo(w, m)
|
/external/golang-protobuf/encoding/prototext/ |
D | encode_test.go | 33 mo prototext.MarshalOptions 773 mo: prototext.MarshalOptions{AllowPartial: true}, 813 mo: prototext.MarshalOptions{AllowPartial: true}, 835 mo: prototext.MarshalOptions{AllowPartial: true}, 863 mo: prototext.MarshalOptions{AllowPartial: true}, 885 mo: prototext.MarshalOptions{AllowPartial: true}, 910 mo: prototext.MarshalOptions{EmitUnknown: true}, 931 mo: prototext.MarshalOptions{EmitUnknown: true}, 947 mo: prototext.MarshalOptions{EmitUnknown: true}, 967 mo: prototext.MarshalOptions{EmitUnknown: true}, [all …]
|
D | encode.go | 33 return MarshalOptions{Multiline: true}.Format(m) 40 return MarshalOptions{}.Marshal(m) 44 type MarshalOptions struct { struct 89 func (o MarshalOptions) Format(m proto.Message) string { argument 103 func (o MarshalOptions) Marshal(m proto.Message) ([]byte, error) { argument 110 func (o MarshalOptions) marshal(m proto.Message) ([]byte, error) { argument 148 opts MarshalOptions
|
D | other_test.go | 160 b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m) 180 b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m) 197 b1, err := proto.MarshalOptions{Deterministic: true}.Marshal(m1) 205 b2, err := proto.MarshalOptions{Deterministic: true}.Marshal(m2) 222 b, err := prototext.MarshalOptions{Resolver: tt.resolver}.Marshal(tt.message)
|
/external/golang-protobuf/encoding/ |
D | bench_test.go | 130 _, err := prototext.MarshalOptions{Indent: " "}.Marshal(m) 139 in, err := prototext.MarshalOptions{Indent: " "}.Marshal(m) 155 _, err := protojson.MarshalOptions{Indent: " "}.Marshal(m) 164 out, err := protojson.MarshalOptions{Indent: " "}.Marshal(m)
|
/external/golang-protobuf/testing/protocmp/ |
D | reflect_test.go | 137 b1, _ := proto.MarshalOptions{Deterministic: true}.Marshal(optMsg) 138 b2, _ := proto.MarshalOptions{Deterministic: true}.Marshal(repMsg) 139 b3, _ := proto.MarshalOptions{Deterministic: true}.Marshal(mapMsg)
|
/external/starlark-go/lib/proto/cmd/star2proto/ |
D | star2proto.go | 122 marshal = prototext.MarshalOptions{Multiline: true, Indent: "\t"}.Marshal 125 marshal = protojson.MarshalOptions{Multiline: true, Indent: "\t"}.Marshal
|
/external/golang-protobuf/internal/fuzz/textfuzz/ |
D | fuzz.go | 23 data1, err := prototext.MarshalOptions{
|
/external/golang-protobuf/internal/fuzz/jsonfuzz/ |
D | fuzz.go | 23 data1, err := protojson.MarshalOptions{
|
/external/golang-protobuf/types/known/anypb/ |
D | any.pb.go | 262 func MarshalFrom(dst *Any, src proto.Message, opts proto.MarshalOptions) error { argument 351 return MarshalFrom(x, m, proto.MarshalOptions{})
|
/external/golang-protobuf/internal/impl/ |
D | encode.go | 21 func (o marshalOptions) Options() proto.MarshalOptions { 22 return proto.MarshalOptions{
|
/external/golang-protobuf/internal/msgfmt/ |
D | format_test.go | 169 b1, _ := proto.MarshalOptions{Deterministic: true}.Marshal(optMsg) 170 b2, _ := proto.MarshalOptions{Deterministic: true}.Marshal(repMsg) 171 b3, _ := proto.MarshalOptions{Deterministic: true}.Marshal(mapMsg)
|
/external/golang-protobuf/reflect/protorange/ |
D | range.go | 203 b1, errMarshal := proto.MarshalOptions{ 224 b2, errMarshal := proto.MarshalOptions{
|
/external/golang-protobuf/internal/fuzz/wirefuzz/ |
D | fuzz.go | 71 data1, err := proto.MarshalOptions{AllowPartial: !checkInit}.Marshal(m1)
|
/external/golang-protobuf/internal/cmd/generate-types/ |
D | proto.go | 375 func (o MarshalOptions) marshalSingular(b []byte, fd protoreflect.FieldDescriptor, v protoreflect.V… 416 func (o MarshalOptions) sizeSingular(num protowire.Number, kind protoreflect.Kind, v protoreflect.V…
|