/PHP-8.0/ext/dba/libinifile/ |
H A D | inifile.c | 314 php_stream_seek(dba->fp, size, SEEK_SET); in inifile_truncate() 327 php_stream_seek(dba->fp, 0, SEEK_SET); in inifile_find_group() 397 php_stream_seek(dba->fp, pos_start, SEEK_SET); in inifile_copy_to() 415 php_stream_seek(from->fp, 0, SEEK_SET); in inifile_filter() 416 php_stream_seek(dba->fp, 0, SEEK_END); in inifile_filter() 430 php_stream_seek(from->fp, pos_curr, SEEK_SET); in inifile_filter() 444 php_stream_seek(from->fp, pos_start, SEEK_SET); in inifile_filter() 492 php_stream_seek(dba->fp, 0, SEEK_END); in inifile_delete_replace_append() 534 php_stream_seek(fp_tmp, 0, SEEK_SET); in inifile_delete_replace_append() 535 php_stream_seek(dba->fp, 0, SEEK_END); in inifile_delete_replace_append() [all …]
|
/PHP-8.0/ext/standard/ |
H A D | image.c | 104 if (php_stream_seek(stream, 3, SEEK_CUR)) in php_handle_gif() 126 if (php_stream_seek(stream, 11, SEEK_CUR)) in php_handle_psd() 147 if (php_stream_seek(stream, 11, SEEK_CUR)) in php_handle_bmp() 203 if (php_stream_seek(stream, 5, SEEK_CUR)) { in php_handle_swc() 215 if (php_stream_seek(stream, 8, SEEK_SET)) { in php_handle_swc() 278 if (php_stream_seek(stream, 5, SEEK_CUR)) in php_handle_swf() 311 if (php_stream_seek(stream, 8, SEEK_CUR)) in php_handle_png() 628 if (php_stream_seek(stream, 24, SEEK_CUR)) { in php_handle_jpc() 694 php_stream_seek(stream, 3, SEEK_CUR); in php_handle_jp2() 799 if (php_stream_seek(stream, ifd_addr-8, SEEK_CUR)) in php_handle_tiff() [all …]
|
H A D | php_fopen_wrapper.c | 86 php_stream_seek(input->body, 0, SEEK_END); in php_stream_input_read() 94 php_stream_seek(input->body, input->position, SEEK_SET); in php_stream_input_read() 128 int sought = php_stream_seek(input->body, offset, whence); in php_stream_input_seek()
|
H A D | streamsfuncs.c | 460 seek_res = php_stream_seek(stream, desiredpos - position, SEEK_CUR); in PHP_FUNCTION() 463 seek_res = php_stream_seek(stream, desiredpos, SEEK_SET); in PHP_FUNCTION() 506 if (pos > 0 && php_stream_seek(src, pos, SEEK_SET) < 0) { in PHP_FUNCTION()
|
H A D | file.c | 561 if (offset != 0 && php_stream_seek(stream, offset, ((offset > 0) ? SEEK_SET : SEEK_END)) < 0) { in PHP_FUNCTION() 1246 RETURN_LONG(php_stream_seek(stream, offset, (int) whence)); in PHP_FUNCTION()
|
/PHP-8.0/ext/dba/libflatfile/ |
H A D | flatfile.c | 52 php_stream_seek(dba->fp, 0L, SEEK_END); in flatfile_store() 126 php_stream_seek(dba->fp, pos, SEEK_SET); in flatfile_delete() 129 php_stream_seek(dba->fp, 0L, SEEK_END); in flatfile_delete() 242 php_stream_seek(dba->fp, dba->CurrentFlatFilePos, SEEK_SET); in flatfile_nextkey()
|
/PHP-8.0/main/streams/ |
H A D | mmap.c | 48 if (php_stream_seek(stream, readden, SEEK_CUR) != 0) { in _php_stream_mmap_unmap_ex()
|
H A D | cast.c | 76 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker() 107 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); in stream_cookie_seeker() 118 return php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker() 404 php_stream_seek(*newstream, 0, SEEK_SET); in _php_stream_make_seekable()
|
H A D | memory.c | 392 php_stream_seek(ts->innerstream, pos, SEEK_SET); in php_stream_temp_write() 471 ret = php_stream_seek(ts->innerstream, offset, whence); in php_stream_temp_seek() 525 php_stream_seek(ts->innerstream, pos, SEEK_SET); in php_stream_temp_cast()
|
/PHP-8.0/ext/ftp/ |
H A D | php_ftp.c | 606 php_stream_seek(stream, 0, SEEK_END); in PHP_FUNCTION() 609 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION() 653 php_stream_seek(stream, 0, SEEK_END); in PHP_FUNCTION() 656 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION() 735 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION() 738 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION() 800 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION() 912 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION() 963 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION() 1021 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION() [all …]
|
/PHP-8.0/ext/phar/ |
H A D | zip.c | 57 php_stream_seek(fp, PHAR_GET_16(h.header.size), SEEK_CUR); in phar_zip_process_extra() 212 if (FAILURE == php_stream_seek(fp, -size, SEEK_END)) { in phar_parse_zipfile() 220 php_stream_seek(fp, 0, SEEK_SET); in phar_parse_zipfile() 437 php_stream_seek(fp, 0, SEEK_SET); in phar_parse_zipfile() 587 php_stream_seek(fp, entry.offset, SEEK_SET); in phar_parse_zipfile() 591 php_stream_seek(fp, entry.offset, SEEK_SET); in phar_parse_zipfile() 682 php_stream_seek(fp, saveloc, SEEK_SET); in phar_parse_zipfile() 972 php_stream_seek(entry->cfp, 0, SEEK_END); in phar_zip_changed_apply_int() 1144 php_stream_seek(pass->filefp, 0, SEEK_SET); in phar_zip_applysignature() 1147 php_stream_seek(pass->centralfp, 0, SEEK_SET); in phar_zip_applysignature() [all …]
|
H A D | tar.c | 172 php_stream_seek(fp, save, SEEK_SET); in phar_tar_process_metadata() 198 php_stream_seek(fp, save, SEEK_SET); in phar_tar_process_metadata() 225 php_stream_seek(fp, 0, SEEK_END); in phar_parse_tarfile() 227 php_stream_seek(fp, 0, SEEK_SET); in phar_parse_tarfile() 329 php_stream_seek(fp, curloc + 512, SEEK_SET); in phar_parse_tarfile() 333 php_stream_seek(fp, 512, SEEK_CUR); in phar_parse_tarfile() 401 php_stream_seek(fp, size, SEEK_CUR); in phar_parse_tarfile() 571 php_stream_seek(fp, pos, SEEK_SET); in phar_parse_tarfile() 588 php_stream_seek(fp, size, SEEK_CUR); in phar_parse_tarfile()
|
H A D | phar.c | 857 if (-1 == php_stream_seek(fp, -8, SEEK_END) in phar_parse_pharfile() 878 if (-1 == php_stream_seek(fp, -12, SEEK_CUR) in phar_parse_pharfile() 894 if (-1 == php_stream_seek(fp, whence, SEEK_CUR) in phar_parse_pharfile() 923 php_stream_seek(fp, -(8 + 64), SEEK_END); in phar_parse_pharfile() 950 php_stream_seek(fp, -(8 + 32), SEEK_END); in phar_parse_pharfile() 977 php_stream_seek(fp, -(8 + 20), SEEK_END); in phar_parse_pharfile() 1004 php_stream_seek(fp, -(8 + 16), SEEK_END); in phar_parse_pharfile() 1779 php_stream_seek(fp, 0, SEEK_END); in phar_open_from_fp() 2461 php_stream_seek(fp, idata->zero, SEEK_SET); in phar_postprocess_file() 2467 php_stream_seek(fp, idata->zero, SEEK_SET); in phar_postprocess_file() [all …]
|
H A D | stream.c | 379 php_stream_seek(data->fp, data->position + data->zero, SEEK_SET); in phar_stream_read() 426 res = php_stream_seek(data->fp, temp, SEEK_SET); in phar_stream_seek() 440 php_stream_seek(data->fp, data->position, SEEK_SET); in phar_stream_write()
|
H A D | util.c | 161 return php_stream_seek(fp, temp, SEEK_SET); in phar_seek_efp() 765 php_stream_seek(ufp, 0, SEEK_END); in phar_open_entry_fp() 768 php_stream_seek(phar_get_entrypfp(entry), phar_get_fp_offset(entry), SEEK_SET); in phar_open_entry_fp() 1573 php_stream_seek(fp, 0, SEEK_SET); in phar_verify_signature() 1884 php_stream_seek(fp, 0, SEEK_END); in phar_create_signature()
|
H A D | func_interceptors.c | 205 if (offset > 0 && php_stream_seek(stream, offset, SEEK_SET) < 0) { in PHAR_FUNC()
|
/PHP-8.0/ext/dba/libcdb/ |
H A D | cdb.c | 104 if (php_stream_seek(c->fp, pos, SEEK_SET) == -1) { in cdb_read()
|
H A D | cdb_make.c | 65 if (php_stream_seek(f, c->pos, SEEK_SET) == -1) { in cdb_make_start()
|
/PHP-8.0/ext/fileinfo/ |
H A D | fileinfo.c | 431 php_stream_seek(stream, 0, SEEK_SET); in _php_finfo_get_type() 435 php_stream_seek(stream, streampos, SEEK_SET); in _php_finfo_get_type()
|
/PHP-8.0/ext/dba/ |
H A D | dba_cdb.c | 225 php_stream_seek(fp, offset, whence); in cdb_file_lseek()
|
/PHP-8.0/ext/exif/ |
H A D | exif.c | 3302 php_stream_seek(ImageInfo->infile, displacement+offset_val, SEEK_SET); in exif_process_IFD_TAG_impl() 3310 php_stream_seek(ImageInfo->infile, fpos, SEEK_SET); in exif_process_IFD_TAG_impl() 4036 …php_stream_seek(ImageInfo->infile, dir_offset, SEEK_SET); /* we do not know the order of sections … in exif_process_IFD_in_TIFF_impl() 4185 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF_impl() 4225 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF_impl() 4280 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_scan_FILE_header() 4404 php_stream_seek(ImageInfo->infile, 0, SEEK_END); in exif_read_from_impl() 4406 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_read_from_impl() 4440 php_stream_seek(stream, 0, SEEK_SET); in exif_read_from_stream() 4446 php_stream_seek(stream, old_pos, SEEK_SET); in exif_read_from_stream()
|
/PHP-8.0/ext/com_dotnet/ |
H A D | com_persist.c | 157 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek()
|
/PHP-8.0/docs/ |
H A D | streams.md | 34 PHPAPI int php_stream_seek(php_stream * stream, off_t offset, int whence); 151 as the `php_stream_seek` can emulate forward seeking when the whence parameter
|
/PHP-8.0/main/ |
H A D | php_streams.h | 305 #define php_stream_seek(stream, offset, whence) _php_stream_seek((stream), (offset), (whence)) macro
|
/PHP-8.0/ext/gd/ |
H A D | gd.c | 673 php_stream_seek(stream, 0, SEEK_END); in PHP_FUNCTION() 675 php_stream_seek(stream, i, SEEK_SET); in PHP_FUNCTION()
|