Home
last modified time | relevance | path

Searched refs:seek (Results 1 – 25 of 94) sorted by relevance

1234

/mirbsd/src/kern/z/
Dgzwrite.c202 if (state->seek) {
203 state->seek = 0;
267 if (state->seek) {
268 state->seek = 0;
334 if (state->seek) { in gzvprintf()
335 state->seek = 0; in gzvprintf()
419 if (state->seek) {
420 state->seek = 0;
489 if (state->seek) {
490 state->seek = 0;
[all …]
Dgzread.c320 if (state->seek) {
321 state->seek = 0;
440 if (state->seek) {
441 state->seek = 0;
504 if (state->seek) {
505 state->seek = 0;
Dgzlib.c84 state->seek = 0; /* no seek request pending */
389 else if (state->seek)
391 state->seek = 0;
402 state->seek = 0;
432 state->seek = 1;
464 return state->x.pos + (state->seek ? state->skip : 0);
/mirbsd/src/gnu/usr.bin/perl/ext/PerlIO/t/
Dopen.t22 use Fcntl qw(:seek);
27 ok(seek($fh, 0, SEEK_SET), "seek to zero");
35 ok(seek($fh, 0, SEEK_SET), "seek to zero");
Dscalar.t27 seek($fh,0,0) or print "not ";
35 seek($fh,0,0) or print "not ";
116 seek($dup,0,0);
DPerlIO.t81 ok( seek($x,0,0), ' seek' );
104 ok( seek($x,0,0), ' seek' );
/mirbsd/src/gnu/usr.bin/perl/ext/IO/t/
Dio_tell.t46 if ($tst->seek(0,0)) { print "ok 4\n"; } else { print "not ok 4\n"; }
54 if ($tst->seek(0,1)) { print "ok 8\n"; } else { print "not ok 8\n"; }
60 if ($tst->seek(0,2)) { print "ok 11\n"; } else { print "not ok 11\n"; }
Dio_xs.t33 $x->seek(0,SEEK_SET);
36 $x->seek(0,SEEK_SET);
/mirbsd/src/gnu/usr.bin/perl/t/op/
Dlfs.t89 seek(BIG, 1_000_000, $SEEK_SET) or
90 do { warn "seek big1 failed: $!\n"; bye };
104 seek(BIG, 2_000_000, $SEEK_SET) or
105 do { warn "seek big2 failed; $!\n"; bye };
133 seek(BIG, 5_000_000_000, 0);
140 if ($r or not seek(BIG, 5_000_000_000, $SEEK_SET)) {
217 fail unless seek(BIG, 4_500_000_000, $SEEK_SET);
223 fail unless seek(BIG, 1, $SEEK_CUR);
232 fail unless seek(BIG, -1, $SEEK_CUR);
238 fail unless seek(BIG, -3, $SEEK_END);
[all …]
Dread.t15 seek(FOO,4,0) or die "Seek failed: $!";
22 seek (FOO,0,2) || seek(FOO,20000,0);
Ddefins.t35 seek(FILE,0,0);
47 seek(FILE,0,0);
56 seek(FILE,0,0);
/mirbsd/src/gnu/usr.bin/perl/t/lib/warnings/
Ddoio21 seek() on closed filehandle [Perl_do_seek]
22 $a = "fred";$a = seek($a,1,1)
25 $a = "fred";$a = seek($a,1,1)
107 $a = seek(STDIN,1,1);
113 seek($a,1,1);
120 $a = seek(STDIN,1,1);
126 seek($a,1,1);
132 seek() on closed filehandle STDIN at - line 5.
137 seek() on unopened filehandle at - line 11.
/mirbsd/src/gnu/usr.sbin/sendmail/include/sm/
Dio.h181 # define SM_IO_SET_TYPE(f, name, open, close, read, write, seek, get, set, timeout) \ argument
183 0, (close), (read), (seek), (write), (open), (set), (get), (timeout),\
185 # define SM_IO_INIT_TYPE(f, name, open, close, read, write, seek, get, set, timeout) argument
188 # define SM_IO_SET_TYPE(f, name, open, close, read, write, seek, get, set, timeout) (f) argument
189 # define SM_IO_INIT_TYPE(f, name, open, close, read, write, seek, get, set, timeout) \ argument
203 (f).f_seek = (seek); \
/mirbsd/src/gnu/usr.bin/perl/lib/File/Temp/t/
Dseekable.t23 # make sure the seek method is available...
24 ok( File::Temp->can('seek'), 'tmp can seek' );
/mirbsd/src/gnu/usr.bin/perl/t/io/
Dtell.t35 if (seek($TST,0,0)) { print "ok 4\n"; } else { print "not ok 4\n"; }
43 if (seek(tst,0,1)) { print "ok 8\n"; } else { print "not ok 8\n"; }
49 if (seek(tst,0,2)) { print "ok 11\n"; } else { print "not ok 11\n"; }
Dopen.t35 ok( seek($f,0,0), ' seek set' );
77 ok( seek($f, 0, 1), ' seek cur' );
132 ok( seek($f,0,0), ' seek set' );
172 ok( seek($f, 0, 1), ' seek cur' );
Dcrlf.t29 seek(FOO,0,0);
44 seek $fh, $pos, 0;
Dutf8.t25 seek(F,0,0);
29 seek(F,0,0);
44 seek(F,0,0);
47 seek(F,0,0);
Dread.t19 seek(A,0,0);
/mirbsd/src/gnu/usr.bin/perl/lib/
DFileHandle.t49 $fh->seek(0,0);
53 $fh->seek(0,2);
/mirbsd/src/distrib/tools/
DMakefile68 dd of=cddir/b_sparc.ldr bs=1 seek=$$ofs conv=notrunc
92 dd of=${CDROM} conv=notrunc bs=2048 seek=$$(getextent_cd9660 \
96 dd of=${CDROM} conv=notrunc bs=512 seek=${CHAINSECTOR} 2>/dev/null
/mirbsd/src/gnu/usr.bin/lynx/WWW/Library/Implementation/
DHTGopher.c128 const char *seek; member
831 ctx->seek = "$(NEXTFLD)"; in interpret_cso_key()
1131 ctx.seek = (char *) 0; in generate_cso_form()
1168 if (ctx.seek) { in generate_cso_form()
1173 size_t slen = strlen(ctx.seek); in generate_cso_form()
1178 if (0 == StrNCmp(ctx.seek, &line[j], slen)) { in generate_cso_form()
1184 ctx.seek = (char *) 0; in generate_cso_form()
1188 if (!ctx.seek) in generate_cso_form()
1192 if (ctx.seek) { in generate_cso_form()
1195 HTSprintf0(&temp, GOPHER_CSO_SEEK_FAILED, ctx.seek); in generate_cso_form()
/mirbsd/src/gnu/usr.bin/perl/lib/FileCache/t/
D04twoarg.t21 seek(foo, 0, 0);
/mirbsd/src/sys/lib/libsa/
Dlseek.c99 return (f->f_ops->seek)(f, offset, where); in lseek()
/mirbsd/src/gnu/usr.bin/perl/lib/Tie/Handle/
Dstdhandle.t30 print "not " unless seek($f,0,0);

1234