Home
last modified time | relevance | path

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

12345678910>>...24

/PHP-8.0/Zend/
H A Dzend_constants.h48 #define REGISTER_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-1, (f… argument
49 …ine REGISTER_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1,… argument
50 …ine REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1,… argument
51 … REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1… argument
52 …ne REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)-… argument
62 #define REGISTER_MAIN_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-… argument
63 …EGISTER_MAIN_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1,… argument
64 …EGISTER_MAIN_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1,… argument
65 …STER_MAIN_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1… argument
66 …GISTER_MAIN_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)-… argument
[all …]
H A Dzend_attributes.h52 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 …]
/PHP-8.0/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.0/ext/zip/
H A Dphp_zip.stub.php70 public function open(string $filename, int $flags = 0) {} argument
85 public function addEmptyDir(string $dirname, int $flags = 0) {} argument
112 public function getArchiveComment(int $flags = 0) {} argument
129 public function getCommentIndex(int $index, int $flags = 0) {} argument
132 public function getCommentName(string $name, int $flags = 0) {} argument
141 public function statName(string $name, int $flags = 0) {} argument
144 public function statIndex(int $index, int $flags = 0) {} argument
147 public function locateName(string $name, int $flags = 0) {} argument
150 public function getNameIndex(int $index, int $flags = 0) {} argument
168 public function getFromName(string $name, int $len = 0, int $flags = 0) {} argument
[all …]
/PHP-8.0/ext/pcre/pcre2lib/sljit/
H A DsljitNativePPC_32.c99 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 DsljitNativePPC_64.c217 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 DsljitNativeSPARC_32.c36 #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-8.0/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.0/ext/fileinfo/
H A Dfileinfo.stub.php8 public function __construct(int $flags = FILEINFO_NONE, ?string $magic_database = null) {} argument
15 public function file(string $filename, int $flags = FILEINFO_NONE, $context = null) {} argument
22 public function buffer(string $string, int $flags = FILEINFO_NONE, $context = null) {} argument
28 public function set_flags(int $flags) {} argument
32 function finfo_open(int $flags = FILEINFO_NONE, ?string $magic_database = null) {} argument
42 function finfo_set_flags($finfo, int $flags): bool {} argument
48 function finfo_file($finfo, string $filename, int $flags = FILEINFO_NONE, $context = null): string|… argument
54 function finfo_buffer($finfo, string $string, int $flags = FILEINFO_NONE, $context = null): string|… argument
/PHP-8.0/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.0/ext/filter/
H A Dsanitizing_filters.c179 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.0/ext/standard/
H A Dscanf.c331 flags = 0; in ValidateFormat()
341 flags |= SCAN_SUPPRESS; in ValidateFormat()
400 flags |= SCAN_WIDTH; in ValidateFormat()
588 int flags; in php_sscanf_internal() local
652 flags = 0; in php_sscanf_internal()
693 flags |= SCAN_SUPPRESS; in php_sscanf_internal()
781 flags |= SCAN_NOSKIP; in php_sscanf_internal()
790 flags |= SCAN_NOSKIP; in php_sscanf_internal()
940 flags |= SCAN_XOK; in php_sscanf_internal()
945 flags |= SCAN_XOK; in php_sscanf_internal()
[all …]
/PHP-8.0/ext/spl/tests/
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
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.0/sapi/fpm/fpm/
H A Dfpm_sockets.h34 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 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.0/ext/gd/tests/
H A Dtypes.phpt9 $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-8.0/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.0/sapi/phpdbg/
H A Dphpdbg_set.c28 #define PHPDBG_SET_COMMAND_D(f, h, a, m, l, s, flags) \ argument
66 PHPDBG_G(flags) |= PHPDBG_HAS_PAGINATION; in PHPDBG_SET()
68 PHPDBG_G(flags) &= ~PHPDBG_HAS_PAGINATION; in PHPDBG_SET()
186 PHPDBG_G(flags) |= PHPDBG_IS_COLOURED; in PHPDBG_SET()
188 PHPDBG_G(flags) &= ~PHPDBG_IS_COLOURED; in PHPDBG_SET()
236 PHPDBG_G(flags) |= PHPDBG_IS_QUIET; in PHPDBG_SET()
238 PHPDBG_G(flags) &= ~PHPDBG_IS_QUIET; in PHPDBG_SET()
255 PHPDBG_G(flags) |= PHPDBG_STEP_OPCODE; in PHPDBG_SET()
257 PHPDBG_G(flags) &= ~PHPDBG_STEP_OPCODE; in PHPDBG_SET()
276 PHPDBG_G(flags) |= PHPDBG_SHOW_REFCOUNTS; in PHPDBG_SET()
[all …]
/PHP-8.0/ext/opcache/
H A Dshared_alloc_mmap.c42 int flags = PROT_READ | PROT_WRITE; in create_segments() local
45 flags |= PROT_MPROTECT(PROT_EXEC); in create_segments()
48 flags |= PROT_MAX(PROT_READ | PROT_WRITE | PROT_EXEC); in create_segments()
68 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, -1, 0); in create_segments()
72 …p = mmap(p, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT|MAP_HUGETLB|MAP_FIXED, -1, 0… in create_segments()
76 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, -1, 0); in create_segments()
83 p = mmap(0, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_HUGETLB, -1, 0); in create_segments()
89 p = mmap(NULL, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS|MAP_32BIT, -1, 0); in create_segments()
95 p = mmap(0, requested_size, flags, MAP_SHARED|MAP_ANONYMOUS, -1, 0); in create_segments()
/PHP-8.0/ext/spl/
H A Dspl_array.stub.php7 …public function __construct(array|object $array = [], int $flags = 0, string $iteratorClass = Arra… argument
34 public function setFlags(int $flags) {} argument
37 public function asort(int $flags = SORT_REGULAR) {} argument
40 public function ksort(int $flags = SORT_REGULAR) {} argument
84 public function __construct(array|object $array = [], int $flags = 0) {} argument
138 public function setFlags(int $flags) {} argument
144 public function asort(int $flags = SORT_REGULAR) {} argument
150 public function ksort(int $flags = SORT_REGULAR) {} argument
/PHP-8.0/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.0/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.0/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);

Completed in 42 milliseconds

12345678910>>...24