Lines Matching defs:box
99 int plogical_first_u8, plogical_last_u8, box;
127 * logical bit significance. "box" denotes the current logical u8.
132 for (box = plogical_first_u8; box >= plogical_last_u8; box--) {
133 /* Bit indices into the currently accessed 8-bit box */
144 if (box == plogical_first_u8)
148 if (box == plogical_last_u8)
153 /* We have determined the box bit start and end.
154 * Now we calculate where this (masked) u8 box would fit
155 * in the unpacked (CPU-readable) u64 - the u8 box's
157 * box is u8, the projection is u64 because it may fall
160 proj_start_bit = ((box * 8) + box_start_bit) - endbit;
161 proj_end_bit = ((box * 8) + box_end_bit) - endbit;
165 /* Determine the offset of the u8 box inside the pbuf,
170 box_addr = pbuflen - box - 1;