Lines Matching refs:encodeState
254 type encodeState struct { struct
270 func newEncodeState() *encodeState {
272 e := v.(*encodeState)
280 return &encodeState{ptrSeen: make(map[any]struct{})}
288 func (e *encodeState) marshal(v any, opts encOpts) (err error) { argument
303 func (e *encodeState) error(err error) { argument
321 func (e *encodeState) reflectValue(v reflect.Value, opts encOpts) { argument
332 type encoderFunc func(e *encodeState, v reflect.Value, opts encOpts)
357 …fi, loaded := encoderCache.LoadOrStore(t, encoderFunc(func(e *encodeState, v reflect.Value, opts e…
427 func invalidValueEncoder(e *encodeState, v reflect.Value, _ encOpts) { argument
431 func marshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) { argument
453 func addrMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) { argument
472 func textMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) { argument
489 func addrTextMarshalerEncoder(e *encodeState, v reflect.Value, opts encOpts) { argument
503 func boolEncoder(e *encodeState, v reflect.Value, opts encOpts) { argument
511 func intEncoder(e *encodeState, v reflect.Value, opts encOpts) { argument
519 func uintEncoder(e *encodeState, v reflect.Value, opts encOpts) { argument
529 func (bits floatEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) { argument
568 func stringEncoder(e *encodeState, v reflect.Value, opts encOpts) { argument
664 func interfaceEncoder(e *encodeState, v reflect.Value, opts encOpts) { argument
672 func unsupportedTypeEncoder(e *encodeState, v reflect.Value, _ encOpts) { argument
686 func (se structEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
733 func (me mapEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
792 func encodeByteSlice(e *encodeState, v reflect.Value, _ encOpts) { argument
811 func (se sliceEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
851 func (ae arrayEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
872 func (pe ptrEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {
900 func (ce condAddrEncoder) encode(e *encodeState, v reflect.Value, opts encOpts) {