Lines Matching refs:new_file
3430 zend_string *new_file = NULL; in PHP_METHOD() local
3433 if (zend_parse_parameters(ZEND_NUM_ARGS(), "PP", &old_file, &new_file) == FAILURE) { in PHP_METHOD()
3441 "Cannot copy \"%s\" to \"%s\", phar is read-only", ZSTR_VAL(old_file), ZSTR_VAL(new_file)); in PHP_METHOD()
3448 …\"%s\", cannot copy Phar meta-file in %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD()
3452 if (zend_string_starts_with_literal(new_file, ".phar")) { in PHP_METHOD()
3455 …s\", cannot copy to Phar meta-file in %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD()
3461 …o file \"%s\", file does not exist in %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD()
3465 …if (NULL != (temp = zend_hash_find_ptr(&phar_obj->archive->manifest, new_file)) && !temp->is_delet… in PHP_METHOD()
3467 …, file must not already exist in phar %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD()
3471 size_t tmp_len = ZSTR_LEN(new_file); in PHP_METHOD()
3472 char *tmp_new_file = ZSTR_VAL(new_file); in PHP_METHOD()
3475 …valid characters %s, cannot be copied from \"%s\" in phar %s", ZSTR_VAL(new_file), pcr_error, ZSTR… in PHP_METHOD()
3506 …zend_hash_str_add_mem(&oldentry->phar->manifest, ZSTR_VAL(new_file), tmp_len, &newentry, sizeof(ph… in PHP_METHOD()