/PHP-8.2/ext/phar/ |
H A D | phar_object.c | 1180 if ((is_data && !phar_data->is_data) || (!is_data && phar_data->is_data)) { in PHP_METHOD() 1192 is_data = phar_data->is_data; in PHP_METHOD() 1217 phar_obj->archive->is_data = is_data; in PHP_METHOD() 2113 pphar->is_data = phar->is_data; in phar_rename_archive() 2222 phar->is_data = source->is_data; in phar_convert_to_other() 2325 int is_data; in PHP_METHOD() local 2416 is_data = phar_obj->archive->is_data; in PHP_METHOD() 2419 phar_obj->archive->is_data = is_data; in PHP_METHOD() 2436 int is_data; in PHP_METHOD() local 2526 is_data = phar_obj->archive->is_data; in PHP_METHOD() [all …]
|
H A D | phar_internal.h | 319 uint32_t is_data:1; member 533 …ename(char *fname, size_t fname_len, char *alias, size_t alias_len, bool is_data, uint32_t options… 534 …ename(char *fname, size_t fname_len, char *alias, size_t alias_len, bool is_data, uint32_t options… 538 …_phar(char *fname, size_t fname_len, char *alias, size_t alias_len, bool is_data, uint32_t options… 576 …fname_len, char *alias, size_t alias_len, phar_archive_data** pphar, int is_data, uint32_t compres… 577 …te_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_data, uint32_t options… 582 …te_zip(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_data, uint32_t options… 586 … *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() 524 if (!is_data) { in phar_open_parsed_phar() 1359 if (!PHAR_G(readonly) || (*test)->is_data) { in phar_open_or_create_filename() 1410 if ((*pphar)->is_data || !PHAR_G(readonly)) { in phar_create_or_parse_filename() 1430 if (PHAR_G(readonly) && !is_data) { in phar_create_or_parse_filename() 1482 if (is_data) { in phar_create_or_parse_filename() 1485 mydata->is_data = 1; in phar_create_or_parse_filename() 1544 int ret, is_data = 0; in phar_open_from_filename() local 1551 is_data = 1; in phar_open_from_filename() 2012 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 617 myphar->is_data = 0; in phar_parse_tarfile() 619 myphar->is_data = 1; in phar_parse_tarfile() 623 if (!myphar->is_data && PHAR_G(require_hash) && !myphar->signature) { in phar_parse_tarfile() 996 if (phar->is_data) { in phar_tar_flush() 1223 if (!phar->is_data || phar->sig_flags) { in phar_tar_flush()
|
H A D | zip.c | 714 mydata->is_data = 0; in phar_parse_zipfile() 716 mydata->is_data = 1; in phar_parse_zipfile() 720 if (!mydata->is_data && PHAR_G(require_hash) && !mydata->signature) { in phar_parse_zipfile() 796 …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 799 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_zip() 809 phar->is_data = is_data; in phar_open_or_create_zip() 1151 if (!phar->is_data || phar->sig_flags) { in phar_zip_applysignature() 1253 if (phar->is_data) { in phar_zip_flush() 1441 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() 701 if (PHAR_G(readonly) && (!pphar || !pphar->is_data)) { in phar_wrapper_unlink() 766 if (PHAR_G(readonly) && (!pfrom || !pfrom->is_data)) { in phar_wrapper_rename() 783 if (PHAR_G(readonly) && (!pto || !pto->is_data)) { in phar_wrapper_rename()
|
H A D | dirstream.c | 419 if (PHAR_G(readonly) && (!phar || !phar->is_data)) { in phar_wrapper_mkdir() 554 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()
|