/PHP-7.4/ext/standard/tests/file/ |
H A D | fseek_ftell_rewind_basic1.phpt | 46 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 D | fseek_ftell_rewind_basic2-win32-mb.phpt | 57 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 D | fseek_ftell_rewind_basic2-win32.phpt | 57 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 D | fseek_ftell_rewind_basic2.phpt | 57 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 D | fseek_ftell_rewind_variation1.phpt | 20 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 D | fseek_ftell_rewind_variation2-win32.phpt | 25 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 D | fseek_ftell_rewind_variation2.phpt | 25 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 D | userstreams.phpt | 125 function stream_seek($offset, $whence) 127 switch($whence) { 210 $whence = $whence_map[array_rand($whence_map, 1)]; 211 switch($whence) { 227 $seeks[] = array($whence, $offset, $position); 242 list($whence, $offset, $position) = $seekdata; 245 $rr = (int)fseek($tf, $offset, $whence); 251 $ur = (int)fseek($fp, $offset, $whence); 256 printf("\n--[%d] whence=%s offset=%d line_length=%d position_should_be=%d --\n", 257 $j, $whence_names[$whence], $offset, $line_length, $position);
|
H A D | bug27508.phpt | 39 function stream_seek($offset, $whence) 41 return fseek($this->fp, $offset, $whence) == 0 ? true : false;
|
H A D | include_userstream_001.phpt | 39 function stream_seek($offset, $whence) 41 switch($whence) {
|
H A D | include_userstream_002.phpt | 53 function stream_seek($offset, $whence) 56 return fseek($this->stream, $offset, $whence); 58 switch($whence) {
|
H A D | bug38450.phpt | 48 function stream_seek($offset, $whence) 50 switch ($whence) {
|
H A D | bug38450_1.phpt | 48 function stream_seek($offset, $whence) 50 switch ($whence) {
|
H A D | bug38450_2.phpt | 48 function stream_seek($offset, $whence) 50 switch ($whence) {
|
H A D | include_userstream_003.phpt | 53 function stream_seek($offset, $whence) 56 return fseek($this->stream, $offset, $whence); 58 switch($whence) {
|
H A D | bug38450_3.phpt | 48 function stream_seek($offset, $whence) 50 switch ($whence) {
|
H A D | fopencookie.phpt | 45 function stream_seek($offset, $whence) 47 switch($whence) {
|
H A D | fseek_ftell_rewind_variation3.phpt | 5 /* 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 D | include_streams.phpt | 67 function stream_seek($offset, $whence) 69 switch($whence) {
|
/PHP-7.4/main/streams/ |
H A D | cast.c | 75 static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker() argument 78 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker() 106 static int stream_cookie_seeker(void *cookie, off64_t *position, int whence) in stream_cookie_seeker() argument 109 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); in stream_cookie_seeker() 117 static int stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker() argument 120 return php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker()
|
/PHP-7.4/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 56 static int php_gziop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) in php_gziop_seek() argument 62 if (whence == SEEK_END) { in php_gziop_seek() 66 *newoffs = gzseek(self->gz_file, offset, whence); in php_gziop_seek()
|
/PHP-7.4/ext/dba/ |
H A D | dba_cdb.c | 226 zend_off_t cdb_file_lseek(php_stream *fp, zend_off_t offset, int whence) { in cdb_file_lseek() argument 227 php_stream_seek(fp, offset, whence); in cdb_file_lseek() 231 zend_off_t cdb_file_lseek(int fd, zend_off_t offset, int whence) { in cdb_file_lseek() argument 232 return lseek(fd, offset, whence); in cdb_file_lseek()
|
/PHP-7.4/ext/phar/ |
H A D | dirstream.h | 32 static int phar_dir_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs…
|
H A D | stream.h | 35 static int phar_stream_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newo…
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_persist.c | 139 int whence; in stm_seek() local 144 case STREAM_SEEK_SET: whence = SEEK_SET; break; in stm_seek() 145 case STREAM_SEEK_CUR: whence = SEEK_CUR; break; in stm_seek() 146 case STREAM_SEEK_END: whence = SEEK_END; break; in stm_seek() 158 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek()
|