Home | History | Annotate | Download | only in tools

Lines Matching refs:cp

86 	unsigned char cp[254], rp[254];
104 memset(cp, 0, sizeof(cp));
105 cp[0] = 0x01;
106 cp[1] = 0x00;
107 cp[2] = 0xfc;
108 cp[3] = (size * 2) + 1;
109 cp[4] = 0xc2;
110 memcpy(cp + 5, cmd, sizeof(cmd));
111 memcpy(cp + 15, value, length);
113 if (write(fd, cp, (size * 2) + 5) < 0)