Home
last modified time | relevance | path

Searched refs:Unmarshal (Results 1 – 25 of 34) sorted by relevance

12

/external/golang-protobuf/proto/
Dall_test.go308 err = o.Unmarshal(pbd)
941 if err := Unmarshal(d, pbd); err != nil {
970 if err := Unmarshal(d, pbd); err != nil {
1003 o.Unmarshal(pbd)
1009 o.Unmarshal(skipd)
1046 if err := Unmarshal(b, om); err != nil {
1072 if err := Unmarshal(b, nm2); err != nil {
1098 if err := Unmarshal(b, nm); err != nil {
1163 Unmarshal(buf, pbd)
1235 err := o.Unmarshal(pb2)
[all …]
Ddecode_test.go66 if err := scratchBuf.Unmarshal(msgBlackhole); err != nil {
91 if err := scratchBuf.Unmarshal(msgBlackhole); err != nil {
116 if err := scratchBuf.Unmarshal(msgBlackhole); err != nil {
141 if err := scratchBuf.Unmarshal(msgBlackhole); err != nil {
172 if err := scratchBuf.Unmarshal(msgBlackhole); err != nil {
254 if err := proto.Unmarshal(raw, msgBlackhole); err != nil {
Dmessage_set.go103 func (ms *messageSet) Unmarshal(pb Message) error { func
105 return Unmarshal(item.Message, pb)
205 if err := Unmarshal(buf, ms); err != nil {
270 if err := Unmarshal(ext.enc, x.(Message)); err != nil {
Dmap_test.go30 if err := proto.Unmarshal(in, &out); err != nil {
42 if err := proto.Unmarshal(in, &out); err != nil {
Ddecode.go386 Unmarshal([]byte) error methodSpec
396 func Unmarshal(buf []byte, pb Message) error { func
410 return u.Unmarshal(buf)
412 return NewBuffer(buf).Unmarshal(pb)
421 return NewBuffer(enc).Unmarshal(pb)
439 func (p *Buffer) Unmarshal(pb Message) error { func
442 err := u.Unmarshal(p.buf[p.index:])
912 return iv.(Unmarshaler).Unmarshal(raw)
956 return iv.(Unmarshaler).Unmarshal(raw)
Dextensions_test.go94 if err := proto.Unmarshal(b, msg); err != nil {
144 err = proto.Unmarshal(bb, msg1)
393 err = proto.Unmarshal(b, msg2)
468 err := proto.Unmarshal(buf.Bytes(), msg2)
Dproto3_test.go86 if err := proto.Unmarshal(b, m2); err != nil {
Dlib.go427 if err := json.Unmarshal(data, &repr); err != nil {
438 if err := json.Unmarshal(data, &val); err != nil {
Dequal_test.go71 if err := Unmarshal(buf, messageWithExtension1b); err != nil {
/external/golang-protobuf/jsonpb/
Djsonpb.go136 if err = json.Unmarshal(b, &js); err != nil {
357 if err := proto.Unmarshal(val, msg); err != nil {
609 func (u *Unmarshaler) Unmarshal(r io.Reader, pb proto.Message) error { func
624 func Unmarshal(r io.Reader, pb proto.Message) error { func
625 return new(Unmarshaler).Unmarshal(r, pb)
632 return new(Unmarshaler).Unmarshal(strings.NewReader(str), pb)
667 if err := json.Unmarshal(inputValue, &jsonFields); err != nil {
677 if err := json.Unmarshal([]byte(*val), &turl); err != nil {
753 if err := json.Unmarshal(inputValue, &m); err != nil {
768 if err := json.Unmarshal(inputValue, &s); err != nil {
[all …]
Djsonpb_test.go633 err := tt.unmarshaler.Unmarshal(strings.NewReader(tt.json), p)
727 if err := Unmarshal(strings.NewReader(rawJson), &msg); err != nil {
738 if err := Unmarshal(strings.NewReader(rawJson), &got); err != nil {
/external/golang-protobuf/_conformance/
Dconformance.go69 if err := proto.Unmarshal(inbuf, req); err != nil {
101 err = proto.Unmarshal(p.ProtobufPayload, &msg)
/external/flatbuffers/go/
Dgrpc.go12 func (FlatbuffersCodec) Unmarshal(data []byte, v interface{}) error { func
/external/golang-protobuf/protoc-gen-go/
Dmain.go70 if err := proto.Unmarshal(data, g.Request); err != nil {
/external/golang-protobuf/descriptor/
Ddescriptor.go63 if err := proto.Unmarshal(b, fd); err != nil {
/external/protobuf/examples/
Dlist_people.go55 if err := proto.Unmarshal(in, book); err != nil {
Dadd_person.go112 if err := proto.Unmarshal(in, book); err != nil {
/external/golang-protobuf/ptypes/
Dany.go128 return proto.Unmarshal(any.Value, pb)
/external/tensorflow/tensorflow/go/genop/internal/
Dapi_def_map.go121 err = proto.Unmarshal(data, apidef)
Dgenop.go81 err = proto.Unmarshal(data, list)
/external/golang-protobuf/protoc-gen-go/testdata/
Dimp.pb.go.golden90 func (this *ImportedExtendable) Unmarshal(buf []byte) error {
/external/skia/infra/cts/
Drun_testlab.go143 if err := json.Unmarshal(bufBytes, &foundDevices); err != nil {
/external/skqp/infra/cts/
Drun_testlab.go143 if err := json.Unmarshal(bufBytes, &foundDevices); err != nil {
/external/golang-protobuf/
DREADME.md104 - Marshal and Unmarshal are functions to encode and decode the wire format.
154 err = proto.Unmarshal(data, newTest)
/external/boringssl/src/ssl/test/runner/
Dsign.go199 if _, err := asn1.Unmarshal(sig, ecdsaSig); err != nil {

12