Lines Matching refs:bufp
105 unsigned char *bufp,
116 snprintf(hex, sizeof(hex), "%02x", bufp[i]);
127 unsigned char *bufp,
134 val = *(bufp + offset[*fieldindex]);
137 printf("fetchieee754: getbyte(0x%08x, %d) = 0x%02x\n", (unsigned int)(bufp)+offset[*fieldindex], *fieldindex, val);
146 unsigned char *bufp,
152 *(bufp + offsets[*fieldindex]) = val;
169 unsigned char *bufp = *buffpp;
208 val = get_byte(bufp, offsets, &fieldindex); /* fetch sign byte & first part of characteristic */
213 val = get_byte(bufp, offsets, &fieldindex); /* fetch rest of characteristic and start of mantissa */
224 mantissa_low |= (u_long)get_byte(bufp, offsets, &fieldindex) << 8;
225 mantissa_low |= get_byte(bufp, offsets, &fieldindex);
233 mantissa_high |= (u_long)get_byte(bufp, offsets, &fieldindex) << 8;
234 mantissa_high |= get_byte(bufp, offsets, &fieldindex);
236 mantissa_low = (u_long)get_byte(bufp, offsets, &fieldindex) << 24;
237 mantissa_low |= (u_long)get_byte(bufp, offsets, &fieldindex) << 16;
238 mantissa_low |= (u_long)get_byte(bufp, offsets, &fieldindex) << 8;
239 mantissa_low |= get_byte(bufp, offsets, &fieldindex);