Lines Matching refs:TextMarshaler
207 func (tm *TextMarshaler) writeProto3Any(w *textWriter, sv reflect.Value) (bool, error) {
253 func (tm *TextMarshaler) writeStruct(w *textWriter, sv reflect.Value) error {
459 var textMarshalerType = reflect.TypeOf((*encoding.TextMarshaler)(nil)).Elem()
462 func (tm *TextMarshaler) writeAny(w *textWriter, v reflect.Value, props *Properties) error {
525 text, err := v.Interface().(encoding.TextMarshaler).MarshalText()
681 func (tm *TextMarshaler) writeExtensions(w *textWriter, pv reflect.Value) error {
736 func (tm *TextMarshaler) writeExtension(w *textWriter, name string, pb interface{}) error {
771 type TextMarshaler struct { struct
778 func (tm *TextMarshaler) Marshal(w io.Writer, pb Message) error { argument
796 if etm, ok := pb.(encoding.TextMarshaler); ok {
821 func (tm *TextMarshaler) Text(pb Message) string { argument
828 defaultTextMarshaler = TextMarshaler{}
829 compactTextMarshaler = TextMarshaler{Compact: true}