Home
last modified time | relevance | path

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

12345678910>>...26

/php-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_parse_options.phpt44 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
46 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
48 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
50 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
52 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
54 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
56 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
58 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
60 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
62 Dom\HTMLDocument::createFromString(): Argument #2 ($options) contains invalid flags (allowed flags:…
[all …]
/php-src/Zend/
H A Dzend_constants.h50 #define REGISTER_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-1, (f… argument
51 …ine REGISTER_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1,… argument
52 …ine REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1,… argument
53 … REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1… argument
54 …ne REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)-… argument
64 #define REGISTER_MAIN_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-… argument
65 …EGISTER_MAIN_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1,… argument
66 …EGISTER_MAIN_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1,… argument
67 …STER_MAIN_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1… argument
68 …GISTER_MAIN_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)-… argument
[all …]
H A Dzend_attributes.h59 uint32_t flags; member
69 uint32_t flags; member
91 uint32_t flags, uint32_t offset, uint32_t lineno);
99 uint32_t flags = ce->type != ZEND_USER_CLASS ? ZEND_ATTRIBUTE_PERSISTENT : 0; in END_EXTERN_C() local
100 return zend_add_attribute(&ce->attributes, name, argc, flags, 0, 0); in END_EXTERN_C()
106 return zend_add_attribute(&func->common.attributes, name, argc, flags, 0, 0); in zend_add_function_attribute()
112 return zend_add_attribute(&func->common.attributes, name, argc, flags, offset + 1, 0); in zend_add_parameter_attribute()
117 uint32_t flags = ce->type != ZEND_USER_CLASS ? ZEND_ATTRIBUTE_PERSISTENT : 0; in zend_add_property_attribute() local
118 return zend_add_attribute(&info->attributes, name, argc, flags, 0, 0); in zend_add_property_attribute()
123 uint32_t flags = ce->type != ZEND_USER_CLASS ? ZEND_ATTRIBUTE_PERSISTENT : 0; in zend_add_class_constant_attribute() local
[all …]
/php-src/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-src/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-src/ext/standard/tests/file/
H A Dfile_variation6.phpt11 for ($flags = 0; $flags <= 32; $flags++) {
13 var_dump(file($filepath, $flags));
98 file(): Argument #2 ($flags) must be a valid flag value
99 file(): Argument #2 ($flags) must be a valid flag value
100 file(): Argument #2 ($flags) must be a valid flag value
101 file(): Argument #2 ($flags) must be a valid flag value
102 file(): Argument #2 ($flags) must be a valid flag value
103 file(): Argument #2 ($flags) must be a valid flag value
104 file(): Argument #2 ($flags) must be a valid flag value
105 file(): Argument #2 ($flags) must be a valid flag value
[all …]
/php-src/ext/opcache/tests/jit/
H A Dbug80745.phpt27 $flags = 0;
28 $flags = ($flags << 1) | ($message->qr ? 1 : 0);
29 $flags = ($flags << 4) | $message->opcode;
30 var_dump($flags);
31 $flags = ($flags << 1) | ($message->aa ? 1 : 0);
/php-src/ext/filter/
H A Dsanitizing_filters.c180 php_filter_strip(value, flags); in php_filter_string()
185 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_string()
188 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_string()
191 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_string()
217 php_filter_strip(value, flags); in php_filter_encoded()
228 php_filter_strip(value, flags); in php_filter_special_chars()
236 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_special_chars()
270 php_filter_strip(value, flags); in php_filter_unsafe_raw()
272 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_unsafe_raw()
275 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_unsafe_raw()
[all …]
/php-src/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-src/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-src/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): true {} 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): true {} 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-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativePPC_64.c221 if (flags & ALT_FORM1) { in emit_single_op()
235 if (flags & ALT_FORM2) { in emit_single_op()
239 if (flags & ALT_FORM3) in emit_single_op()
251 if (flags & ALT_FORM3) { in emit_single_op()
256 if (flags & ALT_FORM4) { in emit_single_op()
257 if (flags & ALT_FORM5) in emit_single_op()
266 if (flags & ALT_FORM5) in emit_single_op()
275 if (flags & ALT_FORM1) { in emit_single_op()
288 if (flags & ALT_FORM2) { in emit_single_op()
336 if (flags & ALT_FORM5) in emit_single_op()
[all …]
/php-src/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-src/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-src/sapi/fpm/fpm/events/
H A Dkqueue.c158 int flags = EV_ADD; in fpm_event_kqueue_add() local
160 if (ev->flags & FPM_EV_EDGE) { in fpm_event_kqueue_add()
161 flags = flags | EV_CLEAR; in fpm_event_kqueue_add()
164 EV_SET(&k, ev->fd, EVFILT_READ, flags, 0, 0, (void *)ev); in fpm_event_kqueue_add()
183 int flags = EV_DELETE; in fpm_event_kqueue_remove() local
185 if (ev->flags & FPM_EV_EDGE) { in fpm_event_kqueue_remove()
186 flags = flags | EV_CLEAR; in fpm_event_kqueue_remove()
189 EV_SET(&k, ev->fd, EVFILT_READ, flags, 0, 0, (void *)ev); in fpm_event_kqueue_remove()
/php-src/sapi/fpm/fpm/
H A Dfpm_sockets.h38 int flags = fcntl(fd, F_GETFL); in fd_set_blocked() local
40 if (flags < 0) { in fd_set_blocked()
45 flags &= ~O_NONBLOCK; in fd_set_blocked()
47 flags |= O_NONBLOCK; in fd_set_blocked()
49 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-src/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()
96 if (flags & MYSQLND_DEBUG_DUMP_FILE) { in MYSQLND_METHOD()
100 if (flags & MYSQLND_DEBUG_DUMP_LINE) { in MYSQLND_METHOD()
119 if (flags & MYSQLND_DEBUG_FLUSH) { in MYSQLND_METHOD()
141 unsigned int flags = self->flags; in MYSQLND_METHOD() local
160 if (flags & MYSQLND_DEBUG_DUMP_PID) { in MYSQLND_METHOD()
211 if (flags & MYSQLND_DEBUG_FLUSH) { in MYSQLND_METHOD()
407 if (!(self->flags & MYSQLND_DEBUG_FLUSH) && (self->flags & MYSQLND_DEBUG_PROFILE_CALLS)) { in MYSQLND_METHOD()
[all …]
/php-src/ext/openssl/tests/
H A Dtls_wrapper_with_tls_v1.3.phpt14 $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 Dtls_wrapper.phpt14 $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);
/php-src/Zend/Optimizer/
H A Dzend_cfg.c41 b->flags |= ZEND_BB_REACHABLE; in zend_mark_reachable()
43 b->flags |= ZEND_BB_EXIT; in zend_mark_reachable()
159 b->flags |= ZEND_BB_TRY; in zend_mark_reachable_blocks()
162 b->flags |= ZEND_BB_CATCH; in zend_mark_reachable_blocks()
244 blocks[i].flags = 0; in zend_cfg_remark_reachable_blocks()
252 block->flags = 0; in initialize_block()
271 uint32_t flags = 0; in zend_build_cfg() local
420 flags |= ZEND_FUNC_VARARG; in zend_build_cfg()
586 cfg->flags |= flags; in zend_build_cfg()
787 cfg->flags |= flag; in zend_cfg_identify_loops()
[all …]
/php-src/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-src/tests/output/
H A Dob_013.phpt66 [flags] => 20593
78 [flags] => 112
89 [flags] => 113
100 [flags] => 113
111 [flags] => 113
122 [flags] => 113
133 [flags] => 113
144 [flags] => 113
155 [flags] => 113
166 [flags] => 20593
/php-src/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)
146 ["flags"]=>
175 ["flags"]=>
204 ["flags"]=>
[all …]

Completed in 52 milliseconds

12345678910>>...26