Home
last modified time | relevance | path

Searched refs:seek (Results 1 – 25 of 85) sorted by last modified time

1234

/php-src/ext/spl/
H A Dspl_observer.c762 PHP_METHOD(SplObjectStorage, seek) in PHP_METHOD() argument
H A Dspl_observer.stub.php67 public function seek(int $offset): void {} function in SplObjectStorage
H A Dspl_observer_arginfo.h154 ZEND_METHOD(SplObjectStorage, seek);
202 ZEND_ME(SplObjectStorage, seek, arginfo_class_SplObjectStorage_seek, ZEND_ACC_PUBLIC)
H A Dspl_directory.c837 PHP_METHOD(DirectoryIterator, seek) in PHP_METHOD() argument
2703 PHP_METHOD(SplFileObject, seek) in PHP_METHOD() argument
H A Dspl_array.c1697 PHP_METHOD(ArrayIterator, seek) in PHP_METHOD() argument
H A Dspl_array_arginfo.h187 ZEND_METHOD(ArrayIterator, seek);
246 ZEND_ME(ArrayIterator, seek, arginfo_class_ArrayIterator_seek, ZEND_ACC_PUBLIC)
H A Dspl_directory_arginfo.h315 ZEND_METHOD(DirectoryIterator, seek);
362 ZEND_METHOD(SplFileObject, seek);
412 ZEND_ME(DirectoryIterator, seek, arginfo_class_DirectoryIterator_seek, ZEND_ACC_PUBLIC)
474 ZEND_ME(SplFileObject, seek, arginfo_class_SplFileObject_seek, ZEND_ACC_PUBLIC)
H A Dspl_iterators_arginfo.h359 ZEND_METHOD(LimitIterator, seek);
512 ZEND_ME(LimitIterator, seek, arginfo_class_LimitIterator_seek, ZEND_ACC_PUBLIC)
H A Dspl_iterators.c2288 PHP_METHOD(LimitIterator, seek) in PHP_METHOD() argument
H A Dspl_directory.stub.php145 public function seek(int $offset): void {} function in DirectoryIterator
325 public function seek(int $line): void {} function in SplFileObject
H A Dspl_iterators.stub.php187 public function seek(int $offset): void; function
204 public function seek(int $offset): int {} function in LimitIterator
H A Dspl_array.stub.php226 public function seek(int $offset): void {} function in ArrayIterator
/php-src/ext/spl/tests/
H A DSplObjectStorage_seek.phpt2 SplObjectStorage::seek() basic functionality
26 $storage->seek(-1);
31 $storage->seek(5);
41 $storage->seek(2);
45 $storage->seek(1);
49 $storage->seek(4);
53 $storage->seek(0);
57 $storage->seek(3);
61 $storage->seek(3);
71 $storage->seek($index);
[all …]
/php-src/
H A DUPGRADING508 . Added seek() method to SplObjectStorage, now it implements
/php-src/main/streams/
H A Dcast.c195 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_cast()
198 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy); in _php_stream_cast()
373 if (((flags & PHP_STREAM_FORCE_CONVERSION) == 0) && origstream->ops->seek != NULL) { in _php_stream_make_seekable()
H A Dstreams.c1159 …if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0 && stream->readpos != stre… in _php_stream_write_buffer()
1162 stream->ops->seek(stream, stream->position, SEEK_SET, &stream->position); in _php_stream_write_buffer()
1376 if (stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0) { in _php_stream_seek()
1389 ret = stream->ops->seek(stream, offset, whence, &stream->position); in _php_stream_seek()
2304 …if (stream && stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0 && strchr(mode, …
2308 if (0 == stream->ops->seek(stream, 0, SEEK_CUR, &newpos)) {
/php-src/sapi/phpdbg/
H A Dphpdbg.c165 zend_hash_init(&PHPDBG_G(seek), 8, NULL, NULL, 0); in PHP_MINIT_FUNCTION()
801 zend_hash_destroy(&PHPDBG_G(seek)); in php_sapi_phpdbg_deactivate()
H A Dphpdbg.h233 HashTable seek; /* seek oplines */ variable
H A Dphpdbg_prompt.c615 zend_hash_index_update_ptr(&PHPDBG_G(seek), (zend_ulong) opline, (void *) opline); in phpdbg_skip_line_helper()
658 zend_hash_index_update_ptr(&PHPDBG_G(seek), (zend_ulong) opline, (void *) opline); in phpdbg_seek_to_end()
672 …if (zend_hash_index_exists(&PHPDBG_G(seek), (zend_ulong) phpdbg_user_execute_data(EG(current_execu… in PHPDBG_COMMAND()
673 zend_hash_clean(&PHPDBG_G(seek)); in PHPDBG_COMMAND()
689 …if (zend_hash_index_exists(&PHPDBG_G(seek), (zend_ulong) phpdbg_user_execute_data(EG(current_execu… in PHPDBG_COMMAND()
690 zend_hash_clean(&PHPDBG_G(seek)); in PHPDBG_COMMAND()
876 zend_hash_clean(&PHPDBG_G(seek)); in PHPDBG_COMMAND()
1733 #define INDEX_EXISTS_CHECK (zend_hash_index_exists(&PHPDBG_G(seek), address) || (exception && phpdb… in phpdbg_execute_ex()
1739 zend_hash_clean(&PHPDBG_G(seek)); in phpdbg_execute_ex()
1750 zend_hash_clean(&PHPDBG_G(seek)); in phpdbg_execute_ex()
[all …]
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_seek.phpt38 printf("[007] Cannot seek to position %d, [%d] %s\n",
H A Dmysqli_store_result_copy.phpt62 printf("[010] Brute force seek %d returned %d\n", $idx, var_export($row, true));
/php-src/docs-old/
H A Dstreams.md61 * `STREAM_MUST_SEEK` - If you really need to be able to seek the stream and
64 seek()ed.
131 If you have an existing stream and need to be able to `seek()` it, you can use
132 this function to copy the contents into a new stream that can be `seek()ed`:
150 NOTE: If you only need to seek forward, there is no need to call this function,
252 read, write, close, flush, seek, gets and cast operations. Of these, an
/php-src/ext/standard/
H A Dstreamsfuncs.c579 …add_assoc_bool(return_value, "seekable", (stream->ops->seek) && (stream->flags & PHP_STREAM_FLAG_N… in PHP_FUNCTION()
/php-src/main/
H A Dphp_streams.h129 int (*seek)(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset); member
/php-src/ext/pgsql/tests/
H A D05large_object.phpt24 echo "open/read/tell/seek/close LO\n";
108 open/read/tell/seek/close LO

Completed in 180 milliseconds

1234