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

12345678

/PHP_TRUNK/sapi/fpm/fpm/
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/ext/zip/lib/
H A Dzip_fdopen.c45 unsigned int flags; local
52 flags = (unsigned int)_flags;
54 if (flags & ZIP_TRUNCATE) {
74 return _zip_open(NULL, fp, flags, zep);
H A Dzip_file_add.c47 zip_file_add(struct zip *za, const char *name, struct zip_source *source, zip_flags_t flags) argument
54 return _zip_file_replace(za, ZIP_UINT64_MAX, name, source, flags);
H A Dzip_file_get_comment.c42 zip_file_get_comment(struct zip *za, zip_uint64_t idx, zip_uint32_t *lenp, zip_flags_t flags) argument
48 if ((de=_zip_get_dirent(za, idx, flags, NULL)) == NULL)
51 if ((str=_zip_string_get(de->comment, &len, flags, &za->error)) == NULL)
H A Dzip_file_rename.c43 zip_file_rename(struct zip *za, zip_uint64_t idx, const char *name, zip_flags_t flags) argument
69 return _zip_set_name(za, idx, name, flags);
H A Dzip_file_replace.c41 zip_file_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source, zip_flags_t flags) argument
48 if (_zip_file_replace(za, idx, NULL, source, flags) == -1)
60 _zip_file_replace(struct zip *za, zip_uint64_t idx, const char *name, struct zip_source *source, zip_flags_t flags) argument
73 if (flags & ZIP_FL_OVERWRITE)
74 i = _zip_name_locate(za, name, flags, NULL);
84 if (name && _zip_set_name(za, idx, name, flags) != 0) {
H A Dzip_file_set_comment.c44 const char *comment, zip_uint16_t len, zip_flags_t flags)
64 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, flags, &za->error)) == NULL)
66 if ((flags & ZIP_FL_ENCODING_ALL) == ZIP_FL_ENC_GUESS && _zip_guess_encoding(cstr, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_UTF8_GUESSED)
43 zip_file_set_comment(struct zip *za, zip_uint64_t idx, const char *comment, zip_uint16_t len, zip_flags_t flags) argument
H A Dzip_file_set_external_attributes.c37 zip_file_set_external_attributes(struct zip *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t opsys, zip_uint32_t attributes) argument
H A Dzip_fopen.c41 zip_fopen(struct zip *za, const char *fname, zip_flags_t flags) argument
45 if ((idx=zip_name_locate(za, fname, flags)) < 0)
48 return zip_fopen_index_encrypted(za, (zip_uint64_t)idx, flags, za->default_password);
H A Dzip_fopen_encrypted.c41 zip_fopen_encrypted(struct zip *za, const char *fname, zip_flags_t flags, const char *password) argument
45 if ((idx=zip_name_locate(za, fname, flags)) < 0)
48 return zip_fopen_index_encrypted(za, (zip_uint64_t)idx, flags, password);
H A Dzip_get_archive_comment.c43 zip_get_archive_comment(struct zip *za, int *lenp, zip_flags_t flags) argument
49 if ((flags & ZIP_FL_UNCHANGED) || (za->comment_changes == NULL))
54 if ((str=_zip_string_get(comment, &len, flags, &za->error)) == NULL)
H A Dzip_get_archive_flag.c41 zip_get_archive_flag(struct zip *za, zip_flags_t flag, zip_flags_t flags) argument
45 fl = (flags & ZIP_FL_UNCHANGED) ? za->flags : za->ch_flags;
H A Dzip_get_file_comment.c42 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags) argument
47 if ((s=zip_file_get_comment(za, idx, &len, (zip_flags_t)flags)) != NULL) {
H A Dzip_get_name.c43 zip_get_name(struct zip *za, zip_uint64_t idx, zip_flags_t flags) argument
45 return _zip_get_name(za, idx, flags, &za->error);
51 _zip_get_name(struct zip *za, zip_uint64_t idx, zip_flags_t flags, struct zip_error *error) argument
56 if ((de=_zip_get_dirent(za, idx, flags, error)) == NULL)
59 if ((str=_zip_string_get(de->filename, NULL, flags, error)) == NULL)
H A Dzip_get_num_entries.c41 zip_get_num_entries(struct zip *za, zip_flags_t flags) argument
48 if (flags & ZIP_FL_UNCHANGED) {
H A Dzip_name_locate.c46 zip_name_locate(struct zip *za, const char *fname, zip_flags_t flags) argument
48 return _zip_name_locate(za, fname, flags, &za->error);
54 _zip_name_locate(struct zip *za, const char *fname, zip_flags_t flags, struct zip_error *error) argument
68 cmp = (flags & ZIP_FL_NOCASE) ? strcasecmp : strcmp;
71 fn = _zip_get_name(za, i, flags, error);
77 if (flags & ZIP_FL_NODIR) {
H A Dzip_set_file_compression.c42 zip_int32_t method, zip_uint32_t flags)
66 /* TODO: revisit this when flags are supported, since they may require a recompression */
41 zip_set_file_compression(struct zip *za, zip_uint64_t idx, zip_int32_t method, zip_uint32_t flags) argument
H A Dzip_set_name.c44 _zip_set_name(struct zip *za, zip_uint64_t idx, const char *name, zip_flags_t flags) argument
63 if ((str=_zip_string_new((const zip_uint8_t *)name, (zip_uint16_t)strlen(name), flags, &za->error)) == NULL)
65 if ((flags & ZIP_FL_ENCODING_ALL) == ZIP_FL_ENC_GUESS && _zip_guess_encoding(str, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_UTF8_GUESSED)
71 /* TODO: encoding flags needed for CP437? */
H A Dzip_source_zip.c45 zip_flags_t flags, zip_uint64_t start, zip_int64_t len)
56 flags |= ZIP_FL_COMPRESSED;
58 flags &= ~ZIP_FL_COMPRESSED;
60 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.c41 zip_stat(struct zip *za, const char *fname, zip_flags_t flags, struct zip_stat *st) argument
45 if ((idx=zip_name_locate(za, fname, flags)) < 0)
48 return zip_stat_index(za, (zip_uint64_t)idx, flags, st);
H A Dzip_stat_index.c41 zip_stat_index(struct zip *za, zip_uint64_t index, zip_flags_t flags, argument
47 if ((de=_zip_get_dirent(za, index, flags, NULL)) == NULL)
50 if ((name=zip_get_name(za, index, flags)) == NULL)
54 if ((flags & ZIP_FL_UNCHANGED) == 0
H A Dzip_fopen_index.c45 zip_fopen_index(struct zip *za, zip_uint64_t index, zip_flags_t flags) argument
47 return zip_fopen_index_encrypted(za, index, flags, za->default_password);
H A Dzip_file_get_external_attributes.c37 zip_file_get_external_attributes(struct zip *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t *opsys, zip_uint32_t *attributes) argument
41 if ((de=_zip_get_dirent(za, idx, flags, NULL)) == NULL)
/PHP_TRUNK/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, (int)string_len, olestring, (int)string_len);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_sigio_win32.h28 uint64_t *flags; member in struct:win32_sigio_watcher_data

Completed in 47 milliseconds

12345678