Home
last modified time | relevance | path

Searched refs:UnmarshalOptions (Results 1 – 25 of 33) sorted by relevance

12

/external/golang-protobuf/proto/
Ddecode.go24 type UnmarshalOptions struct { struct
55 …_, err := UnmarshalOptions{RecursionLimit: protowire.DefaultRecursionLimit}.unmarshal(b, m.ProtoRe…
61 func (o UnmarshalOptions) Unmarshal(b []byte, m Message) error { argument
73 func (o UnmarshalOptions) UnmarshalState(in protoiface.UnmarshalInput) (protoiface.UnmarshalOutput,… argument
83 func (o UnmarshalOptions) unmarshal(b []byte, m protoreflect.Message) (out protoiface.UnmarshalOutp… argument
122 func (o UnmarshalOptions) unmarshalMessage(b []byte, m protoreflect.Message) error { argument
127 func (o UnmarshalOptions) unmarshalMessageSlow(b []byte, m protoreflect.Message) error { argument
191 func (o UnmarshalOptions) unmarshalSingular(b []byte, wtyp protowire.Type, m protoreflect.Message, … argument
209 func (o UnmarshalOptions) unmarshalMap(b []byte, wtyp protowire.Type, mapv protoreflect.Map, fd pro… argument
Dmessageset.go59 func (o UnmarshalOptions) unmarshalMessageSet(b []byte, m protoreflect.Message) error {
76 func (o UnmarshalOptions) unmarshalMessageSetField(m protoreflect.Message, num protowire.Number, v …
Dbench_test.go47 opts := proto.UnmarshalOptions{AllowPartial: *allowPartial}
Dencode_test.go45 uopts := proto.UnmarshalOptions{
81 uopts := proto.UnmarshalOptions{
Dmethods_test.go143 opts := proto.UnmarshalOptions{
Ddecode_gen.go22 func (o UnmarshalOptions) unmarshalScalar(b []byte, wtyp protowire.Type, fd protoreflect.FieldDescr…
194 func (o UnmarshalOptions) unmarshalList(b []byte, wtyp protowire.Type, list protoreflect.List, fd p…
/external/golang-protobuf/encoding/protodelim/
Dprotodelim.go50 type UnmarshalOptions struct { struct
51 proto.UnmarshalOptions argument
93 func (o UnmarshalOptions) UnmarshalFrom(r Reader, m proto.Message) error { argument
139 return UnmarshalOptions{}.UnmarshalFrom(r, m)
Dprotodelim_test.go73 err := protodelim.UnmarshalOptions{MaxSize: 1}.UnmarshalFrom(bufio.NewReader(buf), out)
/external/golang-protobuf/internal/fuzz/textfuzz/
Dfuzz.go18 if err := (prototext.UnmarshalOptions{
30 if err := (prototext.UnmarshalOptions{
/external/golang-protobuf/internal/fuzz/jsonfuzz/
Dfuzz.go18 if err := (protojson.UnmarshalOptions{
30 if err := (protojson.UnmarshalOptions{
/external/golang-protobuf/types/known/anypb/
Dany.pb.go281 func UnmarshalTo(src *Any, dst proto.Message, opts proto.UnmarshalOptions) error { argument
300 func UnmarshalNew(src *Any, opts proto.UnmarshalOptions) (dst proto.Message, err error) { argument
358 return UnmarshalTo(x, m, proto.UnmarshalOptions{})
365 return UnmarshalNew(x, proto.UnmarshalOptions{})
/external/golang-protobuf/encoding/prototext/
Ddecode_test.go27 umo prototext.UnmarshalOptions
215 umo: prototext.UnmarshalOptions{DiscardUnknown: true},
220 umo: prototext.UnmarshalOptions{DiscardUnknown: true},
225 umo: prototext.UnmarshalOptions{DiscardUnknown: true},
231 umo: prototext.UnmarshalOptions{DiscardUnknown: true},
236 umo: prototext.UnmarshalOptions{DiscardUnknown: true},
242 umo: prototext.UnmarshalOptions{DiscardUnknown: true},
1180 umo: prototext.UnmarshalOptions{AllowPartial: true},
1223 umo: prototext.UnmarshalOptions{AllowPartial: true},
1249 umo: prototext.UnmarshalOptions{AllowPartial: true},
[all …]
Ddecode.go27 return UnmarshalOptions{}.Unmarshal(b, m)
31 type UnmarshalOptions struct { struct
57 func (o UnmarshalOptions) Unmarshal(b []byte, m proto.Message) error { argument
64 func (o UnmarshalOptions) unmarshal(b []byte, m proto.Message) error { argument
83 opts UnmarshalOptions
Dother_test.go228 err = prototext.UnmarshalOptions{Resolver: tt.resolver}.Unmarshal(b, gotMessage)
Dencode.go350 err = proto.UnmarshalOptions{
/external/golang-protobuf/internal/fuzz/wirefuzz/
Dfuzz.go25 if err := (proto.UnmarshalOptions{AllowPartial: true}).Unmarshal(data, m1); err != nil {
79 if err := (proto.UnmarshalOptions{AllowPartial: !checkInit}).Unmarshal(data1, m2); err != nil {
/external/golang-protobuf/encoding/protojson/
Ddecode_test.go34 umo protojson.UnmarshalOptions
1071 umo: protojson.UnmarshalOptions{AllowPartial: true},
1116 umo: protojson.UnmarshalOptions{AllowPartial: true},
1144 umo: protojson.UnmarshalOptions{AllowPartial: true},
1182 umo: protojson.UnmarshalOptions{AllowPartial: true},
1214 umo: protojson.UnmarshalOptions{AllowPartial: true},
1987 umo: protojson.UnmarshalOptions{Resolver: new(protoregistry.Types)},
2016 umo: protojson.UnmarshalOptions{
2211 umo: protojson.UnmarshalOptions{},
2340 umo: protojson.UnmarshalOptions{DiscardUnknown: true},
[all …]
Ddecode.go29 return UnmarshalOptions{}.Unmarshal(b, m)
33 type UnmarshalOptions struct { struct
57 func (o UnmarshalOptions) Unmarshal(b []byte, m proto.Message) error { argument
64 func (o UnmarshalOptions) unmarshal(b []byte, m proto.Message) error { argument
93 opts UnmarshalOptions
/external/golang-protobuf/internal/benchmarks/micro/
Dmicro_test.go38 opts := proto.UnmarshalOptions{
103 opts := proto.UnmarshalOptions{
173 opts := proto.UnmarshalOptions{
/external/golang-protobuf/internal/impl/
Ddecode.go31 func (o unmarshalOptions) Options() proto.UnmarshalOptions {
32 return proto.UnmarshalOptions{
/external/golang-protobuf/internal/cmd/generate-types/
Dproto.go280 func (o UnmarshalOptions) unmarshalScalar(b []byte, wtyp protowire.Type, fd protoreflect.FieldDescr…
307 func (o UnmarshalOptions) unmarshalList(b []byte, wtyp protowire.Type, list protoreflect.List, fd p…
/external/starlark-go/lib/proto/cmd/star2proto/
Dstar2proto.go72 if err := (proto.UnmarshalOptions{Merge: true}).Unmarshal(data, &fdset); err != nil {
/external/golang-protobuf/internal/conformance/
Dconformance_test.go108 err = protojson.UnmarshalOptions{
/external/golang-protobuf/reflect/protorange/
Drange.go191 errUnmarshal := proto.UnmarshalOptions{
/external/golang-protobuf/testing/protocmp/
Dxform.go272 err := proto.UnmarshalOptions{AllowPartial: true}.Unmarshal(b, m2.Interface())

12