Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 611) sorted by relevance

12345678910>>...25

/PHP-8.2/Zend/
H A Dzend_constants.h49 #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 Dzend_attributes.h55 uint32_t flags; member
65 uint32_t flags; member
86 uint32_t flags, uint32_t offset, uint32_t lineno);
94 uint32_t flags = ce->type != ZEND_USER_CLASS ? ZEND_ATTRIBUTE_PERSISTENT : 0; in END_EXTERN_C() local
95 return zend_add_attribute(&ce->attributes, name, argc, flags, 0, 0); in END_EXTERN_C()
101 return zend_add_attribute(&func->common.attributes, name, argc, flags, 0, 0); in zend_add_function_attribute()
107 return zend_add_attribute(&func->common.attributes, name, argc, flags, offset + 1, 0); in zend_add_parameter_attribute()
112 uint32_t flags = ce->type != ZEND_USER_CLASS ? ZEND_ATTRIBUTE_PERSISTENT : 0; in zend_add_property_attribute() local
113 return zend_add_attribute(&info->attributes, name, argc, flags, 0, 0); in zend_add_property_attribute()
118 uint32_t flags = ce->type != ZEND_USER_CLASS ? ZEND_ATTRIBUTE_PERSISTENT : 0; in zend_add_class_constant_attribute() local
[all …]
/PHP-8.2/win32/
H A Dfnmatch.c93 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.2/ext/filter/tests/
H A D013.phpt2 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 D038.phpt9 $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.2/ext/pcre/pcre2lib/sljit/
H A DsljitNativePPC_32.c94 if (flags & ALT_FORM1) { in emit_single_op()
99 if (flags & ALT_FORM2) { in emit_single_op()
103 if (flags & ALT_FORM3) in emit_single_op()
113 if (flags & ALT_FORM3) { in emit_single_op()
120 if (flags & ALT_FORM5) in emit_single_op()
128 if (flags & ALT_FORM1) { in emit_single_op()
141 if (flags & ALT_FORM2) { in emit_single_op()
154 if (flags & ALT_FORM3) { in emit_single_op()
161 if (flags & ALT_FORM4) { in emit_single_op()
172 if (flags & ALT_FORM5) in emit_single_op()
[all …]
H A DsljitNativePPC_64.c204 if (flags & ALT_FORM1) in emit_single_op()
209 if (flags & ALT_FORM1) { in emit_single_op()
223 if (flags & ALT_FORM2) { in emit_single_op()
227 if (flags & ALT_FORM3) in emit_single_op()
237 if (flags & ALT_FORM3) { in emit_single_op()
242 if (flags & ALT_FORM4) { in emit_single_op()
243 if (flags & ALT_FORM5) in emit_single_op()
252 if (flags & ALT_FORM5) in emit_single_op()
261 if (flags & ALT_FORM1) { in emit_single_op()
322 if (flags & ALT_FORM5) in emit_single_op()
[all …]
H A DsljitNativeSPARC_32.c36 #define ARG2(flags, src2) ((flags & SRC2_IMM) ? IMM(src2) : S2(src2)) argument
45 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM)); in emit_single_op()
74 …return push_inst(compiler, XNOR | (flags & SET_FLAGS) | D(dst) | S1(0) | S2(src2), DRF(dst, flags)… in emit_single_op()
92 …return push_inst(compiler, ADD | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DRF(… in emit_single_op()
96 …return push_inst(compiler, ADDC | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DRF… in emit_single_op()
100 …return push_inst(compiler, SUB | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DRF(… in emit_single_op()
104 …return push_inst(compiler, SUBC | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DRF… 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), DRF(… in emit_single_op()
119 …return push_inst(compiler, OR | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DRF(d… in emit_single_op()
[all …]
/PHP-8.2/ext/opcache/tests/jit/
H A Dbug80745.phpt28 $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.2/ext/filter/
H A Dsanitizing_filters.c178 php_filter_strip(value, flags); in php_filter_string()
183 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_string()
186 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_string()
189 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_string()
215 php_filter_strip(value, flags); in php_filter_encoded()
226 php_filter_strip(value, flags); in php_filter_special_chars()
234 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_special_chars()
268 php_filter_strip(value, flags); in php_filter_unsafe_raw()
270 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_unsafe_raw()
273 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_unsafe_raw()
[all …]
/PHP-8.2/sapi/phpdbg/
H A Dphpdbg_set.c28 #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.2/ext/standard/
H A Dscanf.c333 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.2/ext/fileinfo/
H A Dfileinfo.stub.php69 public function __construct(int $flags = FILEINFO_NONE, ?string $magic_database = null) {} argument
76 …public function file(string $filename, int $flags = FILEINFO_NONE, $context = null): string|false … argument
83 …public function buffer(string $string, int $flags = FILEINFO_NONE, $context = null): string|false … argument
89 public function set_flags(int $flags) {} // TODO make return type void argument
93 function finfo_open(int $flags = FILEINFO_NONE, ?string $magic_database = null): finfo|false {} argument
97 function finfo_set_flags(finfo $finfo, int $flags): bool {} // TODO make return type void argument
103 function finfo_file(finfo $finfo, string $filename, int $flags = FILEINFO_NONE, $context = null): s… argument
109 function finfo_buffer(finfo $finfo, string $string, int $flags = FILEINFO_NONE, $context = null): s… argument
/PHP-8.2/ext/gd/tests/
H A Dtypes.phpt7 $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.2/ext/spl/tests/SplFileObject/
H A Dgh8121.phpt10 foreach ($flagss as $flags) {
12 echo "flags: $flags\n";
13 $file->setFlags($flags);
25 flags: 15
30 flags: 7
35 flags: 5
/PHP-8.2/sapi/fpm/fpm/events/
H A Dkqueue.c160 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.2/Zend/Optimizer/
H A Dzend_cfg.c34 b->flags |= ZEND_BB_REACHABLE; in zend_mark_reachable()
36 b->flags |= ZEND_BB_EXIT; 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
420 flags |= ZEND_FUNC_VARARG; in zend_build_cfg()
585 cfg->flags |= flags; in zend_build_cfg()
786 cfg->flags |= flag; in zend_cfg_identify_loops()
[all …]
/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_sockets.h37 int flags = fcntl(fd, F_GETFL); in fd_set_blocked() local
39 if (flags < 0) { in fd_set_blocked()
44 flags &= ~O_NONBLOCK; in fd_set_blocked()
46 flags |= O_NONBLOCK; in fd_set_blocked()
48 return fcntl(fd, F_SETFL, flags); in fd_set_blocked()
H A Dzlog.h9 #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-8.2/ext/zip/
H A Dphp_zip.stub.php677 public function open(string $filename, int $flags = 0): bool|int {} argument
696 public function addEmptyDir(string $dirname, int $flags = 0): bool {} argument
723 public function getArchiveComment(int $flags = 0): string|false {}
740 public function getCommentIndex(int $index, int $flags = 0): string|false {}
743 public function getCommentName(string $name, int $flags = 0): string|false {}
752 public function statName(string $name, int $flags = 0): array|false {}
755 public function statIndex(int $index, int $flags = 0): array|false {}
758 public function locateName(string $name, int $flags = 0): int|false {}
761 public function getNameIndex(int $index, int $flags = 0): string|false {}
785 public function getStreamIndex(int $index, int $flags = 0) {}
[all …]
/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_debug.c54 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.2/ext/standard/tests/file/
H A Dfile_variation6.phpt11 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.2/ext/openssl/tests/
H A Dtls_wrapper_with_tls_v1.3.phpt15 $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);
/PHP-8.2/ext/spl/tests/
H A Drecursive_tree_iterator_001.phpt26 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.2/ext/mysqli/tests/
H A Dmysqli_field_seek.phpt11 function mysqli_field_seek_flags($flags) {
15 if ($flags & MYSQLI_NOT_NULL_FLAG)
18 if ($flags & MYSQLI_PRI_KEY_FLAG)
27 if ($flags & MYSQLI_BLOB_FLAG)
42 if ($flags & MYSQLI_SET_FLAG)
45 if ($flags & MYSQLI_NUM_FLAG)
51 if ($flags & MYSQLI_GROUP_FLAG)
148 ["flags"]=>
177 ["flags"]=>
206 ["flags"]=>
[all …]

Completed in 46 milliseconds

12345678910>>...25