Searched refs:encodeState (Results 1 – 1 of 1) sorted by relevance
/aosp_15_r20/prebuilts/go/linux-x86/src/encoding/json/ |
D | encode.go | 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 [all …]
|