Home
last modified time | relevance | path

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

12345678910>>...18

/PHP-5.3/Zend/
H A Dzend_constants.h35 int flags; member
41 …fine REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), … argument
42 …e REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name),… argument
43 …ine REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)… argument
44 …ER_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), sizeof(name), (… argument
46 …NSTANT(ns, name, lval, flags) zend_register_long_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_… argument
48 …ONSTANT(ns, name, str, flags) zend_register_string_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_N… argument
51 …REGISTER_MAIN_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), … argument
52 …ISTER_MAIN_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name),… argument
53 …EGISTER_MAIN_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)… argument
[all …]
H A Dzend_constants.c32 if (!(c->flags & CONST_PERSISTENT)) { in free_zend_constant()
42 if (!(c->flags & CONST_PERSISTENT)) { in copy_zend_constant()
64 return (c->flags & CONST_PERSISTENT) ? 0 : 1; in clean_non_persistent_constant_full()
142 c.flags = CONST_PERSISTENT; in zend_register_standard_constants()
183 c.flags = flags; in zend_register_long_constant()
197 c.flags = flags; in zend_register_double_constant()
212 c.flags = flags; in zend_register_stringl_constant()
236 if (c->flags & CONST_CS) { in zend_get_constant()
378 if ((c->flags & CONST_CS) == 0) { in zend_get_constant_ex()
423 if (!(c->flags & CONST_CS)) { in zend_register_constant()
[all …]
/PHP-5.3/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.3/ext/pcre/pcrelib/
H A Dpcre_fullinfo.c101 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE; in pcre_fullinfo()
121 (extra_data->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 && 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()
[all …]
/PHP-5.3/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.3/ext/zip/lib/
H A Dzip_name_locate.c43 zip_name_locate(struct zip *za, const char *fname, int flags) in zip_name_locate() argument
45 return _zip_name_locate(za, fname, flags, &za->error); in zip_name_locate()
51 _zip_name_locate(struct zip *za, const char *fname, int flags, in _zip_name_locate() argument
66 if ((flags & ZIP_FL_UNCHANGED) && za->cdir == NULL) { in _zip_name_locate()
71 cmp = (flags & ZIP_FL_NOCASE) ? strcmpi : strcmp; in _zip_name_locate()
73 n = (flags & ZIP_FL_UNCHANGED) ? za->cdir->nentry : za->nentry; in _zip_name_locate()
75 if (flags & ZIP_FL_UNCHANGED) in _zip_name_locate()
78 fn = _zip_get_name(za, i, flags, error); in _zip_name_locate()
84 if (flags & ZIP_FL_NODIR) { in _zip_name_locate()
H A Dzip_get_archive_flag.c41 zip_get_archive_flag(struct zip *za, int flag, int flags) in zip_get_archive_flag() argument
45 fl = (flags & ZIP_FL_UNCHANGED) ? za->flags : za->ch_flags; in zip_get_archive_flag()
H A Dzip_stat.c41 zip_stat(struct zip *za, const char *fname, int flags, struct zip_stat *st) in zip_stat() argument
45 if ((idx=zip_name_locate(za, fname, flags)) < 0) in zip_stat()
48 return zip_stat_index(za, idx, flags, st); in zip_stat()
H A Dzip_get_name.c41 zip_get_name(struct zip *za, zip_uint64_t idx, int flags) in zip_get_name() argument
43 return _zip_get_name(za, idx, flags, &za->error); in zip_get_name()
49 _zip_get_name(struct zip *za, zip_uint64_t idx, int flags, in _zip_get_name() argument
57 if ((flags & ZIP_FL_UNCHANGED) == 0) { in _zip_get_name()
/PHP-5.3/ext/filter/
H A Dsanitizing_filters.c116 if (! ((flags & FILTER_FLAG_STRIP_LOW) || (flags & FILTER_FLAG_STRIP_HIGH)) ) { in php_filter_strip()
185 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()
274 php_filter_strip(value, flags); in php_filter_unsafe_raw()
276 if (flags & FILTER_FLAG_ENCODE_AMP) { in php_filter_unsafe_raw()
[all …]
/PHP-5.3/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 …]
H A Ddualiterator.inc32 private $flags;
38 * @param flags iteration flags
45 $this->flags = $flags;
62 /** @param flags new flags
64 function setFlags($flags)
66 $this->flags = $flags;
69 /** @return current flags
73 return $this->flags;
95 switch($this->flags & 0x0F)
109 /** @return key value depending on KEY_* flags
[all …]
/PHP-5.3/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 …]
H A Dmultipleiterator.inc25 private $flags;
40 * @param flags MIT_* flags
45 $this->flags = $flags;
48 /** @return current flags MIT_* */
51 return $this->flags;
54 /** @param $flags new flags. */
55 public function setFlags($flags)
57 $this->flags = $flags;
168 if ($this->flags & self::MIT_KEYS_ASSOC)
182 else if ($this->flags & self::MIT_NEED_ALL)
[all …]
/PHP-5.3/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.3/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.3/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.3/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.3/ext/sqlite/libsqlite/src/
H A Dvdbe.c198 int fg = pStack->flags; in hardStringify()
221 int fg = pStack->flags; in hardDynamicify()
684 pTos->flags = MEM_Int; in sqliteVdbeExec()
1011 if( ((pTos->flags | pNos->flags) & MEM_Null)!=0 ){ in sqliteVdbeExec()
1016 }else if( (pTos->flags & pNos->flags & MEM_Int)==MEM_Int ){ in sqliteVdbeExec()
1162 if( (pTos->flags | pNos->flags) & MEM_Null ){ in sqliteVdbeExec()
1412 ft = pTos->flags; in sqliteVdbeExec()
1413 fn = pNos->flags; in sqliteVdbeExec()
1568 if( (pNos->flags | pTos->flags) & MEM_Null ){ in sqliteVdbeExec()
2031 int flags = pRec->flags; in sqliteVdbeExec() local
[all …]
/PHP-5.3/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()
H A Dzlog.c101 void zlog_ex(const char *function, int line, int flags, const char *fmt, ...) /* {{{ */ in zlog_ex() argument
119 external_logger(flags & ZLOG_LEVEL_MASK, buf, len); in zlog_ex()
124 if ((flags & ZLOG_LEVEL_MASK) < zlog_level) { in zlog_ex()
133 …len += snprintf(buf, buf_size, "[%s] %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], funct… in zlog_ex()
135 len += snprintf(buf, buf_size, "[%s] ", level_names[flags & ZLOG_LEVEL_MASK]); in zlog_ex()
146 …len += snprintf(buf + len, buf_size - len, "%s: pid %d, %s(), line %d: ", level_names[flags & ZLOG… in zlog_ex()
148 …len += snprintf(buf + len, buf_size - len, "%s: %s(), line %d: ", level_names[flags & ZLOG_LEVEL_M… in zlog_ex()
151 len += snprintf(buf + len, buf_size - len, "%s: ", level_names[flags & ZLOG_LEVEL_MASK]); in zlog_ex()
169 if (flags & ZLOG_HAVE_ERRNO) { in zlog_ex()
194 …if (zlog_fd != STDERR_FILENO && zlog_fd != -1 && !launched && (flags & ZLOG_LEVEL_MASK) >= ZLOG_NO… in zlog_ex()
/PHP-5.3/ext/fileinfo/libmagic/
H A Dfsmagic.c95 int mime = ms->flags & MAGIC_MIME; in file_fsmagic()
98 if (ms->flags & MAGIC_APPLE) in file_fsmagic()
108 if (ms->flags & MAGIC_ERROR) { in file_fsmagic()
117 if (ms->flags & MAGIC_ERROR) { in file_fsmagic()
152 if ((ms->flags & MAGIC_DEVICES) != 0) { in file_fsmagic()
182 if((ms->flags & MAGIC_DEVICES) != 0) in file_fsmagic()
203 if (ms->flags & MAGIC_ERROR) { in file_fsmagic()
243 if ((ms->flags & MAGIC_DEVICES) == 0 && sb->st_size == 0) { in file_fsmagic()
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_field_seek.phpt15 if ($flags & MYSQLI_NOT_NULL_FLAG)
18 if ($flags & MYSQLI_PRI_KEY_FLAG)
27 if ($flags & MYSQLI_BLOB_FLAG)
30 if ($flags & MYSQLI_UNSIGNED_FLAG)
42 if ($flags & MYSQLI_SET_FLAG)
45 if ($flags & MYSQLI_NUM_FLAG)
51 if ($flags & MYSQLI_GROUP_FLAG)
146 [%u|b%"flags"]=>
175 [%u|b%"flags"]=>
204 [%u|b%"flags"]=>
[all …]

Completed in 43 milliseconds

12345678910>>...18