| 1057 | } |
| 1058 | |
| 1059 | static pdf_xent_t *xent(pdf_doc_t *d, int64_t num) { |
| 1060 | int64_t i = pdf_map_get(&d->xref.by_num, (uint64_t)num); |
| 1061 | return i < 0 ? NULL : &d->xref.v[i]; |
| 1062 | } |
| 1063 | |
| 1064 | /* "endstream" follows q, after whitespace, within the 32 bytes after it. */ |
| 1065 | static bool endstream_follows(const pdf_doc_t *d, size_t q) { |
no test coverage detected