Lines Matching refs:alias_len
931 PHP_PHAR_API int phar_resolve_alias(char *alias, int alias_len, char **filename, int *filename_len … in phar_resolve_alias() argument
934 …&& SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, (void**)&fd_ptr)) { in phar_resolve_alias()
943 int phar_free_alias(phar_archive_data *phar, char *alias, int alias_len TSRMLS_DC) /* {{{ */ in phar_free_alias()
966 …ar_archive_data **archive, char *fname, int fname_len, char *alias, int alias_len, char **error TS… in phar_get_archive() argument
983 if (alias && alias_len) { in phar_get_archive()
985 …har)->is_temporary_alias && (alias_len != PHAR_G(last_phar)->alias_len || memcmp(PHAR_G(last_phar)… in phar_get_archive()
993 …(last_phar)->alias_len && SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), PHAR_G(last_p… in phar_get_archive()
994 …_hash_del(&(PHAR_GLOBALS->phar_alias_map), PHAR_G(last_phar)->alias, PHAR_G(last_phar)->alias_len); in phar_get_archive()
997 …zend_hash_add(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, (void*)&(*archive), sizeof(phar_a… in phar_get_archive()
999 PHAR_G(last_alias_len) = alias_len; in phar_get_archive()
1005 …if (alias && alias_len && PHAR_G(last_phar) && alias_len == PHAR_G(last_alias_len) && !memcmp(alia… in phar_get_archive()
1011 if (alias && alias_len) { in phar_get_archive()
1012 ahash = zend_inline_hash_func(alias, alias_len); in phar_get_archive()
1013 …if (SUCCESS == zend_hash_quick_find(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, ahash, (voi… in phar_get_archive()
1019 if (SUCCESS == phar_free_alias(*fd_ptr, alias, alias_len TSRMLS_CC)) { in phar_get_archive()
1034 PHAR_G(last_alias_len) = alias_len; in phar_get_archive()
1039 …if (PHAR_G(manifest_cached) && SUCCESS == zend_hash_quick_find(&cached_alias, alias, alias_len, ah… in phar_get_archive()
1054 if (alias && alias_len) { in phar_get_archive()
1055 …if (!fd->is_temporary_alias && (alias_len != fd->alias_len || memcmp(fd->alias, alias, alias_len))… in phar_get_archive()
1062 …if (fd->alias_len && SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), fd->alias, fd->ali… in phar_get_archive()
1063 zend_hash_del(&(PHAR_GLOBALS->phar_alias_map), fd->alias, fd->alias_len); in phar_get_archive()
1066 …zend_hash_quick_add(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, ahash, (void*)&fd, sizeof(p… in phar_get_archive()
1073 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1084 if (!fd->is_temporary_alias && alias && alias_len) { in phar_get_archive()
1085 if (alias_len != fd->alias_len || memcmp(fd->alias, alias, alias_len)) { in phar_get_archive()
1097 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1109 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1121 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1145 if (alias && alias_len) { in phar_get_archive()
1146 …zend_hash_quick_add(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, ahash, (void*)&fd, sizeof(p… in phar_get_archive()
1155 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
2064 phar->alias = estrndup(phar->alias, phar->alias_len);
2125 …if (newpphar[0]->alias_len && FAILURE == zend_hash_add(&(PHAR_GLOBALS->phar_alias_map), newpphar[0…