Home
last modified time | relevance | path

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

12345678910>>...32

/PHP-7.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.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.phpt37 for($mode = 0000; $mode <= 0777; $mode++) {
38 echo "-- Changing mode of file to $mode --\n";
39 chmod($filename, $mode); // change mode of file
52 -- Changing mode of file to 0 --
54 -- Changing mode of file to 1 --
56 -- Changing mode of file to 2 --
58 -- Changing mode of file to 3 --
60 -- Changing mode of file to 4 --
62 -- Changing mode of file to 5 --
64 -- Changing mode of file to 6 --
[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.phpt37 for($mode = 0000; $mode <= 0777; $mode++) {
38 echo "-- Changing mode of file to $mode --\n";
39 chmod($filename, $mode); // change mode of file
52 -- Changing mode of file to 0 --
54 -- Changing mode of file to 1 --
56 -- Changing mode of file to 2 --
58 -- Changing mode of file to 3 --
60 -- Changing mode of file to 4 --
62 -- Changing mode of file to 5 --
64 -- Changing mode of file to 6 --
[all …]
H A Dis_writable_basic.phpt36 for($mode = 0000; $mode <= 0777; $mode++) {
37 echo "-- Changing mode of file to $mode --\n";
38 chmod($filename, $mode); // change mode of file
52 -- Changing mode of file to 0 --
55 -- Changing mode of file to 1 --
58 -- Changing mode of file to 2 --
61 -- Changing mode of file to 3 --
64 -- Changing mode of file to 4 --
67 -- Changing mode of file to 5 --
70 -- 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.phpt32 for($mode = 0000; $mode <= 0777; $mode++) {
33 echo "-- Changing mode of directory to $mode --\n";
43 -- Changing mode of directory to 0 --
46 -- Changing mode of directory to 1 --
49 -- Changing mode of directory to 2 --
52 -- Changing mode of directory to 3 --
55 -- Changing mode of directory to 4 --
58 -- Changing mode of directory to 5 --
61 -- Changing mode of directory to 6 --
64 -- Changing mode of directory to 7 --
[all …]
H A Dfgetcsv_variation26.phpt74 } //end of mode loop
82 -- Testing fgetcsv() with file opened using w mode --
87 -- Testing fgetcsv() with file opened using wb mode --
92 -- Testing fgetcsv() with file opened using wt mode --
97 -- Testing fgetcsv() with file opened using a mode --
112 -- Testing fgetcsv() with file opened using x mode --
127 -- Testing fgetcsv() with file opened using w mode --
142 -- Testing fgetcsv() with file opened using a mode --
157 -- Testing fgetcsv() with file opened using x mode --
172 -- Testing fgetcsv() with file opened using w mode --
[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_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 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 …]
/PHP-7.2/ext/mbstring/libmbfl/tests/
H A Dconv_kana.c32 int mode = 0; in main() local
51 mode |= 0x1; in main()
54 mode |= 0x10; in main()
57 mode |= 0x2; in main()
60 mode |= 0x20; in main()
63 mode |= 0x4; in main()
66 mode |= 0x40; in main()
69 mode |= 0x8; in main()
72 mode |= 0x80; in main()
75 mode |= 0x100; in main()
[all …]
/PHP-7.2/main/
H A Dphp_memory_streams.h32 #define php_stream_memory_create(mode) _php_stream_memory_create((mode) STREAMS_CC) argument
33 #define php_stream_memory_create_rel(mode) _php_stream_memory_create((mode) STREAMS_REL_CC) argument
34 #define php_stream_memory_open(mode, buf, length) _php_stream_memory_open((mode), (buf), (length) S… argument
38 #define php_stream_temp_create(mode, max_memory_usage) _php_stream_temp_create((mode), (max_memory_… argument
39 #define php_stream_temp_create_ex(mode, max_memory_usage, tmpdir) _php_stream_temp_create_ex((mode)… argument
40 #define php_stream_temp_create_rel(mode, max_memory_usage) _php_stream_temp_create((mode), (max_mem… argument
41 #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);
45 PHPAPI php_stream *_php_stream_memory_open(int mode, char *buf, size_t length STREAMS_DC);
48 PHPAPI php_stream *_php_stream_temp_create(int mode, size_t max_memory_usage STREAMS_DC);
[all …]
/PHP-7.2/main/streams/
H A Dphp_stream_plain_wrapper.h30 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, zend_string **opened_p…
31 #define php_stream_fopen(filename, mode, opened) _php_stream_fopen((filename), (mode), (opened), 0 … argument
34 …define php_stream_fopen_with_path(filename, mode, path, opened) _php_stream_fopen_with_path((filen… argument
36 PHPAPI php_stream *_php_stream_fopen_from_file(FILE *file, const char *mode STREAMS_DC);
37 #define php_stream_fopen_from_file(file, mode) _php_stream_fopen_from_file((file), (mode) STREAMS_C… argument
39 PHPAPI php_stream *_php_stream_fopen_from_fd(int fd, const char *mode, const char *persistent_id ST…
40 #define php_stream_fopen_from_fd(fd, mode, persistent_id) _php_stream_fopen_from_fd((fd), (mode), (… argument
42 PHPAPI php_stream *_php_stream_fopen_from_pipe(FILE *file, const char *mode STREAMS_DC);
43 #define php_stream_fopen_from_pipe(file, mode) _php_stream_fopen_from_pipe((file), (mode) STREAMS_C… argument
54 PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, zend_string *…
[all …]
/PHP-7.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-7.2/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.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 );
229 return $GLOBALS['oo-mode'] ? Locale::getDefault( ) : locale_get_default();
[all …]
/PHP-7.2/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.2/Zend/
H A Dzend_virtual_cwd.h253 #define VCWD_FOPEN(path, mode) virtual_fopen(path, mode) argument
257 #define VCWD_CREAT(path, mode) virtual_creat(path, mode) argument
274 #define VCWD_CHMOD(path, mode) virtual_chmod(path, mode) argument
284 #define VCWD_CREAT(path, mode) creat(path, mode) argument
300 #define VCWD_FOPEN(path, mode) fopen(path, mode) argument
304 #define VCWD_MKDIR(pathname, mode) mkdir(pathname, mode) argument
308 #define VCWD_ACCESS(pathname, mode) access(pathname, mode) argument
310 #define VCWD_CHMOD(path, mode) chmod(path, mode) argument
354 #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) argument
358 #define S_ISREG(mode) (((mode)&S_IFMT) == S_IFREG) argument
[all …]

Completed in 182 milliseconds

12345678910>>...32