Lines Matching refs:first
161 template<class Storage, int first, int last>
164 static_assert(first >= last,
171 return bits(storage, first, last);
177 replaceBits(storage, first, last, val);
181 template<class Storage, int first, int last>
184 static_assert(first >= last,
191 return sext<first - last + 1>(bits(storage, first, last));
197 replaceBits(storage, first, last, val);
209 template<int first, int last=first>
210 using Bitfield = BitfieldType<Unsigned<Storage, first, last> >;
211 template<int first, int last=first>
213 BitfieldROType<Unsigned<Storage, first, last> >;
214 template<int first, int last=first>
216 BitfieldWOType<Unsigned<Storage, first, last> >;
218 template<int first, int last=first>
220 BitfieldType<Signed<Storage, first, last> >;
221 template<int first, int last=first>
223 BitfieldROType<Signed<Storage, first, last> >;
224 template<int first, int last=first>
226 BitfieldWOType<Signed<Storage, first, last> >;
350 #define SubBitUnion(name, first, last) \
351 __SubBitUnion(name, Bitfield, first, last)
355 #define SignedSubBitUnion(name, first, last) \
356 __SubBitUnion(name, SignedBitfield, first, last)