/PHP-8.1/Zend/ |
H A D | zend_constants.h | 49 #define REGISTER_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-1, (f… argument 50 …ine REGISTER_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1,… argument 51 …ine REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1,… argument 52 … REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1… argument 53 …ne REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)-… argument 63 #define REGISTER_MAIN_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-… argument 64 …EGISTER_MAIN_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1,… argument 65 …EGISTER_MAIN_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1,… argument 66 …STER_MAIN_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1… argument 67 …GISTER_MAIN_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)-… argument [all …]
|
H A D | zend_attributes.h | 52 uint32_t flags; member 62 uint32_t flags; member 82 uint32_t flags, uint32_t offset, uint32_t lineno); 88 uint32_t flags = ce->type != ZEND_USER_CLASS ? ZEND_ATTRIBUTE_PERSISTENT : 0; in END_EXTERN_C() local 89 return zend_add_attribute(&ce->attributes, name, argc, flags, 0, 0); in END_EXTERN_C() 95 return zend_add_attribute(&func->common.attributes, name, argc, flags, 0, 0); in zend_add_function_attribute() 101 return zend_add_attribute(&func->common.attributes, name, argc, flags, offset + 1, 0); in zend_add_parameter_attribute() 106 uint32_t flags = ce->type != ZEND_USER_CLASS ? ZEND_ATTRIBUTE_PERSISTENT : 0; in zend_add_property_attribute() local 107 return zend_add_attribute(&info->attributes, name, argc, flags, 0, 0); in zend_add_property_attribute() 112 uint32_t flags = ce->type != ZEND_USER_CLASS ? ZEND_ATTRIBUTE_PERSISTENT : 0; in zend_add_class_constant_attribute() local [all …]
|
H A D | zend_attributes.c | 35 zval flags; in validate_attribute() local 44 if (Z_TYPE(flags) != IS_LONG) { in validate_attribute() 47 zend_zval_type_name(&flags) in validate_attribute() 51 if (Z_LVAL(flags) & ~ZEND_ATTRIBUTE_FLAGS) { in validate_attribute() 55 zval_ptr_dtor(&flags); in validate_attribute() 61 zend_long flags = ZEND_ATTRIBUTE_TARGET_ALL; in ZEND_METHOD() local 65 Z_PARAM_LONG(flags) in ZEND_METHOD() 160 if (flags & (1 << i)) { in zend_get_attribute_target_names() 226 attr->flags = flags; in zend_add_attribute() 257 internal_attr->flags = flags; in zend_internal_attribute_register() [all …]
|
/PHP-8.1/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-8.1/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-8.1/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() 125 if (flags & ALT_FORM5) in emit_single_op() 133 if (flags & ALT_FORM1) { in emit_single_op() 146 if (flags & ALT_FORM2) { in emit_single_op() 159 if (flags & ALT_FORM3) { in emit_single_op() 164 if (flags & ALT_FORM4) { in emit_single_op() 172 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() 255 if (flags & ALT_FORM4) { in emit_single_op() 256 if (flags & ALT_FORM5) in emit_single_op() 265 if (flags & ALT_FORM5) in emit_single_op() 274 if (flags & ALT_FORM1) { in emit_single_op() 323 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() 97 …return push_inst(compiler, ADD | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(d… in emit_single_op() 100 …return push_inst(compiler, ADDC | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(… in emit_single_op() 104 …return push_inst(compiler, SUB | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(d… in emit_single_op() 107 …return push_inst(compiler, SUBC | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(… in emit_single_op() 112 if (!(flags & SET_FLAGS)) in emit_single_op() 119 …return push_inst(compiler, AND | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(d… in emit_single_op() 122 …return push_inst(compiler, OR | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(ds… in emit_single_op() [all …]
|
/PHP-8.1/ext/zip/ |
H A D | php_zip.stub.php | 83 public function open(string $filename, int $flags = 0): bool|int {} argument 98 public function addEmptyDir(string $dirname, int $flags = 0): bool {} argument 125 public function getArchiveComment(int $flags = 0): string|false {} argument 135 public function setMtimeIndex(int $index, int $timestamp, int $flags = 0): bool {} argument 138 public function setMtimeName(string $name, int $timestamp, int $flags = 0): bool {} argument 142 public function getCommentIndex(int $index, int $flags = 0): string|false {} argument 145 public function getCommentName(string $name, int $flags = 0): string|false {} argument 154 public function statName(string $name, int $flags = 0): array|false {} argument 157 public function statIndex(int $index, int $flags = 0): array|false {} argument 160 public function locateName(string $name, int $flags = 0): int|false {} argument [all …]
|
/PHP-8.1/ext/opcache/tests/jit/ |
H A D | bug80745.phpt | 28 $flags = 0; 29 $flags = ($flags << 1) | ($message->qr ? 1 : 0); 30 $flags = ($flags << 4) | $message->opcode; 31 var_dump($flags); 32 $flags = ($flags << 1) | ($message->aa ? 1 : 0);
|
/PHP-8.1/ext/filter/ |
H A D | sanitizing_filters.c | 179 php_filter_strip(value, flags); in php_filter_string() 184 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_string() 187 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_string() 190 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_string() 216 php_filter_strip(value, flags); in php_filter_encoded() 227 php_filter_strip(value, flags); in php_filter_special_chars() 235 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_special_chars() 269 php_filter_strip(value, flags); in php_filter_unsafe_raw() 271 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_unsafe_raw() 274 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_unsafe_raw() [all …]
|
/PHP-8.1/ext/fileinfo/ |
H A D | fileinfo.stub.php | 9 public function __construct(int $flags = FILEINFO_NONE, ?string $magic_database = null) {} argument 16 …public function file(string $filename, int $flags = FILEINFO_NONE, $context = null): string|false … argument 23 …public function buffer(string $string, int $flags = FILEINFO_NONE, $context = null): string|false … argument 29 public function set_flags(int $flags) {} // TODO make return type void argument 33 function finfo_open(int $flags = FILEINFO_NONE, ?string $magic_database = null): finfo|false {} argument 37 function finfo_set_flags(finfo $finfo, int $flags): bool {} // TODO make return type void argument 43 function finfo_file(finfo $finfo, string $filename, int $flags = FILEINFO_NONE, $context = null): s… argument 49 function finfo_buffer(finfo $finfo, string $string, int $flags = FILEINFO_NONE, $context = null): s… argument
|
/PHP-8.1/sapi/phpdbg/ |
H A D | phpdbg_set.c | 28 #define PHPDBG_SET_COMMAND_D(f, h, a, m, l, s, flags) \ argument 65 PHPDBG_G(flags) |= PHPDBG_HAS_PAGINATION; in PHPDBG_SET() 67 PHPDBG_G(flags) &= ~PHPDBG_HAS_PAGINATION; in PHPDBG_SET() 185 PHPDBG_G(flags) |= PHPDBG_IS_COLOURED; in PHPDBG_SET() 187 PHPDBG_G(flags) &= ~PHPDBG_IS_COLOURED; in PHPDBG_SET() 206 PHPDBG_G(flags) |= PHPDBG_IS_QUIET; in PHPDBG_SET() 208 PHPDBG_G(flags) &= ~PHPDBG_IS_QUIET; in PHPDBG_SET() 225 PHPDBG_G(flags) |= PHPDBG_STEP_OPCODE; in PHPDBG_SET() 227 PHPDBG_G(flags) &= ~PHPDBG_STEP_OPCODE; in PHPDBG_SET() 246 PHPDBG_G(flags) |= PHPDBG_SHOW_REFCOUNTS; in PHPDBG_SET() [all …]
|
/PHP-8.1/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 654 flags = 0; in php_sscanf_internal() 695 flags |= SCAN_SUPPRESS; in php_sscanf_internal() 783 flags |= SCAN_NOSKIP; in php_sscanf_internal() 792 flags |= SCAN_NOSKIP; in php_sscanf_internal() 942 flags |= SCAN_XOK; in php_sscanf_internal() 947 flags |= SCAN_XOK; in php_sscanf_internal() [all …]
|
/PHP-8.1/ext/gd/tests/ |
H A D | types.phpt | 7 $flags = imagetypes(); 9 if ($flags&0x1 && !function_exists("imagegif")) { 13 if ($flags&0x2 && !function_exists("imagejpeg")) { 17 if ($flags&0x4 && !function_exists("imagepng")) { 21 if ($flags&0x8 && !function_exists("imagewbmp")) { 25 if ($flags&16 && !function_exists("imagecreatefromxpm")) {
|
/PHP-8.1/ext/spl/tests/ |
H A D | gh8121.phpt | 10 foreach ($flagss as $flags) { 12 echo "flags: $flags\n"; 13 $file->setFlags($flags); 25 flags: 15 30 flags: 7 35 flags: 5
|
H A D | recursive_tree_iterator_001.phpt | 26 echo "-- flags = BYPASS_KEY --\n"; 30 echo "-- flags = BYPASS_CURRENT --\n"; 34 echo "-- flags = BYPASS_KEY|BYPASS_KEY --\n"; 38 echo "-- flags = 0 --\n"; 42 echo "-- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --\n"; 49 -- flags = BYPASS_KEY -- 59 -- flags = BYPASS_CURRENT -- 75 -- flags = BYPASS_KEY|BYPASS_KEY -- 91 -- flags = 0 -- 101 -- flags = 0, caching_it_flags = CachingIterator::CATCH_GET_CHILD --
|
/PHP-8.1/sapi/fpm/fpm/events/ |
H A D | kqueue.c | 160 int flags = EV_ADD; in fpm_event_kqueue_add() local 162 if (ev->flags & FPM_EV_EDGE) { in fpm_event_kqueue_add() 163 flags = flags | EV_CLEAR; in fpm_event_kqueue_add() 166 EV_SET(&k, ev->fd, EVFILT_READ, flags, 0, 0, (void *)ev); in fpm_event_kqueue_add() 185 int flags = EV_DELETE; in fpm_event_kqueue_remove() local 187 if (ev->flags & FPM_EV_EDGE) { in fpm_event_kqueue_remove() 188 flags = flags | EV_CLEAR; in fpm_event_kqueue_remove() 191 EV_SET(&k, ev->fd, EVFILT_READ, flags, 0, 0, (void *)ev); in fpm_event_kqueue_remove()
|
/PHP-8.1/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-8.1/ext/mysqlnd/ |
H A D | mysqlnd_debug.c | 54 unsigned int flags = self->flags; in MYSQLND_METHOD() local 73 if (flags & MYSQLND_DEBUG_DUMP_PID) { in MYSQLND_METHOD() 77 if (flags & MYSQLND_DEBUG_DUMP_TIME) { in MYSQLND_METHOD() 106 if (flags & MYSQLND_DEBUG_DUMP_FILE) { in MYSQLND_METHOD() 110 if (flags & MYSQLND_DEBUG_DUMP_LINE) { in MYSQLND_METHOD() 129 if (flags & MYSQLND_DEBUG_FLUSH) { in MYSQLND_METHOD() 151 unsigned int flags = self->flags; in MYSQLND_METHOD() local 170 if (flags & MYSQLND_DEBUG_DUMP_PID) { in MYSQLND_METHOD() 231 if (flags & MYSQLND_DEBUG_FLUSH) { in MYSQLND_METHOD() 427 if (!(self->flags & MYSQLND_DEBUG_FLUSH) && (self->flags & MYSQLND_DEBUG_PROFILE_CALLS)) { in MYSQLND_METHOD() [all …]
|
/PHP-8.1/Zend/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() 46 succ->flags |= ZEND_BB_TARGET; in zend_mark_reachable() 160 b->flags |= ZEND_BB_TRY; in zend_mark_reachable_blocks() 163 b->flags |= ZEND_BB_CATCH; in zend_mark_reachable_blocks() 245 blocks[i].flags = 0; in zend_cfg_remark_reachable_blocks() 253 block->flags = 0; in initialize_block() 272 uint32_t flags = 0; in zend_build_cfg() local 427 flags |= ZEND_FUNC_VARARG; in zend_build_cfg() 595 cfg->flags |= flags; in zend_build_cfg() [all …]
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | file_variation6.phpt | 11 for ($flags = 0; $flags <= 32; $flags++) { 13 var_dump(file($filepath, $flags)); 239 file(): Argument #2 ($flags) must be a valid flag value 240 file(): Argument #2 ($flags) must be a valid flag value 241 file(): Argument #2 ($flags) must be a valid flag value 242 file(): Argument #2 ($flags) must be a valid flag value 243 file(): Argument #2 ($flags) must be a valid flag value 244 file(): Argument #2 ($flags) must be a valid flag value 245 file(): Argument #2 ($flags) must be a valid flag value 246 file(): Argument #2 ($flags) must be a valid flag value [all …]
|
/PHP-8.1/ext/opcache/ |
H A D | shared_alloc_mmap.c | 46 int flags = PROT_READ | PROT_WRITE, fd = -1; in create_segments() local 49 flags |= PROT_MPROTECT(PROT_EXEC); in create_segments() 56 flags |= PROT_MAX(PROT_READ | PROT_WRITE | PROT_EXEC); in create_segments() 76 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, fd, 0); in create_segments() 80 …p = mmap(p, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT|MAP_HUGETLB|MAP_FIXED, -1, 0… in create_segments() 84 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, fd, 0); in create_segments() 91 p = mmap(0, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_HUGETLB, fd, 0); in create_segments() 97 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, fd, 0); in create_segments() 103 p = mmap(0, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS, fd, 0); in create_segments()
|
/PHP-8.1/ext/openssl/tests/ |
H A D | tls_wrapper_with_tls_v1.3.phpt | 15 $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("tlsv1.3://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 55 $client = @stream_socket_client("ssl://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx); 58 $client = @stream_socket_client("tls://127.0.0.1:64321", $errno, $errstr, 3, $flags, $ctx);
|