Lines Matching refs:writepos
795 png_size_t writepos; /* Position in .new */ member
873 ps->writepos = 0; in store_init()
900 ps->writepos = 0; in store_freenew()
926 ps->writepos = 0; in store_storenew()
983 pf->datacount = ps->writepos; in store_storefile()
990 ps->writepos = 0; in store_storefile()
1286 size_t writepos = ps->writepos; in store_write() local
1307 if (writepos >= STORE_BUFFER_SIZE) in store_write()
1308 store_storenew(ps), writepos = 0; in store_write()
1315 ps->new.buffer[writepos++] = b; in store_write()
1324 ps->new.buffer[writepos++] = b; in store_write()
1352 if (cb > STORE_BUFFER_SIZE - writepos) in store_write()
1353 cb = STORE_BUFFER_SIZE - writepos; in store_write()
1358 memcpy(ps->new.buffer + writepos, pb, cb); in store_write()
1361 writepos += cb; in store_write()
1369 ps->writepos = writepos; in store_write()