Lines Matching refs:alias_len
977 zend_result phar_free_alias(phar_archive_data *phar, char *alias, size_t alias_len) /* {{{ */ in phar_free_alias() argument
1000 …hive_data **archive, char *fname, size_t fname_len, char *alias, size_t alias_len, char **error) /… in phar_get_archive() argument
1016 if (alias && alias_len) { in phar_get_archive()
1018 …har)->is_temporary_alias && (alias_len != PHAR_G(last_phar)->alias_len || memcmp(PHAR_G(last_phar)… in phar_get_archive()
1026 …t_phar)->alias_len && NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_alias_map)), PHAR_G(l… in phar_get_archive()
1027 …nd_hash_str_del(&(PHAR_G(phar_alias_map)), PHAR_G(last_phar)->alias, PHAR_G(last_phar)->alias_len); in phar_get_archive()
1030 zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), alias, alias_len, *archive); in phar_get_archive()
1032 PHAR_G(last_alias_len) = alias_len; in phar_get_archive()
1038 …if (alias && alias_len && PHAR_G(last_phar) && alias_len == PHAR_G(last_alias_len) && !memcmp(alia… in phar_get_archive()
1044 if (alias && alias_len) { in phar_get_archive()
1045 if (NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_alias_map)), alias, alias_len))) { in phar_get_archive()
1051 if (SUCCESS == phar_free_alias(fd_ptr, alias, alias_len)) { in phar_get_archive()
1066 PHAR_G(last_alias_len) = alias_len; in phar_get_archive()
1071 …G(manifest_cached) && NULL != (fd_ptr = zend_hash_str_find_ptr(&cached_alias, alias, alias_len))) { in phar_get_archive()
1085 if (alias && alias_len) { in phar_get_archive()
1086 …if (!fd->is_temporary_alias && (alias_len != fd->alias_len || memcmp(fd->alias, alias, alias_len))… in phar_get_archive()
1093 …if (fd->alias_len && NULL != (fd_ptr = zend_hash_str_find_ptr(&(PHAR_G(phar_alias_map)), fd->alias… in phar_get_archive()
1094 zend_hash_str_del(&(PHAR_G(phar_alias_map)), fd->alias, fd->alias_len); in phar_get_archive()
1097 zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), alias, alias_len, fd); in phar_get_archive()
1104 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1115 if (!fd->is_temporary_alias && alias && alias_len) { in phar_get_archive()
1116 if (alias_len != fd->alias_len || memcmp(fd->alias, alias, alias_len)) { in phar_get_archive()
1128 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1140 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1152 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1175 if (alias && alias_len) { in phar_get_archive()
1176 zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), alias, alias_len, fd); in phar_get_archive()
1185 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
2086 phar->alias = estrndup(phar->alias, phar->alias_len); in phar_copy_cached_phar()
2132 …if (newpphar->alias_len && NULL == zend_hash_str_add_ptr(&(PHAR_G(phar_alias_map)), newpphar->alia… in phar_copy_on_write()