Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioExtent.cc174 Double newpos; in ReadData() local
187 newpos = GetEnd(); in ReadData()
188 if (!Undefined(newpos)) { in ReadData()
190 if (off >= newpos) { in ReadData()
197 buflen = GetHeader(pos).Time_to_Bytes((Double)(newpos - off)); in ReadData()
214 newpos = off; in ReadData()
216 err = ref->ReadData(buf, len, newpos); in ReadData()
217 pos = (newpos - start); // XXX - calculate bytes and convert? in ReadData()
H A DAudioList.cc234 Double newpos; in ReadData() local
257 newpos = off; in ReadData()
259 err = ep->aptr->ReadData(buf, len, newpos); in ReadData()
273 pos += (newpos - off); // XXX - recalculate? in ReadData()
361 Double newpos; in AsyncCopy() local
380 newpos = off; in AsyncCopy()
382 err = ep->aptr->AsyncCopy(to, newpos, topos, limit); in AsyncCopy()
396 frompos += (newpos - off); // XXX - recalculate? in AsyncCopy()
H A DAudio.cc155 Double newpos, // new position in setpos() argument
159 newpos += pos; in setpos()
162 newpos += GetLength(); in setpos()
168 if (newpos < 0.) in setpos()
169 newpos = 0.; in setpos()
170 pos = newpos; in setpos()
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dxdr_rec.c314 caddr_t newpos; in xdrrec_setpos() local
320 newpos = rstrm->out_finger - delta; in xdrrec_setpos()
321 if ((newpos > (caddr_t)(rstrm->frag_header)) && in xdrrec_setpos()
322 (newpos < rstrm->out_boundry)) { in xdrrec_setpos()
323 rstrm->out_finger = newpos; in xdrrec_setpos()
329 newpos = rstrm->in_finger - delta; in xdrrec_setpos()
331 (newpos <= rstrm->in_boundry) && in xdrrec_setpos()
332 (newpos >= rstrm->in_base)) { in xdrrec_setpos()
333 rstrm->in_finger = newpos; in xdrrec_setpos()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfseek.c30 static void newpos(Sfio_t* f, Sfoff_t p) in newpos() function
32 static void newpos(f, p) in newpos()
71 { newpos(f,f->here);
169 newpos(f,p);
188 { newpos(f,s);
215 newpos(f,p);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_rec.c431 caddr_t newpos; in xdrrec_setpos() local
437 newpos = rstrm->out_finger - delta; in xdrrec_setpos()
438 if ((newpos > (caddr_t)(rstrm->frag_header)) && in xdrrec_setpos()
439 (newpos < rstrm->out_boundry)) { in xdrrec_setpos()
440 rstrm->out_finger = newpos; in xdrrec_setpos()
446 newpos = rstrm->in_finger - delta; in xdrrec_setpos()
448 (newpos <= rstrm->in_boundry) && in xdrrec_setpos()
449 (newpos >= rstrm->in_base)) { in xdrrec_setpos()
450 rstrm->in_finger = newpos; in xdrrec_setpos()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dedit.c1210 Edpos_t newpos;
1229 newpos = ed_curpos(ep, physical, new,old,ep->e_curpos);
1232 oldline = newpos.line;
1233 if(ep->e_curpos.line > newpos.line)
1236 for(;ep->e_curpos.line > newpos.line; ep->e_curpos.line--)
1239 if(newpos.line <= pline)
1264 else if(ep->e_curpos.line < newpos.line)
1266 ed_nputchar(ep, newpos.line-ep->e_curpos.line,'\n');
1267 ep->e_curpos.line = newpos.line;
1271 delta = newpos.col - ep->e_curpos.col;
[all …]
/illumos-gate/usr/src/cmd/audio/include/
H A DAudio.h76 Double newpos, // new position
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dmemstream.c1028 long newpos; in fmemopen_bad_seeks() member
1058 ret &= memstream_check_seek(f, seeks[i].newpos, SEEK_CUR); in fmemopen_bad_seeks()
1426 long newpos; in memstream_bad_seek() member
1455 ret &= memstream_check_seek(f, seeks[i].newpos, SEEK_CUR); in memstream_bad_seek()
1465 ret &= memstream_check_seek(fw, seeks[i].newpos, SEEK_CUR); in memstream_bad_seek()
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dsub2.c455 int j, *newpos; in nextstate() local
470 newpos = f+1; in nextstate()
472 temp[*newpos++] = 2; in nextstate()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipsecah.c3477 int align_len, newpos; in ah_auth_in_done() local
3531 newpos = sizeof (ah_t) + align_len; in ah_auth_in_done()
3594 length -= newpos; in ah_auth_in_done()
3657 length -= newpos; in ah_auth_in_done()
3662 mp->b_rptr += newpos; in ah_auth_in_done()
3666 *dest32 = *(dest32 - (newpos >> 2)); in ah_auth_in_done()
3670 *dest = *(dest - newpos); in ah_auth_in_done()