Home
last modified time | relevance | path

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

12

/PHP-5.5/ext/dba/libinifile/
H A Dinifile.c320 php_stream_seek(dba->fp, size, SEEK_SET); in inifile_truncate()
333 php_stream_seek(dba->fp, 0, SEEK_SET); in inifile_find_group()
404 php_stream_seek(dba->fp, pos_start, SEEK_SET); in inifile_copy_to()
422 php_stream_seek(from->fp, 0, SEEK_SET); in inifile_filter()
423 php_stream_seek(dba->fp, 0, SEEK_END); in inifile_filter()
434 php_stream_seek(from->fp, pos_curr, SEEK_SET); in inifile_filter()
448 php_stream_seek(from->fp, pos_start, SEEK_SET); in inifile_filter()
497 php_stream_seek(dba->fp, 0, SEEK_END); in inifile_delete_replace_append()
539 php_stream_seek(fp_tmp, 0, SEEK_SET); in inifile_delete_replace_append()
540 php_stream_seek(dba->fp, 0, SEEK_END); in inifile_delete_replace_append()
[all …]
/PHP-5.5/ext/standard/
H A Dimage.c108 if (php_stream_seek(stream, 3, SEEK_CUR)) in php_handle_gif()
131 if (php_stream_seek(stream, 11, SEEK_CUR)) in php_handle_psd()
153 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()
219 if (php_stream_seek(stream, 8, SEEK_SET)) in php_handle_swc()
276 if (php_stream_seek(stream, 5, SEEK_CUR)) in php_handle_swf()
309 if (php_stream_seek(stream, 8, SEEK_CUR)) in php_handle_png()
433 php_stream_seek(stream, (long)length, SEEK_CUR); in php_skip_variable()
642 if (php_stream_seek(stream, 24, SEEK_CUR)) { in php_handle_jpc()
708 php_stream_seek(stream, 3, SEEK_CUR); in php_handle_jp2()
[all …]
H A Dstreamsfuncs.c426 seek_res = php_stream_seek(stream, desiredpos - position, SEEK_CUR); in PHP_FUNCTION()
429 seek_res = php_stream_seek(stream, desiredpos, SEEK_SET); in PHP_FUNCTION()
470 if (pos > 0 && php_stream_seek(src, pos, SEEK_SET) < 0) { in PHP_FUNCTION()
H A Dfile.c547 if (offset > 0 && php_stream_seek(stream, offset, SEEK_SET) < 0) { in PHP_FUNCTION()
1287 RETURN_LONG(php_stream_seek(stream, arg2, whence)); in PHP_FUNCTION()
H A Dfilters.c1885 php_stream_seek(stream, data->offset + data->consumed, SEEK_SET); in consumed_filter_filter()
/PHP-5.5/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-5.5/main/streams/
H A Dcast.c83 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker()
117 *position = php_stream_seek((php_stream *)cookie, (off_t)*position, whence); in stream_cookie_seeker()
129 return php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker()
413 php_stream_seek(*newstream, 0, SEEK_SET); in _php_stream_make_seekable()
H A Dmmap.c58 if (php_stream_seek(stream, readden, SEEK_CUR) != 0) { in _php_stream_mmap_unmap_ex()
H A Dmemory.c461 ret = php_stream_seek(ts->innerstream, offset, whence); in php_stream_temp_seek()
510 php_stream_seek(ts->innerstream, pos, SEEK_SET); in php_stream_temp_cast()
/PHP-5.5/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()
420 php_stream_seek(fp, 0, SEEK_SET); in phar_parse_zipfile()
583 php_stream_seek(fp, entry.offset, SEEK_SET); in phar_parse_zipfile()
587 php_stream_seek(fp, entry.offset, SEEK_SET); in phar_parse_zipfile()
637 php_stream_seek(fp, saveloc, SEEK_SET); in phar_parse_zipfile()
918 php_stream_seek(entry->cfp, 0, SEEK_END); in phar_zip_changed_apply()
1097 php_stream_seek(pass->filefp, 0, SEEK_SET); in phar_zip_applysignature()
1100 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()
193 php_stream_seek(fp, save, SEEK_SET); in phar_tar_process_metadata()
220 php_stream_seek(fp, 0, SEEK_END); in phar_parse_tarfile()
222 php_stream_seek(fp, 0, SEEK_SET); in phar_parse_tarfile()
313 php_stream_seek(fp, curloc + 512, SEEK_SET); in phar_parse_tarfile()
317 php_stream_seek(fp, 512, SEEK_CUR); in phar_parse_tarfile()
385 php_stream_seek(fp, size, SEEK_CUR); in phar_parse_tarfile()
555 php_stream_seek(fp, pos, SEEK_SET); in phar_parse_tarfile()
572 php_stream_seek(fp, size, SEEK_CUR); in phar_parse_tarfile()
H A Dphar.c763 if (-1 == php_stream_seek(fp, -8, SEEK_END)
784 if (-1 == php_stream_seek(fp, -12, SEEK_CUR)
800 if (-1 == php_stream_seek(fp, whence, SEEK_CUR)
830 php_stream_seek(fp, -(8 + 64), SEEK_END);
857 php_stream_seek(fp, -(8 + 32), SEEK_END);
895 php_stream_seek(fp, -(8 + 20), SEEK_END);
922 php_stream_seek(fp, -(8 + 16), SEEK_END);
1700 php_stream_seek(fp, 0, SEEK_END);
2474 php_stream_seek(fp, idata->zero, SEEK_SET);
2480 php_stream_seek(fp, idata->zero, SEEK_SET);
[all …]
H A Dstream.c377 php_stream_seek(data->fp, data->position + data->zero, SEEK_SET); in phar_stream_read()
424 res = php_stream_seek(data->fp, temp, SEEK_SET); in phar_stream_seek()
438 php_stream_seek(data->fp, data->position, SEEK_SET); in phar_stream_write()
H A Dutil.c165 return php_stream_seek(fp, temp, SEEK_SET); in phar_seek_efp()
777 php_stream_seek(ufp, 0, SEEK_END); in phar_open_entry_fp()
780 php_stream_seek(phar_get_entrypfp(entry TSRMLS_CC), phar_get_fp_offset(entry TSRMLS_CC), SEEK_SET); in phar_open_entry_fp()
1627 php_stream_seek(fp, 0, SEEK_SET);
1922 php_stream_seek(fp, 0, SEEK_END);
H A Dfunc_interceptors.c198 if (offset > 0 && php_stream_seek(stream, offset, SEEK_SET) < 0) { in PHAR_FUNC()
/PHP-5.5/ext/ftp/
H A Dphp_ftp.c762 php_stream_seek(stream, 0, SEEK_END); in PHP_FUNCTION()
765 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION()
806 php_stream_seek(stream, 0, SEEK_END); in PHP_FUNCTION()
809 php_stream_seek(stream, resumepos, SEEK_SET); in PHP_FUNCTION()
884 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION()
887 php_stream_seek(outstream, resumepos, SEEK_SET); in PHP_FUNCTION()
945 php_stream_seek(outstream, 0, SEEK_END); in PHP_FUNCTION()
1053 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1100 php_stream_seek(stream, startpos, SEEK_SET); in PHP_FUNCTION()
1155 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
[all …]
/PHP-5.5/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-5.5/ext/fileinfo/
H A Dfileinfo.c489 php_stream_seek(stream, 0, SEEK_SET);
493 php_stream_seek(stream, streampos, SEEK_SET);
/PHP-5.5/ext/dba/
H A Ddba_cdb.c229 php_stream_seek(fp, offset, whence); in cdb_file_lseek()
/PHP-5.5/ext/exif/
H A Dexif.c2911 php_stream_seek(ImageInfo->infile, offset_val, SEEK_SET); in exif_process_IFD_TAG()
2919 php_stream_seek(ImageInfo->infile, fpos, SEEK_SET); in exif_process_IFD_TAG()
3582php_stream_seek(ImageInfo->infile, dir_offset, SEEK_SET); /* we do not know the order of sections … in exif_process_IFD_in_TIFF()
3733 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF()
3767 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF()
3804 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_scan_FILE_header()
3927 php_stream_seek(ImageInfo->infile, 0, SEEK_END); in exif_read_file()
3929 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_read_file()
/PHP-5.5/
H A DREADME.STREAMS38 PHPAPI int php_stream_seek(php_stream * stream, off_t offset, int whence);
145 function, as the php_stream_seek can emulate forward seeking when the
/PHP-5.5/ext/com_dotnet/
H A Dcom_persist.c161 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek()
/PHP-5.5/main/
H A Dphp_streams.h288 #define php_stream_seek(stream, offset, whence) _php_stream_seek((stream), (offset), (whence) TSRML… macro
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c2427 php_stream_seek((php_stream*)file_handle.handle.stream.handle, pos - 1, SEEK_SET);

Completed in 125 milliseconds

12