/php-src/ext/standard/tests/file/ |
H A D | fgets_variation3.phpt | 34 // get the file pointer to beginning of the file 43 // get the file pointer to beginning of the file 66 -- fgets() with default length, file pointer at 0 -- 77 -- fgets() with default length, file pointer at 0 -- 88 -- fgets() with default length, file pointer at 0 -- 101 -- fgets() with default length, file pointer at 0 -- 114 -- fgets() with default length, file pointer at 0 -- 125 -- fgets() with default length, file pointer at 0 -- 136 -- fgets() with default length, file pointer at 0 -- 149 -- fgets() with default length, file pointer at 0 -- [all …]
|
H A D | fgets_basic.phpt | 52 -- fgets() with default length, file pointer at 0 -- 62 -- fgets() with default length, file pointer at 0 -- 72 -- fgets() with default length, file pointer at 0 -- 84 -- fgets() with default length, file pointer at 0 -- 96 -- fgets() with default length, file pointer at 0 -- 106 -- fgets() with default length, file pointer at 0 -- 116 -- fgets() with default length, file pointer at 0 -- 128 -- fgets() with default length, file pointer at 0 -- 140 -- fgets() with default length, file pointer at 0 -- 150 -- fgets() with default length, file pointer at 0 -- [all …]
|
H A D | fgets_variation6-win32.phpt | 64 -- fgets() with file pointer pointing at EOF -- 72 -- fgets() with file pointer pointing at EOF -- 80 -- fgets() with file pointer pointing at EOF -- 88 -- fgets() with file pointer pointing at EOF -- 98 -- fgets() with file pointer pointing at EOF -- 106 -- fgets() with file pointer pointing at EOF -- 114 -- fgets() with file pointer pointing at EOF -- 122 -- fgets() with file pointer pointing at EOF -- 132 -- fgets() with file pointer pointing at EOF -- 140 -- fgets() with file pointer pointing at EOF -- [all …]
|
H A D | fgets_variation6.phpt | 64 -- fgets() with file pointer pointing at EOF -- 72 -- fgets() with file pointer pointing at EOF -- 80 -- fgets() with file pointer pointing at EOF -- 88 -- fgets() with file pointer pointing at EOF -- 98 -- fgets() with file pointer pointing at EOF -- 106 -- fgets() with file pointer pointing at EOF -- 114 -- fgets() with file pointer pointing at EOF -- 122 -- fgets() with file pointer pointing at EOF -- 132 -- fgets() with file pointer pointing at EOF -- 140 -- fgets() with file pointer pointing at EOF -- [all …]
|
H A D | ftruncate_variation7-win32.phpt | 47 rewind($file_handle); // file pointer to 0 73 -- Testing ftruncate(): File pointer at the end -- 81 -- Testing ftruncate(): File pointer at the end -- 89 -- Testing ftruncate(): File pointer at the end -- 97 -- Testing ftruncate(): File pointer at the end -- 105 -- Testing ftruncate(): File pointer at the end -- 113 -- Testing ftruncate(): File pointer at the end -- 121 -- Testing ftruncate(): File pointer at the end -- 129 -- Testing ftruncate(): File pointer at the end -- 137 -- Testing ftruncate(): File pointer at the end -- [all …]
|
H A D | ftruncate_variation7.phpt | 47 rewind($file_handle); // file pointer to 0 73 -- Testing ftruncate(): File pointer at the end -- 81 -- Testing ftruncate(): File pointer at the end -- 89 -- Testing ftruncate(): File pointer at the end -- 97 -- Testing ftruncate(): File pointer at the end -- 105 -- Testing ftruncate(): File pointer at the end -- 113 -- Testing ftruncate(): File pointer at the end -- 121 -- Testing ftruncate(): File pointer at the end -- 129 -- Testing ftruncate(): File pointer at the end -- 137 -- Testing ftruncate(): File pointer at the end -- [all …]
|
H A D | fgetc_variation1.phpt | 2 Test fgetc() function : usage variations - read when file pointer at EOF 9 echo "-- Testing fgetc() with file whose file pointer is pointing to EOF --\n"; 29 var_dump( fseek($file_handle, 0, SEEK_END) ); // set file pointer to eof 31 var_dump( ftell($file_handle) ); // ensure that file pointer is at eof 33 var_dump( feof($file_handle) ); // ensure that file pointer is at eof 34 var_dump( ftell($file_handle) ); // file pointer position 47 -- Testing fgetc() with file whose file pointer is pointing to EOF --
|
H A D | fread_variation3-win32-mb.phpt | 23 // print file pointer position before read 37 // file pointer position after read 39 // check if file pointer at eof() 87 // try fread when file pointer at end 89 //reading file when file pointer at end 116 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 130 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 144 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 158 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 172 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- [all …]
|
H A D | fread_variation3-win32.phpt | 23 // print file pointer position before read 37 // file pointer position after read 39 // check if file pointer at eof() 87 // try fread when file pointer at end 89 //reading file when file pointer at end 116 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 130 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 144 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 158 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 172 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- [all …]
|
H A D | fread_variation3.phpt | 23 // print file pointer position before read 37 // file pointer position after read 39 // check if file pointer at eof() 87 // try fread when file pointer at end 89 //reading file when file pointer at end 116 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 130 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 144 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 158 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 172 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- [all …]
|
H A D | fread_variation4.phpt | 17 // print file pointer position before read 31 // file pointer position after read 33 // check if file pointer at eof() 79 // try fread when file pointer at end 81 //reading file when file pointer at end 109 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 126 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 143 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 160 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- 177 -- Reading beyond filesize when file pointer pointing to EOF, expected : 0 bytes -- [all …]
|
H A D | 007_variation15.phpt | 12 Description: Closes an open file pointer 17 checking for the file pointer position, 29 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 31 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 34 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
|
H A D | 007_variation18.phpt | 8 checking for the file pointer position, 22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 24 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end… 26 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
|
H A D | 007_variation2.phpt | 8 checking for the file pointer position, 22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 24 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end… 26 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
|
H A D | 007_variation10.phpt | 8 checking for the file pointer position, 22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 24 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end… 26 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
|
/php-src/ext/standard/tests/dir/ |
H A D | closedir_variation3.phpt | 2 Test closedir() function : usage variations - close a file pointer 6 * Create a file pointer using fopen() then try to close it using closedir() 14 echo "\n-- Try to close the file pointer using closedir() --\n"; 20 echo "\n-- Check file pointer: --\n"; 33 -- Try to close the file pointer using closedir() -- 36 -- Check file pointer: --
|
H A D | rewinddir_variation3.phpt | 6 * Pass a file pointer to rewinddir() to test behaviour 23 echo "\n-- Check if rewinddir() has repositioned the file pointer --\n"; 37 -- Check if rewinddir() has repositioned the file pointer --
|
/php-src/ext/standard/tests/array/ |
H A D | key_variation3.phpt | 6 * Test how the internal pointer is affected when two variables are referenced to each other 13 echo "\n-- Initial position of internal pointer --\n"; 17 // the internal pointer is the same for both 31 -- Initial position of internal pointer --
|
H A D | current_variation3.phpt | 6 * Test how the internal pointer is affected when two variables are referenced to each other 13 echo "\n-- Initial position of internal pointer --\n"; 18 // the internal pointer is the same for both 29 -- Initial position of internal pointer --
|
H A D | end_variation3.phpt | 6 * Test how the internal pointer is affected when two variables are referenced to each other 13 echo "\n-- Initial position of internal pointer --\n"; 18 // the internal pointer is the same for both 29 -- Initial position of internal pointer --
|
H A D | reset_variation3.phpt | 7 * internal pointer in both arrays 14 echo "\n-- Initial position of internal pointer --\n"; 18 // the internal pointer is the same for both 39 -- Initial position of internal pointer --
|
H A D | array_shift_variation7.phpt | 2 Test array_shift() function : usage variations - position of internal pointer 6 * Test that the internal pointer is reset after calling array_shift()
|
H A D | current_variation4.phpt | 33 //See where internal pointer is after adding more elements 37 //see if internal pointer is in same position as referenced array 39 // see if internal pointer is in the same position from when accessing this inner array
|
/php-src/Zend/ |
H A D | zend_fibers.c | 84 void *pointer; member 208 void *pointer; in zend_fiber_stack_allocate() local 223 if (!pointer) { in zend_fiber_stack_allocate() 239 VirtualFree(pointer, 0, MEM_RELEASE); in zend_fiber_stack_allocate() 246 if (pointer == MAP_FAILED) { in zend_fiber_stack_allocate() 262 munmap(pointer, alloc_size); in zend_fiber_stack_allocate() 270 stack->pointer = (void *) ((uintptr_t) pointer + ZEND_FIBER_GUARD_PAGES * page_size); in zend_fiber_stack_allocate() 296 stack->asan_pointer = stack->pointer; in zend_fiber_stack_allocate() 311 void *pointer = (void *) ((uintptr_t) stack->pointer - ZEND_FIBER_GUARD_PAGES * page_size); in zend_fiber_stack_free() local 320 VirtualFree(pointer, 0, MEM_RELEASE); in zend_fiber_stack_free() [all …]
|
/php-src/Zend/tests/ |
H A D | bug37715.phpt | 14 // Set the pointer of $a to 'b' and the pointer of 'b' to 'CC'
|