Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 697) sorted by last modified time

12345678910>>...28

/PHP-7.4/
H A DNEWS584 . Fixed bug #79983 (openssl_encrypt / openssl_decrypt fail with OCB mode).
653 . Fixed bug #76735 (Incorrect message in fopen on invalid mode). (cmb)
1364 . Fixed bug #78386 (fstat mode has unexpected value on PHP 7.4). (cmb)
1466 . The default $mode parameter of imagecropauto() has been changed to
1512 CloudLinux mod_lsapi mode). (George Wang)
1580 . Fixed bug #72685 (Repeated UTF-8 validation of same string in UTF-8 mode).
1669 . Fixed bug #78436 (Missing addref in SplPriorityQueue EXTR_BOTH mode).
1930 CloudLinux mod_lsapi mode). (George Wang)
2476 . Fixed bug #75683 (Memory leak in zend_register_functions() in ZTS mode).
2478 . Fixed bug #75031 (support append mode in temp/memory streams). (adsr)
[all …]
H A Dconfigure.ac292 dnl Disable PIC mode by default where it is known to be safe to do so, to avoid
1443 test -z "$PHP_COMPILE" && PHP_COMPILE='$(LIBTOOL) --mode=compile $(COMPILE) -c $<'
1444 test -z "$CXX_PHP_COMPILE" && CXX_PHP_COMPILE='$(LIBTOOL) --mode=compile $(CXX_COMPILE) -c $<'
/PHP-7.4/ext/gd/
H A Dgd.c819 ZEND_ARG_INFO(0, mode)
834 ZEND_ARG_INFO(0, mode)
843 ZEND_ARG_INFO(0, mode)
3725 if (mode < 2) { in php_imagechar()
3738 switch (mode) { in php_imagechar()
4076 if (mode == TTFTEXT_BBOX) { in php_imagettftext_common()
4542 zend_bool mode = 0; in php_image_filter_pixelate() local
4694 zend_long mode; in PHP_FUNCTION() local
4705 switch (mode) { in PHP_FUNCTION()
4827 switch (mode) { in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/pgsql/
H A Dpgsql.c311 ZEND_ARG_INFO(0, mode)
332 ZEND_ARG_INFO(0, mode)
3157 char *z_filename, *mode = "w"; local
3166 …if (zend_parse_parameters(argc, "p|sr", &z_filename, &z_filename_len, &mode, &mode_len, &pgsql_lin…
3181 stream = php_stream_open_wrapper(z_filename, mode, REPORT_ERRORS, NULL);
/PHP-7.4/ext/filter/
H A Dlogical_filters.c871 int mode; in php_filter_validate_ip() local
874 mode = FORMAT_IPV6; in php_filter_validate_ip()
876 mode = FORMAT_IPV4; in php_filter_validate_ip()
883 } else if ((flags & FILTER_FLAG_IPV4) && mode == FORMAT_IPV6) { in php_filter_validate_ip()
885 } else if ((flags & FILTER_FLAG_IPV6) && mode == FORMAT_IPV4) { in php_filter_validate_ip()
889 switch (mode) { in php_filter_validate_ip()
/PHP-7.4/main/streams/
H A Dstreams.c278 …p_stream_ops *ops, void *abstract, const char *persistent_id, const char *mode STREAMS_DC) /* {{{ … in _php_stream_alloc()
315 strlcpy(ret->mode, mode, sizeof(ret->mode)); in _php_stream_alloc()
1949 PHPAPI int _php_stream_mkdir(const char *path, int mode, int options, php_stream_context *context) argument
1958 return wrapper->wops->stream_mkdir(wrapper, path, mode, options, context);
2078 PHPAPI php_stream *_php_stream_open_wrapper_ex(const char *path, const char *mode, int options, argument
2127 path_to_open, mode, options ^ REPORT_ERRORS,
2196 …if (stream && stream->ops->seek && (stream->flags & PHP_STREAM_FLAG_NO_SEEK) == 0 && strchr(mode, …
H A Dcast.c47 FILE *fopencookie(void *cookie, const char *mode, COOKIE_IO_FUNCTIONS_T *funcs) in fopencookie() argument
152 const char *cur_mode = stream->mode; in php_stream_mode_sanitize_fdopen_fopencookie()
347 PHPAPI FILE * _php_stream_open_wrapper_as_file(char *path, char *mode, int options, zend_string **o… in _php_stream_open_wrapper_as_file() argument
352 stream = php_stream_open_wrapper_rel(path, mode, options|STREAM_WILL_CAST, opened_path); in _php_stream_open_wrapper_as_file()
/PHP-7.4/ext/standard/
H A Darray.c767 zend_long mode = COUNT_NORMAL; in PHP_FUNCTION() local
773 Z_PARAM_LONG(mode) in PHP_FUNCTION()
782 if (mode != COUNT_RECURSIVE) { in PHP_FUNCTION()
H A Dfilestat.c588 zend_long mode; in PHP_FUNCTION() local
595 Z_PARAM_LONG(mode) in PHP_FUNCTION()
601 if(wrapper->wops->stream_metadata(wrapper, filename, PHP_STREAM_META_ACCESS, &mode, NULL)) { in PHP_FUNCTION()
617 imode = (mode_t) mode; in PHP_FUNCTION()
/PHP-7.4/ext/libxml/
H A Dlibxml.c295 static void *php_libxml_streams_IO_open_wrapper(const char *filename, const char *mode, const int r… in php_libxml_streams_IO_open_wrapper() argument
361 ret_val = php_stream_open_wrapper_ex(path_to_open, (char *)mode, REPORT_ERRORS, NULL, context); in php_libxml_streams_IO_open_wrapper()
/PHP-7.4/ext/dba/
H A Ddba_tcadb.c44 switch(info->mode) { in DBA_OPEN_FUNC()
111 if (mode == 1) { in DBA_UPDATE_FUNC()
/PHP-7.4/ext/mbstring/
H A Dmbstring.c352 ZEND_ARG_INFO(0, mode)
5311 MBSTRING_API size_t php_mb_stripos(int mode, const char *old_haystack, size_t old_haystack_len, con… in php_mb_stripos() argument
5359 if (mode) { in php_mb_stripos()
5376 n = mbfl_strpos(&haystack, &needle, offset, mode); in php_mb_stripos()
/PHP-7.4/main/
H A Dmain.c499 int mode; in php_get_display_errors_mode() local
506 mode = PHP_DISPLAY_ERRORS_STDOUT; in php_get_display_errors_mode()
508 mode = PHP_DISPLAY_ERRORS_STDOUT; in php_get_display_errors_mode()
510 mode = PHP_DISPLAY_ERRORS_STDOUT; in php_get_display_errors_mode()
512 mode = PHP_DISPLAY_ERRORS_STDERR; in php_get_display_errors_mode()
514 mode = PHP_DISPLAY_ERRORS_STDOUT; in php_get_display_errors_mode()
516 ZEND_ATOL(mode, value); in php_get_display_errors_mode()
517 if (mode && mode != PHP_DISPLAY_ERRORS_STDOUT && mode != PHP_DISPLAY_ERRORS_STDERR) { in php_get_display_errors_mode()
522 return mode; in php_get_display_errors_mode()
540 int mode, cgi_or_cli; in PHP_INI_DISP() local
[all …]
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_jit_compile.c421 int mode; member
606 #error Unsupported compiling mode
13437 common->mode = mode; in jit_compile()
13533 if (mode != PCRE2_JIT_COMPLETE) in jit_compile()
13638 if (mode == PCRE2_JIT_PARTIAL_SOFT) in jit_compile()
13688 if (mode == PCRE2_JIT_PARTIAL_SOFT) in jit_compile()
13744 if (mode != PCRE2_JIT_COMPLETE) in jit_compile()
13766 if (mode == PCRE2_JIT_PARTIAL_SOFT) in jit_compile()
14020 if (mode == PCRE2_JIT_COMPLETE) in jit_compile()
14021 mode = 0; in jit_compile()
[all …]
/PHP-7.4/ext/zip/
H A Dphp_zip.c735 ZEND_ARG_INFO(0, mode)
1262 char *mode = NULL; in PHP_NAMED_FUNCTION() local
1267 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rr|s", &zip, &zip_entry, &mode, &mode_len) == FAILURE)… in PHP_NAMED_FUNCTION()
2781 char *mode = "rb"; local
2798 stream = php_stream_zip_open(obj->filename, ZSTR_VAL(filename), mode STREAMS_CC);
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch1898 -// this mode should not interfere with normal operations
1903 -// this mode allows only the necessary syscalls used during normal operation
2391 ms->mode = b.st.st_mode;
2924 - /* Place stdin in binary mode, so EOF (Ctrl+Z) doesn't stop early. */
/PHP-7.4/TSRM/
H A Dtsrm_win32.c193 TSRM_API int tsrm_win32_access(const char *pathname, int mode) in tsrm_win32_access() argument
224 int ret = php_win32_ioutil_access_w(pathw, mode); in tsrm_win32_access()
225 if (0 > ret || X_OK == mode || F_OK == mode) { in tsrm_win32_access()
290 if(mode == 0 || mode > 6) { in tsrm_win32_access()
296 } else if(mode <= 2) { in tsrm_win32_access()
302 } else if(mode <= 4) { in tsrm_win32_access()
451 int fno, type_len, read, mode; in popen_ex() local
581 fno = _open_osfhandle((tsrm_intptr_t)in, _O_RDONLY | mode); in popen_ex()
584 fno = _open_osfhandle((tsrm_intptr_t)out, _O_WRONLY | mode); in popen_ex()
682 shm->descriptor->shm_perm.mode = flags; in shmget()
[all …]
/PHP-7.4/ext/curl/
H A Dinterface.c76 static ZEND_ATTRIBUTE_UNUSED void php_curl_ssl_lock(int mode, int n, const char * file, int line) in php_curl_ssl_lock() argument
78 if (mode & CRYPTO_LOCK) { in php_curl_ssl_lock()
2788 } else if (what->mode[0] != 'r' || what->mode[1] == '+') { in _php_curl_setopt()
2806 } else if (what->mode[0] != 'r' || what->mode[1] == '+') { in _php_curl_setopt()
2837 } else if (what->mode[0] != 'r' || what->mode[1] == '+') { in _php_curl_setopt()
/PHP-7.4/ext/phar/
H A Dphar_object.c1926 zend_long mode; in PHP_METHOD() local
1929 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l", &mode) == FAILURE) { in PHP_METHOD()
4145 mode_t mode; in phar_extract_file() local
4307 mode = (mode_t) entry->flags & PHAR_ENT_PERM_MASK; in phar_extract_file()
4309 if (FAILURE == VCWD_CHMOD(fullpath, mode)) { in phar_extract_file()
/PHP-7.4/ext/sysvmsg/
H A Dsysvmsg.c204 stat.msg_perm.mode = zval_get_long(item); in PHP_FUNCTION()
239 add_assoc_long(return_value, "msg_perm.mode", stat.msg_perm.mode); in PHP_FUNCTION()
/PHP-7.4/ext/imap/
H A Dphp_imap.c3078 static void php_imap_mutf7(INTERNAL_FUNCTION_PARAMETERS, int mode) /* {{{ */ in php_imap_mutf7() argument
3091 if (mode == 0) { in php_imap_mutf7()
/PHP-7.4/ext/mysqli/
H A Dmysqli_api.c39 …oid mysqli_tx_cor_options_to_string(const MYSQL * const conn, smart_str * str, const uint32_t mode) in mysqli_tx_cor_options_to_string() argument
41 if (mode & TRANS_COR_AND_CHAIN && !(mode & TRANS_COR_AND_NO_CHAIN)) { in mysqli_tx_cor_options_to_string()
46 } else if (mode & TRANS_COR_AND_NO_CHAIN && !(mode & TRANS_COR_AND_CHAIN)) { in mysqli_tx_cor_options_to_string()
53 if (mode & TRANS_COR_RELEASE && !(mode & TRANS_COR_NO_RELEASE)) { in mysqli_tx_cor_options_to_string()
58 } else if (mode & TRANS_COR_NO_RELEASE && !(mode & TRANS_COR_RELEASE)) { in mysqli_tx_cor_options_to_string()
110 static int mysqli_commit_or_rollback_libmysql(MYSQL * conn, zend_bool commit, const uint32_t mode, … in mysqli_commit_or_rollback_libmysql() argument
114 mysqli_tx_cor_options_to_string(conn, &tmp_str, mode); in mysqli_commit_or_rollback_libmysql()
2333 unsigned long mode; local
2355 mode = mode_in;
2356 mode_p = &mode;
/PHP-7.4/ext/openssl/
H A Dopenssl.c6508 mode->is_aead = 1; in php_openssl_load_cipher_mode()
6521 mode->is_aead = 1; in php_openssl_load_cipher_mode()
6529 mode->is_aead = 1; in php_openssl_load_cipher_mode()
6530 mode->is_single_run_aead = 1; in php_openssl_load_cipher_mode()
6547 if (mode->is_aead) { in php_openssl_validate_iv()
6619 if (mode->set_tag_length_always || (enc && mode->set_tag_length_when_encrypting)) { in php_openssl_cipher_init()
6626 if (!mode->is_aead) { in php_openssl_cipher_init()
6713 struct php_openssl_cipher_mode mode; in php_openssl_encrypt() local
6756 if (mode.is_aead && tag) { in php_openssl_encrypt()
6771 } else if (mode.is_aead) { in php_openssl_encrypt()
[all …]
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_connection.c1970 MYSQLND_METHOD(mysqlnd_conn_data, set_autocommit)(MYSQLND_CONN_DATA * conn, unsigned int mode)
1977 …ret = conn->m->query(conn, (mode) ? "SET AUTOCOMMIT=1":"SET AUTOCOMMIT=0", sizeof("SET AUTOCOMMIT=…
2008 if (mode & TRANS_COR_AND_CHAIN && !(mode & TRANS_COR_AND_NO_CHAIN)) {
2013 } else if (mode & TRANS_COR_AND_NO_CHAIN && !(mode & TRANS_COR_AND_CHAIN)) {
2020 if (mode & TRANS_COR_RELEASE && !(mode & TRANS_COR_NO_RELEASE)) {
2025 } else if (mode & TRANS_COR_NO_RELEASE && !(mode & TRANS_COR_RELEASE)) {
2125 MYSQLND_METHOD(mysqlnd_conn_data, tx_begin)(MYSQLND_CONN_DATA * conn, const unsigned int mode, cons…
2134 if (mode & TRANS_START_WITH_CONSISTENT_SNAPSHOT) {
2140 if (mode & TRANS_START_READ_WRITE) {
2145 } else if (mode & TRANS_START_READ_ONLY) {
[all …]
/PHP-7.4/ext/shmop/
H A Dshmop.c51 ZEND_ARG_INFO(0, mode)
148 zend_long key, mode, size; in PHP_FUNCTION() local
154 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "lsll", &key, &flags, &flags_len, &mode, &size) == FAIL… in PHP_FUNCTION()
167 shmop->shmflg |= mode; in PHP_FUNCTION()

Completed in 252 milliseconds

12345678910>>...28