Home
last modified time | relevance | path

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

123

/PHP-8.0/ext/standard/tests/file/
H A Dfseek_ftell_rewind_basic2.phpt47 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 Dfseek_ftell_rewind_basic1.phpt36 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 Dfseek_ftell_rewind_basic2-win32-mb.phpt47 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 Dfseek_ftell_rewind_basic2-win32.phpt47 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 Dfseek_ftell_rewind_variation2-win32.phpt15 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 Dfseek_ftell_rewind_variation2.phpt15 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 Dfseek_ftell_rewind_variation1.phpt10 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 Duserstreams.phpt125 function stream_seek($offset, $whence)
127 switch($whence) {
213 $whence = $whence_map[array_rand($whence_map, 1)];
214 switch($whence) {
230 $seeks[] = array($whence, $offset, $position);
245 list($whence, $offset, $position) = $seekdata;
248 $rr = (int)fseek($tf, $offset, $whence);
254 $ur = (int)fseek($fp, $offset, $whence);
259 printf("\n--[%d] whence=%s offset=%d line_length=%d position_should_be=%d --\n",
260 $j, $whence_names[$whence], $offset, $line_length, $position);
H A Dbug27508.phpt39 function stream_seek($offset, $whence)
41 return fseek($this->fp, $offset, $whence) == 0 ? true : false;
H A Dinclude_userstream_001.phpt39 function stream_seek($offset, $whence)
41 switch($whence) {
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_2.phpt48 function stream_seek($offset, $whence)
50 switch ($whence) {
H A Dinclude_userstream_003.phpt53 function stream_seek($offset, $whence)
56 return fseek($this->stream, $offset, $whence);
58 switch($whence) {
H A Dbug38450_3.phpt48 function stream_seek($offset, $whence)
50 switch ($whence) {
H A Dfopencookie.phpt45 function stream_seek($offset, $whence)
47 switch($whence) {
H A Dinclude_streams.phpt67 function stream_seek($offset, $whence)
69 switch($whence) {
H A Dfseek_ftell_rewind_variation3.phpt10 2. Testing fseek() with whence = SEEK_SET
13 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all r and a modes ***\n";
24 echo "*** Testing fseek() with whence = SEEK_SET ***\n";
54 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all r and a modes ***
55 *** Testing fseek() with whence = SEEK_SET ***
/PHP-8.0/main/streams/
H A Dcast.c73 static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker() argument
76 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker()
104 static int stream_cookie_seeker(void *cookie, off64_t *position, int whence) in stream_cookie_seeker() argument
107 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); in stream_cookie_seeker()
115 static int stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker() argument
118 return php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker()
/PHP-8.0/ext/zlib/
H A Dzlib_fopen_wrapper.c54 static int php_gziop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs) in php_gziop_seek() argument
60 if (whence == SEEK_END) { in php_gziop_seek()
64 *newoffs = gzseek(self->gz_file, offset, whence); in php_gziop_seek()
/PHP-8.0/ext/dba/
H A Ddba_cdb.c224 zend_off_t cdb_file_lseek(php_stream *fp, zend_off_t offset, int whence) { in cdb_file_lseek() argument
225 php_stream_seek(fp, offset, whence); in cdb_file_lseek()
229 zend_off_t cdb_file_lseek(int fd, zend_off_t offset, int whence) { in cdb_file_lseek() argument
230 return lseek(fd, offset, whence); in cdb_file_lseek()
/PHP-8.0/ext/phar/
H A Ddirstream.h32 static int phar_dir_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs…
H A Dstream.h35 static int phar_stream_seek( php_stream *stream, zend_off_t offset, int whence, zend_off_t *newo…
/PHP-8.0/ext/com_dotnet/
H A Dcom_persist.c138 int whence; in stm_seek() local
143 case STREAM_SEEK_SET: whence = SEEK_SET; break; in stm_seek()
144 case STREAM_SEEK_CUR: whence = SEEK_CUR; break; in stm_seek()
145 case STREAM_SEEK_END: whence = SEEK_END; break; in stm_seek()
157 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek()

Completed in 61 milliseconds

123