Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 244) sorted by relevance

12345678910

/PHP-8.1/ext/standard/tests/file/
H A Dfpassthru_basic.phpt22 echo "\n-- After seeking position to 0 --\n";
26 echo "\n-- After seeking position to 3 --\n";
30 echo "\n-- After seeking position to 13 --\n";
34 echo "\n-- After seeking position to 14 --\n";
71 -- After seeking position to 0 --
80 -- After seeking position to 3 --
89 -- After seeking position to 13 --
97 -- After seeking position to 14 --
105 -- After seeking position to 23 --
113 -- After seeking position to 34 --
[all …]
H A Dbug38450.phpt7 var $position;
18 $this->position = 0;
25 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
26 $this->position += strlen($ret);
32 $left = substr($GLOBALS[$this->varname], 0, $this->position);
35 $this->position += strlen($data);
41 return $this->position;
46 return $this->position >= strlen($GLOBALS[$this->varname]);
53 $this->position = $offset;
62 $this->position += $offset;
[all …]
H A Dbug38450_1.phpt7 var $position;
18 $this->position = 0;
25 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
26 $this->position += strlen($ret);
32 $left = substr($GLOBALS[$this->varname], 0, $this->position);
35 $this->position += strlen($data);
41 return $this->position;
46 return $this->position >= strlen($GLOBALS[$this->varname]);
53 $this->position = $offset;
62 $this->position += $offset;
[all …]
H A Dbug38450_2.phpt7 var $position;
18 $this->position = 0;
25 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
26 $this->position += strlen($ret);
32 $left = substr($GLOBALS[$this->varname], 0, $this->position);
35 $this->position += strlen($data);
41 return $this->position;
46 return $this->position >= strlen($GLOBALS[$this->varname]);
53 $this->position = $offset;
62 $this->position += $offset;
[all …]
H A Dbug38450_3.phpt7 var $position;
18 $this->position = 0;
25 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
26 $this->position += strlen($ret);
32 $left = substr($GLOBALS[$this->varname], 0, $this->position);
35 $this->position += strlen($data);
41 return $this->position;
46 return $this->position >= strlen($GLOBALS[$this->varname]);
53 $this->position = $offset;
62 $this->position += $offset;
[all …]
H A Dinclude_streams.phpt17 public $position;
43 $this->position = strlen($GLOBALS[$this->varname]);
45 $this->position = 0;
52 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
53 $this->position += strlen($ret);
59 return $this->position;
64 return $this->position >= strlen($GLOBALS[$this->varname]);
72 $this->position = $offset;
80 $this->position += $offset;
88 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
H A Dfopencookie.phpt20 public $position = 0;
30 $ret = substr($this->data, $this->position, $count);
31 $this->position += strlen($ret);
37 return $this->position;
42 return $this->position >= strlen($this->data);
50 $this->position = $offset;
58 $this->position += $offset;
66 $this->position = strlen($this->data) + $offset;
H A Duserstreams.phpt88 public $position;
103 $this->position = 0;
111 $this->position += strlen($ret);
117 return $this->position;
130 $this->position = $offset;
211 $position = 0;
217 $position = $offset;
221 $position = $DATALEN + $offset;
225 $offset -= $position;
226 $position += $offset;
[all …]
H A D007_variation10.phpt8 checking for the file pointer position,
22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
24 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
26 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
H A D007_variation18.phpt8 checking for the file pointer position,
22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
24 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
26 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
H A D007_variation2.phpt8 checking for the file pointer position,
22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
24 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
26 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
/PHP-8.1/ext/exif/tests/
H A Dgh10834.phpt9 private $position;
17 return $this->position >= strlen($this->data);
21 $this->position = 0;
30 $this->position = $offset;
38 $this->position += $offset;
46 $this->position = strlen($this->data) + $offset;
58 $ret = substr($this->data, $this->position, $count);
59 $this->position += strlen($ret);
64 return $this->position;
/PHP-8.1/ext/sqlite3/tests/
H A Dstream_test.inc5 private $position;
11 $this->position = 0;
17 $ret = substr(self::$string, $this->position, $count);
18 $this->position += strlen($ret);
34 return $this->position;
39 return ($this->position >= self::$string_length);
/PHP-8.1/ext/intl/tests/
H A Dbug75378.phpt2 Bug #75378 ([REGRESSION] IntlDateFormatter::parse() does not change $position argument)
9 $position = 0;
10 $parsedDate = $formatter->parse("2017-10-12", $position);
11 var_dump($position);
/PHP-8.1/Zend/tests/
H A Dbug38779.phpt7 private $position;
11 $this->position = 0;
15 $ret = substr($this->data, $this->position, $count);
16 $this->position += strlen($ret);
20 return $this->position >= strlen($this->data);
H A D002.phpt99 func_get_arg(): Argument #1 ($position) must be greater than or equal to 0
100 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the…
101 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the…
102 func_get_arg(): Argument #1 ($position) must be greater than or equal to 0
104 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the…
106 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the…
110 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the…
111 func_get_arg(): Argument #1 ($position) must be greater than or equal to 0
112 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the…
113 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the…
[all …]
H A Dbug38779_1.phpt7 private $position;
11 $this->position = 0;
15 $ret = substr($this->data, $this->position, $count);
16 $this->position += strlen($ret);
20 return $this->position >= strlen($this->data);
/PHP-8.1/ext/intl/formatter/
H A Dformatter_parse.c38 int32_t val32, position = 0; in PHP_FUNCTION() local
54 position = (int32_t) zval_get_long(zposition); in PHP_FUNCTION()
55 position_p = &position; in PHP_FUNCTION()
104 ZEND_TRY_ASSIGN_REF_LONG(zposition, position); in PHP_FUNCTION()
133 int32_t position = 0; in PHP_FUNCTION() local
152 position = (int32_t) zval_get_long(zposition); in PHP_FUNCTION()
153 position_p = &position; in PHP_FUNCTION()
158 ZEND_TRY_ASSIGN_REF_LONG(zposition, position); in PHP_FUNCTION()
/PHP-8.1/ext/standard/tests/array/
H A Dkey_exists_variation2.phpt19 // 42 has index = 0, netherless its position is the latest
28 // 'baz' has index = 0, netherless its position is the latest
40 // object has index = 0, netherless its position is the latest
44 // object has index = 0, netherless its position is the first
49 // stream resource has index = 0, netherless its position is the first
54 // stream resource has index = 0, netherless its position is the latest
H A Dreset_variation3.phpt6 * Reference two arrays to each other then call reset() to test position of
14 echo "\n-- Initial position of internal pointer --\n";
39 -- Initial position of internal pointer --
H A Darray_key_exists_variation7.phpt2 Test array_key_exists() function : usage variations - position of internal array pointer
6 * Check the position of the internal array pointer after calling array_key_exists()
/PHP-8.1/ext/phar/tests/zip/
H A Dbug48791.phpt12position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by…
/PHP-8.1/main/streams/
H A Dcast.c73 static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker() argument
76 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker()
104 static int stream_cookie_seeker(void *cookie, off64_t *position, int whence) in stream_cookie_seeker() argument
107 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); in stream_cookie_seeker()
109 if (*position == -1) { in stream_cookie_seeker()
115 static int stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker() argument
118 return php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker()
200 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy); in _php_stream_cast()
/PHP-8.1/tests/lang/
H A Dfunc_get_arg_variation.phpt25 func_get_arg(): Argument #1 ($position) must be greater than or equal to 0
26 func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the…
/PHP-8.1/ext/spl/tests/
H A Darray_014.phpt44 Seek position -1 is out of range
45 Seek position 12 is out of range

Completed in 25 milliseconds

12345678910