Home
last modified time | relevance | path

Searched refs:SEEK_SET (Results 26 – 50 of 109) sorted by relevance

12345

/PHP-5.3/ext/standard/tests/file/
H A Dstream_rfc2397_007.phpt41 var_dump(fseek($fp, 3, SEEK_SET));
57 var_dump(fseek($fp, 3, SEEK_SET));
H A Dfseek_ftell_rewind_variation4-win32.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, SEEK_SET
25 2. Testing fseek() with whence = SEEK_SET
27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***\n";
54 var_dump( fseek($file_handle,$count,SEEK_SET) );
70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***
H A Dfseek_ftell_rewind_variation4.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, SEEK_SET
25 2. Testing fseek() with whence = SEEK_SET
27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***\n";
54 var_dump( fseek($file_handle,$count,SEEK_SET) );
70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***
H A Dinclude_userstream_001.phpt42 case SEEK_SET:
H A Dbug38450_3.phpt51 case SEEK_SET:
H A Dbug38450.phpt51 case SEEK_SET:
H A Dbug38450_1.phpt51 case SEEK_SET:
H A Dfopencookie.phpt49 case SEEK_SET:
H A Dbug38450_2.phpt51 case SEEK_SET:
/PHP-5.3/ext/fileinfo/libmagic/
H A Dreadelf.c312 if (FINFO_LSEEK_FUNC(fd, off, SEEK_SET) == (off_t)-1) { in dophn_core()
334 if (FINFO_LSEEK_FUNC(fd, xph_offset, SEEK_SET) == (off_t)-1) { in dophn_core()
861 if (FINFO_LSEEK_FUNC(fd, off, SEEK_SET) == (off_t)-1) { in doshn()
891 if ((noff = FINFO_LSEEK_FUNC(fd, (off_t)xsh_offset, SEEK_SET)) == in doshn()
917 if (FINFO_LSEEK_FUNC(fd, (off_t)xsh_offset, SEEK_SET) == in doshn()
1049 if (FINFO_LSEEK_FUNC(fd, off, SEEK_SET) == (off_t)-1) { in dophn_exec()
1093 if (FINFO_LSEEK_FUNC(fd, xph_offset, SEEK_SET) == (off_t)-1) { in dophn_exec()
1159 if((FINFO_LSEEK_FUNC(fd, (off_t)0, SEEK_SET) == (off_t)-1) && (errno == ESPIPE)) in file_tryelf()
H A Dcompress.c304 if (FINFO_LSEEK_FUNC(fd, (off_t)0, SEEK_SET) == (off_t)-1) { in file_pipe2file()
408 (void) FINFO_LSEEK_FUNC(0, (off_t)0, SEEK_SET); in uncompressbuf()
/PHP-5.3/ext/standard/tests/streams/
H A Dbug44818.phpt9 var_dump(fseek($fd, 0, SEEK_SET), fread($fd, 3));
/PHP-5.3/ext/zlib/tests/
H A Dgzseek_error.phpt14 $whence = SEEK_SET;
/PHP-5.3/main/streams/
H A Dcast.c211 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy TSRMLS_CC); in _php_stream_cast()
257 fseek(*ret, pos, SEEK_SET); in _php_stream_cast()
413 php_stream_seek(*newstream, 0, SEEK_SET); in _php_stream_make_seekable()
H A Dmemory.c164 case SEEK_SET: in php_stream_memory_seek()
505 php_stream_seek(ts->innerstream, pos, SEEK_SET); in php_stream_temp_cast()
585 php_stream_temp_seek(stream, 0, SEEK_SET, &newoffs TSRMLS_CC); in _php_stream_temp_open()
717 php_stream_temp_seek(stream, 0, SEEK_SET, &newoffs TSRMLS_CC); in php_stream_url_wrap_rfc2397()
/PHP-5.3/ext/zip/lib/
H A Dzip_source_filep.c144 if (fseeko(z->f, (off_t)z->off, SEEK_SET) < 0) { in read_file()
163 SEEK_SET) < 0) { in read_file()
H A Dzip_close.c196 if ((NULL == za->zp) || (fseeko(za->zp, za->cdir->entry[i].offset, SEEK_SET) != 0)) { in zip_close()
416 if (fseeko(ft, offstart, SEEK_SET) < 0) { in add_data()
433 if (fseeko(ft, offend, SEEK_SET) < 0) { in add_data()
533 if (fseeko(out, offset-TORRENT_CRC_LEN, SEEK_SET) < 0) { in write_cdir()
/PHP-5.3/ext/standard/tests/filters/
H A Dfilter_errors_user.phpt56 fseek($stream, 0, SEEK_SET);
65 fseek($stream, 0, SEEK_SET);
79 fseek($stream, 0, SEEK_SET);
/PHP-5.3/ext/standard/
H A Dflock_compat.c54 flck.l_whence = SEEK_SET; in php_flock()
/PHP-5.3/ext/ftp/
H A Dphp_ftp.c765 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION()
809 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION()
887 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
948 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
1050 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1097 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1152 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1205 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
/PHP-5.3/ext/dba/libflatfile/
H A Dflatfile.c135 php_stream_seek(dba->fp, pos, SEEK_SET); in flatfile_delete()
267 php_stream_seek(dba->fp, dba->CurrentFlatFilePos, SEEK_SET); in flatfile_nextkey()
/PHP-5.3/ext/dba/libcdb/
H A Dcdb.c106 if (php_stream_seek(c->fp, pos, SEEK_SET) == -1) { in cdb_read()
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch735 - if (lseek(fd, (off_t)sizeof(struct magic), SEEK_SET)
851 - if (lseek(info->i_fd, off, SEEK_SET) == (off_t)-1)
1087 - if (lseek(fd, (off_t)0, SEEK_SET) == (off_t)-1) {
1115 - (void) lseek(0, (off_t)0, SEEK_SET);
1116 + (void) FINFO_LSEEK_FUNC(0, (off_t)0, SEEK_SET);
2602 - if (lseek(fd, off, SEEK_SET) == (off_t)-1) {
2616 - if (lseek(fd, xph_offset, SEEK_SET) == (off_t)-1) {
2647 - if (lseek(fd, off, SEEK_SET) == (off_t)-1) {
2691 - if (lseek(fd, (off_t)xsh_offset, SEEK_SET) ==
2709 - if (lseek(fd, off, SEEK_SET) == (off_t)-1) {
[all …]
/PHP-5.3/ext/phar/
H A Dtar.c169 php_stream_seek(fp, save, SEEK_SET); in phar_tar_process_metadata()
176 php_stream_seek(fp, save, SEEK_SET); in phar_tar_process_metadata()
190 php_stream_seek(fp, save, SEEK_SET); in phar_tar_process_metadata()
211 php_stream_seek(fp, 0, SEEK_SET); in phar_parse_tarfile()
296 php_stream_seek(fp, curloc + 512, SEEK_SET); in phar_parse_tarfile()
536 php_stream_seek(fp, pos, SEEK_SET); in phar_parse_tarfile()
779 if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 0 TSRMLS_CC)) { in phar_tar_writeheaders()
/PHP-5.3/ext/session/
H A Dmod_files.c372 lseek(data->fd, 0, SEEK_SET); in PS_READ_FUNC()
408 lseek(data->fd, 0, SEEK_SET); in PS_WRITE_FUNC()

Completed in 72 milliseconds

12345