Lines Matching refs:writepos
664 png_size_t writepos; /* Position in .new */ member
742 ps->writepos = 0; in store_init()
764 ps->writepos = 0; in store_freenew()
778 if (ps->writepos != STORE_BUFFER_SIZE) in store_storenew()
788 ps->writepos = 0; in store_storenew()
823 pf->datacount = ps->writepos; in store_storefile()
825 ps->writepos = 0; in store_storefile()
1104 if (ps->writepos >= STORE_BUFFER_SIZE) in store_write()
1109 if (cb > STORE_BUFFER_SIZE - ps->writepos) in store_write()
1110 cb = STORE_BUFFER_SIZE - ps->writepos; in store_write()
1112 memcpy(ps->new.buffer + ps->writepos, pb, cb); in store_write()
1115 ps->writepos += cb; in store_write()