Home
last modified time | relevance | path

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

12345678910>>...23

/PHP-7.2/Zend/
H A Dzend_constants.h36 int flags; member
40 #define REGISTER_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-1, (f… argument
41 …ine REGISTER_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1,… argument
42 …ine REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1,… argument
43 … REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1… argument
44 …ne REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)-… argument
54 #define REGISTER_MAIN_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-… argument
55 …EGISTER_MAIN_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1,… argument
56 …EGISTER_MAIN_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1,… argument
57 …STER_MAIN_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1… argument
[all …]
H A Dzend_constants.c35 if (!(c->flags & CONST_PERSISTENT)) { in free_zend_constant()
56 if (!(c->flags & CONST_PERSISTENT)) { in copy_zend_constant()
146 c.flags = flags; in zend_register_null_constant()
157 c.flags = flags; in zend_register_bool_constant()
168 c.flags = flags; in zend_register_long_constant()
180 c.flags = flags; in zend_register_double_constant()
192 c.flags = flags; in zend_register_stringl_constant()
252 if (c->flags & CONST_CS) { in zend_get_constant_str()
273 if (c->flags & CONST_CS) { in zend_get_constant()
427 (c->flags & CONST_CS) != 0) { in zend_quick_get_constant()
[all …]
/PHP-7.2/win32/
H A Dfnmatch.c94 if (flags & FNM_PATHNAME) in fnmatch()
95 return ((flags & FNM_LEADING_DIR) || in fnmatch()
110 if (test == '/' && flags & FNM_PATHNAME) in fnmatch()
118 if (*string == '/' && flags & FNM_PATHNAME) in fnmatch()
126 if (!(flags & FNM_NOESCAPE)) { in fnmatch()
136 else if ((flags & FNM_CASEFOLD) && in fnmatch()
168 if (flags & FNM_CASEFOLD) in rangematch()
172 if (c == '\\' && !(flags & FNM_NOESCAPE)) in rangematch()
177 if (flags & FNM_CASEFOLD) in rangematch()
183 if (c2 == '\\' && !(flags & FNM_NOESCAPE)) in rangematch()
[all …]
/PHP-7.2/ext/zip/lib/
H A Dzip_extra_field_api.c121 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 Dzip_name_locate.c44 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 Dzip_get_name.c41 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.2/ext/pcre/pcrelib/sljit/
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 …]
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.c220 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 …]
/PHP-7.2/ext/pcre/pcrelib/
H A Dpcre_fullinfo.c101 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE; in pcre_fullinfo()
140 ((re->flags & PCRE_STARTLINE) != 0)? -1 : -2; in pcre_fullinfo()
145 (re->flags & PCRE_FIRSTSET) != 0 ? re->first_char : 0; in pcre_fullinfo()
150 ((re->flags & PCRE_FIRSTSET) != 0) ? 1 : in pcre_fullinfo()
151 ((re->flags & PCRE_STARTLINE) != 0) ? 2 : 0; in pcre_fullinfo()
182 ((re->flags & PCRE_REQCHSET) != 0) ? re->req_char : 0; in pcre_fullinfo()
187 ((re->flags & PCRE_REQCHSET) != 0); in pcre_fullinfo()
210 *((int *)where) = (re->flags & PCRE_NOPARTIAL) == 0; in pcre_fullinfo()
214 *((int *)where) = (re->flags & PCRE_JCHANGED) != 0; in pcre_fullinfo()
218 *((int *)where) = (re->flags & PCRE_HASCRORLF) != 0; in pcre_fullinfo()
[all …]
/PHP-7.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-7.2/ext/filter/
H A Dsanitizing_filters.c194 php_filter_strip(value, flags); in php_filter_string()
199 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_string()
202 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_string()
205 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_string()
231 php_filter_strip(value, flags); in php_filter_encoded()
242 php_filter_strip(value, flags); in php_filter_special_chars()
250 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_special_chars()
282 php_filter_strip(value, flags); in php_filter_unsafe_raw()
284 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_unsafe_raw()
287 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_unsafe_raw()
[all …]
/PHP-7.2/ext/spl/examples/
H A Dcallbackfilteriterator.inc31 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.2/ext/spl/internal/
H A Dregexiterator.inc34 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.2/ext/standard/
H A Dscanf.c337 flags = 0; in ValidateFormat()
347 flags |= SCAN_SUPPRESS; in ValidateFormat()
406 flags |= SCAN_WIDTH; in ValidateFormat()
594 int flags; in php_sscanf_internal() local
666 flags = 0; in php_sscanf_internal()
707 flags |= SCAN_SUPPRESS; in php_sscanf_internal()
796 flags |= SCAN_NOSKIP; in php_sscanf_internal()
805 flags |= SCAN_NOSKIP; in php_sscanf_internal()
957 flags |= SCAN_XOK; in php_sscanf_internal()
962 flags |= SCAN_XOK; in php_sscanf_internal()
[all …]
/PHP-7.2/ext/spl/tests/
H A Drecursive_tree_iterator_001.phpt28 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 Drecursive_tree_iterator_006.phpt38 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.2/sapi/phpdbg/
H A Dphpdbg_set.c30 #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 Dphpdbg_opcode.c68 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_LIVE_RANGE == (flags & ZEND_VM_OP_MASK)) { in phpdbg_decode_input_op()
84 } else if (ZEND_VM_OP_THIS == (flags & ZEND_VM_OP_MASK)) { in phpdbg_decode_input_op()
86 } else if (ZEND_VM_OP_NEXT == (flags & ZEND_VM_OP_MASK)) { in phpdbg_decode_input_op()
99 uint32_t flags = zend_get_opcode_flags(opline->opcode); in phpdbg_decode_opline() local
148 (!(PHPDBG_G(flags) & PHPDBG_IS_QUIET) || in phpdbg_print_opline_ex()
149 (PHPDBG_G(flags) & PHPDBG_IS_STEPPING) || in phpdbg_print_opline_ex()
[all …]
/PHP-7.2/sapi/fpm/fpm/events/
H A Dkqueue.c164 int flags = EV_ADD; in fpm_event_kqueue_add() local
166 if (ev->flags & FPM_EV_EDGE) { in fpm_event_kqueue_add()
167 flags = flags | EV_CLEAR; in fpm_event_kqueue_add()
170 EV_SET(&k, ev->fd, EVFILT_READ, flags, 0, 0, (void *)ev); in fpm_event_kqueue_add()
189 int flags = EV_DELETE; in fpm_event_kqueue_remove() local
191 if (ev->flags & FPM_EV_EDGE) { in fpm_event_kqueue_remove()
192 flags = flags | EV_CLEAR; in fpm_event_kqueue_remove()
195 EV_SET(&k, ev->fd, EVFILT_READ, flags, 0, 0, (void *)ev); in fpm_event_kqueue_remove()
/PHP-7.2/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-7.2/sapi/fpm/fpm/
H A Dfpm_sockets.h35 int flags = fcntl(fd, F_GETFL); in fd_set_blocked() local
37 if (flags < 0) { in fd_set_blocked()
42 flags &= ~O_NONBLOCK; in fd_set_blocked()
44 flags |= O_NONBLOCK; in fd_set_blocked()
46 return fcntl(fd, F_SETFL, flags); in fd_set_blocked()
/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_debug.c56 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 …]
/PHP-7.2/ext/openssl/tests/
H A Dtls_wrapper.phpt11 $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);

Completed in 54 milliseconds

12345678910>>...23