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

1234567891011>>

/PHP_TRUNK/sapi/fpm/fpm/
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_TRUNK/
H A Dsnapshot4 flags="DISTNAME=$1"
7 ${MAKE:-make} $flags -f build/build.mk snapshot
/PHP_TRUNK/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...]
/PHP_TRUNK/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_TRUNK/ext/zip/lib/
H A Dzip_fdopen.c47 unsigned int flags;
54 flags = (unsigned int)_flags;
56 if (flags & ZIP_TRUNCATE) {
76 return _zip_open(NULL, fp, flags, zep);
45 unsigned int flags; local
H A Dzip_file_add.c49 zip_file_add(struct zip *za, const char *name, struct zip_source *source, zip_flags_t flags)
56 return _zip_file_replace(za, ZIP_UINT64_MAX, name, source, flags);
47 zip_file_add(struct zip *za, const char *name, struct zip_source *source, zip_flags_t flags) argument
H A Dzip_file_get_comment.c44 zip_file_get_comment(struct zip *za, zip_uint64_t idx, zip_uint32_t *lenp, zip_flags_t flags)
50 if ((de=_zip_get_dirent(za, idx, flags, NULL)) == NULL)
53 if ((str=_zip_string_get(de->comment, &len, flags, &za->error)) == NULL)
42 zip_file_get_comment(struct zip *za, zip_uint64_t idx, zip_uint32_t *lenp, zip_flags_t flags) argument
H A Dzip_fopen.c43 zip_fopen(struct zip *za, const char *fname, zip_flags_t flags)
47 if ((idx=zip_name_locate(za, fname, flags)) < 0)
50 return zip_fopen_index_encrypted(za, (zip_uint64_t)idx, flags, za->default_password);
41 zip_fopen(struct zip *za, const char *fname, zip_flags_t flags) argument
H A Dzip_fopen_encrypted.c43 zip_fopen_encrypted(struct zip *za, const char *fname, zip_flags_t flags, const char *password)
47 if ((idx=zip_name_locate(za, fname, flags)) < 0)
50 return zip_fopen_index_encrypted(za, (zip_uint64_t)idx, flags, password);
41 zip_fopen_encrypted(struct zip *za, const char *fname, zip_flags_t flags, const char *password) argument
H A Dzip_get_archive_comment.c45 zip_get_archive_comment(struct zip *za, int *lenp, zip_flags_t flags)
51 if ((flags & ZIP_FL_UNCHANGED) || (za->comment_changes == NULL))
56 if ((str=_zip_string_get(comment, &len, flags, &za->error)) == NULL)
43 zip_get_archive_comment(struct zip *za, int *lenp, zip_flags_t flags) argument
H A Dzip_get_file_comment.c44 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags)
49 if ((s=zip_file_get_comment(za, idx, &len, (zip_flags_t)flags)) != NULL) {
42 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags) argument
H A Dzip_get_name.c45 zip_get_name(struct zip *za, zip_uint64_t idx, zip_flags_t flags)
47 return _zip_get_name(za, idx, flags, &za->error);
54 _zip_get_name(struct zip *za, zip_uint64_t idx, zip_flags_t flags, struct zip_error *error)
59 if ((de=_zip_get_dirent(za, idx, flags, error)) == NULL)
62 if ((str=_zip_string_get(de->filename, NULL, flags, error)) == NULL)
43 zip_get_name(struct zip *za, zip_uint64_t idx, zip_flags_t flags) argument
51 _zip_get_name(struct zip *za, zip_uint64_t idx, zip_flags_t flags, struct zip_error *error) argument
H A Dzip_get_num_entries.c43 zip_get_num_entries(struct zip *za, zip_flags_t flags)
50 if (flags & ZIP_FL_UNCHANGED) {
41 zip_get_num_entries(struct zip *za, zip_flags_t flags) argument
H A Dzip_name_locate.c48 zip_name_locate(struct zip *za, const char *fname, zip_flags_t flags)
50 return _zip_name_locate(za, fname, flags, &za->error);
57 _zip_name_locate(struct zip *za, const char *fname, zip_flags_t flags, struct zip_error *error)
71 cmp = (flags & ZIP_FL_NOCASE) ? strcasecmp : strcmp;
74 fn = _zip_get_name(za, i, flags, error);
80 if (flags & ZIP_FL_NODIR) {
46 zip_name_locate(struct zip *za, const char *fname, zip_flags_t flags) argument
54 _zip_name_locate(struct zip *za, const char *fname, zip_flags_t flags, struct zip_error *error) argument
H A Dzip_source_zip.c47 zip_flags_t flags, zip_uint64_t start, zip_int64_t len)
58 flags |= ZIP_FL_COMPRESSED;
60 flags &= ~ZIP_FL_COMPRESSED;
62 return _zip_source_zip_new(za, srcza, srcidx, flags, start, (zip_uint64_t)len, NULL);
44 zip_source_zip(struct zip *za, struct zip *srcza, zip_uint64_t srcidx, zip_flags_t flags, zip_uint64_t start, zip_int64_t len) argument
H A Dzip_stat.c43 zip_stat(struct zip *za, const char *fname, zip_flags_t flags, struct zip_stat *st)
47 if ((idx=zip_name_locate(za, fname, flags)) < 0)
50 return zip_stat_index(za, (zip_uint64_t)idx, flags, st);
41 zip_stat(struct zip *za, const char *fname, zip_flags_t flags, struct zip_stat *st) argument
H A Dzip_get_archive_flag.c43 zip_get_archive_flag(struct zip *za, zip_flags_t flag, zip_flags_t flags)
47 fl = (flags & ZIP_FL_UNCHANGED) ? za->flags : za->ch_flags;
41 zip_get_archive_flag(struct zip *za, zip_flags_t flag, zip_flags_t flags) argument
H A Dzip_extra_field_api.c43 zip_file_extra_field_delete(struct zip *za, zip_uint64_t idx, zip_uint16_t ef_idx, zip_flags_t flags)
47 if ((flags & ZIP_EF_BOTH) == 0) {
52 if (((flags & ZIP_EF_BOTH) == ZIP_EF_BOTH) && (ef_idx != ZIP_EXTRA_FIELD_ALL)) {
70 de->extra_fields = _zip_ef_delete_by_id(de->extra_fields, ZIP_EXTRA_FIELD_ALL, ef_idx, flags);
78 zip_file_extra_field_delete_by_id(struct zip *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_idx, zip_flags_t flags)
82 if ((flags & ZIP_EF_BOTH) == 0) {
87 if (((flags & ZIP_EF_BOTH) == ZIP_EF_BOTH) && (ef_idx != ZIP_EXTRA_FIELD_ALL)) {
105 de->extra_fields = _zip_ef_delete_by_id(de->extra_fields, ef_id, ef_idx, flags);
113 zip_file_extra_field_get(struct zip *za, zip_uint64_t idx, zip_uint16_t ef_idx, zip_uint16_t *idp, zip_uint16_t *lenp, zip_flags_t flags)
121 if ((flags
41 zip_file_extra_field_delete(struct zip *za, zip_uint64_t idx, zip_uint16_t ef_idx, zip_flags_t flags) argument
75 zip_file_extra_field_delete_by_id(struct zip *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_idx, zip_flags_t flags) argument
109 zip_file_extra_field_get(struct zip *za, zip_uint64_t idx, zip_uint16_t ef_idx, zip_uint16_t *idp, zip_uint16_t *lenp, zip_flags_t flags) argument
156 zip_file_extra_field_get_by_id(struct zip *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_idx, zip_uint16_t *lenp, zip_flags_t flags) argument
178 zip_file_extra_fields_count(struct zip *za, zip_uint64_t idx, zip_flags_t flags) argument
207 zip_file_extra_fields_count_by_id(struct zip *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_flags_t flags) argument
236 zip_file_extra_field_set(struct zip *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_idx, const zip_uint8_t *data, zip_uint16_t len, zip_flags_t flags) argument
[all...]
H A Dzip_fopen_index.c47 zip_fopen_index(struct zip *za, zip_uint64_t index, zip_flags_t flags)
49 return zip_fopen_index_encrypted(za, index, flags, za->default_password);
45 zip_fopen_index(struct zip *za, zip_uint64_t index, zip_flags_t flags) argument
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_fullinfo.c85 if (extra_data != NULL && (extra_data->flags & PCRE_EXTRA_STUDY_DATA) != 0)
99 if ((re->flags & PCRE_MODE) == 0) return PCRE_ERROR_BADMODE;
119 (extra_data->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 &&
137 ((re->flags & PCRE_FIRSTSET) != 0)? (int)re->first_char :
138 ((re->flags & PCRE_STARTLINE) != 0)? -1 : -2;
143 (re->flags & PCRE_FIRSTSET) != 0 ? re->first_char : 0;
148 ((re->flags & PCRE_FIRSTSET) != 0) ? 1 :
149 ((re->flags & PCRE_STARTLINE) != 0) ? 2 : 0;
157 (study != NULL && (study->flags & PCRE_STUDY_MAPPED) != 0)?
163 (study != NULL && (study->flags
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativePPC_32.c44 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, argument
60 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) {
65 else if ((flags & REG_DEST) && op == SLJIT_MOV_SB)
75 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) {
87 return push_inst(compiler, NOR | RC(flags) | S(src2) | A(dst) | B(src2));
91 return push_inst(compiler, NEG | OERC(flags) | D(dst) | A(src2));
95 return push_inst(compiler, CNTLZW | RC(flags) | S(src2) | A(dst));
98 if (flags & ALT_FORM1) {
103 if (flags & ALT_FORM2) {
108 if (flags
[all...]
H A DsljitNativeSPARC_32.c36 #define ARG2(flags, src2) ((flags & SRC2_IMM) ? IMM(src2) : S2(src2))
38 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, argument
48 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM));
55 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM));
56 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) {
68 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM));
69 if ((flags & (REG_DEST | REG2_SOURCE)) == (REG_DEST | REG2_SOURCE)) {
78 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM));
79 return push_inst(compiler, XNOR | (flags
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_report.c32 /* {{{ proto bool mysqli_report(int flags)
36 zend_long flags; local
39 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flags) == FAILURE) {
43 MyG(report_mode) = flags;
/PHP_TRUNK/Zend/
H A Dzend_constants.h36 int flags; member in struct:_zend_constant
40 #define REGISTER_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-1, (flags), module_number TSRMLS_CC)
41 #define REGISTER_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1, (bval), (flags), module_number TSRMLS_CC)
42 #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number TSRMLS_CC)
43 #define REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1, (dval), (flags), module_number TSRMLS_CC)
44 #define REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constan
[all...]

Completed in 56 milliseconds

1234567891011>>