/PHP-7.0/Zend/ |
H A D | zend_constants.h | 36 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 D | zend_constants.c | 35 if (!(c->flags & CONST_PERSISTENT)) { in free_zend_constant() 56 if (!(c->flags & CONST_PERSISTENT)) { in copy_zend_constant() 170 c.flags = flags; in zend_register_null_constant() 181 c.flags = flags; in zend_register_bool_constant() 192 c.flags = flags; in zend_register_long_constant() 204 c.flags = flags; in zend_register_double_constant() 216 c.flags = flags; in zend_register_stringl_constant() 264 if (c->flags & CONST_CS) { in zend_get_constant_str() 285 if (c->flags & CONST_CS) { in zend_get_constant() 427 (c->flags & CONST_CS) != 0) { in zend_quick_get_constant() [all …]
|
/PHP-7.0/win32/ |
H A D | fnmatch.c | 94 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.0/ext/zip/lib/ |
H A D | zip_extra_field_api.c | 121 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 D | zip_name_locate.c | 44 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 D | zip_get_name.c | 41 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.0/ext/pcre/pcrelib/sljit/ |
H A D | sljitNativeSPARC_32.c | 36 #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 D | sljitNativePPC_64.c | 212 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 D | sljitNativePPC_32.c | 98 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 D | sljitNativeARM_T2_32.c | 521 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 …]
|
/PHP-7.0/ext/pcre/pcrelib/ |
H A D | pcre_fullinfo.c | 99 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE; in pcre_fullinfo() 138 ((re->flags & PCRE_STARTLINE) != 0)? -1 : -2; in pcre_fullinfo() 143 (re->flags & PCRE_FIRSTSET) != 0 ? re->first_char : 0; in pcre_fullinfo() 148 ((re->flags & PCRE_FIRSTSET) != 0) ? 1 : in pcre_fullinfo() 149 ((re->flags & PCRE_STARTLINE) != 0) ? 2 : 0; in pcre_fullinfo() 180 ((re->flags & PCRE_REQCHSET) != 0) ? re->req_char : 0; in pcre_fullinfo() 185 ((re->flags & PCRE_REQCHSET) != 0); in pcre_fullinfo() 208 *((int *)where) = (re->flags & PCRE_NOPARTIAL) == 0; in pcre_fullinfo() 212 *((int *)where) = (re->flags & PCRE_JCHANGED) != 0; in pcre_fullinfo() 216 *((int *)where) = (re->flags & PCRE_HASCRORLF) != 0; in pcre_fullinfo() [all …]
|
/PHP-7.0/ext/filter/tests/ |
H A D | 013.phpt | 2 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 D | 038.phpt | 9 $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.0/ext/filter/ |
H A D | sanitizing_filters.c | 192 php_filter_strip(value, flags); in php_filter_string() 197 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_string() 200 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_string() 203 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_string() 229 php_filter_strip(value, flags); in php_filter_encoded() 240 php_filter_strip(value, flags); in php_filter_special_chars() 248 if (flags & FILTER_FLAG_ENCODE_HIGH) { in php_filter_special_chars() 280 php_filter_strip(value, flags); in php_filter_unsafe_raw() 282 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_unsafe_raw() 285 if (flags & FILTER_FLAG_ENCODE_LOW) { in php_filter_unsafe_raw() [all …]
|
/PHP-7.0/ext/spl/examples/ |
H A D | callbackfilteriterator.inc | 31 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.0/ext/spl/internal/ |
H A D | regexiterator.inc | 34 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.0/ext/standard/ |
H A D | scanf.c | 337 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.0/ext/spl/tests/ |
H A D | recursive_tree_iterator_001.phpt | 28 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 D | recursive_tree_iterator_006.phpt | 38 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.0/sapi/phpdbg/ |
H A D | phpdbg_set.c | 30 #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 D | phpdbg_watch.c | 184 watch->flags = parent->flags; in phpdbg_create_refcounted_watchpoint() 203 int flags = 0; in phpdbg_add_watch_collision() local 205 if (((old->flags ^ watch->flags) & (PHPDBG_WATCH_NORMAL|PHPDBG_WATCH_IMPLICIT)) == 0) { in phpdbg_add_watch_collision() 209 flags = old->flags; in phpdbg_add_watch_collision() 216 if (flags & PHPDBG_WATCH_NORMAL) { in phpdbg_add_watch_collision() 228 old->flags = watch->flags; in phpdbg_add_watch_collision() 289 ref->flags = watch->flags; in phpdbg_create_reference_watch() 361 old_watch->flags |= watch->flags & (PHPDBG_WATCH_IMPLICIT | PHPDBG_WATCH_SIMPLE); in phpdbg_create_watchpoint() 407 watch->flags |= PHPDBG_WATCH_SIMPLE; in phpdbg_create_simple_watchpoint() 1049 if ((watch->flags & PHPDBG_WATCH_NORMAL) && (PHPDBG_G(flags) & PHPDBG_SHOW_REFCOUNTS)) { [all …]
|
/PHP-7.0/sapi/fpm/fpm/events/ |
H A D | kqueue.c | 164 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.0/sapi/fpm/fpm/ |
H A D | fpm_sockets.h | 33 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-7.0/ext/gd/tests/ |
H A D | types.phpt | 9 $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.0/ext/mysqlnd/ |
H A D | mysqlnd_debug.c | 57 unsigned int flags = self->flags; in MYSQLND_METHOD() local 76 if (flags & MYSQLND_DEBUG_DUMP_PID) { in MYSQLND_METHOD() 80 if (flags & MYSQLND_DEBUG_DUMP_TIME) { in MYSQLND_METHOD() 109 if (flags & MYSQLND_DEBUG_DUMP_FILE) { in MYSQLND_METHOD() 113 if (flags & MYSQLND_DEBUG_DUMP_LINE) { in MYSQLND_METHOD() 132 if (flags & MYSQLND_DEBUG_FLUSH) { in MYSQLND_METHOD() 154 unsigned int flags = self->flags; in MYSQLND_METHOD() local 173 if (flags & MYSQLND_DEBUG_DUMP_PID) { in MYSQLND_METHOD() 234 if (flags & MYSQLND_DEBUG_FLUSH) { in MYSQLND_METHOD() 429 if (!(self->flags & MYSQLND_DEBUG_FLUSH) && (self->flags & MYSQLND_DEBUG_PROFILE_CALLS)) { in MYSQLND_METHOD() [all …]
|