Lines Matching defs:pInsert
471 unsigned char *pInsert;
599 pInsert = &pBuf[stuffIndex]; // Pointer to start of packet
600 pDest = CMD_OF(pInsert); // Pointer to start of command
629 PTYPE_OF(pInsert) = type;
630 CHANNEL_OF(pInsert) = channel;
632 CMD_COUNT_OF(pInsert) = blocksize - sizeof(i2CmdHeader);
636 pInsert = pBuf;
638 pInsert = &pBuf[stuffIndex]; // Pointer to start of next pkt
639 pDest = CMD_OF(pInsert);
655 PTYPE_OF(pInsert) = type;
656 CHANNEL_OF(pInsert) = channel;
658 CMD_COUNT_OF(pInsert) = blocksize - sizeof(i2CmdHeader);
662 pInsert = pBuf;
915 unsigned char *pInsert;
981 pInsert = &(pCh->Obuf[stuffIndex]);
984 CHANNEL_OF(pInsert) = channel;
985 PTYPE_OF(pInsert) = PTYPE_DATA;
986 TAG_OF(pInsert) = 0;
987 ID_OF(pInsert) = ID_ORDINARY_DATA;
988 DATA_COUNT_OF(pInsert) = amountToMove;
991 memcpy( (char*)(DATA_OF(pInsert)), pSource, amountToMove );