Home
last modified time | relevance | path

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

/external/golang-protobuf/proto/
Dtext.go207 func (tm *TextMarshaler) writeProto3Any(w *textWriter, sv reflect.Value) (bool, error) {
253 func (tm *TextMarshaler) writeStruct(w *textWriter, sv reflect.Value) error {
460 func (tm *TextMarshaler) writeAny(w *textWriter, v reflect.Value, props *Properties) error {
522 if etm, ok := v.Interface().(encoding.TextMarshaler); ok {
679 func (tm *TextMarshaler) writeExtensions(w *textWriter, pv reflect.Value) error {
734 func (tm *TextMarshaler) writeExtension(w *textWriter, name string, pb interface{}) error {
769 type TextMarshaler struct { struct
776 func (tm *TextMarshaler) Marshal(w io.Writer, pb Message) error { argument
794 if etm, ok := pb.(encoding.TextMarshaler); ok {
819 func (tm *TextMarshaler) Text(pb Message) string { argument
[all …]
Dany_test.go46 expandedMarshaler = proto.TextMarshaler{ExpandAny: true}
47 expandedCompactMarshaler = proto.TextMarshaler{Compact: true, ExpandAny: true}
/external/syzkaller/vendor/github.com/golang/protobuf/proto/
Dtext.go207 func (tm *TextMarshaler) writeProto3Any(w *textWriter, sv reflect.Value) (bool, error) {
253 func (tm *TextMarshaler) writeStruct(w *textWriter, sv reflect.Value) error {
460 func (tm *TextMarshaler) writeAny(w *textWriter, v reflect.Value, props *Properties) error {
522 if etm, ok := v.Interface().(encoding.TextMarshaler); ok {
679 func (tm *TextMarshaler) writeExtensions(w *textWriter, pv reflect.Value) error {
734 func (tm *TextMarshaler) writeExtension(w *textWriter, name string, pb interface{}) error {
769 type TextMarshaler struct { struct
776 func (tm *TextMarshaler) Marshal(w io.Writer, pb Message) error { argument
794 if etm, ok := pb.(encoding.TextMarshaler); ok {
819 func (tm *TextMarshaler) Text(pb Message) string { argument
[all …]