Searched refs:desiredpos (Results 1 – 1 of 1) sorted by relevance
434 desiredpos = -1L; in PHP_FUNCTION() local441 Z_PARAM_LONG(desiredpos) in PHP_FUNCTION()446 if (desiredpos >= 0) { in PHP_FUNCTION()451 if (position >= 0 && desiredpos > position) { in PHP_FUNCTION()453 seek_res = php_stream_seek(stream, desiredpos - position, SEEK_CUR); in PHP_FUNCTION()454 } else if (desiredpos < position) { in PHP_FUNCTION()456 seek_res = php_stream_seek(stream, desiredpos, SEEK_SET); in PHP_FUNCTION()461 "Failed to seek to position " ZEND_LONG_FMT " in the stream", desiredpos); in PHP_FUNCTION()
Completed in 11 milliseconds