Lines Matching refs:newpos
651 long newpos; in jas_stream_seek() local
673 if ((newpos = (*stream->ops_->seek_)(stream->obj_, offset, origin)) in jas_stream_seek()
678 return newpos; in jas_stream_seek()
1018 long newpos; in mem_write() local
1020 newpos = m->pos_ + cnt; in mem_write()
1021 if (newpos > m->bufsize_ && m->growable_) { in mem_write()
1023 while (newbufsize < newpos) { in mem_write()
1060 long newpos; in mem_seek() local
1064 newpos = offset; in mem_seek()
1067 newpos = m->len_ - offset; in mem_seek()
1070 newpos = m->pos_ + offset; in mem_seek()
1076 if (newpos < 0) { in mem_seek()
1079 m->pos_ = newpos; in mem_seek()