Home
last modified time | relevance | path

Searched refs:SEEK_SET (Results 76 – 100 of 118) sorted by relevance

12345

/PHP-8.3/ext/standard/tests/http/
H A Dbug38802.phpt36 fseek($output, 0, SEEK_SET);
/PHP-8.3/ext/standard/
H A Dphp_fopen_wrapper.c94 php_stream_seek(input->body, input->position, SEEK_SET); in php_stream_input_read()
H A Dstreamsfuncs.c478 seek_res = php_stream_seek(stream, desiredpos, SEEK_SET); in PHP_FUNCTION()
521 if (pos > 0 && php_stream_seek(src, pos, SEEK_SET) < 0) { in PHP_FUNCTION()
H A Dfile.c439 if (offset != 0 && php_stream_seek(stream, offset, ((offset > 0) ? SEEK_SET : SEEK_END)) < 0) { in PHP_FUNCTION()
1108 zend_long offset, whence = SEEK_SET; in PHP_FUNCTION()
/PHP-8.3/ext/exif/
H A Dexif.c3324 php_stream_seek(ImageInfo->infile, displacement+offset_val, SEEK_SET); in exif_process_IFD_TAG_impl()
3332 php_stream_seek(ImageInfo->infile, fpos, SEEK_SET); in exif_process_IFD_TAG_impl()
4050 …php_stream_seek(ImageInfo->infile, dir_offset, SEEK_SET); /* we do not know the order of sections … in exif_process_IFD_in_TIFF_impl()
4203 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF_impl()
4243 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF_impl()
4298 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_scan_FILE_header()
4424 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_read_from_impl()
4458 php_stream_seek(stream, 0, SEEK_SET); in exif_read_from_stream()
4464 php_stream_seek(stream, old_pos, SEEK_SET); in exif_read_from_stream()
/PHP-8.3/ext/standard/tests/file/
H A Dfwrite_variation2-win32.phpt55 fseek($file_handle, SEEK_SET, 1024/2 );
H A Dfwrite_variation2.phpt55 fseek($file_handle, SEEK_SET, 1024/2 );
H A Dfwrite_variation3-win32.phpt54 fseek($file_handle, SEEK_SET, (1024 + 400)/2 );
H A Dfwrite_variation3.phpt55 fseek($file_handle, SEEK_SET, (1024 + 400)/2 );
H A Dfgets_variation4-win32-mb.phpt40 var_dump( fseek($file_handle, 5, SEEK_SET) );
47 var_dump( fseek($file_handle, 25, SEEK_SET) );
H A Dfgets_variation4-win32.phpt40 var_dump( fseek($file_handle, 5, SEEK_SET) );
47 var_dump( fseek($file_handle, 25, SEEK_SET) );
H A Dfgets_variation4.phpt40 var_dump( fseek($file_handle, 5, SEEK_SET) );
47 var_dump( fseek($file_handle, 25, SEEK_SET) );
H A Dfgetcsv_variation18.phpt71 fseek($file_handle, 0, SEEK_SET);
H A Dfgetcsv_variation12.phpt69 fseek($file_handle, 0, SEEK_SET);
H A Dfgetcsv_variation16.phpt67 fseek($file_handle, 0, SEEK_SET);
H A Dfgetcsv_variation19.phpt68 fseek($file_handle, 0, SEEK_SET);
/PHP-8.3/ext/fileinfo/libmagic/
H A Dcompress.c528 if (FINFO_LSEEK_FUNC(fd, (zend_off_t)0, SEEK_SET) == (zend_off_t)-1) { in file_pipe2file()
775 (void) lseek(fd, CAST(off_t, 0), SEEK_SET); in handledesc()
/PHP-8.3/ext/opcache/
H A DZendAccelerator.c269 restart_in_progress.l_whence = SEEK_SET; in accel_restart_enter()
289 restart_finished.l_whence = SEEK_SET; in accel_restart_leave()
307 restart_check.l_whence = SEEK_SET; in accel_restart_is_active()
339 mem_usage_lock.l_whence = SEEK_SET; in accel_activate_add()
365 mem_usage_unlock.l_whence = SEEK_SET; in accel_deactivate_sub()
387 mem_usage_unlock_all.l_whence = SEEK_SET; in accel_unlock_all()
871 mem_usage_check->l_whence = SEEK_SET; in kill_all_lockers()
904 mem_usage_check.l_whence = SEEK_SET; in accel_is_inactive()
/PHP-8.3/ext/com_dotnet/
H A Dcom_persist.c143 case STREAM_SEEK_SET: whence = SEEK_SET; break; in stm_seek()
/PHP-8.3/main/streams/
H A Dstreams.c1162 stream->ops->seek(stream, stream->position, SEEK_SET, &stream->position); in _php_stream_write_buffer()
1363 case SEEK_SET: in _php_stream_seek()
1391 whence = SEEK_SET; in _php_stream_seek()
/PHP-8.3/main/
H A Dphp_streams.h319 #define php_stream_rewind(stream) _php_stream_seek((stream), 0L, SEEK_SET)
H A Dfastcgi.c98 lock.l_whence = SEEK_SET; \
114 lock.l_whence = SEEK_SET; \
/PHP-8.3/ext/phar/
H A Dphar_object.c197 phar_seek_efp(info, 0, SEEK_SET, 0, 1); in phar_file_action()
1944 phar_seek_efp(entry, 0, SEEK_SET, 0, 1); in phar_copy_file_contents()
3919 php_stream_seek(fp, stub->offset_abs, SEEK_SET); in PHP_METHOD()
4258 if (FAILURE == phar_seek_efp(entry, 0, SEEK_SET, 0, 0)) { in phar_extract_file()
4845 phar_seek_efp(link, 0, SEEK_SET, 0, 0); in PHP_METHOD()
/PHP-8.3/ext/pgsql/
H A Dpgsql_arginfo.h736 REGISTER_LONG_CONSTANT("PGSQL_SEEK_SET", SEEK_SET, CONST_PERSISTENT); in register_pgsql_symbols()
/PHP-8.3/ext/fileinfo/
H A Dlibmagic.patch963 + if (FINFO_LSEEK_FUNC(b->fd, b->eoff, SEEK_SET) == (zend_off_t)-1 ||
1071 + if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (zend_off_t)-1)
1296 - if (lseek(fd, CAST(off_t, 0), SEEK_SET) == CAST(off_t, -1)) {
1297 + if (FINFO_LSEEK_FUNC(fd, (zend_off_t)0, SEEK_SET) == (zend_off_t)-1) {
2633 - (void)lseek(fd, pos, SEEK_SET);

Completed in 94 milliseconds

12345