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/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/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(), "l", &flags) == FAILURE) {
43 MyG(report_mode) = flags;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_sigio_win32.h28 uint64_t *flags; member in struct:win32_sigio_watcher_data
/PHP_TRUNK/ext/zip/lib/
H A Dzip_dir_add.c44 zip_dir_add(zip_t *za, const char *name, zip_flags_t flags) argument
79 idx = _zip_file_replace(za, ZIP_UINT64_MAX, s ? s : name, source, flags);
H A Dzip_file_add.c45 zip_file_add(zip_t *za, const char *name, zip_source_t *source, zip_flags_t flags) argument
52 return _zip_file_replace(za, ZIP_UINT64_MAX, name, source, flags);
H A Dzip_file_get_comment.c40 zip_file_get_comment(zip_t *za, zip_uint64_t idx, zip_uint32_t *lenp, zip_flags_t flags) argument
46 if ((de=_zip_get_dirent(za, idx, flags, NULL)) == NULL)
49 if ((str=_zip_string_get(de->comment, &len, flags, &za->error)) == NULL)
H A Dzip_file_get_external_attributes.c37 zip_file_get_external_attributes(zip_t *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)
H A Dzip_file_rename.c41 zip_file_rename(zip_t *za, zip_uint64_t idx, const char *name, zip_flags_t flags) argument
67 return _zip_set_name(za, idx, name, flags);
H A Dzip_file_replace.c39 zip_file_replace(zip_t *za, zip_uint64_t idx, zip_source_t *source, zip_flags_t flags) argument
46 if (_zip_file_replace(za, idx, NULL, source, flags) == -1)
57 _zip_file_replace(zip_t *za, zip_uint64_t idx, const char *name, zip_source_t *source, zip_flags_t flags) argument
70 if (flags & ZIP_FL_OVERWRITE)
71 i = _zip_name_locate(za, name, flags, NULL);
81 if (name && _zip_set_name(za, idx, name, flags) != 0) {
H A Dzip_file_set_comment.c42 const char *comment, zip_uint16_t len, zip_flags_t flags)
62 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, flags, &za->error)) == NULL)
64 if ((flags & ZIP_FL_ENCODING_ALL) == ZIP_FL_ENC_GUESS && _zip_guess_encoding(cstr, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_UTF8_GUESSED)
41 zip_file_set_comment(zip_t *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(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t opsys, zip_uint32_t attributes) argument
H A Dzip_file_set_mtime.c36 ZIP_EXTERN int zip_file_set_mtime(zip_t *za, zip_uint64_t idx, time_t mtime, zip_flags_t flags) argument
H A Dzip_fopen.c39 zip_fopen(zip_t *za, const char *fname, zip_flags_t flags) argument
43 if ((idx=zip_name_locate(za, fname, flags)) < 0)
46 return zip_fopen_index_encrypted(za, (zip_uint64_t)idx, flags, za->default_password);
H A Dzip_fopen_encrypted.c39 zip_fopen_encrypted(zip_t *za, const char *fname, zip_flags_t flags, const char *password) argument
43 if ((idx=zip_name_locate(za, fname, flags)) < 0)
46 return zip_fopen_index_encrypted(za, (zip_uint64_t)idx, flags, password);
H A Dzip_fopen_index.c43 zip_fopen_index(zip_t *za, zip_uint64_t index, zip_flags_t flags) argument
45 return zip_fopen_index_encrypted(za, index, flags, za->default_password);
H A Dzip_fopen_index_encrypted.c45 zip_fopen_index_encrypted(zip_t *za, zip_uint64_t index, zip_flags_t flags, argument
51 if ((src=_zip_source_zip_new(za, za, index, flags, 0, 0, password)) == NULL)
H A Dzip_get_archive_comment.c41 zip_get_archive_comment(zip_t *za, int *lenp, zip_flags_t flags) argument
47 if ((flags & ZIP_FL_UNCHANGED) || (za->comment_changes == NULL))
52 if ((str=_zip_string_get(comment, &len, flags, &za->error)) == NULL)
H A Dzip_get_archive_flag.c39 zip_get_archive_flag(zip_t *za, zip_flags_t flag, zip_flags_t flags) argument
43 fl = (flags & ZIP_FL_UNCHANGED) ? za->flags : za->ch_flags;
H A Dzip_get_file_comment.c40 zip_get_file_comment(zip_t *za, zip_uint64_t idx, int *lenp, int flags) argument
45 if ((s=zip_file_get_comment(za, idx, &len, (zip_flags_t)flags)) != NULL) {
H A Dzip_get_num_entries.c39 zip_get_num_entries(zip_t *za, zip_flags_t flags) argument
46 if (flags & ZIP_FL_UNCHANGED) {
H A Dzip_set_file_compression.c39 zip_set_file_compression(zip_t *za, zip_uint64_t idx, zip_int32_t method, zip_uint32_t flags) argument
63 /* TODO: revisit this when flags are supported, since they may require a recompression */
H A Dzip_source_zip.c43 zip_flags_t flags, zip_uint64_t start, zip_int64_t len)
54 flags |= ZIP_FL_COMPRESSED;
56 flags &= ~ZIP_FL_COMPRESSED;
58 return _zip_source_zip_new(za, srcza, srcidx, flags, start, (zip_uint64_t)len, NULL);
42 zip_source_zip(zip_t *za, zip_t *srcza, zip_uint64_t srcidx, zip_flags_t flags, zip_uint64_t start, zip_int64_t len) argument
H A Dzip_stat.c39 zip_stat(zip_t *za, const char *fname, zip_flags_t flags, zip_stat_t *st) argument
43 if ((idx=zip_name_locate(za, fname, flags)) < 0)
46 return zip_stat_index(za, (zip_uint64_t)idx, flags, st);
H A Dzip_stat_index.c39 zip_stat_index(zip_t *za, zip_uint64_t index, zip_flags_t flags, argument
45 if ((de=_zip_get_dirent(za, index, flags, NULL)) == NULL)
48 if ((name=zip_get_name(za, index, flags)) == NULL)
52 if ((flags & ZIP_FL_UNCHANGED) == 0

Completed in 46 milliseconds

12345678