Home
last modified time | relevance | path

Searched refs:php_stream_seek (Results 1 – 25 of 29) sorted by relevance

12

/PHP-7.3/ext/dba/libinifile/
H A Dinifile.c321 php_stream_seek(dba->fp, size, SEEK_SET); in inifile_truncate()
334 php_stream_seek(dba->fp, 0, SEEK_SET); in inifile_find_group()
405 php_stream_seek(dba->fp, pos_start, SEEK_SET); in inifile_copy_to()
423 php_stream_seek(from->fp, 0, SEEK_SET); in inifile_filter()
424 php_stream_seek(dba->fp, 0, SEEK_END); in inifile_filter()
438 php_stream_seek(from->fp, pos_curr, SEEK_SET); in inifile_filter()
452 php_stream_seek(from->fp, pos_start, SEEK_SET); in inifile_filter()
501 php_stream_seek(dba->fp, 0, SEEK_END); in inifile_delete_replace_append()
543 php_stream_seek(fp_tmp, 0, SEEK_SET); in inifile_delete_replace_append()
544 php_stream_seek(dba->fp, 0, SEEK_END); in inifile_delete_replace_append()
[all …]
/PHP-7.3/ext/standard/
H A Dimage.c109 if (php_stream_seek(stream, 3, SEEK_CUR)) in php_handle_gif()
132 if (php_stream_seek(stream, 11, SEEK_CUR)) in php_handle_psd()
154 if (php_stream_seek(stream, 11, SEEK_CUR)) in php_handle_bmp()
211 if (php_stream_seek(stream, 5, SEEK_CUR)) { in php_handle_swc()
223 if (php_stream_seek(stream, 8, SEEK_SET)) { in php_handle_swc()
287 if (php_stream_seek(stream, 5, SEEK_CUR)) in php_handle_swf()
320 if (php_stream_seek(stream, 8, SEEK_CUR)) in php_handle_png()
640 if (php_stream_seek(stream, 24, SEEK_CUR)) { in php_handle_jpc()
706 php_stream_seek(stream, 3, SEEK_CUR); in php_handle_jp2()
812 if (php_stream_seek(stream, ifd_addr-8, SEEK_CUR)) in php_handle_tiff()
[all …]
H A Dphp_fopen_wrapper.c88 php_stream_seek(input->body, 0, SEEK_END); in php_stream_input_read()
96 php_stream_seek(input->body, input->position, SEEK_SET); in php_stream_input_read()
130 int sought = php_stream_seek(input->body, offset, whence); in php_stream_input_seek()
H A Dstreamsfuncs.c459 seek_res = php_stream_seek(stream, desiredpos - position, SEEK_CUR); in PHP_FUNCTION()
462 seek_res = php_stream_seek(stream, desiredpos, SEEK_SET); in PHP_FUNCTION()
505 if (pos > 0 && php_stream_seek(src, pos, SEEK_SET) < 0) { in PHP_FUNCTION()
H A Dfile.c559 if (offset != 0 && php_stream_seek(stream, offset, ((offset > 0) ? SEEK_SET : SEEK_END)) < 0) { in PHP_FUNCTION()
1305 RETURN_LONG(php_stream_seek(stream, offset, (int) whence)); in PHP_FUNCTION()
H A Dfilters.c1783 php_stream_seek(stream, data->offset + data->consumed, SEEK_SET); in consumed_filter_filter()
/PHP-7.3/ext/dba/libflatfile/
H A Dflatfile.c55 php_stream_seek(dba->fp, 0L, SEEK_END); in flatfile_store()
131 php_stream_seek(dba->fp, pos, SEEK_SET); in flatfile_delete()
134 php_stream_seek(dba->fp, 0L, SEEK_END); in flatfile_delete()
250 php_stream_seek(dba->fp, dba->CurrentFlatFilePos, SEEK_SET); in flatfile_nextkey()
/PHP-7.3/main/streams/
H A Dcast.c78 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker()
108 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); in stream_cookie_seeker()
119 return php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker()
402 php_stream_seek(*newstream, 0, SEEK_SET); in _php_stream_make_seekable()
H A Dmmap.c56 if (php_stream_seek(stream, readden, SEEK_CUR) != 0) { in _php_stream_mmap_unmap_ex()
H A Dmemory.c471 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-7.3/ext/phar/
H A Dzip.c57 php_stream_seek(fp, PHAR_GET_16(h.header.size), SEEK_CUR); in phar_zip_process_extra()
182 if (FAILURE == php_stream_seek(fp, -size, SEEK_END)) { in phar_parse_zipfile()
190 php_stream_seek(fp, 0, SEEK_SET); in phar_parse_zipfile()
408 php_stream_seek(fp, 0, SEEK_SET); in phar_parse_zipfile()
565 php_stream_seek(fp, entry.offset, SEEK_SET); in phar_parse_zipfile()
569 php_stream_seek(fp, entry.offset, SEEK_SET); in phar_parse_zipfile()
660 php_stream_seek(fp, saveloc, SEEK_SET); in phar_parse_zipfile()
939 php_stream_seek(entry->cfp, 0, SEEK_END); in phar_zip_changed_apply_int()
1123 php_stream_seek(pass->filefp, 0, SEEK_SET); in phar_zip_applysignature()
1126 php_stream_seek(pass->centralfp, 0, SEEK_SET); in phar_zip_applysignature()
[all …]
H A Dtar.c172 php_stream_seek(fp, save, SEEK_SET); in phar_tar_process_metadata()
179 php_stream_seek(fp, save, SEEK_SET); in phar_tar_process_metadata()
201 php_stream_seek(fp, save, SEEK_SET); in phar_tar_process_metadata()
228 php_stream_seek(fp, 0, SEEK_END); in phar_parse_tarfile()
230 php_stream_seek(fp, 0, SEEK_SET); in phar_parse_tarfile()
323 php_stream_seek(fp, curloc + 512, SEEK_SET); in phar_parse_tarfile()
327 php_stream_seek(fp, 512, SEEK_CUR); in phar_parse_tarfile()
395 php_stream_seek(fp, size, SEEK_CUR); in phar_parse_tarfile()
565 php_stream_seek(fp, pos, SEEK_SET); in phar_parse_tarfile()
582 php_stream_seek(fp, size, SEEK_CUR); in phar_parse_tarfile()
H A Dphar.c779 if (-1 == php_stream_seek(fp, -8, SEEK_END)
800 if (-1 == php_stream_seek(fp, -12, SEEK_CUR)
816 if (-1 == php_stream_seek(fp, whence, SEEK_CUR)
846 php_stream_seek(fp, -(8 + 64), SEEK_END);
873 php_stream_seek(fp, -(8 + 32), SEEK_END);
911 php_stream_seek(fp, -(8 + 20), SEEK_END);
938 php_stream_seek(fp, -(8 + 16), SEEK_END);
1728 php_stream_seek(fp, 0, SEEK_END);
2417 php_stream_seek(fp, idata->zero, SEEK_SET);
2423 php_stream_seek(fp, idata->zero, SEEK_SET);
[all …]
H A Dstream.c382 php_stream_seek(data->fp, data->position + data->zero, SEEK_SET); in phar_stream_read()
429 res = php_stream_seek(data->fp, temp, SEEK_SET); in phar_stream_seek()
443 php_stream_seek(data->fp, data->position, SEEK_SET); in phar_stream_write()
H A Dutil.c163 return php_stream_seek(fp, temp, SEEK_SET); in phar_seek_efp()
767 php_stream_seek(ufp, 0, SEEK_END); in phar_open_entry_fp()
770 php_stream_seek(phar_get_entrypfp(entry), phar_get_fp_offset(entry), SEEK_SET); in phar_open_entry_fp()
1571 php_stream_seek(fp, 0, SEEK_SET); in phar_verify_signature()
1895 php_stream_seek(fp, 0, SEEK_END); in phar_create_signature()
H A Dfunc_interceptors.c200 if (offset > 0 && php_stream_seek(stream, offset, SEEK_SET) < 0) { in PHAR_FUNC()
/PHP-7.3/ext/ftp/
H A Dphp_ftp.c855 php_stream_seek(stream, 0, SEEK_END); in PHP_FUNCTION()
858 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION()
901 php_stream_seek(stream, 0, SEEK_END); in PHP_FUNCTION()
904 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION()
983 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION()
986 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
1047 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION()
1159 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1209 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1266 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
[all …]
/PHP-7.3/ext/dba/libcdb/
H A Dcdb.c106 if (php_stream_seek(c->fp, pos, SEEK_SET) == -1) { in cdb_read()
H A Dcdb_make.c67 if (php_stream_seek(f, c->pos, SEEK_SET) == -1) { in cdb_make_start()
/PHP-7.3/ext/fileinfo/
H A Dfileinfo.c513 php_stream_seek(stream, 0, SEEK_SET); in _php_finfo_get_type()
517 php_stream_seek(stream, streampos, SEEK_SET); in _php_finfo_get_type()
/PHP-7.3/ext/dba/
H A Ddba_cdb.c227 php_stream_seek(fp, offset, whence); in cdb_file_lseek()
/PHP-7.3/ext/exif/
H A Dexif.c3325 php_stream_seek(ImageInfo->infile, displacement+offset_val, SEEK_SET); in exif_process_IFD_TAG_impl()
3333 php_stream_seek(ImageInfo->infile, fpos, SEEK_SET); in exif_process_IFD_TAG_impl()
4049php_stream_seek(ImageInfo->infile, dir_offset, SEEK_SET); /* we do not know the order of sections … in exif_process_IFD_in_TIFF_impl()
4199 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF_impl()
4236 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF_impl()
4291 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_scan_FILE_header()
4417 php_stream_seek(ImageInfo->infile, 0, SEEK_END); in exif_read_from_impl()
4419 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_read_from_impl()
4453 php_stream_seek(stream, 0, SEEK_SET); in exif_read_from_stream()
4459 php_stream_seek(stream, old_pos, SEEK_SET); in exif_read_from_stream()
/PHP-7.3/
H A DREADME.STREAMS37 PHPAPI int php_stream_seek(php_stream * stream, off_t offset, int whence);
144 function, as the php_stream_seek can emulate forward seeking when the
/PHP-7.3/ext/com_dotnet/
H A Dcom_persist.c158 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek()
/PHP-7.3/main/
H A Dphp_streams.h303 #define php_stream_seek(stream, offset, whence) _php_stream_seek((stream), (offset), (whence)) macro

Completed in 185 milliseconds

12