/php-src/ext/standard/tests/file/ |
H A D | fseek_ftell_rewind_basic1.phpt | 36 foreach($whence_set as $whence){ 37 echo "-- Testing fseek() with whence = $whence_string[$whence] --\n"; 41 } //end of whence loop 60 -- Testing fseek() with whence = SEEK_SET -- 64 -- Testing fseek() with whence = SEEK_CUR -- 68 -- Testing fseek() with whence = SEEK_END -- 76 -- Testing fseek() with whence = SEEK_SET -- 80 -- Testing fseek() with whence = SEEK_CUR -- 84 -- Testing fseek() with whence = SEEK_END -- 92 -- Testing fseek() with whence = SEEK_SET -- [all …]
|
H A D | fseek_ftell_rewind_basic2-win32-mb.phpt | 47 foreach($whence_set as $whence){ 48 echo "-- Testing fseek() with whence = $whence_string[$whence] --\n"; 52 } //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.phpt | 47 foreach($whence_set as $whence){ 48 echo "-- Testing fseek() with whence = $whence_string[$whence] --\n"; 52 } //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.phpt | 47 foreach($whence_set as $whence){ 48 echo "-- Testing fseek() with whence = $whence_string[$whence] --\n"; 52 } //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_variation1.phpt | 10 2. Testing fseek() without using argument whence 57 -- Testing fseek() without using argument whence -- 72 -- Testing fseek() without using argument whence -- 87 -- Testing fseek() without using argument whence -- 102 -- Testing fseek() without using argument whence -- 117 -- Testing fseek() without using argument whence -- 132 -- Testing fseek() without using argument whence -- 147 -- Testing fseek() without using argument whence -- 162 -- Testing fseek() without using argument whence -- 177 -- Testing fseek() without using argument whence -- [all …]
|
H A D | fseek_ftell_rewind_variation2-win32.phpt | 15 2. Testing fseek() without using argument whence 66 -- Testing fseek() without using argument whence -- 81 -- Testing fseek() without using argument whence -- 96 -- Testing fseek() without using argument whence -- 111 -- Testing fseek() without using argument whence -- 126 -- Testing fseek() without using argument whence -- 141 -- Testing fseek() without using argument whence -- 156 -- Testing fseek() without using argument whence -- 171 -- Testing fseek() without using argument whence -- 186 -- Testing fseek() without using argument whence -- [all …]
|
H A D | fseek_ftell_rewind_variation2.phpt | 15 2. Testing fseek() without using argument whence 66 -- Testing fseek() without using argument whence -- 81 -- Testing fseek() without using argument whence -- 96 -- Testing fseek() without using argument whence -- 111 -- Testing fseek() without using argument whence -- 126 -- Testing fseek() without using argument whence -- 141 -- Testing fseek() without using argument whence -- 156 -- Testing fseek() without using argument whence -- 171 -- Testing fseek() without using argument whence -- 186 -- Testing fseek() without using argument whence -- [all …]
|
H A D | userstreams.phpt | 126 function stream_seek($offset, $whence) 128 switch($whence) { 214 $whence = $whence_map[array_rand($whence_map, 1)]; 215 switch($whence) { 231 $seeks[] = array($whence, $offset, $position); 246 list($whence, $offset, $position) = $seekdata; 249 $rr = (int)fseek($tf, $offset, $whence); 255 $ur = (int)fseek($fp, $offset, $whence); 260 printf("\n--[%d] whence=%s offset=%d line_length=%d position_should_be=%d --\n", 261 $j, $whence_names[$whence], $offset, $line_length, $position);
|
H A D | include_userstream_001.phpt | 39 function stream_seek($offset, $whence) 41 switch($whence) {
|
H A D | bug27508.phpt | 40 function stream_seek($offset, $whence) 42 return fseek($this->fp, $offset, $whence) == 0 ? true : false;
|
H A D | include_userstream_002.phpt | 54 function stream_seek($offset, $whence) 57 return fseek($this->stream, $offset, $whence); 59 switch($whence) {
|
H A D | bug38450.phpt | 49 function stream_seek($offset, $whence) 51 switch ($whence) {
|
H A D | bug38450_1.phpt | 49 function stream_seek($offset, $whence) 51 switch ($whence) {
|
H A D | bug38450_2.phpt | 49 function stream_seek($offset, $whence) 51 switch ($whence) {
|
H A D | include_userstream_003.phpt | 54 function stream_seek($offset, $whence) 57 return fseek($this->stream, $offset, $whence); 59 switch($whence) {
|
H A D | fopencookie.phpt | 46 function stream_seek($offset, $whence) 48 switch($whence) {
|
H A D | bug38450_3.phpt | 49 function stream_seek($offset, $whence) 51 switch ($whence) {
|
H A D | include_streams.phpt | 68 function stream_seek($offset, $whence) 70 switch($whence) {
|
/php-src/ext/standard/tests/image/ |
H A D | bug75708.phpt | 21 function stream_seek($offset, $whence) { 22 return fseek($this->handle, $offset, $whence) === 0;
|
/php-src/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-src/ext/exif/tests/ |
H A D | gh10834.phpt | 26 function stream_seek($offset, $whence) { 27 switch ($whence) {
|
/php-src/main/streams/ |
H A D | cast.c | 82 static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker() argument 85 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 115 static int stream_cookie_seeker(void *cookie, off_t *position, int whence) in stream_cookie_seeker() 119 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); in stream_cookie_seeker()
|
/php-src/ext/dba/ |
H A D | dba_cdb.c | 222 zend_off_t cdb_file_lseek(php_stream *fp, zend_off_t offset, int whence) { in cdb_file_lseek() argument 223 php_stream_seek(fp, offset, whence); in cdb_file_lseek() 227 zend_off_t cdb_file_lseek(int fd, zend_off_t offset, int whence) { in cdb_file_lseek() argument 228 return lseek(fd, offset, whence); in cdb_file_lseek()
|
/php-src/ext/phar/ |
H A D | dirstream.h | 34 static int phar_dir_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs…
|
H A D | stream.h | 36 static int phar_stream_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newo…
|