Home
last modified time | relevance | path

Searched refs:nskip (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/lib/libpkg/common/
H A Ddstream.c112 static int ds_skip(char *device, int nskip);
522 int nskip, ods_volpart; in ds_findpkg() local
537 nskip = 0; in ds_findpkg()
544 nskip += ds_toc->nparts; in ds_findpkg()
564 ds_totread = nskip - ods_volpart; in ds_findpkg()
568 if (ds_skip(device, nskip - ds_totread)) in ds_findpkg()
571 ds_totread = nskip; in ds_findpkg()
642 ds_skip(char *device, int nskip) in ds_skip() argument
645 int n, onskip = nskip; in ds_skip()
647 while (nskip--) { in ds_skip()
[all …]
/titanic_50/usr/src/cmd/pg/
H A Dpg.c1095 skipf(nskip) in skipf() argument
1096 int nskip; in skipf()
1098 if (fnum + nskip < 0) {
1099 nskip = -fnum;
1100 if (nskip == 0)
1104 if (fnum + nskip > nfiles - 1) {
1105 nskip = (nfiles - 1) - fnum;
1106 if (nskip == 0)
1109 return (nskip);
/titanic_50/usr/src/cmd/more/
H A Dmore.c211 static void skipf(register int nskip);
1484 skipf(register int nskip) in skipf() argument
1486 if (nskip == 0) return; in skipf()
1487 if (nskip > 0) { in skipf()
1488 if (fnum + nskip > nfiles - 1) in skipf()
1489 nskip = nfiles - fnum - 1; in skipf()
1493 fnum += nskip; in skipf()
1500 if (nskip > 0) in skipf()