Lines Matching defs:bufp
115 uint8_t *uidbuf, *bufp, sizebuf[SQUAT_PACK_MAX_SIZE], *sizebufp;
133 bufp = uidbuf;
134 squat_pack_num(&bufp, base_uid);
137 (bufp - uidbuf);
142 memset(bufp, 0, bitmask_len - (bufp - uidbuf));
166 bufp[uid / 8] |= 1 << (uid % 8);
175 bufp[idx++] |= mask;
182 bufp[idx] = 0xff;
187 bufp[idx] |= mask;
194 bufp = uidbuf;
204 squat_pack_num(&bufp, (uid - prev) << 1);
208 squat_pack_num(&bufp, 1 | (uid - prev) << 1);
209 squat_pack_num(&bufp, uid_list[i+1] - uid - 1);
214 uid_list_len = bufp - uidbuf;
216 bufp = uidbuf;
217 squat_pack_num(&bufp, base_uid);
243 uint8_t buf[SQUAT_PACK_MAX_SIZE], *bufp;
255 bufp = buf;
256 squat_pack_num(&bufp, offset);
257 o_stream_nsend(output, buf, bufp - buf);
258 *size_r = (bufp - buf) << 2 | packed_flags;
787 uint8_t buf[SQUAT_PACK_MAX_SIZE], *bufp;
819 bufp = buf;
820 squat_pack_num(&bufp, block_offset - start_offset);
821 o_stream_nsend(ctx->output, buf, bufp - buf);
825 bufp = buf;
826 squat_pack_num(&bufp, list_sizes[j]);
827 o_stream_nsend(ctx->output, buf, bufp - buf);
948 uint8_t buf[SQUAT_PACK_MAX_SIZE], *bufp;
961 bufp = buf;
962 squat_pack_num(&bufp, block_offset - ctx->cur_block_start_offset);
963 o_stream_nsend(ctx->output, buf, bufp - buf);
967 bufp = buf;
968 squat_pack_num(&bufp, ctx->list_sizes[i]);
969 o_stream_nsend(ctx->output, buf, bufp - buf);