Home
last modified time | relevance | path

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

12345678910>>...15

/PHP-5.6/ext/standard/tests/file/
H A Dfpassthru_basic.phpt28 echo "\n-- After seeking position to 0 --\n";
32 echo "\n-- After seeking position to 3 --\n";
36 echo "\n-- After seeking position to 13 --\n";
40 echo "\n-- After seeking position to 14 --\n";
77 -- After seeking position to 0 --
86 -- After seeking position to 3 --
95 -- After seeking position to 13 --
103 -- After seeking position to 14 --
111 -- After seeking position to 23 --
119 -- 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_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 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 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.phpt21 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 Duserstreams.phpt89 public $position;
104 $this->position = 0;
112 $this->position += strlen($ret);
118 return $this->position;
131 $this->position = $offset;
139 $this->position += $offset;
209 $position = 0;
215 $position = $offset;
223 $offset -= $position;
224 $position += $offset;
[all …]
/PHP-5.6/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);
H A Dsqlite3_openblob_wrongparams.phpt12 private $position;
18 $this->position = 0;
24 $ret = substr(self::$string, $this->position, $count);
25 $this->position += strlen($ret);
41 return $this->position;
46 return ($this->position >= self::$string_length);
/PHP-5.6/ext/spl/internal/
H A Dseekableiterator.inc23 /** Seek to an absolute position
25 * \param $index position to seek to
29 * the given position. Typically this exception should be of type
34 $position = 0;
35 while($position < $index && $this->valid()) {
37 $position++;
40 throw new OutOfBoundsException('Invalid seek position');
H A Dlimititerator.inc51 /** Seek to specified position
52 * @param position offset to seek to (relative to beginning not offset
54 * @throw exception when position is invalid
56 function seek($position) {
57 if ($position < $this->offset) {
58 throw new exception('Cannot seek to '.$position.' which is below offset '.$this->offset);
60 if ($position > $this->offset + $this->count && $this->count != -1) {
64 $this->it->seek($position);
65 $this->pos = $position;
67 while($this->pos < $position && $this->it->valid()) {
[all …]
/PHP-5.6/sapi/phpdbg/
H A Dphpdbg_bp.c96 HashPosition position[2]; in phpdbg_reset_breakpoints() local
115 HashPosition position[2]; in phpdbg_export_breakpoints() local
401 HashPosition position; in phpdbg_resolve_op_array_breaks() local
967 HashPosition position; local
1091 HashPosition position; local
1330 HashPosition position; local
1356 HashPosition position; local
1371 HashPosition position[2]; local
1422 HashPosition position; local
1548 HashPosition position; local
[all …]
H A Dphpdbg_info.c284 HashPosition position; in PHPDBG_INFO() local
290 for (zend_hash_internal_pointer_reset_ex(EG(class_table), &position); in PHPDBG_INFO()
292 zend_hash_move_forward_ex(EG(class_table), &position)) { in PHPDBG_INFO()
303 for (zend_hash_internal_pointer_reset_ex(&classes, &position); in PHPDBG_INFO()
304 zend_hash_get_current_data_ex(&classes, (void**)&ce, &position) == SUCCESS; in PHPDBG_INFO()
305 zend_hash_move_forward_ex(&classes, &position)) { in PHPDBG_INFO()
337 HashPosition position; in PHPDBG_INFO() local
343 for (zend_hash_internal_pointer_reset_ex(EG(function_table), &position); in PHPDBG_INFO()
345 zend_hash_move_forward_ex(EG(function_table), &position)) { in PHPDBG_INFO()
356 for (zend_hash_internal_pointer_reset_ex(&functions, &position); in PHPDBG_INFO()
[all …]
/PHP-5.6/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 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-5.6/ext/intl/formatter/
H A Dformatter_parse.c44 int32_t val32, position = 0; in PHP_FUNCTION() local
71 position = (int32_t)Z_LVAL_P( zposition ); in PHP_FUNCTION()
72 position_p = &position; in PHP_FUNCTION()
109 ZVAL_LONG(zposition, position); in PHP_FUNCTION()
136 int32_t position = 0; in PHP_FUNCTION() local
159 position = (int32_t)Z_LVAL_P( zposition ); in PHP_FUNCTION()
160 position_p = &position; in PHP_FUNCTION()
166 ZVAL_LONG(zposition, position); in PHP_FUNCTION()
/PHP-5.6/ext/standard/tests/array/
H A Deach_variation6.phpt12 * Test the position of the internal array pointer after a call to each()
19 echo "\n-- Current position: --\n";
25 echo "\n-- New position: --\n";
34 -- Current position: --
49 -- New position: --
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 Deach_basic.phpt21 echo "\n-- Initial position: --\n";
24 echo "\n-- End position: --\n";
48 -- Initial position: --
60 -- End position: --
/PHP-5.6/ext/date/tests/
H A DDateTime_modify_variation1.phpt115 Warning: DateTime::modify(): Failed to parse time string (0) at position 0 (0): Unexpected characte…
120 Warning: DateTime::modify(): Failed to parse time string (1) at position 0 (1): Unexpected characte…
180 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va…
185 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va…
190 Warning: DateTime::modify(): Failed to parse time string (1) at position 0 (1): Unexpected characte…
195 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va…
205 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va…
210 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va…
215 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va…
250 Warning: DateTime::modify(): Failed to parse time string () at position 0 ( in %sDateTime_modify_va…
[all …]
H A Ddate_modify_variation2.phpt115 Warning: date_modify(): Failed to parse time string (0) at position 0 (0): Unexpected character in …
120 Warning: date_modify(): Failed to parse time string (1) at position 0 (1): Unexpected character in …
180 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.…
185 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.…
190 Warning: date_modify(): Failed to parse time string (1) at position 0 (1): Unexpected character in …
195 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.…
205 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.…
210 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.…
215 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.…
250 Warning: date_modify(): Failed to parse time string () at position 0 ( in %sdate_modify_variation2.…
[all …]
H A DDateTime_construct_variation1.phpt127 FAILED: DateTime::__construct(): Failed to parse time string (0) at position 0 (0): Unexpected char…
128 FAILED: DateTime::__construct(): Failed to parse time string (0) at position 0 (0): Unexpected char…
131 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char…
132 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char…
135 FAILED: DateTime::__construct(): Failed to parse time string (12345) at position 4 (5): Unexpected …
136 FAILED: DateTime::__construct(): Failed to parse time string (12345) at position 4 (5): Unexpected …
161 FAILED: DateTime::__construct(): Failed to parse time string (-10.5) at position 4 (5): Unexpected …
235 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char…
236 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char…
257 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char…
[all …]
/PHP-5.6/ext/intl/doc/
H A Dformatter_api.php191 * @param [integer] $position On input, the position to start parsing, default is 0;
196 public function parse($string, $type, &$position) {} argument
216 * @param [integer] $position On input, the position within text to match, default is 0;
221 public function parseCurrency($string, &$currency, &$position) {} argument
363 * @param [integer] $position String position after the end of parsed data.
366 function numfmt_parse($formatter, $string, $type, &$position) {} argument
386 * @param [integer] $position String position after the end of parsed data.
389 function numfmt_parse_currency($formatter, $string, &$currency, &$position) {} argument
/PHP-5.6/ext/phar/tests/zip/
H A Dbug48791.phpt14position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by…

Completed in 55 milliseconds

12345678910>>...15