Home
last modified time | relevance | path

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

12345678910>>...14

/PHP-5.3/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_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.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 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 …]
H A D007_variation10.phpt19 checking for the file pointer position,
33 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the begining of the …
35 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
37 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
/PHP-5.3/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.3/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.3/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.3/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()
106 ZVAL_LONG(zposition, position); in PHP_FUNCTION()
133 int32_t position = 0; in PHP_FUNCTION() local
156 position = (int32_t)Z_LVAL_P( zposition ); in PHP_FUNCTION()
157 position_p = &position; in PHP_FUNCTION()
163 ZVAL_LONG(zposition, position); in PHP_FUNCTION()
/PHP-5.3/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.3/ext/date/tests/
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_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 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.3/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.3/ext/phar/tests/zip/
H A Dbug48791.phpt14position-and-space-mode="label-alignment"><style:list-level-label-alignment text:label-followed-by…
/PHP-5.3/main/streams/
H A Dcast.c79 static PHP_FPOS_T stream_cookie_seeker(void *cookie, off_t position, int whence) in stream_cookie_seeker() argument
83 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
117 *position = php_stream_seek((php_stream *)cookie, (off_t)*position, whence); in stream_cookie_seeker()
119 if (*position == -1) { in stream_cookie_seeker()
125 static int stream_cookie_seeker(void *cookie, off_t position, int whence) in stream_cookie_seeker() argument
129 return php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker()
211 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy TSRMLS_CC); in _php_stream_cast()

Completed in 37 milliseconds

12345678910>>...14