Lines Matching refs:new_file
3445 zend_string *new_file = NULL; in PHP_METHOD() local
3448 if (zend_parse_parameters(ZEND_NUM_ARGS(), "PP", &old_file, &new_file) == FAILURE) { in PHP_METHOD()
3456 "Cannot copy \"%s\" to \"%s\", phar is read-only", ZSTR_VAL(old_file), ZSTR_VAL(new_file)); in PHP_METHOD()
3463 …\"%s\", cannot copy Phar meta-file in %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD()
3467 if (zend_string_starts_with_literal(new_file, ".phar")) { in PHP_METHOD()
3470 …s\", cannot copy to Phar meta-file in %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD()
3476 …o file \"%s\", file does not exist in %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD()
3480 …if (NULL != (temp = zend_hash_find_ptr(&phar_obj->archive->manifest, new_file)) && !temp->is_delet… in PHP_METHOD()
3482 …, file must not already exist in phar %s", ZSTR_VAL(old_file), ZSTR_VAL(new_file), phar_obj->archi… in PHP_METHOD()
3486 size_t tmp_len = ZSTR_LEN(new_file); in PHP_METHOD()
3487 char *tmp_new_file = ZSTR_VAL(new_file); in PHP_METHOD()
3490 …valid characters %s, cannot be copied from \"%s\" in phar %s", ZSTR_VAL(new_file), pcr_error, ZSTR… in PHP_METHOD()
3521 …zend_hash_str_add_mem(&oldentry->phar->manifest, ZSTR_VAL(new_file), tmp_len, &newentry, sizeof(ph… in PHP_METHOD()