Home
last modified time | relevance | path

Searched refs:bytepos (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.5.0/src/extra/libs/png/
Dlodepng.c1357 size_t bytepos; in inflateNoCompression() local
1362 bytepos = (reader->bp + 7u) >> 3u; in inflateNoCompression()
1365 if(bytepos + 4 >= size) return 52; /*error, bit pointer will jump past memory*/ in inflateNoCompression()
1366 LEN = (unsigned)reader->data[bytepos] + ((unsigned)reader->data[bytepos + 1] << 8u); bytepos += 2; in inflateNoCompression()
1367 …NLEN = (unsigned)reader->data[bytepos] + ((unsigned)reader->data[bytepos + 1] << 8u); bytepos += 2; in inflateNoCompression()
1377 if(bytepos + LEN > size) return 23; /*error: reading outside of in buffer*/ in inflateNoCompression()
1379 lodepng_memcpy(out->data + out->size - LEN, reader->data + bytepos, LEN); in inflateNoCompression()
1380 bytepos += LEN; in inflateNoCompression()
1382 reader->bp = bytepos << 3u; in inflateNoCompression()