Searched defs:flags (Results 1 - 25 of 129) sorted by relevance

123456

/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_fopen_index_encrypted.c49 zip_fopen_index_encrypted(struct zip *za, zip_uint64_t fileno, int flags,
64 if ((flags & ZIP_FL_UNCHANGED) == 0
75 if (flags & ZIP_FL_ENCRYPTED)
76 flags |= ZIP_FL_COMPRESSED;
78 zip_stat_index(za, fileno, flags, &st);
81 if ((flags & ZIP_FL_ENCRYPTED) == 0) {
96 if ((flags & ZIP_FL_COMPRESSED) == 0) {
135 if ((flags & ZIP_FL_COMPRESSED) == 0
47 zip_fopen_index_encrypted(struct zip *za, zip_uint64_t fileno, int flags, const char *password) 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_file_comment.c43 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags)
50 if ((flags & ZIP_FL_UNCHANGED)
41 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags) argument
H A Dzip_get_file_extra.c41 zip_get_file_extra(struct zip *za, zip_uint64_t idx, int *lenp, int flags) argument
48 if ((flags & ZIP_FL_UNCHANGED)
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_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_source_deflate.c67 zip_uint16_t cm, int flags)
84 if (flags & ZIP_CODEC_ENCODE) {
92 ((flags & ZIP_CODEC_ENCODE)
64 zip_source_deflate(struct zip *za, struct zip_source *src, zip_uint16_t cm, int flags) argument
H A Dzip_source_zip.c57 int flags, zip_uint64_t start, zip_int64_t len)
73 if ((flags & ZIP_FL_UNCHANGED) == 0
82 if (start == 0 && len == -1 && (flags & ZIP_FL_RECOMPRESS) == 0)
83 flags |= ZIP_FL_COMPRESSED;
85 flags &= ~ZIP_FL_COMPRESSED;
94 if (zip_stat_index(srcza, srcidx, flags, &p->st) < 0
95 || (p->zf=zip_fopen_index(srcza, srcidx, flags)) == NULL) {
105 if ((flags & ZIP_FL_COMPRESSED) == 0) {
54 zip_source_zip(struct zip *za, struct zip *srcza, zip_uint64_t srcidx, int flags, zip_uint64_t start, zip_int64_t len) 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_stat_index.c43 zip_stat_index(struct zip *za, zip_uint64_t index, int flags,
53 if ((name=zip_get_name(za, index, flags)) == NULL)
57 if ((flags & ZIP_FL_UNCHANGED) == 0
41 zip_stat_index(struct zip *za, zip_uint64_t index, int flags, struct zip_stat *st) argument
/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 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/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_5_5/ext/fileinfo/libmagic/
H A Dprint.c75 file_fmttime(uint64_t v, int flags, char *buf) argument
81 if (flags & FILE_T_WINDOWS) {
87 if (flags & FILE_T_LOCAL) {
/PHP_5_5/ext/pdo_sqlite/
H A Dsqlite_statement.c282 zval *flags; local
294 MAKE_STD_ZVAL(flags);
295 array_init(flags);
307 add_next_index_string(flags, "blob", 1);
329 add_assoc_zval(return_value, "flags", 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...]
H A Dzend_generators.h56 /* ZEND_GENERATOR_* flags */
57 zend_uchar flags; member in struct:_zend_generator
/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/com_dotnet/
H A Dcom_olechar.c36 DWORD flags = codepage == CP_UTF8 ? 0 : MB_PRECOMPOSED | MB_ERR_INVALID_CHARS; local
41 string_len = MultiByteToWideChar(codepage, flags, string, -1, NULL, 0);
52 ok = MultiByteToWideChar(codepage, flags, string, string_len, olestring, string_len);

Completed in 30 milliseconds

123456