Lines Matching refs:alias_len

1189 int phar_free_alias(phar_archive_data *phar, char *alias, int alias_len TSRMLS_DC) /* {{{ */  in phar_free_alias()
1212 …ar_archive_data **archive, char *fname, int fname_len, char *alias, int alias_len, char **error TS… in phar_get_archive() argument
1229 if (alias && alias_len) { in phar_get_archive()
1231 …har)->is_temporary_alias && (alias_len != PHAR_G(last_phar)->alias_len || memcmp(PHAR_G(last_phar)… in phar_get_archive()
1239 …(last_phar)->alias_len && SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), PHAR_G(last_p… in phar_get_archive()
1240 …_hash_del(&(PHAR_GLOBALS->phar_alias_map), PHAR_G(last_phar)->alias, PHAR_G(last_phar)->alias_len); in phar_get_archive()
1243 …zend_hash_add(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, (void*)&(*archive), sizeof(phar_a… in phar_get_archive()
1245 PHAR_G(last_alias_len) = alias_len; in phar_get_archive()
1251 …if (alias && alias_len && PHAR_G(last_phar) && alias_len == PHAR_G(last_alias_len) && !memcmp(alia… in phar_get_archive()
1257 if (alias && alias_len) { in phar_get_archive()
1258 ahash = zend_inline_hash_func(alias, alias_len); in phar_get_archive()
1259 …if (SUCCESS == zend_hash_quick_find(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, ahash, (voi… in phar_get_archive()
1265 if (SUCCESS == phar_free_alias(*fd_ptr, alias, alias_len TSRMLS_CC)) { in phar_get_archive()
1278 PHAR_G(last_alias_len) = alias_len; in phar_get_archive()
1283 …if (PHAR_G(manifest_cached) && SUCCESS == zend_hash_quick_find(&cached_alias, alias, alias_len, ah… in phar_get_archive()
1298 if (alias && alias_len) { in phar_get_archive()
1299 …if (!fd->is_temporary_alias && (alias_len != fd->alias_len || memcmp(fd->alias, alias, alias_len))… in phar_get_archive()
1306 …if (fd->alias_len && SUCCESS == zend_hash_find(&(PHAR_GLOBALS->phar_alias_map), fd->alias, fd->ali… in phar_get_archive()
1307 zend_hash_del(&(PHAR_GLOBALS->phar_alias_map), fd->alias, fd->alias_len); in phar_get_archive()
1310 …zend_hash_quick_add(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, ahash, (void*)&fd, sizeof(p… in phar_get_archive()
1317 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1328 if (!fd->is_temporary_alias && alias && alias_len) { in phar_get_archive()
1329 if (alias_len != fd->alias_len || memcmp(fd->alias, alias, alias_len)) { in phar_get_archive()
1341 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1353 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1365 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
1389 if (alias && alias_len) { in phar_get_archive()
1390 …zend_hash_quick_add(&(PHAR_GLOBALS->phar_alias_map), alias, alias_len, ahash, (void*)&fd, sizeof(p… in phar_get_archive()
1399 PHAR_G(last_alias_len) = fd->alias_len; in phar_get_archive()
2312 phar->alias = estrndup(phar->alias, phar->alias_len);
2377 …if (newpphar[0]->alias_len && FAILURE == zend_hash_add(&(PHAR_GLOBALS->phar_alias_map), newpphar[0…