Lines Matching refs:writepos
794 png_size_t writepos; /* Position in .new */ member
872 ps->writepos = 0; in store_init()
899 ps->writepos = 0; in store_freenew()
925 ps->writepos = 0; in store_storenew()
982 pf->datacount = ps->writepos; in store_storefile()
989 ps->writepos = 0; in store_storefile()
1285 size_t writepos = ps->writepos; in store_write() local
1306 if (writepos >= STORE_BUFFER_SIZE) in store_write()
1307 store_storenew(ps), writepos = 0; in store_write()
1314 ps->new.buffer[writepos++] = b; in store_write()
1323 ps->new.buffer[writepos++] = b; in store_write()
1351 if (cb > STORE_BUFFER_SIZE - writepos) in store_write()
1352 cb = STORE_BUFFER_SIZE - writepos; in store_write()
1357 memcpy(ps->new.buffer + writepos, pb, cb); in store_write()
1360 writepos += cb; in store_write()
1368 ps->writepos = writepos; in store_write()