Home
last modified time | relevance | path

Searched refs:actual_alias (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/phar/
H A Dzip.c237 char *p = buf, *ext, *actual_alias = NULL; in phar_parse_zipfile() local
671 actual_alias = NULL; in phar_parse_zipfile()
676 if (!entry.uncompressed_filesize || !actual_alias) { in phar_parse_zipfile()
703 actual_alias = NULL; in phar_parse_zipfile()
708 if (!entry.uncompressed_filesize || !actual_alias) { in phar_parse_zipfile()
725 actual_alias = NULL; in phar_parse_zipfile()
759 if (actual_alias) { in phar_parse_zipfile()
766 efree(actual_alias); in phar_parse_zipfile()
778 efree(actual_alias); in phar_parse_zipfile()
784 …mydata->alias = entry.is_persistent ? pestrndup(actual_alias, mydata->alias_len, 1) : actual_alias; in phar_parse_zipfile()
[all …]
H A Dtar.c207 char buf[512], *actual_alias = NULL, *p; in phar_parse_tarfile() local
531 …if (!actual_alias && entry.filename_len == sizeof(".phar/alias.txt")-1 && !strncmp(entry.filename,… in phar_parse_tarfile()
563 actual_alias = pestrndup(buf, size, myphar->is_persistent); in phar_parse_tarfile()
564 myphar->alias = actual_alias; in phar_parse_tarfile()
658 if (actual_alias) { in phar_parse_tarfile()
663 …if (NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_alias_map)), actual_alias, myphar->alia… in phar_parse_tarfile()
664 if (SUCCESS != phar_free_alias(fd_ptr, actual_alias, myphar->alias_len)) { in phar_parse_tarfile()
673 zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), actual_alias, myphar->alias_len, myphar); in phar_parse_tarfile()

Completed in 11 milliseconds