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