Home
last modified time | relevance | path

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

12345678910>>...28

/PHP-7.4/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_readable_basic-win32-mb.phpt27 for($mode = 0000; $mode <= 0777; $mode++) {
28 echo "-- Changing mode of file to $mode --\n";
29 chmod($filename, $mode); // change mode of file
42 -- Changing mode of file to 0 --
44 -- Changing mode of file to 1 --
46 -- Changing mode of file to 2 --
48 -- Changing mode of file to 3 --
50 -- Changing mode of file to 4 --
52 -- Changing mode of file to 5 --
54 -- Changing mode of file to 6 --
[all …]
H A Dis_readable_basic-win32.phpt27 for($mode = 0000; $mode <= 0777; $mode++) {
28 echo "-- Changing mode of file to $mode --\n";
29 chmod($filename, $mode); // change mode of file
42 -- Changing mode of file to 0 --
44 -- Changing mode of file to 1 --
46 -- Changing mode of file to 2 --
48 -- Changing mode of file to 3 --
50 -- Changing mode of file to 4 --
52 -- Changing mode of file to 5 --
54 -- Changing mode of file to 6 --
[all …]
H A Dis_readable_basic.phpt28 for($mode = 0000; $mode <= 0777; $mode++) {
29 echo "-- Changing mode of file to $mode --\n";
30 chmod($filename, $mode); // change mode of file
43 -- Changing mode of file to 0 --
45 -- Changing mode of file to 1 --
47 -- Changing mode of file to 2 --
49 -- Changing mode of file to 3 --
51 -- Changing mode of file to 4 --
53 -- Changing mode of file to 5 --
55 -- Changing mode of file to 6 --
[all …]
H A Dis_executable_basic-win32-mb.phpt25 for($mode = 0000; $mode <= 0777; $mode++) {
26 echo "-- Changing mode of file to $mode --\n";
27 chmod($filename, $mode); // change mode of file
40 -- Changing mode of file to 0 --
42 -- Changing mode of file to 1 --
44 -- Changing mode of file to 2 --
46 -- Changing mode of file to 3 --
48 -- Changing mode of file to 4 --
50 -- Changing mode of file to 5 --
52 -- Changing mode of file to 6 --
[all …]
H A Dis_executable_basic-win32.phpt25 for($mode = 0000; $mode <= 0777; $mode++) {
26 echo "-- Changing mode of file to $mode --\n";
27 chmod($filename, $mode); // change mode of file
40 -- Changing mode of file to 0 --
42 -- Changing mode of file to 1 --
44 -- Changing mode of file to 2 --
46 -- Changing mode of file to 3 --
48 -- Changing mode of file to 4 --
50 -- Changing mode of file to 5 --
52 -- Changing mode of file to 6 --
[all …]
H A Dis_executable_basic.phpt28 for($mode = 0000; $mode <= 0777; $mode++) {
29 echo "-- Changing mode of file to $mode --\n";
30 chmod($filename, $mode); // change mode of file
43 -- Changing mode of file to 0 --
45 -- Changing mode of file to 1 --
47 -- Changing mode of file to 2 --
49 -- Changing mode of file to 3 --
51 -- Changing mode of file to 4 --
53 -- Changing mode of file to 5 --
55 -- Changing mode of file to 6 --
[all …]
H A Dis_writable_basic.phpt27 for($mode = 0000; $mode <= 0777; $mode++) {
28 echo "-- Changing mode of file to $mode --\n";
29 chmod($filename, $mode); // change mode of file
43 -- Changing mode of file to 0 --
46 -- Changing mode of file to 1 --
49 -- Changing mode of file to 2 --
52 -- Changing mode of file to 3 --
55 -- Changing mode of file to 4 --
58 -- Changing mode of file to 5 --
61 -- Changing mode of file to 6 --
[all …]
H A Dmkdir_rmdir_variation-win32-mb.phpt22 for($mode = 0000; $mode <= 0777; $mode++) {
23 echo "-- Changing mode of directory to $mode --\n";
58 -- Changing mode of directory to 0 --
61 -- Changing mode of directory to 1 --
64 -- Changing mode of directory to 2 --
67 -- Changing mode of directory to 3 --
70 -- Changing mode of directory to 4 --
73 -- Changing mode of directory to 5 --
76 -- Changing mode of directory to 6 --
79 -- Changing mode of directory to 7 --
[all …]
H A Dmkdir_rmdir_variation-win32.phpt22 for($mode = 0000; $mode <= 0777; $mode++) {
23 echo "-- Changing mode of directory to $mode --\n";
58 -- Changing mode of directory to 0 --
61 -- Changing mode of directory to 1 --
64 -- Changing mode of directory to 2 --
67 -- Changing mode of directory to 3 --
70 -- Changing mode of directory to 4 --
73 -- Changing mode of directory to 5 --
76 -- Changing mode of directory to 6 --
79 -- Changing mode of directory to 7 --
[all …]
H A Dmkdir_rmdir_variation1.phpt23 for($mode = 0000; $mode <= 0777; $mode++) {
24 echo "-- Changing mode of directory to $mode --\n";
34 -- Changing mode of directory to 0 --
37 -- Changing mode of directory to 1 --
40 -- Changing mode of directory to 2 --
43 -- Changing mode of directory to 3 --
46 -- Changing mode of directory to 4 --
49 -- Changing mode of directory to 5 --
52 -- Changing mode of directory to 6 --
55 -- Changing mode of directory to 7 --
[all …]
H A Duserstreams_004.phpt6 public $mode;
7 function stream_open($path, $mode, $openedpath) {
15 function stream_lock($mode) {
16 $this->mode = $mode;
19 function test($name, $fd, $mode) {
21 flock($fd, $mode);
23 var_dump($data['wrapper_data']->mode === $mode);
34 foreach(array("LOCK_SH","LOCK_EX","LOCK_UN") as $mode) {
35 test("fclock($mode)", $fd, constant($mode));
36 test("fclock($mode|LOCK_NB)", $fd, constant($mode)|LOCK_NB);
H A Dfgetcsv_variation8.phpt64 // close the file if the mode to be used is read mode and re-open using read mode
91 } //end of mode loop
99 -- Testing fgetcsv() with file opened using r mode --
107 -- Testing fgetcsv() with file opened using rb mode --
115 -- Testing fgetcsv() with file opened using rt mode --
123 -- Testing fgetcsv() with file opened using r+ mode --
147 -- Testing fgetcsv() with file opened using a+ mode --
171 -- Testing fgetcsv() with file opened using w+ mode --
195 -- Testing fgetcsv() with file opened using x+ mode --
219 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfgetcsv_variation9.phpt63 // close the file if the mode to be used is read mode and re-open using read mode
89 } //end of mode loop
97 -- Testing fgetcsv() with file opened using r mode --
105 -- Testing fgetcsv() with file opened using rb mode --
113 -- Testing fgetcsv() with file opened using rt mode --
121 -- Testing fgetcsv() with file opened using r+ mode --
145 -- Testing fgetcsv() with file opened using a+ mode --
169 -- Testing fgetcsv() with file opened using w+ mode --
193 -- Testing fgetcsv() with file opened using x+ mode --
217 -- Testing fgetcsv() with file opened using r mode --
[all …]
H A Dfflush_variation1-win32-mb.phpt32 echo "-- File opened in $mode mode --\n";
40 // filling the file some data if mode is append mode
68 -- File opened in w mode --
72 -- File opened in wb mode --
76 -- File opened in wt mode --
80 -- File opened in w+ mode --
92 -- File opened in a mode --
96 -- File opened in ab mode --
116 -- File opened in x mode --
141 -- File opened in w mode --
[all …]
H A Dfflush_variation1-win32.phpt32 echo "-- File opened in $mode mode --\n";
40 // filling the file some data if mode is append mode
68 -- File opened in w mode --
72 -- File opened in wb mode --
76 -- File opened in wt mode --
80 -- File opened in w+ mode --
92 -- File opened in a mode --
96 -- File opened in ab mode --
116 -- File opened in x mode --
141 -- File opened in w mode --
[all …]
/PHP-7.4/main/
H A Dphp_memory_streams.h31 #define php_stream_memory_create(mode) _php_stream_memory_create((mode) STREAMS_CC) argument
32 #define php_stream_memory_create_rel(mode) _php_stream_memory_create((mode) STREAMS_REL_CC) argument
33 #define php_stream_memory_open(mode, buf, length) _php_stream_memory_open((mode), (buf), (length) S… argument
37 #define php_stream_temp_create(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_… argument
38 #define php_stream_temp_create_ex(mode, max_memory_usage, tmpdir) _php_stream_temp_create_ex((mode)… argument
39 #define php_stream_temp_create_rel(mode, max_memory_usage) _php_stream_temp_create((mode), (max_mem… argument
40 #define php_stream_temp_open(mode, max_memory_usage, buf, length) _php_stream_temp_open((mode), (ma… argument
44 PHPAPI php_stream *_php_stream_memory_create(int mode STREAMS_DC);
48 PHPAPI php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage STREAMS_DC);
52 PHPAPI int php_stream_mode_from_str(const char *mode);
[all …]
/PHP-7.4/main/streams/
H A Dphp_stream_plain_wrapper.h29 #define php_stream_fopen(filename, mode, opened) _php_stream_fopen((filename), (mode), (opened), 0 … argument
32 …define php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filen… argument
34 PHPAPI php_stream *_php_stream_fopen_from_file(FILE *file, const char *mode STREAMS_DC);
35 #define php_stream_fopen_from_file(file, mode) _php_stream_fopen_from_file((file), (mode) STREAMS_C… argument
37 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id ST…
38 #define php_stream_fopen_from_fd(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (… argument
40 PHPAPI php_stream *_php_stream_fopen_from_pipe(FILE *file, const char *mode STREAMS_DC);
41 #define php_stream_fopen_from_pipe(file, mode) _php_stream_fopen_from_pipe((file), (mode) STREAMS_C… argument
52 PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, zend_string *…
53 … php_stream_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_as_fil… argument
[all …]
/PHP-7.4/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-7.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_tl_jisx0201_jisx0208.c44 int mode = ((mbfl_filt_tl_jisx0201_jisx0208_param *)filt->opaque)->mode; in mbfl_filt_tl_jisx0201_jisx0208() local
48 if ((mode & MBFL_FILT_TL_HAN2ZEN_ALL) in mbfl_filt_tl_jisx0201_jisx0208()
52 } else if ((mode & MBFL_FILT_TL_HAN2ZEN_ALPHA) && in mbfl_filt_tl_jisx0201_jisx0208()
65 if (mode & in mbfl_filt_tl_jisx0201_jisx0208()
68 if ((mode & MBFL_FILT_TL_HAN2ZEN_KATAKANA) && in mbfl_filt_tl_jisx0201_jisx0208()
69 (mode & MBFL_FILT_TL_HAN2ZEN_GLUE)) { in mbfl_filt_tl_jisx0201_jisx0208()
101 (mode & MBFL_FILT_TL_HAN2ZEN_GLUE)) { in mbfl_filt_tl_jisx0201_jisx0208()
140 if (mode & MBFL_FILT_TL_HAN2ZEN_COMPAT1) { in mbfl_filt_tl_jisx0201_jisx0208()
168 if (mode & 0xf0) { /* zenkaku to hankaku */ in mbfl_filt_tl_jisx0201_jisx0208()
182 if (mode & in mbfl_filt_tl_jisx0201_jisx0208()
[all …]
/PHP-7.4/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-7.4/ext/standard/tests/array/
H A Dsizeof_basic2.phpt26 echo "default mode: ";
29 echo "COUNT_NORMAL mode: ";
37 echo "default mode: ";
48 echo "default mode: ";
59 echo "default mode: ";
73 default mode: int(4)
75 COUNT_NORMAL mode: int(4)
80 default mode: int(3)
82 COUNT_NORMAL mode: int(3)
87 default mode: int(3)
[all …]
/PHP-7.4/Zend/
H A Dzend_virtual_cwd.h258 #define VCWD_FOPEN(path, mode) virtual_fopen(path, mode) argument
262 #define VCWD_CREAT(path, mode) virtual_creat(path, mode) argument
279 #define VCWD_CHMOD(path, mode) virtual_chmod(path, mode) argument
289 #define VCWD_CREAT(path, mode) creat(path, mode) argument
305 #define VCWD_FOPEN(path, mode) fopen(path, mode) argument
309 #define VCWD_MKDIR(pathname, mode) mkdir(pathname, mode) argument
313 #define VCWD_ACCESS(pathname, mode) access(pathname, mode) argument
315 #define VCWD_CHMOD(path, mode) chmod(path, mode) argument
359 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) argument
363 #define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG) argument
[all …]

Completed in 137 milliseconds

12345678910>>...28