Home
last modified time | relevance | path

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

12345

/php-src/ext/pdo_sqlite/
H A Dpdo_sqlite.c230 case SEEK_SET: in php_pdosqlite3_stream_seek()
/php-src/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.c475 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 Dfile.c427 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 Dimage.c185 if (php_stream_seek(stream, 8, SEEK_SET)) { in php_handle_swc()
/php-src/ext/exif/
H A Dexif.c3320 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 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-src/ext/fileinfo/libmagic/
H A Dcompress.c552 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 DZendAccelerator.c273 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 Dcom_persist.c137 case STREAM_SEEK_SET: whence = SEEK_SET; break; in stm_seek()
/php-src/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-src/main/
H A Dphp_streams.h315 #define php_stream_rewind(stream) _php_stream_seek((stream), 0L, SEEK_SET)
H A Dfastcgi.c96 lock.l_whence = SEEK_SET; \
112 lock.l_whence = SEEK_SET; \
/php-src/ext/phar/
H A Dphar_object.c205 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 Dlibmagic.patch965 + 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);

Completed in 106 milliseconds

12345