Searched refs:flags (Results 1 - 25 of 248) sorted by relevance

12345678910

/PHP_5_5/ext/spl/examples/
H A Dcallbackfilteriterator.inc31 private $flags; /**< flags (REPLACE) */
40 * @param flags any of 0, REPLACE
42 public function __construct(Iterator $it, $callback, $mode = self::USE_VALUE, $flags = 0)
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 */
[all...]
/PHP_5_5/ext/spl/internal/
H A Dregexiterator.inc22 const USE_KEY = 0x00000001; /**< If present in $flags the key is
34 private $flags; /**< special flags (self::USE_KEY) */
35 private $preg_flags;/**< PREG_* flags, see preg_match(), preg_match_all(),
48 * @param flags special flags (self::USE_KEY)
49 * @param preg_flags global PREG_* flags, see preg_match(),
52 function __construct(Iterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) {
55 $this->flags = $flags;
[all...]
H A Dmultipleiterator.inc25 private $flags;
40 * @param flags MIT_* flags
42 public function __construct($flags = self::MIT_NEED_ALL|self::MIT_KEYS_NUMERIC)
45 $this->flags = $flags;
48 /** @return current flags MIT_* */
51 return $this->flags;
54 /** @param $flags new flags
[all...]
/PHP_5_5/ext/zip/lib/
H A Dzip_fdopen.c43 zip_fdopen(int fd_orig, int flags, int *zep)
63 return _zip_open(NULL, fp, flags, ZIP_AFL_RDONLY, zep);
41 zip_fdopen(int fd_orig, int flags, int *zep) argument
H A Dzip_fopen.c43 zip_fopen(struct zip *za, const char *fname, int flags)
47 if ((idx=zip_name_locate(za, fname, flags)) < 0)
50 return zip_fopen_index_encrypted(za, idx, flags, za->default_password);
41 zip_fopen(struct zip *za, const char *fname, int flags) argument
H A Dzip_fopen_encrypted.c43 zip_fopen_encrypted(struct zip *za, const char *fname, int flags,
48 if ((idx=zip_name_locate(za, fname, flags)) < 0)
51 return zip_fopen_index_encrypted(za, idx, flags, password);
41 zip_fopen_encrypted(struct zip *za, const char *fname, int flags, const char *password) argument
H A Dzip_fopen_index.c47 zip_fopen_index(struct zip *za, zip_uint64_t fileno, int flags)
49 return zip_fopen_index_encrypted(za, fileno, flags, za->default_password);
45 zip_fopen_index(struct zip *za, zip_uint64_t fileno, int flags) argument
H A Dzip_get_archive_comment.c43 zip_get_archive_comment(struct zip *za, int *lenp, int flags)
45 if ((flags & ZIP_FL_UNCHANGED)
41 zip_get_archive_comment(struct zip *za, int *lenp, int flags) argument
H A Dzip_get_archive_flag.c43 zip_get_archive_flag(struct zip *za, int flag, int flags)
47 fl = (flags & ZIP_FL_UNCHANGED) ? za->flags : za->ch_flags;
41 zip_get_archive_flag(struct zip *za, int flag, int flags) argument
H A Dzip_get_name.c43 zip_get_name(struct zip *za, zip_uint64_t idx, int flags)
45 return _zip_get_name(za, idx, flags, &za->error);
52 _zip_get_name(struct zip *za, zip_uint64_t idx, int flags,
60 if ((flags & ZIP_FL_UNCHANGED) == 0) {
41 zip_get_name(struct zip *za, zip_uint64_t idx, int flags) argument
49 _zip_get_name(struct zip *za, zip_uint64_t idx, int flags, struct zip_error *error) argument
H A Dzip_get_num_entries.c43 zip_get_num_entries(struct zip *za, int flags)
48 if (flags & ZIP_FL_UNCHANGED) {
H A Dzip_name_locate.c45 zip_name_locate(struct zip *za, const char *fname, int flags)
47 return _zip_name_locate(za, fname, flags, &za->error);
54 _zip_name_locate(struct zip *za, const char *fname, int flags,
69 if ((flags & ZIP_FL_UNCHANGED) && za->cdir == NULL) {
74 cmp = (flags & ZIP_FL_NOCASE) ? strcmpi : strcmp;
76 n = (flags & ZIP_FL_UNCHANGED) ? za->cdir->nentry : za->nentry;
78 if (flags & ZIP_FL_UNCHANGED)
81 fn = _zip_get_name(za, i, flags, error);
87 if (flags & ZIP_FL_NODIR) {
43 zip_name_locate(struct zip *za, const char *fname, int flags) argument
51 _zip_name_locate(struct zip *za, const char *fname, int flags, struct zip_error *error) argument
H A Dzip_stat.c43 zip_stat(struct zip *za, const char *fname, int flags, struct zip_stat *st)
47 if ((idx=zip_name_locate(za, fname, flags)) < 0)
50 return zip_stat_index(za, idx, flags, st);
41 zip_stat(struct zip *za, const char *fname, int flags, struct zip_stat *st) argument
H A Dzip_unchange_archive.c51 za->ch_flags = za->flags;
/PHP_5_5/sapi/fpm/fpm/
H A Dfpm_events.h13 #define fpm_event_set_timer(ev, flags, cb, arg) fpm_event_set((ev), -1, (flags), (cb), (arg))
21 int flags; member in struct:fpm_event_s
45 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *, short, void *), void *arg);
H A Dzlog.h8 #define zlog(flags,...) zlog_ex(__func__, __LINE__, flags, __VA_ARGS__)
20 void zlog_ex(const char *function, int line, int flags, const char *fmt, ...)
H A Dfpm_sockets.h33 int flags = fcntl(fd, F_GETFL); local
35 if (flags < 0) {
40 flags &= ~O_NONBLOCK;
42 flags |= O_NONBLOCK;
44 return fcntl(fd, F_SETFL, flags);
/PHP_5_5/
H A Dsnapshot4 flags="DISTNAME=$1"
7 ${MAKE:-make} $flags -f build/build.mk snapshot
/PHP_5_5/win32/
H A Dfnmatch.c59 PHPAPI int fnmatch(const char *pattern, const char *string, int flags) argument
67 if ((flags & FNM_LEADING_DIR) && *string == '/')
73 if (*string == '/' && (flags & FNM_PATHNAME))
75 if (*string == '.' && (flags & FNM_PERIOD) &&
77 ((flags & FNM_PATHNAME) && *(string - 1) == '/')))
87 if (*string == '.' && (flags & FNM_PERIOD) &&
89 ((flags & FNM_PATHNAME) && *(string - 1) == '/')))
94 if (flags & FNM_PATHNAME)
95 return ((flags & FNM_LEADING_DIR) ||
100 else if (c == '/' && flags
153 rangematch(const char *pattern, char test, int flags) argument
[all...]
H A Dfnmatch.h52 PHPAPI int fnmatch(const char *pattern, const char *string, int flags);
/PHP_5_5/ext/mysql/tests/
H A Dconnect.inc24 function my_mysql_connect($host, $user, $passwd, $db, $port, $socket, $flags = NULL, $persistent = false) {
27 $flags = ($flags === NULL) ? $connect_flags : $flags;
35 $link = mysql_pconnect($host, $user, $passwd, $flags);
37 $link = mysql_connect($host, $user, $passwd, true, $flags);
/PHP_5_5/Zend/
H A Dzend_constants.h35 int flags; member in struct:_zend_constant
41 #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC)
42 #define REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name), (dval), (flags), module_number TSRMLS_CC)
43 #define REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name), (str), (flags), module_number TSRMLS_CC)
44 #define REGISTER_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), sizeof(name), (str), (len), (flags), module_number TSRMLS_CC)
46 #define REGISTER_NS_LONG_CONSTANT(ns, name, lval, flags) zend_register_long_constan
[all...]
/PHP_5_5/ext/mysqli/
H A Dmysqli_report.c32 /* {{{ proto bool mysqli_report(int flags)
36 long flags; local
39 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flags) == FAILURE) {
43 MyG(report_mode) = flags;
/PHP_5_5/sapi/fpm/fpm/events/
H A Dkqueue.c164 int flags = EV_ADD; local
166 if (ev->flags & FPM_EV_EDGE) {
167 flags = flags | EV_CLEAR;
170 EV_SET(&k, ev->fd, EVFILT_READ, flags, 0, 0, (void *)ev);
189 int flags = EV_DELETE; local
191 if (ev->flags & FPM_EV_EDGE) {
192 flags = flags | EV_CLEAR;
195 EV_SET(&k, ev->fd, EVFILT_READ, flags,
[all...]
/PHP_5_5/ext/pcre/pcrelib/
H A Dpcre_fullinfo.c87 if (extra_data != NULL && (extra_data->flags & PCRE_EXTRA_STUDY_DATA) != 0)
101 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
121 (extra_data->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 &&
139 ((re->flags & PCRE_FIRSTSET) != 0)? (int)re->first_char :
140 ((re->flags & PCRE_STARTLINE) != 0)? -1 : -2;
145 (re->flags & PCRE_FIRSTSET) != 0 ? re->first_char : 0;
150 ((re->flags & PCRE_FIRSTSET) != 0) ? 1 :
151 ((re->flags & PCRE_STARTLINE) != 0) ? 2 : 0;
159 (study != NULL && (study->flags & PCRE_STUDY_MAPPED) != 0)?
165 (study != NULL && (study->flags
[all...]

Completed in 44 milliseconds

12345678910