Lines Matching refs:newfile

3402 	char *oldfile, *newfile, *error;  in PHP_METHOD()  local
3408 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &oldfile, &oldfile_len, &newfile, &newfile_len) =… in PHP_METHOD()
3416 "Cannot copy \"%s\" to \"%s\", phar is read-only", oldfile, newfile); in PHP_METHOD()
3423 …ot be copied to file \"%s\", cannot copy Phar meta-file in %s", oldfile, newfile, phar_obj->archiv… in PHP_METHOD()
3427 if (newfile_len >= sizeof(".phar")-1 && !memcmp(newfile, ".phar", sizeof(".phar")-1)) { in PHP_METHOD()
3430 …be copied to file \"%s\", cannot copy to Phar meta-file in %s", oldfile, newfile, phar_obj->archiv… in PHP_METHOD()
3436 …"file \"%s\" cannot be copied to file \"%s\", file does not exist in %s", oldfile, newfile, phar_o… in PHP_METHOD()
3440 if (zend_hash_str_exists(&phar_obj->archive->manifest, newfile, (uint32_t) newfile_len)) { in PHP_METHOD()
3441 …if (NULL != (temp = zend_hash_str_find_ptr(&phar_obj->archive->manifest, newfile, (uint32_t) newfi… in PHP_METHOD()
3443 …copied to file \"%s\", file must not already exist in phar %s", oldfile, newfile, phar_obj->archiv… in PHP_METHOD()
3449 if (phar_path_check(&newfile, &tmp_len, &pcr_error) > pcr_is_ok) { in PHP_METHOD()
3451 …"file \"%s\" contains invalid characters %s, cannot be copied from \"%s\" in phar %s", newfile, pc… in PHP_METHOD()
3469 newentry.filename = estrndup(newfile, newfile_len); in PHP_METHOD()
3483 …zend_hash_str_add_mem(&oldentry->phar->manifest, newfile, newfile_len, &newentry, sizeof(phar_entr… in PHP_METHOD()