Home | History | Annotate | Download | only in doio

Lines Matching defs:cp

266 	char buf[BSIZE * 32], *bufend, *cp, *bufstart;
329 cp = bufend;
332 while (cp >= bufstart) {
335 * If cp-bufstart is not large enough to hold a piece
340 if (cp - bufstart < 2) {
341 leftover = cp - bufstart;
348 * instead of casting cp to an int because cp might
352 reclen = (*(cp - 2) * 256) + *(cp - 1);
355 * If cp-bufstart isn't large enough to hold a
361 if (cp - bufstart < reclen + 2) {
362 leftover = cp - bufstart;
368 * Adjust cp to point at the start of the record.
374 cp -= reclen + 2;
375 memcpy(albuf, cp, reclen);