/external/flatbuffers/go/ |
grpc.go | 8 func (FlatbuffersCodec) Marshal(v interface{}) ([]byte, error) {
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
Marshal.java | 30 public interface Marshal { 62 * Register this Marshal with Envelope
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/route/ |
route.go | 86 // Marshal returns the binary encoding of m. 87 func (m *RouteMessage) Marshal() ([]byte, error) { 88 return m.marshal()
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/route/ |
route.go | 86 // Marshal returns the binary encoding of m. 87 func (m *RouteMessage) Marshal() ([]byte, error) { 88 return m.marshal()
|
/prebuilts/go/darwin-x86/src/syscall/ |
dir_plan9.go | 60 // Marshal encodes a 9P stat message corresponding to d into b 63 func (d *Dir) Marshal(b []byte) (n int, err error) {
|
/prebuilts/go/linux-x86/src/syscall/ |
dir_plan9.go | 60 // Marshal encodes a 9P stat message corresponding to d into b 63 func (d *Dir) Marshal(b []byte) (n int, err error) {
|
/external/golang-protobuf/proto/ |
message_set.go | 113 func (ms *messageSet) Marshal(pb Message) error { 114 msg, err := Marshal(pb) 151 // It is called by generated Marshal methods on protocol buffer messages with the message_set_wire_format option. 188 return Marshal(ms) 274 d, err := json.Marshal(x)
|
text.go | 785 // Marshal writes a given protocol buffer in text format. 787 func (tm *TextMarshaler) Marshal(w io.Writer, pb Message) error { 829 // Text is the same as Marshal, but returns the string directly. 832 tm.Marshal(&buf, pb) 841 // TODO: consider removing some of the Marshal functions below. 845 func MarshalText(w io.Writer, pb Message) error { return defaultTextMarshaler.Marshal(w, pb) } 851 func CompactText(w io.Writer, pb Message) error { return compactTextMarshaler.Marshal(w, pb) }
|
all_test.go | 295 err := o.Marshal(pb) 297 fmt.Printf("overify marshal-1 err = %v", err) 315 err = o.Marshal(pbd) 317 t.Errorf("overify marshal-2 err = %v", err) 404 func (f *fakeMarshaler) Marshal() ([]byte, error) { return f.b, f.err } 428 err: errors.New("some marshal err"), 431 // Since the Marshal method returned bytes, they should be written to the 432 // buffer. (For efficiency, we assume that Marshal implementations are 435 errType: reflect.TypeOf(errors.New("some marshal err")), 463 err := b.Marshal(test.m [all...] |
encode.go | 45 // RequiredNotSetError is the error returned if Marshal is called with 63 // errRepeatedHasNil is the error returned if Marshal is called with 67 // errOneofHasNil is the error returned if Marshal is called with 71 // ErrNil is the error returned if Marshal is called with nil. 72 ErrNil = errors.New("proto: Marshal called with nil") 74 // ErrTooLarge is the error returned if Marshal is called with a 223 // Marshaler is the interface representing objects that can marshal themselves. 225 Marshal() ([]byte, error) 228 // Marshal takes the protocol buffer 230 func Marshal(pb Message) ([]byte, error) [all...] |
/prebuilts/go/darwin-x86/src/crypto/elliptic/ |
elliptic.go | 304 // Marshal converts a point into the uncompressed form specified in section 4.3.6 of ANSI X9.62. 305 func Marshal(curve Curve, x, y *big.Int) []byte { 318 // Unmarshal converts a point, serialized by Marshal, into an x, y pair.
|
/prebuilts/go/linux-x86/src/crypto/elliptic/ |
elliptic.go | 304 // Marshal converts a point into the uncompressed form specified in section 4.3.6 of ANSI X9.62. 305 func Marshal(curve Curve, x, y *big.Int) []byte { 318 // Unmarshal converts a point, serialized by Marshal, into an x, y pair.
|
/external/clang/test/SemaTemplate/ |
destructor-template.cpp | 68 template <typename T> struct Marshal { 73 template <typename T> int Marshal<T>::gc() { 80 Marshal<int>::gc();
|
/external/golang-protobuf/jsonpb/ |
jsonpb.go | 94 // Marshal marshals a protocol buffer into JSON. 95 func (m *Marshaler) Marshal(out io.Writer, pb proto.Message) error { 103 if err := m.Marshal(&buf, pb); err != nil { 139 turl, err := json.Marshal(typeURL) 141 return fmt.Errorf("failed to marshal type URL %q to JSON: %v", typeURL, err) 144 if b, err = json.Marshal(js); err != nil { 400 b, err := json.Marshal(typeURL) 519 b, err := json.Marshal(k.Interface()) 527 b, err := json.Marshal(s) 572 b, err := json.Marshal(v.Interface() [all...] |
/external/perf_data_converter/src/ |
builder.cc | 80 return Marshal(*profile_, output); 83 bool Builder::Marshal(const Profile &profile, string *output) {
|
/external/webrtc/talk/app/webrtc/ |
proxy.h | 141 R Marshal(rtc::Thread* t) { 161 R Marshal(rtc::Thread* t) { 181 R Marshal(rtc::Thread* t) { 202 R Marshal(rtc::Thread* t) { 223 R Marshal(rtc::Thread* t) { 246 R Marshal(rtc::Thread* t) { 271 R Marshal(rtc::Thread* t) { 297 R Marshal(rtc::Thread* t) { 322 call.Marshal(owner_thread_); \ 333 return call.Marshal(owner_thread_); [all...] |
/prebuilts/go/darwin-x86/src/encoding/asn1/ |
marshal.go | 23 // Len returns the number of bytes needed to marshal this element. 534 return nil, fmt.Errorf("asn1: cannot marshal nil value") 664 // Marshal returns the ASN.1 encoding of val. 675 func Marshal(val interface{}) ([]byte, error) {
|
/prebuilts/go/linux-x86/src/encoding/asn1/ |
marshal.go | 23 // Len returns the number of bytes needed to marshal this element. 534 return nil, fmt.Errorf("asn1: cannot marshal nil value") 664 // Marshal returns the ASN.1 encoding of val. 675 func Marshal(val interface{}) ([]byte, error) {
|
/prebuilts/go/darwin-x86/src/encoding/xml/ |
marshal.go | 19 // Header is a generic XML header suitable for use with the output of Marshal. 25 // Marshal returns the XML encoding of v. 27 // Marshal handles an array or slice by marshaling each of the elements. 28 // Marshal handles a pointer by marshaling the value it points at or, if the 29 // pointer is nil, by writing nothing. Marshal handles an interface value by 31 // writing nothing. Marshal handles all other data by writing one or more XML 74 // Marshal will return an error if asked to marshal a channel, function, or map. 75 func Marshal(v interface{}) ([]byte, error) { 83 // Marshaler is the interface implemented by objects that can marshal [all...] |
/prebuilts/go/linux-x86/src/encoding/xml/ |
marshal.go | 19 // Header is a generic XML header suitable for use with the output of Marshal. 25 // Marshal returns the XML encoding of v. 27 // Marshal handles an array or slice by marshaling each of the elements. 28 // Marshal handles a pointer by marshaling the value it points at or, if the 29 // pointer is nil, by writing nothing. Marshal handles an interface value by 31 // writing nothing. Marshal handles all other data by writing one or more XML 74 // Marshal will return an error if asked to marshal a channel, function, or map. 75 func Marshal(v interface{}) ([]byte, error) { 83 // Marshaler is the interface implemented by objects that can marshal [all...] |
/prebuilts/go/darwin-x86/src/encoding/json/ |
encode.go | 7 // in the documentation for the Marshal and Unmarshal functions. 30 // Marshal returns the JSON encoding of v. 32 // Marshal traverses the value v recursively. 34 // and is not a nil pointer, Marshal calls its MarshalJSON method 36 // value implements encoding.TextMarshaler instead, Marshal calls 42 // Otherwise, Marshal uses the following type-dependent default encodings: 120 // deciding which field to marshal or unmarshal. If there are 152 // Attempting to encode such a value causes Marshal to return 155 // JSON cannot represent cyclic data structures and Marshal does not 156 // handle them. Passing cyclic structures to Marshal will result i 286 func (e *encodeState) marshal(v interface{}, opts encOpts) (err error) { func [all...] |
/prebuilts/go/linux-x86/src/encoding/json/ |
encode.go | 7 // in the documentation for the Marshal and Unmarshal functions. 30 // Marshal returns the JSON encoding of v. 32 // Marshal traverses the value v recursively. 34 // and is not a nil pointer, Marshal calls its MarshalJSON method 36 // value implements encoding.TextMarshaler instead, Marshal calls 42 // Otherwise, Marshal uses the following type-dependent default encodings: 120 // deciding which field to marshal or unmarshal. If there are 152 // Attempting to encode such a value causes Marshal to return 155 // JSON cannot represent cyclic data structures and Marshal does not 156 // handle them. Passing cyclic structures to Marshal will result i 286 func (e *encodeState) marshal(v interface{}, opts encOpts) (err error) { func [all...] |
/external/golang-protobuf/protoc-gen-go/testdata/my_test/ |
test.pb.go | 29 var _ = proto.Marshal 437 func (m *OldReply) Marshal() ([]byte, error) { 670 if err := b.Marshal(x.Somegroup); err != nil {
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
callobj.h | 144 virtual HRESULT WINAPI Marshal(CALLFRAME_MARSHALCONTEXT *pmshlContext,MSHLFLAGS mshlflags,PVOID pBuffer,ULONG cbBuffer,ULONG *pcbBufferUsed,RPCOLEDATAREP *pdataRep,ULONG *prpcFlags) = 0; 170 HRESULT (WINAPI *Marshal)(ICallFrame *This,CALLFRAME_MARSHALCONTEXT *pmshlContext,MSHLFLAGS mshlflags,PVOID pBuffer,ULONG cbBuffer,ULONG *pcbBufferUsed,RPCOLEDATAREP *pdataRep,ULONG *prpcFlags); 198 #define ICallFrame_Marshal(This,pmshlContext,mshlflags,pBuffer,cbBuffer,pcbBufferUsed,pdataRep,prpcFlags) (This)->lpVtbl->Marshal(This,pmshlContext,mshlflags,pBuffer,cbBuffer,pcbBufferUsed,pdataRep,prpcFlags)
|
/external/golang-protobuf/proto/testdata/ |
test.pb.go | 50 var _ = proto.Marshal [all...] |