Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 759) sorted by relevance

12345678910>>...31

/PHP-8.2/ext/standard/tests/file/
H A Dchmod_basic-win32-mb.phpt32 Setting mode 777 gives mode 666
33 Setting mode 776 gives mode 666
34 Setting mode 775 gives mode 666
35 Setting mode 774 gives mode 666
36 Setting mode 773 gives mode 666
37 Setting mode 772 gives mode 666
38 Setting mode 771 gives mode 666
39 Setting mode 770 gives mode 666
40 Setting mode 767 gives mode 666
41 Setting mode 766 gives mode 666
[all …]
H A Dchmod_basic-win32.phpt32 Setting mode 777 gives mode 666
33 Setting mode 776 gives mode 666
34 Setting mode 775 gives mode 666
35 Setting mode 774 gives mode 666
36 Setting mode 773 gives mode 666
37 Setting mode 772 gives mode 666
38 Setting mode 771 gives mode 666
39 Setting mode 770 gives mode 666
40 Setting mode 767 gives mode 666
41 Setting mode 766 gives mode 666
[all …]
H A Dis_executable_basic-win32-mb.phpt22 for($mode = 0000; $mode <= 0777; $mode++) {
23 echo "-- Changing mode of file to $mode --\n";
24 chmod($filename, $mode); // change mode of file
37 -- Changing mode of file to 0 --
39 -- Changing mode of file to 1 --
41 -- Changing mode of file to 2 --
43 -- Changing mode of file to 3 --
45 -- Changing mode of file to 4 --
47 -- Changing mode of file to 5 --
49 -- Changing mode of file to 6 --
[all …]
H A Dis_executable_basic-win32.phpt22 for($mode = 0000; $mode <= 0777; $mode++) {
23 echo "-- Changing mode of file to $mode --\n";
24 chmod($filename, $mode); // change mode of file
37 -- Changing mode of file to 0 --
39 -- Changing mode of file to 1 --
41 -- Changing mode of file to 2 --
43 -- Changing mode of file to 3 --
45 -- Changing mode of file to 4 --
47 -- Changing mode of file to 5 --
49 -- Changing mode of file to 6 --
[all …]
H A Dis_executable_basic.phpt24 for($mode = 0000; $mode <= 0777; $mode++) {
25 echo "-- Changing mode of file to $mode --\n";
26 chmod($filename, $mode); // change mode of file
39 -- Changing mode of file to 0 --
41 -- Changing mode of file to 1 --
43 -- Changing mode of file to 2 --
45 -- Changing mode of file to 3 --
47 -- Changing mode of file to 4 --
49 -- Changing mode of file to 5 --
51 -- Changing mode of file to 6 --
[all …]
H A Dis_readable_basic-win32-mb.phpt23 for($mode = 0000; $mode <= 0777; $mode++) {
24 echo "-- Changing mode of file to $mode --\n";
25 chmod($filename, $mode); // change mode of file
38 -- Changing mode of file to 0 --
40 -- Changing mode of file to 1 --
42 -- Changing mode of file to 2 --
44 -- Changing mode of file to 3 --
46 -- Changing mode of file to 4 --
48 -- Changing mode of file to 5 --
50 -- Changing mode of file to 6 --
[all …]
H A Dis_readable_basic-win32.phpt23 for($mode = 0000; $mode <= 0777; $mode++) {
24 echo "-- Changing mode of file to $mode --\n";
25 chmod($filename, $mode); // change mode of file
38 -- Changing mode of file to 0 --
40 -- Changing mode of file to 1 --
42 -- Changing mode of file to 2 --
44 -- Changing mode of file to 3 --
46 -- Changing mode of file to 4 --
48 -- Changing mode of file to 5 --
50 -- Changing mode of file to 6 --
[all …]
H A Dis_readable_basic.phpt24 for($mode = 0000; $mode <= 0777; $mode++) {
25 echo "-- Changing mode of file to $mode --\n";
26 chmod($filename, $mode); // change mode of file
39 -- Changing mode of file to 0 --
41 -- Changing mode of file to 1 --
43 -- Changing mode of file to 2 --
45 -- Changing mode of file to 3 --
47 -- Changing mode of file to 4 --
49 -- Changing mode of file to 5 --
51 -- Changing mode of file to 6 --
[all …]
H A Dis_writable_basic.phpt21 for($mode = 0000; $mode <= 0777; $mode++) {
22 echo "-- Changing mode of file to $mode --\n";
23 chmod($filename, $mode); // change mode of file
37 -- Changing mode of file to 0 --
40 -- Changing mode of file to 1 --
43 -- Changing mode of file to 2 --
46 -- Changing mode of file to 3 --
49 -- Changing mode of file to 4 --
52 -- Changing mode of file to 5 --
55 -- Changing mode of file to 6 --
[all …]
H A Dmkdir_rmdir_variation-win32-mb.phpt19 for($mode = 0000; $mode <= 0777; $mode++) {
20 echo "-- Changing mode of directory to $mode --\n";
55 -- Changing mode of directory to 0 --
58 -- Changing mode of directory to 1 --
61 -- Changing mode of directory to 2 --
64 -- Changing mode of directory to 3 --
67 -- Changing mode of directory to 4 --
70 -- Changing mode of directory to 5 --
73 -- Changing mode of directory to 6 --
76 -- Changing mode of directory to 7 --
[all …]
H A Dmkdir_rmdir_variation-win32.phpt19 for($mode = 0000; $mode <= 0777; $mode++) {
20 echo "-- Changing mode of directory to $mode --\n";
55 -- Changing mode of directory to 0 --
58 -- Changing mode of directory to 1 --
61 -- Changing mode of directory to 2 --
64 -- Changing mode of directory to 3 --
67 -- Changing mode of directory to 4 --
70 -- Changing mode of directory to 5 --
73 -- Changing mode of directory to 6 --
76 -- Changing mode of directory to 7 --
[all …]
H A Dmkdir_rmdir_variation1.phpt20 for($mode = 0000; $mode <= 0777; $mode++) {
21 echo "-- Changing mode of directory to $mode --\n";
31 -- Changing mode of directory to 0 --
34 -- Changing mode of directory to 1 --
37 -- Changing mode of directory to 2 --
40 -- Changing mode of directory to 3 --
43 -- Changing mode of directory to 4 --
46 -- Changing mode of directory to 5 --
49 -- Changing mode of directory to 6 --
52 -- Changing mode of directory to 7 --
[all …]
H A Duserstreams_004.phpt7 public $mode;
8 function stream_open($path, $mode, $openedpath) {
16 function stream_lock($mode) {
17 $this->mode = $mode;
20 function test($name, $fd, $mode) {
22 flock($fd, $mode);
24 var_dump($data['wrapper_data']->mode === $mode);
35 foreach(array("LOCK_SH","LOCK_EX","LOCK_UN") as $mode) {
36 test("fclock($mode)", $fd, constant($mode));
37 test("fclock($mode|LOCK_NB)", $fd, constant($mode)|LOCK_NB);
H A Dfgetcsv_variation8.phpt59 // close the file if the mode to be used is read mode and re-open using read mode
86 } //end of mode loop
94 -- Testing fgetcsv() with file opened using r mode --
102 -- Testing fgetcsv() with file opened using rb mode --
110 -- Testing fgetcsv() with file opened using rt mode --
118 -- Testing fgetcsv() with file opened using r+ mode --
142 -- Testing fgetcsv() with file opened using a+ mode --
166 -- Testing fgetcsv() with file opened using w+ mode --
190 -- Testing fgetcsv() with file opened using x+ mode --
214 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation9.phpt62 // close the file if the mode to be used is read mode and re-open using read mode
88 } //end of mode loop
96 -- Testing fgetcsv() with file opened using r mode --
104 -- Testing fgetcsv() with file opened using rb mode --
112 -- Testing fgetcsv() with file opened using rt mode --
120 -- Testing fgetcsv() with file opened using r+ mode --
144 -- Testing fgetcsv() with file opened using a+ mode --
168 -- Testing fgetcsv() with file opened using w+ mode --
192 -- Testing fgetcsv() with file opened using x+ mode --
216 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfflush_variation1-win32-mb.phpt29 echo "-- File opened in $mode mode --\n";
37 // filling the file some data if mode is append mode
65 -- File opened in w mode --
69 -- File opened in wb mode --
73 -- File opened in wt mode --
77 -- File opened in w+ mode --
89 -- File opened in a mode --
93 -- File opened in ab mode --
113 -- File opened in x mode --
138 -- File opened in w mode --
[all …]
H A Dfflush_variation1-win32.phpt29 echo "-- File opened in $mode mode --\n";
37 // filling the file some data if mode is append mode
65 -- File opened in w mode --
69 -- File opened in wb mode --
73 -- File opened in wt mode --
77 -- File opened in w+ mode --
89 -- File opened in a mode --
93 -- File opened in ab mode --
113 -- File opened in x mode --
138 -- File opened in w mode --
[all …]
H A Dfflush_variation1.phpt29 echo "-- File opened in $mode mode --\n";
37 // filling the file with some data if mode is append mode
66 -- File opened in w mode --
70 -- File opened in wb mode --
74 -- File opened in wt mode --
78 -- File opened in w+ mode --
90 -- File opened in a mode --
94 -- File opened in ab mode --
114 -- File opened in x mode --
139 -- File opened in w mode --
[all …]
/PHP-8.2/main/
H A Dphp_memory_streams.h29 #define php_stream_memory_create(mode) _php_stream_memory_create((mode) STREAMS_CC) argument
30 #define php_stream_memory_create_rel(mode) _php_stream_memory_create((mode) STREAMS_REL_CC) argument
31 #define php_stream_memory_open(mode, str) _php_stream_memory_open((mode), (str) STREAMS_CC) argument
35 #define php_stream_temp_create(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_… argument
36 #define php_stream_temp_create_ex(mode, max_memory_usage, tmpdir) _php_stream_temp_create_ex((mode)… argument
37 #define php_stream_temp_create_rel(mode, max_memory_usage) _php_stream_temp_create((mode), (max_mem… argument
38 #define php_stream_temp_open(mode, max_memory_usage, buf, length) _php_stream_temp_open((mode), (ma… argument
42 PHPAPI php_stream *_php_stream_memory_create(int mode STREAMS_DC);
43 PHPAPI php_stream *_php_stream_memory_open(int mode, zend_string *buf STREAMS_DC);
50 PHPAPI int php_stream_mode_from_str(const char *mode);
[all …]
/PHP-8.2/main/streams/
H A Dphp_stream_plain_wrapper.h26 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, zend_string **opened_p…
27 #define php_stream_fopen(filename, mode, opened) _php_stream_fopen((filename), (mode), (opened), 0 … argument
30 …define php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filen… argument
32 PHPAPI php_stream *_php_stream_fopen_from_file(FILE *file, const char *mode STREAMS_DC);
33 #define php_stream_fopen_from_file(file, mode) _php_stream_fopen_from_file((file), (mode) STREAMS_C… argument
36 #define php_stream_fopen_from_fd(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (… argument
38 PHPAPI php_stream *_php_stream_fopen_from_pipe(FILE *file, const char *mode STREAMS_DC);
39 #define php_stream_fopen_from_pipe(file, mode) _php_stream_fopen_from_pipe((file), (mode) STREAMS_C… argument
50 PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, zend_string *…
51 … php_stream_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_as_fil… argument
[all …]
/PHP-8.2/ext/calendar/tests/
H A Djddayofweek.phpt10 echo "--- mode $mode ---\n";
19 --- mode 0 ---
28 --- mode 1 ---
37 --- mode 2 ---
47 --- mode 0 ---
56 --- mode 1 ---
65 --- mode 2 ---
75 --- mode 0 ---
84 --- mode 1 ---
93 --- mode 2 ---
[all …]
H A Djdmonthname.phpt9 for ($mode = 0; $mode <= 6; $mode++) {
10 echo "--- mode $mode ---\n";
19 --- mode 0 ---
33 --- mode 1 ---
47 --- mode 2 ---
61 --- mode 3 ---
75 --- mode 4 ---
89 --- mode 5 ---
103 --- mode 6 ---
118 --- mode 0 ---
[all …]
/PHP-8.2/ext/intl/tests/
H A Dut_common.inc3 * Run unit test in OO- and in procedural mode.
10 // Run unit test in OO mode.
11 $GLOBALS['oo-mode'] = true;
14 // Run unit test in procedural mode.
15 $GLOBALS['oo-mode'] = false;
43 * Wrappers around Collator methods to run them in either OO- or procedural mode.
120 return $GLOBALS['oo-mode'] ? Collator::getDefault() : collator_get_default();
135 if ($GLOBALS['oo-mode']) {
199 return $GLOBALS['oo-mode'] ? $fmt->getPattern() : numfmt_get_pattern( $fmt );
233 return $GLOBALS['oo-mode'] ? Locale::getDefault( ) : locale_get_default();
[all …]
/PHP-8.2/ext/standard/tests/array/
H A Dsizeof_basic2.phpt19 echo "default mode: ";
22 echo "COUNT_NORMAL mode: ";
30 echo "default mode: ";
41 echo "default mode: ";
52 echo "default mode: ";
66 default mode: int(4)
68 COUNT_NORMAL mode: int(4)
73 default mode: int(3)
75 COUNT_NORMAL mode: int(3)
80 default mode: int(3)
[all …]
/PHP-8.2/Zend/
H A Dzend_virtual_cwd.h257 #define VCWD_FOPEN(path, mode) virtual_fopen(path, mode) argument
261 #define VCWD_CREAT(path, mode) virtual_creat(path, mode) argument
278 #define VCWD_CHMOD(path, mode) virtual_chmod(path, mode) argument
288 #define VCWD_CREAT(path, mode) creat(path, mode) argument
304 #define VCWD_FOPEN(path, mode) fopen(path, mode) argument
308 #define VCWD_MKDIR(pathname, mode) mkdir(pathname, mode) argument
312 #define VCWD_ACCESS(pathname, mode) access(pathname, mode) argument
314 #define VCWD_CHMOD(path, mode) chmod(path, mode) argument
358 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) argument
362 #define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG) argument
[all …]

Completed in 111 milliseconds

12345678910>>...31