Lines Matching refs:fname

166 int phar_parse_zipfile(php_stream *fp, char *fname, int fname_len, char *alias, int alias_len, phar…  in phar_parse_zipfile()  argument
185 …4096, "phar error: unable to search for end of central directory in zip-based phar \"%s\"", fname); in phar_parse_zipfile()
196 …r: unable to read in data to search for end of central directory in zip-based phar \"%s\"", fname); in phar_parse_zipfile()
208 …error: split archives spanning multiple zips cannot be processed in zip-based phar \"%s\"", fname); in phar_parse_zipfile()
215 …chive, conflicting file count in end of central directory record in zip-based phar \"%s\"", fname); in phar_parse_zipfile()
231 …96, "phar error: corrupt zip archive, zip file comment truncated in zip-based phar \"%s\"", fname); in phar_parse_zipfile()
265 …ntf(error, 4096, "phar error: end of central directory not found in zip-based phar \"%s\"", fname); in phar_parse_zipfile()
270 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
272 phar_unixify_path_separators(mydata->fname, fname_len); in phar_parse_zipfile()
276 ext = strrchr(mydata->fname, '/'); in phar_parse_zipfile()
279 mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext); in phar_parse_zipfile()
281 mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1); in phar_parse_zipfile()
284 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext; in phar_parse_zipfile()
317 spprintf(error, 4096, "phar error: %s in zip-based phar \"%s\"", errmsg, mydata->fname); \ in phar_parse_zipfile()
319 pefree(mydata->fname, mydata->is_persistent); \ in phar_parse_zipfile()
341 spprintf(error, 4096, "phar error: %s in zip-based phar \"%s\"", errmsg, mydata->fname); \ in phar_parse_zipfile()
343 pefree(mydata->fname, mydata->is_persistent); \ in phar_parse_zipfile()
437 …ll(sigfile), mydata->sig_flags, sig + 8, entry.uncompressed_filesize - 8, fname, &mydata->signatur… in phar_parse_zipfile()
660 …zend_hash_add(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len, (void*)&mydata, sizeof(ph… in phar_parse_zipfile()
667 …ntf(error, 4096, "phar error: invalid alias \"%s\" in zip-based phar \"%s\"", actual_alias, fname); in phar_parse_zipfile()
670 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len); in phar_parse_zipfile()
679 …r error: Unable to add zip-based phar \"%s\" with implicit alias, alias is already in use", fname); in phar_parse_zipfile()
682 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len); in phar_parse_zipfile()
701 …r error: Unable to add zip-based phar \"%s\" with explicit alias, alias is already in use", fname); in phar_parse_zipfile()
703 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len); in phar_parse_zipfile()
712 mydata->alias = pestrndup(mydata->fname, fname_len, mydata->is_persistent); in phar_parse_zipfile()
730 int phar_open_or_create_zip(char *fname, int fname_len, char *alias, int alias_len, int is_data, in… in phar_open_or_create_zip() argument
733 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_zip()
758 …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()
854 … open file contents of file \"%s\" in zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
865 …le to seek to start of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
892 …nable to gzip compress file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
894 …able to bzip2 compress file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
905 …y file for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
912 …le to seek to start of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
919 …file contents of file \"%s\" while creating new phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
942 …o start of file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
970 …e local file header of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
975 … entry for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
981 …y for directory \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
986 …y for directory \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
991 …y for directory \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
996 …y for directory \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
1001 … entry for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
1006 … entry for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
1012 …issions file header of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
1017 …issions file header of file \"%s\" to zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
1024 …compressed contents of file \"%s\" in zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
1038 …e to write contents of file \"%s\" in zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
1064 …ontents of file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
1075 …omment for file \"%s\" while creating zip-based phar \"%s\"", entry->filename, entry->phar->fname); in phar_zip_changed_apply()
1141 …pprintf(pass->error, 0, "phar error: unable to write signature to zip-based phar %s", phar->fname); in phar_zip_applysignature()
1192 spprintf(error, 0, "internal error: attempt to flush cached zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1210 spprintf(error, 0, "unable to set alias in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1221 spprintf(error, 0, "unable to set alias in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1231 …if (FAILURE == phar_get_archive(&phar, phar->fname, phar->fname_len, phar->alias, phar->alias_len,… in phar_zip_flush()
1242 …intf(error, 0, "unable to access resource to copy stub to new zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1257 …printf(error, 0, "unable to read resource to copy stub to new zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1270 spprintf(error, 0, "illegal stub for zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1291 … spprintf(error, 0, "unable to create stub from string in new zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1308 spprintf(error, 0, "unable to set stub in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1326 … phar \"%s\", failed", user_stub ? "overwrite" : "create", user_stub ? " " : " new ", phar->fname); in phar_zip_flush()
1341 spprintf(error, 0, "unable to create stub in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1354 spprintf(error, 0, "unable to overwrite stub in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1366 oldfile = php_stream_open_wrapper(phar->fname, "rb", 0, NULL); in phar_zip_flush()
1380 …printf(error, 4096, "phar zip flush of \"%s\" failed: unable to open temporary file", phar->fname); in phar_zip_flush()
1415 spprintf(error, 4096, "phar zip flush of \"%s\" failed: %s", phar->fname, temperr); in phar_zip_flush()
1447 …tf(error, 4096, "phar zip flush of \"%s\" failed: unable to write central-directory", phar->fname); in phar_zip_flush()
1461 …r, 4096, "phar zip flush of \"%s\" failed: unable to write end of central-directory", phar->fname); in phar_zip_flush()
1468 …or, 4096, "phar zip flush of \"%s\" failed: unable to write metadata to zip comment", phar->fname); in phar_zip_flush()
1478 …r, 4096, "phar zip flush of \"%s\" failed: unable to write end of central-directory", phar->fname); in phar_zip_flush()
1502 …phar->fp = php_stream_open_wrapper(phar->fname, "w+b", IGNORE_URL|STREAM_MUST_SEEK|REPORT_ERRORS, … in phar_zip_flush()
1509 spprintf(error, 4096, "unable to open new phar \"%s\" for writing", phar->fname); in phar_zip_flush()