Lines Matching defs:inbuf
434 int packA(char *inbuf, uint32_t length, uint32_t buflen)
443 pack.a = inbuf[i];
444 pack.b = inbuf[i+1];
445 pack.c = inbuf[i+2];
446 pack.d = inbuf[i+3];
447 pack.e = inbuf[i+4];
448 pack.f = inbuf[i+5];
449 pack.g = inbuf[i+6];
450 pack.h = inbuf[i+7];
451 bcopy ((char *) &pack, inbuf + j, 7);
457 void unpackA(char *inbuf, uint32_t length)
464 packs = *(pasc_t *)&inbuf[i];
465 bcopy(&inbuf[i+7], &inbuf[i+8], MAX(0, (int) (length - i - 8)));
466 inbuf[i++] = packs.a;
467 inbuf[i++] = packs.b;
468 inbuf[i++] = packs.c;
469 inbuf[i++] = packs.d;
470 inbuf[i++] = packs.e;
471 inbuf[i++] = packs.f;
472 inbuf[i++] = packs.g;
473 inbuf[i++] = packs.h;