Home
last modified time | relevance | path

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

12345678910>>...20

/PHP-5.6/Zend/
H A Dzend_constants.h35 int flags; member
41 #define REGISTER_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name), (fla… argument
42 …fine REGISTER_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name), … argument
43 …fine REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), … argument
44 …e REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name),… argument
45 …ine REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)… argument
55 #define REGISTER_MAIN_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name),… argument
56 …REGISTER_MAIN_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name), … argument
57 …REGISTER_MAIN_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), … argument
58 …ISTER_MAIN_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name),… argument
[all …]
/PHP-5.6/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-5.6/ext/zip/lib/
H A Dzip_extra_field_api.c125 if (flags & ZIP_FL_LOCAL) in zip_file_extra_field_get()
131 if (ef->flags & flags & ZIP_EF_BOTH) { in zip_file_extra_field_get()
168 if (flags & ZIP_FL_LOCAL) in zip_file_extra_field_get_by_id()
192 if (flags & ZIP_FL_LOCAL) in zip_file_extra_fields_count()
198 if (ef->flags & flags & ZIP_EF_BOTH) in zip_file_extra_fields_count()
221 if (flags & ZIP_FL_LOCAL) in zip_file_extra_fields_count_by_id()
227 if (ef->id == ef_id && (ef->flags & flags & ZIP_EF_BOTH)) in zip_file_extra_fields_count_by_id()
272 if (ef->id == ef_id && (ef->flags & flags & ZIP_EF_BOTH)) { in zip_file_extra_field_set()
287 if (flags & ZIP_EF_LOCAL) in zip_file_extra_field_set()
312 if ((ef->flags & ZIP_EF_BOTH) == (flags & ZIP_EF_BOTH)) { in zip_file_extra_field_set()
[all …]
H A Dzip_extra_field.c81 if ((ef->flags & flags & ZIP_EF_BOTH) && ((ef->id == id) || (id == ZIP_EXTRA_FIELD_ALL))) { in _zip_ef_delete_by_id()
83 ef->flags &= ~(flags & ZIP_EF_BOTH); in _zip_ef_delete_by_id()
84 if ((ef->flags & ZIP_EF_BOTH) == 0) { in _zip_ef_delete_by_id()
134 if (ef->id == id && (ef->flags & flags & ZIP_EF_BOTH)) { in _zip_ef_get_by_id()
173 tt->flags |= (from->flags & ZIP_EF_BOTH); in _zip_ef_merge()
200 ef->flags = flags; in _zip_ef_new()
241 if ((ef2=_zip_ef_new(fid, flen, p, flags)) == NULL) { in _zip_ef_parse()
291 _zip_ef_size(const struct zip_extra_field *ef, zip_flags_t flags) in _zip_ef_size() argument
297 if (ef->flags & flags & ZIP_EF_BOTH) in _zip_ef_size()
307 _zip_ef_write(const struct zip_extra_field *ef, zip_flags_t flags, FILE *f) in _zip_ef_write() argument
[all …]
H A Dzip_name_locate.c46 zip_name_locate(struct zip *za, const char *fname, zip_flags_t flags) in zip_name_locate() argument
48 return _zip_name_locate(za, fname, flags, &za->error); in zip_name_locate()
54 _zip_name_locate(struct zip *za, const char *fname, zip_flags_t flags, struct zip_error *error) in _zip_name_locate() argument
68 cmp = (flags & ZIP_FL_NOCASE) ? strcasecmp : strcmp; in _zip_name_locate()
71 fn = _zip_get_name(za, i, flags, error); in _zip_name_locate()
77 if (flags & ZIP_FL_NODIR) { in _zip_name_locate()
H A Dzip_get_name.c43 zip_get_name(struct zip *za, zip_uint64_t idx, zip_flags_t flags) in zip_get_name() argument
45 return _zip_get_name(za, idx, flags, &za->error); in zip_get_name()
51 _zip_get_name(struct zip *za, zip_uint64_t idx, zip_flags_t flags, struct zip_error *error) in _zip_get_name() argument
56 if ((de=_zip_get_dirent(za, idx, flags, error)) == NULL) in _zip_get_name()
59 if ((str=_zip_string_get(de->filename, NULL, flags, error)) == NULL) in _zip_get_name()
/PHP-5.6/ext/pcre/pcrelib/sljit/
H A DsljitNativeSPARC_32.c36 #define ARG2(flags, src2) ((flags & SRC2_IMM) ? IMM(src2) : S2(src2)) argument
79 …return push_inst(compiler, XNOR | (flags & SET_FLAGS) | D(dst) | S1(0) | S2(src2), DR(dst) | (flag… in emit_single_op()
87 …FAIL_IF(push_inst(compiler, OR | (flags & SET_FLAGS) | D(dst) | S1(0) | IMM(32), UNMOVABLE_INS | ( 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()
103 …return push_inst(compiler, SUB | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(d… in emit_single_op()
106 …return push_inst(compiler, SUBC | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(… in emit_single_op()
110 if (!(flags & SET_FLAGS)) in emit_single_op()
117 …return push_inst(compiler, AND | (flags & SET_FLAGS) | D(dst) | S1(src1) | ARG2(flags, src2), DR(d… in emit_single_op()
120 …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_64.c212 if (flags & ALT_FORM1) in emit_single_op()
217 if (flags & ALT_FORM1) { in emit_single_op()
222 if (flags & ALT_FORM2) { in emit_single_op()
227 if (flags & ALT_FORM3) { in emit_single_op()
259 if (flags & ALT_FORM2) in emit_single_op()
261 if (flags & ALT_FORM3) in emit_single_op()
266 if (flags & ALT_FORM4) in emit_single_op()
268 if (flags & ALT_FORM5) in emit_single_op()
275 if (flags & ALT_FORM6) in emit_single_op()
294 if (flags & ALT_FORM2) in emit_single_op()
[all …]
H A DsljitNativePPC_32.c98 if (flags & ALT_FORM1) { in emit_single_op()
103 if (flags & ALT_FORM2) { in emit_single_op()
108 if (flags & ALT_FORM3) { in emit_single_op()
112 if (flags & ALT_FORM4) { in emit_single_op()
122 if (flags & ALT_FORM1) { in emit_single_op()
137 if (flags & ALT_FORM2) in emit_single_op()
139 if (flags & ALT_FORM3) in emit_single_op()
144 if (flags & ALT_FORM4) in emit_single_op()
146 if (flags & ALT_FORM5) in emit_single_op()
152 if (flags & ALT_FORM6) in emit_single_op()
[all …]
H A DsljitNativeARM_T2_32.c521 flags &= ~ARG1_IMM; in emit_op_imm()
798 #define IS_WORD_SIZE(flags) (!(flags & (BYTE_SIZE | HALF_SIZE))) argument
902 flags &= ~UPDATE; in getput_arg_fast()
1021 flags &= ~UPDATE; in getput_arg()
1059 flags &= ~UPDATE; in getput_arg()
1338 flags = WORD_SIZE; in sljit_emit_op1()
1341 flags = BYTE_SIZE; in sljit_emit_op1()
1388 flags = 0; in sljit_emit_op1()
1432 flags |= ARG2_IMM; in sljit_emit_op1()
1503 flags |= ARG1_IMM; in sljit_emit_op2()
[all …]
H A DsljitNativeMIPS_common.c752 if ((flags & MEM_MASK) <= GPR_REG && (flags & LOAD_DATA)) { in getput_arg()
924 flags |= REG_DEST; in emit_op()
1087 # define flags 0 in sljit_emit_op1() macro
1179 # undef flags in sljit_emit_op1()
1189 # define flags 0 in sljit_emit_op2() macro
1247 # undef flags in sljit_emit_op2()
1297 # define flags 0 in sljit_emit_fop1_convw_fromd() macro
1330 # define flags 0 in sljit_emit_fop1_convd_fromw() macro
1359 # undef flags in sljit_emit_fop1_convd_fromw()
1692 jump->flags |= flags; in sljit_emit_jump()
[all …]
H A DsljitNativeSPARC_common.c258 jump->flags |= PATCH_B; in detect_jump_type()
657 flags |= REG_DEST; in emit_op()
662 flags |= SLOW_DEST; in emit_op()
664 if (flags & IMM_OP) { in emit_op()
667 flags |= SRC2_IMM; in emit_op()
673 flags |= SRC2_IMM; in emit_op()
700 flags |= SLOW_SRC1; in emit_op()
707 flags |= REG2_SOURCE; in emit_op()
728 flags |= SLOW_SRC2; in emit_op()
1113 flags |= SLOW_SRC1; in sljit_emit_fop2()
[all …]
/PHP-5.6/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-5.6/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-5.6/ext/filter/
H A Dsanitizing_filters.c185 php_filter_strip(value, flags); in php_filter_string()
190 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_string()
193 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_string()
196 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_string()
222 php_filter_strip(value, flags); in php_filter_encoded()
233 php_filter_strip(value, flags); in php_filter_special_chars()
241 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_special_chars()
275 php_filter_strip(value, flags); in php_filter_unsafe_raw()
277 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_unsafe_raw()
280 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_unsafe_raw()
[all …]
/PHP-5.6/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-5.6/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-5.6/ext/standard/
H A Dscanf.c338 flags = 0; in ValidateFormat()
348 flags |= SCAN_SUPPRESS; in ValidateFormat()
407 flags |= SCAN_WIDTH; in ValidateFormat()
595 int flags; in php_sscanf_internal() local
668 flags = 0; in php_sscanf_internal()
709 flags |= SCAN_SUPPRESS; in php_sscanf_internal()
803 flags |= SCAN_NOSKIP; in php_sscanf_internal()
812 flags |= SCAN_NOSKIP; in php_sscanf_internal()
969 flags |= SCAN_XOK; in php_sscanf_internal()
974 flags |= SCAN_XOK; in php_sscanf_internal()
[all …]
/PHP-5.6/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-5.6/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-5.6/sapi/fpm/fpm/
H A Dfpm_sockets.h33 int flags = fcntl(fd, F_GETFL); in fd_set_blocked() local
35 if (flags < 0) { in fd_set_blocked()
40 flags &= ~O_NONBLOCK; in fd_set_blocked()
42 flags |= O_NONBLOCK; in fd_set_blocked()
44 return fcntl(fd, F_SETFL, flags); in fd_set_blocked()
/PHP-5.6/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-5.6/ext/mysqlnd/
H A Dmysqlnd_debug.c66 unsigned int flags = self->flags; in MYSQLND_METHOD() local
86 if (flags & MYSQLND_DEBUG_DUMP_PID) { in MYSQLND_METHOD()
90 if (flags & MYSQLND_DEBUG_DUMP_TIME) { in MYSQLND_METHOD()
119 if (flags & MYSQLND_DEBUG_DUMP_FILE) { in MYSQLND_METHOD()
123 if (flags & MYSQLND_DEBUG_DUMP_LINE) { in MYSQLND_METHOD()
142 if (flags & MYSQLND_DEBUG_FLUSH) { in MYSQLND_METHOD()
164 unsigned int flags = self->flags; in MYSQLND_METHOD() local
184 if (flags & MYSQLND_DEBUG_DUMP_PID) { in MYSQLND_METHOD()
245 if (flags & MYSQLND_DEBUG_FLUSH) { in MYSQLND_METHOD()
441 if (!(self->flags & MYSQLND_DEBUG_FLUSH) && (self->flags & MYSQLND_DEBUG_PROFILE_CALLS)) { in MYSQLND_METHOD()
[all …]

Completed in 69 milliseconds

12345678910>>...20