Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 25 of 67) sorted by relevance

123

/PHP-5.5/ext/standard/tests/file/
H A Dfseek_ftell_rewind_basic2-win32.phpt58 foreach($whence_set as $whence){
59 echo "-- Testing fseek() with whence = $whence_string[$whence] --\n";
63 } //end of whence loop
81 -- Testing fseek() with whence = SEEK_SET --
85 -- Testing fseek() with whence = SEEK_CUR --
89 -- Testing fseek() with whence = SEEK_END --
97 -- Testing fseek() with whence = SEEK_SET --
101 -- Testing fseek() with whence = SEEK_CUR --
105 -- Testing fseek() with whence = SEEK_END --
113 -- Testing fseek() with whence = SEEK_SET --
[all …]
H A Dfseek_ftell_rewind_basic2.phpt57 foreach($whence_set as $whence){
58 echo "-- Testing fseek() with whence = $whence_string[$whence] --\n";
62 } //end of whence loop
80 -- Testing fseek() with whence = SEEK_SET --
84 -- Testing fseek() with whence = SEEK_CUR --
88 -- Testing fseek() with whence = SEEK_END --
96 -- Testing fseek() with whence = SEEK_SET --
100 -- Testing fseek() with whence = SEEK_CUR --
104 -- Testing fseek() with whence = SEEK_END --
112 -- Testing fseek() with whence = SEEK_SET --
[all …]
H A Dfseek_ftell_rewind_basic1.phpt46 foreach($whence_set as $whence){
47 echo "-- Testing fseek() with whence = $whence_string[$whence] --\n";
51 } //end of whence loop
70 -- Testing fseek() with whence = SEEK_SET --
74 -- Testing fseek() with whence = SEEK_CUR --
78 -- Testing fseek() with whence = SEEK_END --
86 -- Testing fseek() with whence = SEEK_SET --
90 -- Testing fseek() with whence = SEEK_CUR --
94 -- Testing fseek() with whence = SEEK_END --
102 -- Testing fseek() with whence = SEEK_SET --
[all …]
H A Dfseek_ftell_rewind_variation1.phpt20 2. Testing fseek() without using argument whence
67 -- Testing fseek() without using argument whence --
82 -- Testing fseek() without using argument whence --
97 -- Testing fseek() without using argument whence --
112 -- Testing fseek() without using argument whence --
127 -- Testing fseek() without using argument whence --
142 -- Testing fseek() without using argument whence --
157 -- Testing fseek() without using argument whence --
172 -- Testing fseek() without using argument whence --
187 -- Testing fseek() without using argument whence --
[all …]
H A Dfseek_ftell_rewind_variation2-win32.phpt25 2. Testing fseek() without using argument whence
76 -- Testing fseek() without using argument whence --
91 -- Testing fseek() without using argument whence --
106 -- Testing fseek() without using argument whence --
121 -- Testing fseek() without using argument whence --
136 -- Testing fseek() without using argument whence --
151 -- Testing fseek() without using argument whence --
166 -- Testing fseek() without using argument whence --
181 -- Testing fseek() without using argument whence --
196 -- Testing fseek() without using argument whence --
[all …]
H A Dfseek_ftell_rewind_variation2.phpt25 2. Testing fseek() without using argument whence
76 -- Testing fseek() without using argument whence --
91 -- Testing fseek() without using argument whence --
106 -- Testing fseek() without using argument whence --
121 -- Testing fseek() without using argument whence --
136 -- Testing fseek() without using argument whence --
151 -- Testing fseek() without using argument whence --
166 -- Testing fseek() without using argument whence --
181 -- Testing fseek() without using argument whence --
196 -- Testing fseek() without using argument whence --
[all …]
H A Dfseek_variation2.phpt2 Test fseek() function : usage variations - different types for whence
7 /* Prototype : proto int fseek(resource fp, int offset [, int whence])
25 // outside of whence range
61 // loop through each element of the array for whence
H A Duserstreams.phpt126 function stream_seek($offset, $whence)
128 switch($whence) {
211 $whence = $whence_map[array_rand($whence_map, 1)];
212 switch($whence) {
228 $seeks[] = array($whence, $offset, $position);
243 list($whence, $offset, $position) = $seekdata;
246 $rr = (int)fseek($tf, $offset, $whence);
252 $ur = (int)fseek($fp, $offset, $whence);
257 printf("\n--[%d] whence=%s offset=%d line_length=%d position_should_be=%d --\n",
258 $j, $whence_names[$whence], $offset, $line_length, $position);
H A Dinclude_userstream_001.phpt39 function stream_seek($offset, $whence)
41 switch($whence) {
H A Dbug27508.phpt39 function stream_seek($offset, $whence)
41 return fseek($this->fp, $offset, $whence) == 0 ? true : false;
H A Dinclude_userstream_002.phpt53 function stream_seek($offset, $whence)
56 return fseek($this->stream, $offset, $whence);
58 switch($whence) {
H A Dbug38450.phpt48 function stream_seek($offset, $whence)
50 switch ($whence) {
H A Dbug38450_1.phpt48 function stream_seek($offset, $whence)
50 switch ($whence) {
H A Dbug38450_3.phpt48 function stream_seek($offset, $whence)
50 switch ($whence) {
H A Dfopencookie.phpt46 function stream_seek($offset, $whence)
48 switch($whence) {
H A Dfseek_variation1.phpt7 /* Prototype : proto int fseek(resource fp, int offset [, int whence])
19 $whence = SEEK_SET;
80 var_dump( fseek($fp, $value, $whence) );
H A Dinclude_userstream_003.phpt53 function stream_seek($offset, $whence)
56 return fseek($this->stream, $offset, $whence);
58 switch($whence) {
H A Dfseek_ftell_rewind_variation3.phpt5 /* Prototype: int fseek ( resource $handle, int $offset [, int $whence] );
20 2. Testing fseek() with whence = SEEK_SET
23 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all r and a modes ***\n";
34 echo "*** Testing fseek() with whence = SEEK_SET ***\n";
64 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all r and a modes ***
65 *** Testing fseek() with whence = SEEK_SET ***
H A Dinclude_streams.phpt67 function stream_seek($offset, $whence)
69 switch($whence) {
/PHP-5.5/ext/opcache/
H A DZendAccelerator.h102 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ argument
103 struct flock name = {start, len, -1, type, whence}
105 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ argument
106 struct flock name = {type, whence, start, len}
108 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ argument
109 struct flock name = {type, whence, start, len, 0}
113 struct flock name = {type, whence, 0, 0, 0, start, len }
116 struct flock name = {type, whence, start, len}
119 # define FLOCK_STRUCTURE(name, type, whence, start, len) \ argument
120 struct flock name = {start, len, -1, type, whence}
[all …]
/PHP-5.5/ext/zlib/tests/
H A Dgzseek_error.phpt14 $whence = SEEK_SET;
17 var_dump(gzseek( $h, $offset, $whence, $extra_arg ) );
/PHP-5.5/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()
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()
/PHP-5.5/ext/zlib/
H A Dzlib_fopen_wrapper.c57 static int php_gziop_seek(php_stream *stream, off_t offset, int whence, off_t *newoffs TSRMLS_DC) in php_gziop_seek() argument
63 if (whence == SEEK_END) { in php_gziop_seek()
67 *newoffs = gzseek(self->gz_file, offset, whence); in php_gziop_seek()
/PHP-5.5/ext/dba/
H A Ddba_cdb.c228 int cdb_file_lseek(php_stream *fp, off_t offset, int whence TSRMLS_DC) { in cdb_file_lseek()
229 php_stream_seek(fp, offset, whence); in cdb_file_lseek()
233 int cdb_file_lseek(int fd, off_t offset, int whence TSRMLS_DC) { in cdb_file_lseek()
234 return lseek(fd, offset, whence); in cdb_file_lseek()
/PHP-5.5/ext/phar/
H A Ddirstream.h34 static int phar_dir_seek( php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_…

Completed in 103 milliseconds

123