Lines Matching refs:Int2

14 		&pgtype.Int2{Int: math.MinInt16, Status: pgtype.Present},
15 &pgtype.Int2{Int: -1, Status: pgtype.Present},
16 &pgtype.Int2{Int: 0, Status: pgtype.Present},
17 &pgtype.Int2{Int: 1, Status: pgtype.Present},
18 &pgtype.Int2{Int: math.MaxInt16, Status: pgtype.Present},
19 &pgtype.Int2{Int: 0, Status: pgtype.Null},
26 result pgtype.Int2
28 {source: int8(1), result: pgtype.Int2{Int: 1, Status: pgtype.Present}},
29 {source: int16(1), result: pgtype.Int2{Int: 1, Status: pgtype.Present}},
30 {source: int32(1), result: pgtype.Int2{Int: 1, Status: pgtype.Present}},
31 {source: int64(1), result: pgtype.Int2{Int: 1, Status: pgtype.Present}},
32 {source: int8(-1), result: pgtype.Int2{Int: -1, Status: pgtype.Present}},
33 {source: int16(-1), result: pgtype.Int2{Int: -1, Status: pgtype.Present}},
34 {source: int32(-1), result: pgtype.Int2{Int: -1, Status: pgtype.Present}},
35 {source: int64(-1), result: pgtype.Int2{Int: -1, Status: pgtype.Present}},
36 {source: uint8(1), result: pgtype.Int2{Int: 1, Status: pgtype.Present}},
37 {source: uint16(1), result: pgtype.Int2{Int: 1, Status: pgtype.Present}},
38 {source: uint32(1), result: pgtype.Int2{Int: 1, Status: pgtype.Present}},
39 {source: uint64(1), result: pgtype.Int2{Int: 1, Status: pgtype.Present}},
40 {source: "1", result: pgtype.Int2{Int: 1, Status: pgtype.Present}},
41 {source: _int8(1), result: pgtype.Int2{Int: 1, Status: pgtype.Present}},
45 var r pgtype.Int2
73 src pgtype.Int2
77 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &i8, expected: int8(42)},
78 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &i16, expected: int16(42)},
79 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &i32, expected: int32(42)},
80 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &i64, expected: int64(42)},
81 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &i, expected: int(42)},
82 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &ui8, expected: uint8(42)},
83 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &ui16, expected: uint16(42)},
84 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &ui32, expected: uint32(42)},
85 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &ui64, expected: uint64(42)},
86 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &ui, expected: uint(42)},
87 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &_i8, expected: _int8(42)},
88 {src: pgtype.Int2{Int: 0, Status: pgtype.Null}, dst: &pi8, expected: ((*int8)(nil))},
89 {src: pgtype.Int2{Int: 0, Status: pgtype.Null}, dst: &_pi8, expected: ((*_int8)(nil))},
104 src pgtype.Int2
108 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &pi8, expected: int8(42)},
109 {src: pgtype.Int2{Int: 42, Status: pgtype.Present}, dst: &_pi8, expected: _int8(42)},
124 src pgtype.Int2
127 {src: pgtype.Int2{Int: 150, Status: pgtype.Present}, dst: &i8},
128 {src: pgtype.Int2{Int: -1, Status: pgtype.Present}, dst: &ui8},
129 {src: pgtype.Int2{Int: -1, Status: pgtype.Present}, dst: &ui16},
130 {src: pgtype.Int2{Int: -1, Status: pgtype.Present}, dst: &ui32},
131 {src: pgtype.Int2{Int: -1, Status: pgtype.Present}, dst: &ui64},
132 {src: pgtype.Int2{Int: -1, Status: pgtype.Present}, dst: &ui},
133 {src: pgtype.Int2{Int: 0, Status: pgtype.Null}, dst: &i16},