Lines Matching full:reflect
10 "reflect"
13 var encArrayHelper = map[reflect.Kind]encHelper{
14 reflect.Bool: encBoolArray,
15 reflect.Complex64: encComplex64Array,
16 reflect.Complex128: encComplex128Array,
17 reflect.Float32: encFloat32Array,
18 reflect.Float64: encFloat64Array,
19 reflect.Int: encIntArray,
20 reflect.Int16: encInt16Array,
21 reflect.Int32: encInt32Array,
22 reflect.Int64: encInt64Array,
23 reflect.Int8: encInt8Array,
24 reflect.String: encStringArray,
25 reflect.Uint: encUintArray,
26 reflect.Uint16: encUint16Array,
27 reflect.Uint32: encUint32Array,
28 reflect.Uint64: encUint64Array,
29 reflect.Uintptr: encUintptrArray,
32 var encSliceHelper = map[reflect.Kind]encHelper{
33 reflect.Bool: encBoolSlice,
34 reflect.Complex64: encComplex64Slice,
35 reflect.Complex128: encComplex128Slice,
36 reflect.Float32: encFloat32Slice,
37 reflect.Float64: encFloat64Slice,
38 reflect.Int: encIntSlice,
39 reflect.Int16: encInt16Slice,
40 reflect.Int32: encInt32Slice,
41 reflect.Int64: encInt64Slice,
42 reflect.Int8: encInt8Slice,
43 reflect.String: encStringSlice,
44 reflect.Uint: encUintSlice,
45 reflect.Uint16: encUint16Slice,
46 reflect.Uint32: encUint32Slice,
47 reflect.Uint64: encUint64Slice,
48 reflect.Uintptr: encUintptrSlice,
51 func encBoolArray(state *encoderState, v reflect.Value) bool {
59 func encBoolSlice(state *encoderState, v reflect.Value) bool {
77 func encComplex64Array(state *encoderState, v reflect.Value) bool {
85 func encComplex64Slice(state *encoderState, v reflect.Value) bool {
102 func encComplex128Array(state *encoderState, v reflect.Value) bool {
110 func encComplex128Slice(state *encoderState, v reflect.Value) bool {
127 func encFloat32Array(state *encoderState, v reflect.Value) bool {
135 func encFloat32Slice(state *encoderState, v reflect.Value) bool {
150 func encFloat64Array(state *encoderState, v reflect.Value) bool {
158 func encFloat64Slice(state *encoderState, v reflect.Value) bool {
173 func encIntArray(state *encoderState, v reflect.Value) bool {
181 func encIntSlice(state *encoderState, v reflect.Value) bool {
195 func encInt16Array(state *encoderState, v reflect.Value) bool {
203 func encInt16Slice(state *encoderState, v reflect.Value) bool {
217 func encInt32Array(state *encoderState, v reflect.Value) bool {
225 func encInt32Slice(state *encoderState, v reflect.Value) bool {
239 func encInt64Array(state *encoderState, v reflect.Value) bool {
247 func encInt64Slice(state *encoderState, v reflect.Value) bool {
261 func encInt8Array(state *encoderState, v reflect.Value) bool {
269 func encInt8Slice(state *encoderState, v reflect.Value) bool {
283 func encStringArray(state *encoderState, v reflect.Value) bool {
291 func encStringSlice(state *encoderState, v reflect.Value) bool {
306 func encUintArray(state *encoderState, v reflect.Value) bool {
314 func encUintSlice(state *encoderState, v reflect.Value) bool {
328 func encUint16Array(state *encoderState, v reflect.Value) bool {
336 func encUint16Slice(state *encoderState, v reflect.Value) bool {
350 func encUint32Array(state *encoderState, v reflect.Value) bool {
358 func encUint32Slice(state *encoderState, v reflect.Value) bool {
372 func encUint64Array(state *encoderState, v reflect.Value) bool {
380 func encUint64Slice(state *encoderState, v reflect.Value) bool {
394 func encUintptrArray(state *encoderState, v reflect.Value) bool {
402 func encUintptrSlice(state *encoderState, v reflect.Value) bool {