/PHP-5.5/ext/zip/ |
H A D | php_zip.h | 70 #define ZIPARCHIVE_ME(name, arg_info, flags) ZEND_FENTRY(name, c_ziparchive_ ##name, arg_info, flag… argument
|
/PHP-5.5/ext/zip/lib/ |
H A D | zip_fdopen.c | 41 zip_fdopen(int fd_orig, int flags, int *zep) in zip_fdopen() argument 61 return _zip_open(NULL, fp, flags, ZIP_AFL_RDONLY, zep); in zip_fdopen()
|
H A D | zip_fopen.c | 41 zip_fopen(struct zip *za, const char *fname, int flags) in zip_fopen() argument 45 if ((idx=zip_name_locate(za, fname, flags)) < 0) in zip_fopen() 48 return zip_fopen_index_encrypted(za, idx, flags, za->default_password); in zip_fopen()
|
H A D | zip_fopen_encrypted.c | 41 zip_fopen_encrypted(struct zip *za, const char *fname, int flags, in zip_fopen_encrypted() argument 46 if ((idx=zip_name_locate(za, fname, flags)) < 0) in zip_fopen_encrypted() 49 return zip_fopen_index_encrypted(za, idx, flags, password); in zip_fopen_encrypted()
|
H A D | zip_fopen_index.c | 45 zip_fopen_index(struct zip *za, zip_uint64_t fileno, int flags) in zip_fopen_index() argument 47 return zip_fopen_index_encrypted(za, fileno, flags, za->default_password); in zip_fopen_index()
|
H A D | zip_fopen_index_encrypted.c | 47 zip_fopen_index_encrypted(struct zip *za, zip_uint64_t fileno, int flags, in zip_fopen_index_encrypted() argument 62 if ((flags & ZIP_FL_UNCHANGED) == 0 in zip_fopen_index_encrypted() 73 if (flags & ZIP_FL_ENCRYPTED) in zip_fopen_index_encrypted() 74 flags |= ZIP_FL_COMPRESSED; in zip_fopen_index_encrypted() 76 zip_stat_index(za, fileno, flags, &st); in zip_fopen_index_encrypted() 79 if ((flags & ZIP_FL_ENCRYPTED) == 0) { in zip_fopen_index_encrypted() 94 if ((flags & ZIP_FL_COMPRESSED) == 0) { in zip_fopen_index_encrypted() 133 if ((flags & ZIP_FL_COMPRESSED) == 0 in zip_fopen_index_encrypted()
|
H A D | zip_get_archive_comment.c | 41 zip_get_archive_comment(struct zip *za, int *lenp, int flags) in zip_get_archive_comment() argument 43 if ((flags & ZIP_FL_UNCHANGED) in zip_get_archive_comment()
|
H A D | zip_get_archive_flag.c | 41 zip_get_archive_flag(struct zip *za, int flag, int flags) in zip_get_archive_flag() argument 45 fl = (flags & ZIP_FL_UNCHANGED) ? za->flags : za->ch_flags; in zip_get_archive_flag()
|
H A D | zip_get_file_comment.c | 41 zip_get_file_comment(struct zip *za, zip_uint64_t idx, int *lenp, int flags) in zip_get_file_comment() argument 48 if ((flags & ZIP_FL_UNCHANGED) in zip_get_file_comment()
|
H A D | zip_get_file_extra.c | 41 zip_get_file_extra(struct zip *za, zip_uint64_t idx, int *lenp, int flags) in zip_get_file_extra() argument 48 if ((flags & ZIP_FL_UNCHANGED) in zip_get_file_extra()
|
H A D | zip_get_name.c | 41 zip_get_name(struct zip *za, zip_uint64_t idx, int flags) in zip_get_name() argument 43 return _zip_get_name(za, idx, flags, &za->error); in zip_get_name() 49 _zip_get_name(struct zip *za, zip_uint64_t idx, int flags, in _zip_get_name() argument 57 if ((flags & ZIP_FL_UNCHANGED) == 0) { in _zip_get_name()
|
H A D | zip_get_num_entries.c | 41 zip_get_num_entries(struct zip *za, int flags) in zip_get_num_entries() argument 46 if (flags & ZIP_FL_UNCHANGED) { in zip_get_num_entries()
|
H A D | zip_name_locate.c | 43 zip_name_locate(struct zip *za, const char *fname, int flags) in zip_name_locate() argument 45 return _zip_name_locate(za, fname, flags, &za->error); in zip_name_locate() 51 _zip_name_locate(struct zip *za, const char *fname, int flags, in _zip_name_locate() argument 66 if ((flags & ZIP_FL_UNCHANGED) && za->cdir == NULL) { in _zip_name_locate() 71 cmp = (flags & ZIP_FL_NOCASE) ? strcmpi : strcmp; in _zip_name_locate() 73 n = (flags & ZIP_FL_UNCHANGED) ? za->cdir->nentry : za->nentry; in _zip_name_locate() 75 if (flags & ZIP_FL_UNCHANGED) in _zip_name_locate() 78 fn = _zip_get_name(za, i, flags, error); in _zip_name_locate() 84 if (flags & ZIP_FL_NODIR) { in _zip_name_locate()
|
H A D | zip_new.c | 67 za->flags = za->ch_flags = 0; in _zip_new()
|
H A D | zip_open.c | 61 zip_open(const char *fn, int flags, int *zep) in zip_open() argument 65 if (flags & ZIP_OVERWRITE) { in zip_open() 69 switch (_zip_file_exists(fn, flags, zep)) { in zip_open() 71 if (!(flags & ZIP_OVERWRITE)) { in zip_open() 85 return _zip_open(fn, fp, flags, 0, zep); in zip_open() 138 za->ch_flags = za->flags; in _zip_open() 170 int flags, struct zip_error *error) in _zip_readcdir() argument 379 za->flags |= ZIP_AFL_TORRENT; in _zip_check_torrentzip() 491 if (flags & ZIP_CREATE || flags & ZIP_OVERWRITE) in _zip_file_exists() 498 else if ((flags & ZIP_EXCL)) { in _zip_file_exists() [all …]
|
H A D | zip_source_deflate.c | 65 zip_uint16_t cm, int flags) in zip_source_deflate() argument 82 if (flags & ZIP_CODEC_ENCODE) { in zip_source_deflate() 90 ((flags & ZIP_CODEC_ENCODE) in zip_source_deflate()
|
H A D | zip_source_pkware.c | 69 zip_uint16_t em, int flags, const char *password) in zip_source_pkware() argument 78 if (flags & ZIP_CODEC_ENCODE) { in zip_source_pkware()
|
H A D | zip_source_zip.c | 55 int flags, zip_uint64_t start, zip_int64_t len) in zip_source_zip() argument 71 if ((flags & ZIP_FL_UNCHANGED) == 0 in zip_source_zip() 80 if (start == 0 && len == -1 && (flags & ZIP_FL_RECOMPRESS) == 0) in zip_source_zip() 81 flags |= ZIP_FL_COMPRESSED; in zip_source_zip() 83 flags &= ~ZIP_FL_COMPRESSED; in zip_source_zip() 92 if (zip_stat_index(srcza, srcidx, flags, &p->st) < 0 in zip_source_zip() 93 || (p->zf=zip_fopen_index(srcza, srcidx, flags)) == NULL) { in zip_source_zip() 103 if ((flags & ZIP_FL_COMPRESSED) == 0) { in zip_source_zip()
|
H A D | zip_stat.c | 41 zip_stat(struct zip *za, const char *fname, int flags, struct zip_stat *st) in zip_stat() argument 45 if ((idx=zip_name_locate(za, fname, flags)) < 0) in zip_stat() 48 return zip_stat_index(za, idx, flags, st); in zip_stat()
|
H A D | zip_stat_index.c | 41 zip_stat_index(struct zip *za, zip_uint64_t index, int flags, in zip_stat_index() argument 51 if ((name=zip_get_name(za, index, flags)) == NULL) in zip_stat_index() 55 if ((flags & ZIP_FL_UNCHANGED) == 0 in zip_stat_index()
|
H A D | zip_unchange_archive.c | 49 za->ch_flags = za->flags; in zip_unchange_archive()
|
H A D | zipint.h | 188 unsigned int flags; /* archive global flags */ member
|
H A D | zip.h | 201 zip_uint32_t flags; /* reserved for future use */ member
|
H A D | zip_close.c | 580 || za->ch_flags != za->flags) in _zip_changed()
|
/PHP-5.5/ext/xmlrpc/libxmlrpc/ |
H A D | xml_element.c | 324 … char* xml_elem_entity_escape(const char* buf, int old_len, int *newlen, XML_ELEM_ESCAPING flags) { in xml_elem_entity_escape() argument 340 if( should_escape(*bufcopy, flags) ) { in xml_elem_entity_escape() 354 if(should_escape(*bufcopy, flags)) { in xml_elem_entity_escape()
|