Home
last modified time | relevance | path

Searched refs:seek (Results 1 – 25 of 69) sorted by relevance

123

/PHP-5.3/ext/spl/tests/
H A Ddit_006.phpt2 SPL: DirectoryIterator and seek
6 $di->seek(2);
14 echo "With seek(2) we get $n\n";
15 $di->seek(0);
22 echo "With seek(0) we get $m\n";
31 echo "Without seek we get $o\n";
34 $di->seek($o+1);
44 With seek(2) we get %d
45 With seek(0) we get %d
46 Without seek we get %d
H A DSplFileObject_seek_error_001.phpt2 SplFileObject::seek function - test parameters
6 $obj->seek(1,2);
7 $obj->seek();
9 $obj->seek(-1);
16 Warning: SplFileObject::seek() expects exactly 1 parameter, 2 given in %s
18 Warning: SplFileObject::seek() expects exactly 1 parameter, 0 given in %s
19 Can't seek file %s to negative line %s
H A Darray_014.phpt2 SPL: ArrayIterator::seek()
8 $it->seek(5);
10 $it->seek(4);
14 $it->seek(-1);
24 $it->seek(12);
35 $it->seek($pos++);
H A Diterator_032.phpt16 $it->seek(0);
23 $it->seek(2);
28 $it->seek(3);
46 Cannot seek to 0 which is below the offset 1
48 Cannot seek to 3 which is behind offset 1 plus count 2
H A Darray_021.phpt2 SPL: ArrayObject::seek() and exceptions
8 public function seek($key)
19 $test->seek('bar');
29 foo::seek(bar)
H A Dlimititerator_seek.phpt2 SPL: LimitIterator seek() arguments
12 $lt->seek(1,1); // Should throw a warning as seek expects only 1 argument
17 Warning: LimitIterator::seek() expects exactly 1 parameter, 2 given in %s on line %d
H A Dbug46053.phpt2 Bug #46053 (SplFileObject::seek - Endless loop)
8 $x->seek(10);
9 $x->seek(0);
H A Diterator_004.phpt51 public function seek($index)
78 $l->seek($i);
109 SeekableNumericArrayIterator::seek(1)
127 SeekableNumericArrayIterator::seek(1)
132 SeekableNumericArrayIterator::seek(2)
137 SeekableNumericArrayIterator::seek(3)
H A Dbug45614.phpt36 echo "\n--> Rewind, seek and show the first two items:\n";
38 $ai->seek(0);
54 --> Rewind, seek and show the first two items:
H A Dfileobject_001.phpt2 SPL: SplFileObject::seek'ing
22 $o->seek(4);
H A Dbug49723.phpt2 LimitIterator: do not seek if not needed
H A Dfileobject_getcurrentline_basic.phpt13 $s->seek(1);
H A Dbug67359.phpt9 $it->seek(1);
H A Diterator_001.phpt57 public function seek($index)
123 SeekableNumericArrayIterator::seek(1)
149 SeekableNumericArrayIterator::seek(1)
/PHP-5.3/ext/oci8/tests/
H A Dlob_031.phpt2 Test LOB->read(), LOB->seek() and LOB->tell() with nul bytes in data
28 $blob->seek(10, OCI_SEEK_CUR);
59 // Now seek
60 $row[0]->seek(1);
63 $row[0]->seek(8);
66 $row[0]->seek(20);
70 $row[0]->seek(25);
74 $row[0]->seek(2, OCI_SEEK_SET);
78 $row[0]->seek(2, OCI_SEEK_CUR);
82 $row[0]->seek(3, OCI_SEEK_END);
[all …]
H A Dlob_temp.phpt16 var_dump($blob->seek(0, SEEK_SET));
24 var_dump($blob->seek(0, SEEK_SET));
H A Dlob_044.phpt33 var_dump($blob->seek(0));
36 var_dump($blob->seek(0));
H A Dlob_002.phpt34 var_dump($blob->seek("str", -5));
71 Warning: OCI-Lob::seek() expects parameter 1 to be long, string given in %slob_002.php on line %d
/PHP-5.3/ext/spl/internal/
H A Dseekableiterator.inc18 * to seek on an iterator LimitIterator can use this to efficiently rewind
25 * \param $index position to seek to
28 * The method should throw an exception if it is not possible to seek to
32 function seek($index);
40 throw new OutOfBoundsException('Invalid seek position');
45 function seek($index);
H A Dlimititerator.inc21 * This class uses SeekableIterator::seek() if available and rewind() plus
52 * @param position offset to seek to (relative to beginning not offset
56 function seek($position) {
58 throw new exception('Cannot seek to '.$position.' which is below offset '.$this->offset);
61 …throw new exception('Cannot seek to '.$position.' which is behind offset '.$this->offset.' plus co…
64 $this->it->seek($position);
79 $this->seek($this->offset);
/PHP-5.3/ext/sqlite/tests/
H A Dsqlite_oo_022.phpt2 sqlite-oo: sqlite::seek
27 $res->seek($idx);
33 $res->seek($idx);
41 Warning: SQLiteResult::seek(): row -1 out of range in %ssqlite_oo_022.php on line %d
63 Warning: SQLiteResult::seek(): row 3 out of range in %ssqlite_oo_022.php on line %d
71 Warning: SQLiteResult::seek(): row -1 out of range in %ssqlite_oo_022.php on line %d
93 Warning: SQLiteResult::seek(): row 3 out of range in %ssqlite_oo_022.php on line %d
/PHP-5.3/ext/standard/tests/file/
H A Dfseek_variation3.phpt24 echo "after -4 seek: ".bin2hex(fread($h,1))."\n";
26 echo "after seek back 1: ".bin2hex(fread($h,1))."\n";
28 echo "after seek back 20: ".bin2hex(fread($h,1))."\n";
46 after -4 seek:
48 after seek back 1: 39
50 after seek back 20:
H A Dfeof_basic.phpt53 echo "*** testing feof after a seek to near the beginning ***\n";
57 echo "*** testing feof after a seek to end ***\n";
61 echo "*** testing feof after a seek passed the end ***\n";
92 *** testing feof after a seek to near the beginning ***
94 *** testing feof after a seek to end ***
96 *** testing feof after a seek passed the end ***
/PHP-5.3/ext/gd/libgd/
H A Dgd_io.h17 int (*seek)(struct gdIOCtx*, const int); member
/PHP-5.3/ext/pgsql/tests/
H A D05large_object.phpt22 echo "open/read/tell/seek/close LO\n";
75 open/read/tell/seek/close LO

Completed in 24 milliseconds

123