/PHP-8.4/ext/libxml/ |
H A D | mime_sniff.c | 73 const char *start = position; in collect_a_sequence_of_code_points() 74 while (position < end && condition(*position)) { in collect_a_sequence_of_code_points() 75 position++; in collect_a_sequence_of_code_points() 77 return position - start; in collect_a_sequence_of_code_points() 93 position++; in collect_an_http_quoted_string_with_extract_value() 101 position += length; in collect_an_http_quoted_string_with_extract_value() 104 if (position >= end) { in collect_an_http_quoted_string_with_extract_value() 112 position++; in collect_an_http_quoted_string_with_extract_value() 117 if (position >= end) { in collect_an_http_quoted_string_with_extract_value() 128 position++; in collect_an_http_quoted_string_with_extract_value() [all …]
|
/PHP-8.4/ext/pdo_sqlite/ |
H A D | pdo_sqlite.c | 131 size_t position; member 159 sqlite3_stream->position += count; in php_pdosqlite3_stream_write() 177 sqlite3_stream->position += count; in php_pdosqlite3_stream_read() 209 sqlite3_stream->position = 0; in php_pdosqlite3_stream_seek() 213 sqlite3_stream->position = sqlite3_stream->position + offset; in php_pdosqlite3_stream_seek() 224 sqlite3_stream->position = sqlite3_stream->position + offset; in php_pdosqlite3_stream_seek() 236 sqlite3_stream->position = offset; in php_pdosqlite3_stream_seek() 237 *newoffs = sqlite3_stream->position; in php_pdosqlite3_stream_seek() 247 sqlite3_stream->position = 0; in php_pdosqlite3_stream_seek() 257 *newoffs = sqlite3_stream->position; in php_pdosqlite3_stream_seek() [all …]
|
/PHP-8.4/ext/standard/tests/file/ |
H A D | fpassthru_basic.phpt | 22 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 D | bug38450.phpt | 8 var $position; 19 $this->position = 0; 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 27 $this->position += strlen($ret); 33 $left = substr($GLOBALS[$this->varname], 0, $this->position); 36 $this->position += strlen($data); 42 return $this->position; 47 return $this->position >= strlen($GLOBALS[$this->varname]); 54 $this->position = $offset; 63 $this->position += $offset; [all …]
|
H A D | bug38450_1.phpt | 8 var $position; 19 $this->position = 0; 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 27 $this->position += strlen($ret); 33 $left = substr($GLOBALS[$this->varname], 0, $this->position); 36 $this->position += strlen($data); 42 return $this->position; 47 return $this->position >= strlen($GLOBALS[$this->varname]); 54 $this->position = $offset; 63 $this->position += $offset; [all …]
|
H A D | bug38450_2.phpt | 8 var $position; 19 $this->position = 0; 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 27 $this->position += strlen($ret); 33 $left = substr($GLOBALS[$this->varname], 0, $this->position); 36 $this->position += strlen($data); 42 return $this->position; 47 return $this->position >= strlen($GLOBALS[$this->varname]); 54 $this->position = $offset; 63 $this->position += $offset; [all …]
|
H A D | bug38450_3.phpt | 8 var $position; 19 $this->position = 0; 26 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 27 $this->position += strlen($ret); 33 $left = substr($GLOBALS[$this->varname], 0, $this->position); 36 $this->position += strlen($data); 42 return $this->position; 47 return $this->position >= strlen($GLOBALS[$this->varname]); 54 $this->position = $offset; 63 $this->position += $offset; [all …]
|
H A D | include_streams.phpt | 18 public $position; 44 $this->position = strlen($GLOBALS[$this->varname]); 46 $this->position = 0; 53 $ret = substr($GLOBALS[$this->varname], $this->position, $count); 54 $this->position += strlen($ret); 60 return $this->position; 65 return $this->position >= strlen($GLOBALS[$this->varname]); 73 $this->position = $offset; 81 $this->position += $offset; 89 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
|
H A D | fopencookie.phpt | 21 public $position = 0; 31 $ret = substr($this->data, $this->position, $count); 32 $this->position += strlen($ret); 38 return $this->position; 43 return $this->position >= strlen($this->data); 51 $this->position = $offset; 59 $this->position += $offset; 67 $this->position = strlen($this->data) + $offset;
|
H A D | userstreams.phpt | 89 public $position; 104 $this->position = 0; 112 $this->position += strlen($ret); 118 return $this->position; 131 $this->position = $offset; 212 $position = 0; 218 $position = $offset; 222 $position = $DATALEN + $offset; 226 $offset -= $position; 227 $position += $offset; [all …]
|
/PHP-8.4/ext/exif/tests/ |
H A D | gh10834.phpt | 9 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.4/ext/sqlite3/tests/ |
H A D | stream_test.inc | 6 private $position; 12 $this->position = 0; 18 $ret = substr(self::$string, $this->position, $count); 19 $this->position += strlen($ret); 35 return $this->position; 40 return ($this->position >= self::$string_length);
|
/PHP-8.4/ext/pdo_sqlite/tests/subclasses/ |
H A D | stream_test.inc | 8 private $position; 14 $this->position = 0; 20 $ret = substr(self::$string, $this->position, $count); 21 $this->position += strlen($ret); 37 return $this->position; 42 return ($this->position >= self::$string_length);
|
/PHP-8.4/ext/intl/tests/ |
H A D | bug75378.phpt | 2 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.4/ext/intl/formatter/ |
H A D | formatter_parse.c | 38 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.4/Zend/tests/ |
H A D | 002.phpt | 99 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 D | bug38779.phpt | 8 private $position; 12 $this->position = 0; 16 $ret = substr($this->data, $this->position, $count); 17 $this->position += strlen($ret); 21 return $this->position >= strlen($this->data);
|
H A D | bug38779_1.phpt | 8 private $position; 12 $this->position = 0; 16 $ret = substr($this->data, $this->position, $count); 17 $this->position += strlen($ret); 21 return $this->position >= strlen($this->data);
|
/PHP-8.4/ext/standard/tests/array/ |
H A D | key_exists_variation2.phpt | 19 // 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 D | reset_variation3.phpt | 6 * 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 --
|
/PHP-8.4/ext/phar/tests/zip/ |
H A D | bug48791.phpt | 12 …position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by…
|
/PHP-8.4/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_fromFile_with_working_stream_wrapper.phpt | 9 private int $position = 0; 19 $ret = substr($this->data, $this->position, $count); 20 $this->position += $count; 25 return $this->position >= strlen($this->data);
|
/PHP-8.4/main/streams/ |
H A D | cast.c | 82 static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker() argument 85 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker() 113 static int stream_cookie_seeker(void *cookie, off64_t *position, int whence) in stream_cookie_seeker() argument 115 static int stream_cookie_seeker(void *cookie, off_t *position, int whence) in stream_cookie_seeker() 119 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); in stream_cookie_seeker() 121 if (*position == -1) { in stream_cookie_seeker() 205 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy); in _php_stream_cast()
|
/PHP-8.4/tests/lang/ |
H A D | func_get_arg_variation.phpt | 25 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.4/ext/date/tests/ |
H A D | DateTime_modify_invalid_format.phpt | 16 Warning: date_modify(): Failed to parse time string () at position 0 ( ): Empty string in %s 18 DateMalformedStringException: DateTime::modify(): Failed to parse time string () at position 0 ( ):…
|