/php-src/ext/pdo_sqlite/ |
H A D | pdo_sqlite.c | 230 case SEEK_SET: in php_pdosqlite3_stream_seek()
|
/php-src/ext/standard/ |
H A D | php_fopen_wrapper.c | 94 php_stream_seek(input->body, input->position, SEEK_SET); in php_stream_input_read()
|
H A D | streamsfuncs.c | 475 seek_res = php_stream_seek(stream, desiredpos, SEEK_SET); in PHP_FUNCTION() 518 if (pos > 0 && php_stream_seek(src, pos, SEEK_SET) < 0) { in PHP_FUNCTION()
|
H A D | file.c | 427 if (offset != 0 && php_stream_seek(stream, offset, ((offset > 0) ? SEEK_SET : SEEK_END)) < 0) { in PHP_FUNCTION() 1096 zend_long offset, whence = SEEK_SET; in PHP_FUNCTION()
|
H A D | image.c | 185 if (php_stream_seek(stream, 8, SEEK_SET)) { in php_handle_swc()
|
/php-src/ext/exif/ |
H A D | exif.c | 3320 php_stream_seek(ImageInfo->infile, displacement+offset_val, SEEK_SET); in exif_process_IFD_TAG_impl() 3328 php_stream_seek(ImageInfo->infile, fpos, SEEK_SET); in exif_process_IFD_TAG_impl() 4046 …php_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() 4239 php_stream_seek(ImageInfo->infile, ImageInfo->Thumbnail.offset, SEEK_SET); in exif_process_IFD_in_TIFF_impl() 4294 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_scan_FILE_header() 4420 php_stream_seek(ImageInfo->infile, 0, SEEK_SET); in exif_read_from_impl() 4454 php_stream_seek(stream, 0, SEEK_SET); in exif_read_from_stream() 4460 php_stream_seek(stream, old_pos, SEEK_SET); in exif_read_from_stream()
|
/php-src/ext/standard/tests/file/ |
H A D | fwrite_variation2-win32.phpt | 55 fseek($file_handle, SEEK_SET, 1024/2 );
|
H A D | fwrite_variation2.phpt | 55 fseek($file_handle, SEEK_SET, 1024/2 );
|
H A D | fwrite_variation3-win32.phpt | 54 fseek($file_handle, SEEK_SET, (1024 + 400)/2 );
|
H A D | fwrite_variation3.phpt | 55 fseek($file_handle, SEEK_SET, (1024 + 400)/2 );
|
H A D | fgets_variation4-win32-mb.phpt | 40 var_dump( fseek($file_handle, 5, SEEK_SET) ); 47 var_dump( fseek($file_handle, 25, SEEK_SET) );
|
H A D | fgets_variation4-win32.phpt | 40 var_dump( fseek($file_handle, 5, SEEK_SET) ); 47 var_dump( fseek($file_handle, 25, SEEK_SET) );
|
H A D | fgets_variation4.phpt | 40 var_dump( fseek($file_handle, 5, SEEK_SET) ); 47 var_dump( fseek($file_handle, 25, SEEK_SET) );
|
H A D | fgetcsv_variation18.phpt | 71 fseek($file_handle, 0, SEEK_SET);
|
H A D | fgetcsv_variation12.phpt | 69 fseek($file_handle, 0, SEEK_SET);
|
H A D | fgetcsv_variation16.phpt | 67 fseek($file_handle, 0, SEEK_SET);
|
H A D | fgetcsv_variation19.phpt | 68 fseek($file_handle, 0, SEEK_SET);
|
/php-src/ext/fileinfo/libmagic/ |
H A D | compress.c | 552 if (FINFO_LSEEK_FUNC(fd, (zend_off_t)0, SEEK_SET) == (zend_off_t)-1) { in file_pipe2file() 910 (void) lseek(fd, CAST(off_t, 0), SEEK_SET); in handledesc()
|
/php-src/ext/opcache/ |
H A D | ZendAccelerator.c | 273 restart_in_progress.l_whence = SEEK_SET; in accel_restart_enter() 293 restart_finished.l_whence = SEEK_SET; in accel_restart_leave() 311 restart_check.l_whence = SEEK_SET; in accel_restart_is_active() 343 mem_usage_lock.l_whence = SEEK_SET; in accel_activate_add() 369 mem_usage_unlock.l_whence = SEEK_SET; in accel_deactivate_sub() 391 mem_usage_unlock_all.l_whence = SEEK_SET; in accel_unlock_all() 875 mem_usage_check->l_whence = SEEK_SET; in kill_all_lockers() 908 mem_usage_check.l_whence = SEEK_SET; in accel_is_inactive()
|
/php-src/ext/com_dotnet/ |
H A D | com_persist.c | 137 case STREAM_SEEK_SET: whence = SEEK_SET; break; in stm_seek()
|
/php-src/main/streams/ |
H A D | streams.c | 1162 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-src/main/ |
H A D | php_streams.h | 315 #define php_stream_rewind(stream) _php_stream_seek((stream), 0L, SEEK_SET)
|
H A D | fastcgi.c | 96 lock.l_whence = SEEK_SET; \ 112 lock.l_whence = SEEK_SET; \
|
/php-src/ext/phar/ |
H A D | phar_object.c | 205 phar_seek_efp(info, 0, SEEK_SET, 0, 1); in phar_file_action() 1952 phar_seek_efp(entry, 0, SEEK_SET, 0, 1); in phar_copy_file_contents() 3941 php_stream_seek(fp, stub->offset_abs, SEEK_SET); in PHP_METHOD() 4280 if (-1 == phar_seek_efp(entry, 0, SEEK_SET, 0, 0)) { in phar_extract_file() 4867 phar_seek_efp(link, 0, SEEK_SET, 0, 0); in PHP_METHOD()
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 965 + if (FINFO_LSEEK_FUNC(b->fd, b->eoff, SEEK_SET) == (zend_off_t)-1 || 1073 + if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (zend_off_t)-1) 1308 - if (lseek(fd, CAST(off_t, 0), SEEK_SET) == CAST(off_t, -1)) { 1309 + if (FINFO_LSEEK_FUNC(fd, (zend_off_t)0, SEEK_SET) == (zend_off_t)-1) { 2679 - (void)lseek(fd, pos, SEEK_SET);
|