Searched refs:new_alias (Results 1 – 1 of 1) sorted by relevance
/php-src/ext/phar/ |
H A D | phar_object.c | 2702 zend_string *new_alias = NULL; in PHP_METHOD() local 2708 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &new_alias) == FAILURE) { in PHP_METHOD() 2735 if (zend_string_equals_cstr(new_alias, phar_obj->archive->alias, phar_obj->archive->alias_len)) { in PHP_METHOD() 2738 if (NULL != (fd_ptr = zend_hash_find_ptr(&(PHAR_G(phar_alias_map)), new_alias))) { in PHP_METHOD() 2739 …sed for archive \"%s\" and cannot be used for other archives", ZSTR_VAL(new_alias), fd_ptr->fname); in PHP_METHOD() 2740 if (SUCCESS == phar_free_alias(fd_ptr, ZSTR_VAL(new_alias), ZSTR_LEN(new_alias))) { in PHP_METHOD() 2748 if (!phar_validate_alias(ZSTR_VAL(new_alias), ZSTR_LEN(new_alias))) { in PHP_METHOD() 2750 "Invalid alias \"%s\" specified for phar \"%s\"", ZSTR_VAL(new_alias), phar_obj->archive->fname); in PHP_METHOD() 2767 phar_obj->archive->alias_len = ZSTR_LEN(new_alias); in PHP_METHOD() 2769 …phar_obj->archive->alias = pestrndup(ZSTR_VAL(new_alias), ZSTR_LEN(new_alias), phar_obj->archive->… in PHP_METHOD() [all …]
|
Completed in 13 milliseconds