Lines Matching defs:endp
305 const unsigned char *p, *endp;
313 endp = p + fw->size;
344 while (p < endp) {
356 if (endp - p < sizeof(type) + sizeof(id) + sizeof(size))
368 if (endp - p < sizeof(size))
375 if (!size || size > endp - p) {
380 type, (unsigned long long)id, (endp - p), size);
547 unsigned char *p, *endp, buf[MAX_XFER_SIZE];
564 endp = p + priv->firm[pos].size;
566 while (p < endp) {
570 if (p + sizeof(size) > endp) {
616 if ((size + p > endp)) {
618 size, (endp - p));