Lines Matching refs:l
151 gettag(const uint8_t *c, size_t *p, size_t l) in gettag() argument
155 if (*p >= l) in gettag()
163 if (*p >= l) in gettag()
168 if (*p >= l) in gettag()
184 getlength(const uint8_t *c, size_t *p, size_t l) in getlength() argument
190 if (*p >= l) { in getlength()
191 DPRINTF(("%s:[1] %zu >= %zu\n", __func__, *p, l)); in getlength()
202 if (*p + digits >= l) { in getlength()
203 DPRINTF(("%s:[2] %zu + %u >= %zu\n", __func__, *p, digits, l)); in getlength()
218 if (len > UINT32_MAX - *p || *p + len > l) { in getlength()
220 __func__, *p, len, l)); in getlength()
408 printdata(size_t level, const void *v, size_t x, size_t l) in printdata() argument
410 const uint8_t *p = v, *ep = p + l; in printdata()
445 size_t l; in main() local
452 l = (size_t)st.st_size; in main()
453 if ((p = mmap(NULL, l, PROT_READ, MAP_FILE, fd, 0)) == MAP_FAILED) in main()
456 printdata(0, p, 0, l); in main()
457 munmap(p, l); in main()