/PHP-8.0/ext/phar/ |
H A D | phar_object.c | 1186 if ((is_data && !phar_data->is_data) || (!is_data && phar_data->is_data)) { in PHP_METHOD() 1198 is_data = phar_data->is_data; in PHP_METHOD() 1223 phar_obj->archive->is_data = is_data; in PHP_METHOD() 2131 pphar->is_data = phar->is_data; in phar_rename_archive() 2240 phar->is_data = source->is_data; in phar_convert_to_other() 2340 int is_data; in PHP_METHOD() local 2431 is_data = phar_obj->archive->is_data; in PHP_METHOD() 2434 phar_obj->archive->is_data = is_data; in PHP_METHOD() 2451 int is_data; in PHP_METHOD() local 2541 is_data = phar_obj->archive->is_data; in PHP_METHOD() [all …]
|
H A D | phar_internal.h | 317 uint32_t is_data:1; member 535 …(char *fname, size_t fname_len, char *alias, size_t alias_len, zend_bool is_data, uint32_t options… 536 …(char *fname, size_t fname_len, char *alias, size_t alias_len, zend_bool is_data, uint32_t options… 540 …(char *fname, size_t fname_len, char *alias, size_t alias_len, zend_bool is_data, uint32_t options… 578 …fname_len, char *alias, size_t alias_len, phar_archive_data** pphar, int is_data, uint32_t compres… 579 …te_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_data, uint32_t options… 584 …te_zip(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_data, uint32_t options… 588 … *alias, size_t alias_len, uint32_t options, phar_archive_data** pphar, int is_data, char **error);
|
H A D | phar.c | 39 if (!phar->is_data) { in phar_set_writeable_bit() 535 if (!is_data) { in phar_open_parsed_phar() 1365 if (!PHAR_G(readonly) || (*test)->is_data) { in phar_open_or_create_filename() 1416 if ((*pphar)->is_data || !PHAR_G(readonly)) { in phar_create_or_parse_filename() 1436 if (PHAR_G(readonly) && !is_data) { in phar_create_or_parse_filename() 1488 if (is_data) { in phar_create_or_parse_filename() 1491 mydata->is_data = 1; in phar_create_or_parse_filename() 1550 int ret, is_data = 0; in phar_open_from_filename() local 1557 is_data = 1; in phar_open_from_filename() 2018 if (executable == 1 && !pphar->is_data) { in phar_detect_phar_fname_ext() [all …]
|
H A D | tar.c | 127 …te_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_data, uint32_t options… in phar_open_or_create_tar() argument 130 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_tar() 140 phar->is_data = is_data; in phar_open_or_create_tar() 210 …fname_len, char *alias, size_t alias_len, phar_archive_data** pphar, int is_data, uint32_t compres… in phar_parse_tarfile() argument 612 myphar->is_data = 0; in phar_parse_tarfile() 614 myphar->is_data = 1; in phar_parse_tarfile() 618 if (!myphar->is_data && PHAR_G(require_hash) && !myphar->signature) { in phar_parse_tarfile() 991 if (phar->is_data) { in phar_tar_flush() 1222 if (!phar->is_data || phar->sig_flags) { in phar_tar_flush()
|
H A D | zip.c | 690 mydata->is_data = 0; in phar_parse_zipfile() 692 mydata->is_data = 1; in phar_parse_zipfile() 696 if (!mydata->is_data && PHAR_G(require_hash) && !mydata->signature) { in phar_parse_zipfile() 772 …te_zip(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_data, uint32_t options… in phar_open_or_create_zip() argument 775 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_zip() 785 phar->is_data = is_data; in phar_open_or_create_zip() 1130 if (!phar->is_data || phar->sig_flags) { in phar_zip_applysignature() 1233 if (phar->is_data) { in phar_zip_flush() 1425 if (!phar->is_data && !phar->sig_flags) { in phar_zip_flush()
|
H A D | stream.c | 112 if (PHAR_G(readonly) && (!pphar || !pphar->is_data)) { in phar_parse_url() 690 if (PHAR_G(readonly) && (!pphar || !pphar->is_data)) { in phar_wrapper_unlink() 755 if (PHAR_G(readonly) && (!pfrom || !pfrom->is_data)) { in phar_wrapper_rename() 772 if (PHAR_G(readonly) && (!pto || !pto->is_data)) { in phar_wrapper_rename()
|
H A D | dirstream.c | 421 if (PHAR_G(readonly) && (!phar || !phar->is_data)) { in phar_wrapper_mkdir() 556 if (PHAR_G(readonly) && (!phar || !phar->is_data)) { in phar_wrapper_rmdir()
|
H A D | util.c | 364 if (for_write && PHAR_G(readonly) && !phar->is_data) { in phar_get_entry_data() 379 …ar, path, path_len, allow_dir, for_create && !PHAR_G(readonly) && !phar->is_data ? NULL : error, s… in phar_get_entry_data() 380 if (for_create && (!PHAR_G(readonly) || phar->is_data)) { in phar_get_entry_data() 386 …try_info(phar, path, path_len, for_create && !PHAR_G(readonly) && !phar->is_data ? NULL : error, s… in phar_get_entry_data() 387 if (for_create && (!PHAR_G(readonly) || phar->is_data)) { in phar_get_entry_data()
|