Home
last modified time | relevance | path

Searched refs:mode (Results 201 – 225 of 759) sorted by relevance

12345678910>>...31

/PHP-8.2/ext/standard/tests/file/
H A Dinclude_streams.phpt15 public $mode;
29 function stream_open($path, $mode, $options, &$opened_path)
32 $this->mode = $mode;
43 if (strchr($mode, 'a'))
H A Dstream_rfc2397_002.phpt43 ["mode"]=>
62 ["mode"]=>
87 ["mode"]=>
110 ["mode"]=>
133 ["mode"]=>
158 ["mode"]=>
H A Dfgetc_basic.phpt64 -- Testing fgetc() : file opened using r mode --
90 -- Testing fgetc() : file opened using rb mode --
116 -- Testing fgetc() : file opened using rt mode --
142 -- Testing fgetc() : file opened using r+ mode --
168 -- Testing fgetc() : file opened using r+b mode --
194 -- Testing fgetc() : file opened using r+t mode --
221 -- Testing fgetc() : file opened using r mode --
247 -- Testing fgetc() : file opened using rb mode --
273 -- Testing fgetc() : file opened using rt mode --
299 -- Testing fgetc() : file opened using r+ mode --
[all …]
H A Dfread_variation2.phpt102 -- File opened in mode a --
121 -- File opened in mode ab --
140 -- File opened in mode at --
159 -- File opened in mode w --
178 -- File opened in mode wb --
197 -- File opened in mode wt --
216 -- File opened in mode x --
275 -- File opened in mode a --
332 -- File opened in mode w --
389 -- File opened in mode x --
[all …]
H A Dfread_variation4.phpt100 -- File opened in mode a --
117 -- File opened in mode ab --
134 -- File opened in mode at --
151 -- File opened in mode w --
168 -- File opened in mode wb --
185 -- File opened in mode wt --
202 -- File opened in mode x --
255 -- File opened in mode a --
306 -- File opened in mode w --
357 -- File opened in mode x --
[all …]
/PHP-8.2/ext/pspell/
H A Dpspell.c182 zend_long mode = Z_L(0), speed = Z_L(0); in PHP_FUNCTION() local
238 if (mode) { in PHP_FUNCTION()
239 speed = mode & PSPELL_SPEED_MASK_INTERNAL; in PHP_FUNCTION()
251 if (mode & PSPELL_RUN_TOGETHER) { in PHP_FUNCTION()
275 zend_long mode = Z_L(0), speed = Z_L(0); in PHP_FUNCTION() local
339 if (mode) { in PHP_FUNCTION()
352 if (mode & PSPELL_RUN_TOGETHER) { in PHP_FUNCTION()
654 zend_long mode; in PHP_FUNCTION() local
663 if (mode == PSPELL_FAST) { in PHP_FUNCTION()
665 } else if (mode == PSPELL_NORMAL) { in PHP_FUNCTION()
[all …]
H A Dpspell.stub.php41 …, string $spelling = "", string $jargon = "", string $encoding = "", int $mode = 0): PSpell\Dictio… argument
49 int $mode = 0 argument
69 function pspell_config_mode(PSpell\Config $config, int $mode): bool {} argument
/PHP-8.2/ext/bz2/tests/
H A D001.phpt47 bzopen(): Argument #2 ($mode) must be either "r" or "w"
48 bzopen(): Argument #2 ($mode) must be either "r" or "w"
49 bzopen(): Argument #2 ($mode) must be either "r" or "w"
/PHP-8.2/ext/spl/tests/SplFileObject/
H A DSplFileObject_fputcsv_variation14.phpt7 of two chars is provided and file is opened in read only mode */
9 echo "*** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode
34 *** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode ***
/PHP-8.2/ext/phar/tests/tar/files/
H A Dtarmaker.php.inc49 'mode' => 0x8000 + 0644,
59 if ($stat['mode'] & 0x4000) {
61 } else if ($stat['mode'] & 0x8000) {
63 } else if ($stat['mode'] & 0xA000) {
82 decoct($stat['mode']),
153 'mode' => 0x4000 + 0644,
H A Dmake.dangerous.tar.php.inc50 'mode' => 0x8000 + 0644,
60 if ($stat['mode'] & 0x4000) {
62 } else if ($stat['mode'] & 0x8000) {
64 } else if ($stat['mode'] & 0xA000) {
83 '12345678', // have a mode that allows the name to overflow
154 'mode' => 0x4000 + 0644,
/PHP-8.2/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_filename_uri.phpt18 // create with default read-write|create mode
25 // create with readonly mode
26 $filename = "file:" . __DIR__ . DIRECTORY_SEPARATOR . "pdo_sqlite_filename_uri.db?mode=ro";
/PHP-8.2/ext/ftp/tests/
H A D005.phpt80 ftp_fget(): Argument #4 ($mode) must be either FTP_ASCII or FTP_BINARY
81 ftp_fput(): Argument #4 ($mode) must be either FTP_ASCII or FTP_BINARY
82 ftp_get(): Argument #4 ($mode) must be either FTP_ASCII or FTP_BINARY
90 ftp_nb_fget(): Argument #4 ($mode) must be either FTP_ASCII or FTP_BINARY
91 ftp_nb_fput(): Argument #4 ($mode) must be either FTP_ASCII or FTP_BINARY
H A Dftp_mlsd.phpt42 ["UNIX.mode"]=>
61 ["UNIX.mode"]=>
82 ["UNIX.mode"]=>
/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_php.c24 …r(char *name, int name_length, char *new_value, int new_value_length, int mode, int stage) /* {{{ … in fpm_php_zend_ini_alter_master() argument
40 if (mode == ZEND_INI_SYSTEM) { in fpm_php_zend_ini_alter_master()
41 ini_entry->modifiable = mode; in fpm_php_zend_ini_alter_master()
85 int fpm_php_apply_defines_ex(struct key_value_s *kv, int mode) /* {{{ */ in fpm_php_apply_defines_ex() argument
101 …if (fpm_php_zend_ini_alter_master(name, name_len, value, value_len, mode, PHP_INI_STAGE_ACTIVATE) … in fpm_php_apply_defines_ex()
/PHP-8.2/ext/dba/
H A Ddba_gdbm.c41 gmode = info->mode == DBA_READER ? GDBM_READER : in DBA_OPEN_FUNC()
42 info->mode == DBA_WRITER ? GDBM_WRITER : in DBA_OPEN_FUNC()
43 info->mode == DBA_CREAT ? GDBM_WRCREAT : in DBA_OPEN_FUNC()
44 info->mode == DBA_TRUNC ? GDBM_NEWDB : -1; in DBA_OPEN_FUNC()
99 switch (gdbm_store(dba->dbf, gkey, gval, mode == 1 ? GDBM_INSERT : GDBM_REPLACE)) { in DBA_UPDATE_FUNC()
/PHP-8.2/ext/standard/tests/streams/
H A Dstream_get_meta_data_dir_basic.phpt26 ["mode"]=>
44 ["mode"]=>
H A Dstream_get_meta_data_file_variation2.phpt56 ["mode"]=>
81 ["mode"]=>
104 ["mode"]=>
127 ["mode"]=>
H A Dstream_get_meta_data_socket_variation1.phpt50 ["mode"]=>
69 ["mode"]=>
88 ["mode"]=>
107 ["mode"]=>
H A Dstream_get_meta_data_socket_variation3.phpt43 ["mode"]=>
63 ["mode"]=>
83 ["mode"]=>
/PHP-8.2/ext/random/tests/01_functions/
H A Dgh-10292.phpt7 srand(mode: MT_RAND_MT19937);
13 mt_srand(mode: MT_RAND_MT19937);
/PHP-8.2/ext/standard/
H A Dmath.c96 static inline double php_round_helper(double value, int mode) { in php_round_helper() argument
109 if ((mode == PHP_ROUND_HALF_DOWN && value == (0.5 + tmp_value)) || in php_round_helper()
126 PHPAPI double _php_math_round(double value, int places, int mode) { in _php_math_round() argument
154 tmp_value = php_round_helper(tmp_value, mode); in _php_math_round()
176 tmp_value = php_round_helper(tmp_value, mode); in _php_math_round()
275 zend_long mode = PHP_ROUND_HALF_UP; in PHP_FUNCTION() local
282 Z_PARAM_LONG(mode) in PHP_FUNCTION()
720 int mode = 0; in _php_math_basetozval() local
763 switch (mode) { in _php_math_basetozval()
770 mode = 1; in _php_math_basetozval()
[all …]
/PHP-8.2/ext/random/
H A Drandom.stub.php19 function mt_srand(int $seed = UNKNOWN, int $mode = MT_RAND_MT19937): void {} argument
22 function srand(int $seed = UNKNOWN, int $mode = MT_RAND_MT19937): void {} argument
46 public function __construct(int|null $seed = null, int $mode = MT_RAND_MT19937) {} argument
/PHP-8.2/ext/standard/tests/general_functions/
H A Dphp_uname_basic.phpt10 echo "\n-- Try all the defined mode's --\n";
24 -- Try all the defined mode's --
/PHP-8.2/ext/ftp/
H A Dftp_arginfo.h85 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
93 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
106 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
114 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
126 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
134 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
142 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
150 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")
157 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, mode, IS_LONG, 0, "FTP_BINARY")

Completed in 66 milliseconds

12345678910>>...31