/PHP-7.4/Zend/ |
H A D | zend_constants.h | 51 #define REGISTER_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-1, (f… argument 52 …ine REGISTER_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1,… argument 53 …ine REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1,… argument 54 … REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1… argument 55 …ne REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)-… argument 65 #define REGISTER_MAIN_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-… argument 66 …EGISTER_MAIN_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1,… argument 67 …EGISTER_MAIN_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1,… argument 68 …STER_MAIN_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1… argument 69 …GISTER_MAIN_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)-… argument [all …]
|
/PHP-7.4/win32/ |
H A D | fnmatch.c | 93 if (flags & FNM_PATHNAME) in fnmatch() 94 return ((flags & FNM_LEADING_DIR) || in fnmatch() 109 if (test == '/' && flags & FNM_PATHNAME) in fnmatch() 117 if (*string == '/' && flags & FNM_PATHNAME) in fnmatch() 125 if (!(flags & FNM_NOESCAPE)) { in fnmatch() 135 else if ((flags & FNM_CASEFOLD) && in fnmatch() 167 if (flags & FNM_CASEFOLD) in rangematch() 171 if (c == '\\' && !(flags & FNM_NOESCAPE)) in rangematch() 176 if (flags & FNM_CASEFOLD) in rangematch() 182 if (c2 == '\\' && !(flags & FNM_NOESCAPE)) in rangematch() [all …]
|
/PHP-7.4/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativePPC_32.c | 99 if (flags & ALT_FORM1) { in emit_single_op() 104 if (flags & ALT_FORM2) { in emit_single_op() 108 if (flags & ALT_FORM3) in emit_single_op() 118 if (flags & ALT_FORM3) { in emit_single_op() 124 if (flags & ALT_FORM4) in emit_single_op() 132 if (flags & ALT_FORM1) { in emit_single_op() 145 if (flags & ALT_FORM2) { in emit_single_op() 150 if (flags & ALT_FORM3) { in emit_single_op() 156 if (flags & ALT_FORM4) { in emit_single_op() 166 if (flags & ALT_FORM5) in emit_single_op() [all …]
|
H A D | sljitNativePPC_64.c | 217 if (flags & ALT_FORM1) in emit_single_op() 222 if (flags & ALT_FORM1) { in emit_single_op() 236 if (flags & ALT_FORM2) { in emit_single_op() 240 if (flags & ALT_FORM3) in emit_single_op() 250 if (flags & ALT_FORM3) { in emit_single_op() 258 if (flags & ALT_FORM4) in emit_single_op() 267 if (flags & ALT_FORM1) { in emit_single_op() 280 if (flags & ALT_FORM2) { in emit_single_op() 294 if (flags & ALT_FORM3) { in emit_single_op() 311 if (flags & ALT_FORM5) in emit_single_op() [all …]
|
H A D | sljitNativeSPARC_32.c | 36 #define ARG2(flags, src2) ((flags & SRC2_IMM) ? IMM(src2) : S2(src2)) argument 48 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op() 79 …return push_inst(compiler, XNOR | (flags & SET_FLAGS) | D(dst) | S1(0) | S2(src2), DR(dst) | (flag… in emit_single_op() 96 …return push_inst(compiler, ADD | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(d… in emit_single_op() 99 …return push_inst(compiler, ADDC | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(… in emit_single_op() 102 …return push_inst(compiler, SUB | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(d… in emit_single_op() 105 …return push_inst(compiler, SUBC | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(… in emit_single_op() 109 if (!(flags & SET_FLAGS)) in emit_single_op() 116 …return push_inst(compiler, AND | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(d… in emit_single_op() 119 …return push_inst(compiler, OR | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(ds… in emit_single_op() [all …]
|
/PHP-7.4/ext/filter/tests/ |
H A D | 013.phpt | 2 filter_var() and flags 10 var_dump(filter_var("0xff", FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX))); 11 var_dump(filter_var("0Xff", FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX))); 12 var_dump(filter_var("0xFF", FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX))); 13 var_dump(filter_var("0XFF", FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_HEX))); 14 var_dump(filter_var("07", FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_OCTAL))); 16 var_dump(filter_var("0666", FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_OCTAL))); 17 var_dump(filter_var("08", FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_OCTAL))); 18 var_dump(filter_var("00", FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_OCTAL))); 19 var_dump(filter_var("000", FILTER_VALIDATE_INT, array("flags"=>FILTER_FLAG_ALLOW_OCTAL))); [all …]
|
H A D | 038.phpt | 9 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL)); 13 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL)); 17 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FILTER_FORCE_AR… 23 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FILTER_REQUIRE_… 27 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FILTER_REQUIRE_… 31 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FILTER_FORCE_AR… 35 $res = filter_var($var, FILTER_VALIDATE_INT, array('flags'=>FILTER_FLAG_ALLOW_OCTAL|FILTER_FORCE_AR…
|
/PHP-7.4/ext/filter/ |
H A D | sanitizing_filters.c | 191 php_filter_strip(value, flags); in php_filter_string() 196 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_string() 199 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_string() 202 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_string() 228 php_filter_strip(value, flags); in php_filter_encoded() 239 php_filter_strip(value, flags); in php_filter_special_chars() 247 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_special_chars() 279 php_filter_strip(value, flags); in php_filter_unsafe_raw() 281 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_unsafe_raw() 284 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_unsafe_raw() [all …]
|
/PHP-7.4/ext/spl/tests/ |
H A D | recursive_tree_iterator_001.phpt | 28 echo "-- flags = BYPASS_KEY --\n"; 32 echo "-- flags = BYPASS_CURRENT --\n"; 36 echo "-- flags = BYPASS_KEY|BYPASS_KEY --\n"; 40 echo "-- flags = 0 --\n"; 44 echo "-- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --\n"; 52 -- flags = BYPASS_KEY -- 62 -- flags = BYPASS_CURRENT -- 72 -- flags = BYPASS_KEY|BYPASS_KEY -- 82 -- flags = 0 -- 92 -- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --
|
H A D | recursive_tree_iterator_006.phpt | 38 echo "-- flags = BYPASS_KEY --\n"; 42 echo "-- flags = BYPASS_CURRENT --\n"; 46 echo "-- flags = BYPASS_KEY|BYPASS_KEY --\n"; 50 echo "-- flags = 0 --\n"; 54 echo "-- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --\n"; 62 -- flags = BYPASS_KEY -- 72 -- flags = BYPASS_CURRENT -- 82 -- flags = BYPASS_KEY|BYPASS_KEY -- 92 -- flags = 0 -- 102 -- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --
|
H A D | dualiterator.inc | 32 private $flags; 38 * @param flags iteration flags 45 $this->flags = $flags; 62 /** @param flags new flags 64 function setFlags($flags) 66 $this->flags = $flags; 69 /** @return current flags 73 return $this->flags; 95 switch($this->flags & 0x0F) 109 /** @return key value depending on KEY_* flags [all …]
|
/PHP-7.4/ext/standard/ |
H A D | scanf.c | 333 flags = 0; in ValidateFormat() 343 flags |= SCAN_SUPPRESS; in ValidateFormat() 402 flags |= SCAN_WIDTH; in ValidateFormat() 590 int flags; in php_sscanf_internal() local 662 flags = 0; in php_sscanf_internal() 703 flags |= SCAN_SUPPRESS; in php_sscanf_internal() 791 flags |= SCAN_NOSKIP; in php_sscanf_internal() 800 flags |= SCAN_NOSKIP; in php_sscanf_internal() 950 flags |= SCAN_XOK; in php_sscanf_internal() 955 flags |= SCAN_XOK; in php_sscanf_internal() [all …]
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_sockets.h | 34 int flags = fcntl(fd, F_GETFL); in fd_set_blocked() local 36 if (flags < 0) { in fd_set_blocked() 41 flags &= ~O_NONBLOCK; in fd_set_blocked() 43 flags |= O_NONBLOCK; in fd_set_blocked() 45 return fcntl(fd, F_SETFL, flags); in fd_set_blocked()
|
H A D | zlog.h | 9 #define zlog(flags,...) zlog_ex(__func__, __LINE__, flags, __VA_ARGS__) argument 10 #define zlog_msg(flags, prefix, msg) zlog_msg_ex(__func__, __LINE__, flags, prefix, msg) argument 29 void vzlog(const char *function, int line, int flags, const char *fmt, va_list args); 30 void zlog_ex(const char *function, int line, int flags, const char *fmt, ...) 33 void zlog_msg_ex(const char *function, int line, int flags, 65 int flags; member 93 void zlog_stream_init(struct zlog_stream *stream, int flags); 94 void zlog_stream_init_ex(struct zlog_stream *stream, int flags, int fd);
|
/PHP-7.4/ext/gd/tests/ |
H A D | types.phpt | 9 $flags = imagetypes(); 11 if ($flags&0x1 && !function_exists("imagegif")) { 15 if ($flags&0x2 && !function_exists("imagejpeg")) { 19 if ($flags&0x4 && !function_exists("imagepng")) { 23 if ($flags&0x8 && !function_exists("imagewbmp")) { 27 if ($flags&16 && !function_exists("imagecreatefromxpm")) {
|
/PHP-7.4/sapi/fpm/fpm/events/ |
H A D | kqueue.c | 162 int flags = EV_ADD; in fpm_event_kqueue_add() local 164 if (ev->flags & FPM_EV_EDGE) { in fpm_event_kqueue_add() 165 flags = flags | EV_CLEAR; in fpm_event_kqueue_add() 168 EV_SET(&k, ev->fd, EVFILT_READ, flags, 0, 0, (void *)ev); in fpm_event_kqueue_add() 187 int flags = EV_DELETE; in fpm_event_kqueue_remove() local 189 if (ev->flags & FPM_EV_EDGE) { in fpm_event_kqueue_remove() 190 flags = flags | EV_CLEAR; in fpm_event_kqueue_remove() 193 EV_SET(&k, ev->fd, EVFILT_READ, flags, 0, 0, (void *)ev); in fpm_event_kqueue_remove()
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_set.c | 30 #define PHPDBG_SET_COMMAND_D(f, h, a, m, l, s, flags) \ argument 68 PHPDBG_G(flags) |= PHPDBG_HAS_PAGINATION; in PHPDBG_SET() 70 PHPDBG_G(flags) &= ~PHPDBG_HAS_PAGINATION; in PHPDBG_SET() 188 PHPDBG_G(flags) |= PHPDBG_IS_COLOURED; in PHPDBG_SET() 190 PHPDBG_G(flags) &= ~PHPDBG_IS_COLOURED; in PHPDBG_SET() 238 PHPDBG_G(flags) |= PHPDBG_IS_QUIET; in PHPDBG_SET() 240 PHPDBG_G(flags) &= ~PHPDBG_IS_QUIET; in PHPDBG_SET() 257 PHPDBG_G(flags) |= PHPDBG_STEP_OPCODE; in PHPDBG_SET() 259 PHPDBG_G(flags) &= ~PHPDBG_STEP_OPCODE; in PHPDBG_SET() 278 PHPDBG_G(flags) |= PHPDBG_SHOW_REFCOUNTS; in PHPDBG_SET() [all …]
|
H A D | phpdbg_opcode.c | 68 uint32_t flags) { in phpdbg_decode_input_op() argument 72 } else if (ZEND_VM_OP_JMP_ADDR == (flags & ZEND_VM_OP_MASK)) { in phpdbg_decode_input_op() 74 } else if (ZEND_VM_OP_NUM == (flags & ZEND_VM_OP_MASK)) { in phpdbg_decode_input_op() 76 } else if (ZEND_VM_OP_TRY_CATCH == (flags & ZEND_VM_OP_MASK)) { in phpdbg_decode_input_op() 80 } else if (ZEND_VM_OP_THIS == (flags & ZEND_VM_OP_MASK)) { in phpdbg_decode_input_op() 82 } else if (ZEND_VM_OP_NEXT == (flags & ZEND_VM_OP_MASK)) { in phpdbg_decode_input_op() 84 } else if (ZEND_VM_OP_CLASS_FETCH == (flags & ZEND_VM_OP_MASK)) { in phpdbg_decode_input_op() 95 uint32_t flags = zend_get_opcode_flags(opline->opcode); in phpdbg_decode_opline() local 150 (!(PHPDBG_G(flags) & PHPDBG_IS_QUIET) || in phpdbg_print_opline_ex() 151 (PHPDBG_G(flags) & PHPDBG_IS_STEPPING) || in phpdbg_print_opline_ex() [all …]
|
H A D | phpdbg_sigio_win32.c | 41 if (*swd->flags & PHPDBG_IS_INTERACTIVE) { in ZEND_EXTERN_MODULE_GLOBALS() 46 if (*swd->flags & PHPDBG_IS_SIGNALED) { in ZEND_EXTERN_MODULE_GLOBALS() 54 if (!(*swd->flags & PHPDBG_IS_INTERACTIVE)) { in ZEND_EXTERN_MODULE_GLOBALS() 55 *swd->flags |= PHPDBG_IS_SIGNALED; in ZEND_EXTERN_MODULE_GLOBALS() 75 PHPDBG_G(swd).flags = &PHPDBG_G(flags); in sigio_watcher_start()
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_debug.c | 56 unsigned int flags = self->flags; in MYSQLND_METHOD() local 75 if (flags & MYSQLND_DEBUG_DUMP_PID) { in MYSQLND_METHOD() 79 if (flags & MYSQLND_DEBUG_DUMP_TIME) { in MYSQLND_METHOD() 108 if (flags & MYSQLND_DEBUG_DUMP_FILE) { in MYSQLND_METHOD() 112 if (flags & MYSQLND_DEBUG_DUMP_LINE) { in MYSQLND_METHOD() 131 if (flags & MYSQLND_DEBUG_FLUSH) { in MYSQLND_METHOD() 153 unsigned int flags = self->flags; in MYSQLND_METHOD() local 172 if (flags & MYSQLND_DEBUG_DUMP_PID) { in MYSQLND_METHOD() 233 if (flags & MYSQLND_DEBUG_FLUSH) { in MYSQLND_METHOD() 428 if (!(self->flags & MYSQLND_DEBUG_FLUSH) && (self->flags & MYSQLND_DEBUG_PROFILE_CALLS)) { in MYSQLND_METHOD() [all …]
|
/PHP-7.4/ext/openssl/tests/ |
H A D | tls_wrapper_with_tls_v1.3.phpt | 14 $flags = STREAM_SERVER_BIND|STREAM_SERVER_LISTEN; 20 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 30 $flags = STREAM_CLIENT_CONNECT; 39 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 42 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 45 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 48 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 51 $client = @stream_socket_client("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 54 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 57 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tls_wrapper.phpt | 14 $flags = STREAM_SERVER_BIND|STREAM_SERVER_LISTEN; 20 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 30 $flags = STREAM_CLIENT_CONNECT; 39 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 42 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 45 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 48 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 51 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 54 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tls_min_v1.0_max_v1.1_wrapper.phpt | 13 $flags = STREAM_SERVER_BIND|STREAM_SERVER_LISTEN; 21 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 31 $flags = STREAM_CLIENT_CONNECT; 40 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 43 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 46 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 49 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 52 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 55 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | zend_cfg.c | 34 b->flags |= ZEND_BB_REACHABLE; in zend_mark_reachable() 36 b->flags |= ZEND_BB_EXIT; in zend_mark_reachable() 84 succ->flags |= ZEND_BB_FOLLOW; in zend_mark_reachable() 158 b->flags |= ZEND_BB_TRY; in zend_mark_reachable_blocks() 161 b->flags |= ZEND_BB_CATCH; in zend_mark_reachable_blocks() 243 blocks[i].flags = 0; in zend_cfg_remark_reachable_blocks() 251 block->flags = 0; in initialize_block() 270 uint32_t flags = 0; in zend_build_cfg() local 414 flags |= ZEND_FUNC_VARARG; in zend_build_cfg() 578 cfg->flags |= flags; in zend_build_cfg() [all …]
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | bug70389.phpt | 12 $flags = [ 19 $std->flags = $flags; 21 new PDO(PDO_MYSQL_TEST_DSN, PDO_MYSQL_TEST_USER, PDO_MYSQL_TEST_PASS, $flags); 22 var_dump($flags);
|