/PHP-7.3/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.3/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.3/ext/zip/lib/ |
H A D | zip_extra_field_api.c | 121 if (flags & ZIP_FL_LOCAL) in zip_file_extra_field_get() 127 if (ef->flags & flags & ZIP_EF_BOTH) { in zip_file_extra_field_get() 163 if (flags & ZIP_FL_LOCAL) in zip_file_extra_field_get_by_id() 186 if (flags & ZIP_FL_LOCAL) in zip_file_extra_fields_count() 192 if (ef->flags & flags & ZIP_EF_BOTH) in zip_file_extra_fields_count() 214 if (flags & ZIP_FL_LOCAL) in zip_file_extra_fields_count_by_id() 220 if (ef->id == ef_id && (ef->flags & flags & ZIP_EF_BOTH)) in zip_file_extra_fields_count_by_id() 264 if (ef->id == ef_id && (ef->flags & flags & ZIP_EF_BOTH)) { in zip_file_extra_field_set() 279 if (flags & ZIP_EF_LOCAL) in zip_file_extra_field_set() 304 if ((ef->flags & ZIP_EF_BOTH) == (flags & ZIP_EF_BOTH)) { in zip_file_extra_field_set() [all …]
|
H A D | zip_name_locate.c | 44 zip_name_locate(zip_t *za, const char *fname, zip_flags_t flags) in zip_name_locate() argument 46 return _zip_name_locate(za, fname, flags, &za->error); in zip_name_locate() 51 _zip_name_locate(zip_t *za, const char *fname, zip_flags_t flags, zip_error_t *error) in _zip_name_locate() argument 65 if (flags & (ZIP_FL_NOCASE|ZIP_FL_NODIR|ZIP_FL_ENC_CP437)) { in _zip_name_locate() 67 cmp = (flags & ZIP_FL_NOCASE) ? strcasecmp : strcmp; in _zip_name_locate() 70 fn = _zip_get_name(za, i, flags, error); in _zip_name_locate() 76 if (flags & ZIP_FL_NODIR) { in _zip_name_locate() 92 return _zip_hash_lookup(za->names, (const zip_uint8_t *)fname, flags, error); in _zip_name_locate()
|
H A D | zip_get_name.c | 41 zip_get_name(zip_t *za, zip_uint64_t idx, zip_flags_t flags) in zip_get_name() argument 43 return _zip_get_name(za, idx, flags, &za->error); in zip_get_name() 48 _zip_get_name(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_error_t *error) in _zip_get_name() argument 53 if ((de=_zip_get_dirent(za, idx, flags, error)) == NULL) in _zip_get_name() 56 if ((str=_zip_string_get(de->filename, NULL, flags, error)) == NULL) in _zip_get_name()
|
/PHP-7.3/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 | 220 if (flags & ALT_FORM1) in emit_single_op() 225 if (flags & ALT_FORM1) { in emit_single_op() 239 if (flags & ALT_FORM2) { in emit_single_op() 243 if (flags & ALT_FORM3) in emit_single_op() 253 if (flags & ALT_FORM3) { in emit_single_op() 261 if (flags & ALT_FORM4) in emit_single_op() 270 if (flags & ALT_FORM1) { in emit_single_op() 283 if (flags & ALT_FORM2) { in emit_single_op() 297 if (flags & ALT_FORM3) { in emit_single_op() 314 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.3/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.3/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.3/ext/spl/examples/ |
H A D | callbackfilteriterator.inc | 31 private $flags; /**< flags (REPLACE) */ 40 * @param flags any of 0, REPLACE 47 $this->flags = $flags; 65 if($this->flags & self::REPLACE) { 71 if($this->flags & self::REPLACE) { 77 if($this->flags & self::REPLACE) { 109 /** @return operation flags */ 112 return $this->flags; 115 /** @param $flags set new flags, @see flags */ 116 function setFlags($flags) [all …]
|
/PHP-7.3/ext/spl/internal/ |
H A D | regexiterator.inc | 34 private $flags; /**< special flags (self::USE_KEY) */ 48 * @param flags special flags (self::USE_KEY) 55 $this->flags = $flags; 95 if ($this->flags & self::USE_KEY) 134 /** @return current operation flags 138 return $this->flags; 141 /** @param flags new operaion flags 143 function setFlags($flags) 145 $this->flags = $flags; 148 /** @return current PREG flags [all …]
|
/PHP-7.3/ext/standard/ |
H A D | scanf.c | 335 flags = 0; in ValidateFormat() 345 flags |= SCAN_SUPPRESS; in ValidateFormat() 404 flags |= SCAN_WIDTH; in ValidateFormat() 592 int flags; in php_sscanf_internal() local 664 flags = 0; in php_sscanf_internal() 705 flags |= SCAN_SUPPRESS; in php_sscanf_internal() 794 flags |= SCAN_NOSKIP; in php_sscanf_internal() 803 flags |= SCAN_NOSKIP; in php_sscanf_internal() 955 flags |= SCAN_XOK; in php_sscanf_internal() 960 flags |= SCAN_XOK; in php_sscanf_internal() [all …]
|
/PHP-7.3/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 --
|
/PHP-7.3/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 …]
|
/PHP-7.3/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.3/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.3/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()
|
/PHP-7.3/ext/openssl/tests/ |
H A D | tls_min_v1.0_max_v1.1_wrapper.phpt | 11 $flags = STREAM_SERVER_BIND|STREAM_SERVER_LISTEN; 18 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 27 $flags = STREAM_CLIENT_CONNECT; 35 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 38 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 41 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 44 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 47 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 50 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
H A D | tls_wrapper.phpt | 11 $flags = STREAM_SERVER_BIND|STREAM_SERVER_LISTEN; 16 $server = stream_socket_server('tls://127.0.0.1:64321', $errno, $errstr, $flags, $ctx); 25 $flags = STREAM_CLIENT_CONNECT; 33 $client = stream_socket_client("tlsv1.0://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 36 $client = @stream_socket_client("sslv3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 39 $client = @stream_socket_client("tlsv1.1://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 42 $client = @stream_socket_client("tlsv1.2://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 45 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 48 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|
/PHP-7.3/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() 148 b->flags |= ZEND_BB_GEN_VAR; in zend_mark_reachable_blocks() 201 b->flags |= ZEND_BB_TRY; in zend_mark_reachable_blocks() 204 b->flags |= ZEND_BB_CATCH; in zend_mark_reachable_blocks() 259 blocks[i].flags = 0; in zend_cfg_remark_reachable_blocks() 267 block->flags = 0; in initialize_block() 286 uint32_t flags = 0; in zend_build_cfg() local 439 flags |= ZEND_FUNC_VARARG; in zend_build_cfg() 604 cfg->flags |= flags; in zend_build_cfg() [all …]
|
/PHP-7.3/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 …]
|