Lines Matching refs:fname

229 int phar_parse_zipfile(php_stream *fp, char *fname, size_t fname_len, char *alias, size_t alias_len…  in phar_parse_zipfile()  argument
248 …4096, "phar error: unable to search for end of central directory in zip-based phar \"%s\"", fname); in phar_parse_zipfile()
259 …r: unable to read in data to search for end of central directory in zip-based phar \"%s\"", fname); in phar_parse_zipfile()
270 …error: split archives spanning multiple zips cannot be processed in zip-based phar \"%s\"", fname); in phar_parse_zipfile()
277 …chive, conflicting file count in end of central directory record in zip-based phar \"%s\"", fname); in phar_parse_zipfile()
293 …96, "phar error: corrupt zip archive, zip file comment truncated in zip-based phar \"%s\"", fname); in phar_parse_zipfile()
311 …ntf(error, 4096, "phar error: end of central directory not found in zip-based phar \"%s\"", fname); in phar_parse_zipfile()
316 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
318 phar_unixify_path_separators(mydata->fname, fname_len); in phar_parse_zipfile()
322 ext = strrchr(mydata->fname, '/'); in phar_parse_zipfile()
325 mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext); in phar_parse_zipfile()
327 mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1); in phar_parse_zipfile()
330 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext; in phar_parse_zipfile()
361 spprintf(error, 4096, "phar error: %s in zip-based phar \"%s\"", errmsg, mydata->fname); \ in phar_parse_zipfile()
363 pefree(mydata->fname, mydata->is_persistent); \ in phar_parse_zipfile()
383 spprintf(error, 4096, "phar error: %s in zip-based phar \"%s\"", errmsg, mydata->fname); \ in phar_parse_zipfile()
385 pefree(mydata->fname, mydata->is_persistent); \ in phar_parse_zipfile()
522 …ll(sigfile), mydata->sig_flags, sig + 8, entry.uncompressed_filesize - 8, fname, &mydata->signatur… in phar_parse_zipfile()
757 zend_hash_str_add_ptr(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len, mydata); in phar_parse_zipfile()
764 …ntf(error, 4096, "phar error: invalid alias \"%s\" in zip-based phar \"%s\"", actual_alias, fname); in phar_parse_zipfile()
767 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
776 …r error: Unable to add zip-based phar \"%s\" with implicit alias, alias is already in use", fname); in phar_parse_zipfile()
779 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
798 …r error: Unable to add zip-based phar \"%s\" with explicit alias, alias is already in use", fname); in phar_parse_zipfile()
800 zend_hash_str_del(&(PHAR_G(phar_fname_map)), mydata->fname, fname_len); in phar_parse_zipfile()
809 mydata->alias = pestrndup(mydata->fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
827 int phar_open_or_create_zip(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_da… in phar_open_or_create_zip() argument
830 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_zip()
854 …sts as a regular phar and must be deleted from disk prior to creating as a zip-based phar", fname); in phar_open_or_create_zip()
953 … open file contents of file \"%s\" in zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
964 …le to seek to start of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
989 …nable to gzip compress file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
991 …able to bzip2 compress file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1002 …y file for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1009 …le to seek to start of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1016 …file contents of file \"%s\" while creating new phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1039 …o start of file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1058 …e local file header of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1063 … entry for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1069 …y for directory \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1074 …y for directory \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1079 …y for directory \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1084 …y for directory \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1089 … entry for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1094 … entry for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1100 …issions file header of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1105 …issions file header of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1112 …compressed contents of file \"%s\" in zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1126 …e to write contents of file \"%s\" in zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1152 …ontents of file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1163 …omment for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply_int()
1231 …pprintf(pass->error, 0, "phar error: unable to write signature to zip-based phar %s", phar->fname); in phar_zip_applysignature()
1277 spprintf(error, 0, "internal error: attempt to flush cached zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1295 spprintf(error, 0, "unable to set alias in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1311 …if (FAILURE == phar_get_archive(&phar, phar->fname, phar->fname_len, phar->alias, phar->alias_len,… in phar_zip_flush()
1322 spprintf(error, 0, "illegal stub for zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1343 … spprintf(error, 0, "unable to create stub from string in new zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1363 … phar \"%s\", failed", user_stub ? "overwrite" : "create", user_stub ? " " : " new ", phar->fname); in phar_zip_flush()
1378 spprintf(error, 0, "unable to create stub in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1396 oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); in phar_zip_flush()
1410 …printf(error, 4096, "phar zip flush of \"%s\" failed: unable to open temporary file", phar->fname); in phar_zip_flush()
1440 spprintf(error, 4096, "phar zip flush of \"%s\" failed: %s", phar->fname, temperr); in phar_zip_flush()
1469 …tf(error, 4096, "phar zip flush of \"%s\" failed: unable to write central-directory", phar->fname); in phar_zip_flush()
1484 …r, 4096, "phar zip flush of \"%s\" failed: unable to write end of central-directory", phar->fname); in phar_zip_flush()
1491 …or, 4096, "phar zip flush of \"%s\" failed: unable to write metadata to zip comment", phar->fname); in phar_zip_flush()
1498 …r, 4096, "phar zip flush of \"%s\" failed: unable to write end of central-directory", phar->fname); in phar_zip_flush()
1522 …phar->fp = php_stream_open_wrapper(phar->fname, "w+b", IGNORE_URL|STREAM_MUST_SEEK|REPORT_ERRORS, … in phar_zip_flush()
1529 spprintf(error, 4096, "unable to open new phar \"%s\" for writing", phar->fname); in phar_zip_flush()