Home
last modified time | relevance | path

Searched refs:pointer (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/php-src/ext/standard/tests/file/
H A Dfgets_variation3.phpt34 // 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 Dfgets_basic.phpt52 -- 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 Dfgets_variation6-win32.phpt64 -- 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 Dfgets_variation6.phpt64 -- 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 Dftruncate_variation7-win32.phpt47 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 Dftruncate_variation7.phpt47 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 Dfgetc_variation1.phpt2 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 Dfread_variation3-win32-mb.phpt23 // 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 Dfread_variation3-win32.phpt23 // 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 Dfread_variation3.phpt23 // 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 Dfread_variation4.phpt17 // 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 D007_variation15.phpt12 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 D007_variation18.phpt8 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 D007_variation2.phpt8 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 D007_variation10.phpt8 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 Dclosedir_variation3.phpt2 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 Drewinddir_variation3.phpt6 * 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 Dkey_variation3.phpt6 * 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 Dcurrent_variation3.phpt6 * 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 Dend_variation3.phpt6 * 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 Dreset_variation3.phpt7 * 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 Dcurrent_variation4.phpt33 //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
H A Dkey_variation4.phpt33 //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 Dzend_fibers.c81 void *pointer; member
205 void *pointer; in zend_fiber_stack_allocate() local
220 if (!pointer) { in zend_fiber_stack_allocate()
236 VirtualFree(pointer, 0, MEM_RELEASE); in zend_fiber_stack_allocate()
243 if (pointer == MAP_FAILED) { in zend_fiber_stack_allocate()
259 munmap(pointer, alloc_size); in zend_fiber_stack_allocate()
267 stack->pointer = (void *) ((uintptr_t) pointer + ZEND_FIBER_GUARD_PAGES * page_size); in zend_fiber_stack_allocate()
293 stack->asan_pointer = stack->pointer; in zend_fiber_stack_allocate()
308 void *pointer = (void *) ((uintptr_t) stack->pointer - ZEND_FIBER_GUARD_PAGES * page_size); in zend_fiber_stack_free() local
317 VirtualFree(pointer, 0, MEM_RELEASE); in zend_fiber_stack_free()
[all …]
/php-src/Zend/tests/
H A Dbug37715.phpt14 // Set the pointer of $a to 'b' and the pointer of 'b' to 'CC'

Completed in 56 milliseconds

12345678910>>...14