Lines Matching defs:cp
226 unsigned char *cp;
233 cp = b->base;
234 cp += b->current;
236 result = ((unsigned int)(cp[0]));
245 unsigned char *cp;
250 cp = b->base;
251 cp += b->used;
253 cp[0] = (val & 0x00ff);
260 unsigned char *cp;
267 cp = b->base;
268 cp += b->current;
270 result = ((unsigned int)(cp[0])) << 8;
271 result |= ((unsigned int)(cp[1]));
280 unsigned char *cp;
285 cp = b->base;
286 cp += b->used;
288 cp[0] = (val & 0xff00) >> 8;
289 cp[1] = (val & 0x00ff);
296 unsigned char *cp;
302 cp = b->base;
303 cp += b->current;
305 result = ((unsigned int)(cp[0])) << 24;
306 result |= ((unsigned int)(cp[1])) << 16;
307 result |= ((unsigned int)(cp[2])) << 8;
308 result |= ((unsigned int)(cp[3]));
317 unsigned char *cp;
322 cp = b->base;
323 cp += b->used;
325 cp[0] = (unsigned char)((val & 0xff000000) >> 24);
326 cp[1] = (unsigned char)((val & 0x00ff0000) >> 16);
327 cp[2] = (unsigned char)((val & 0x0000ff00) >> 8);
328 cp[3] = (unsigned char)(val & 0x000000ff);
336 unsigned char *cp;
341 cp = (unsigned char *)b->base + b->used;
342 memmove(cp, base, length);
351 unsigned char *cp;
356 cp = b->base;
357 cp += b->current;
360 memmove(base, cp, length);