Home
last modified time | relevance | path

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

12345678910>>...13

/PHP-8.1/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_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…
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…
/PHP-8.1/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-8.1/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 Darray_shift_variation7.phpt2 Test array_shift() function : usage variations - position of internal pointer
6 * Test that the internal pointer is reset after calling array_shift()
/PHP-8.1/main/
H A Dalloca.c67 typedef void *pointer; typedef
69 typedef char *pointer; typedef
151 pointer
179 free ((pointer) hp); /* Collect garbage. */
199 register pointer new = malloc (sizeof (header) + size);
212 return (pointer) ((char *) new + sizeof (header));
/PHP-8.1/Zend/
H A Dzend_fibers.c69 void *pointer; member
177 void *pointer; in zend_fiber_stack_allocate() local
192 if (!pointer) { in zend_fiber_stack_allocate()
208 VirtualFree(pointer, 0, MEM_RELEASE); in zend_fiber_stack_allocate()
215 if (pointer == MAP_FAILED) { in zend_fiber_stack_allocate()
223 munmap(pointer, alloc_size); in zend_fiber_stack_allocate()
231 stack->pointer = (void *) ((uintptr_t) pointer + ZEND_FIBER_GUARD_PAGES * page_size); in zend_fiber_stack_allocate()
235 uintptr_t base = (uintptr_t) stack->pointer; in zend_fiber_stack_allocate()
240 stack->asan_pointer = stack->pointer; in zend_fiber_stack_allocate()
255 void *pointer = (void *) ((uintptr_t) stack->pointer - ZEND_FIBER_GUARD_PAGES * page_size); in zend_fiber_stack_free() local
[all …]
/PHP-8.1/Zend/tests/
H A Dbug37715.phpt14 // Set the pointer of $a to 'b' and the pointer of 'b' to 'CC'

Completed in 52 milliseconds

12345678910>>...13