Lines Matching refs:error
166 … fname_len, char *alias, int alias_len, phar_archive_data** pphar, char **error TSRMLS_DC) /* {{{ … in phar_parse_zipfile()
184 if (error) { in phar_parse_zipfile()
185 …spprintf(error, 4096, "phar error: unable to search for end of central directory in zip-based phar… in phar_parse_zipfile()
195 if (error) { in phar_parse_zipfile()
196 …spprintf(error, 4096, "phar error: unable to read in data to search for end of central directory i… in phar_parse_zipfile()
207 if (error) { in phar_parse_zipfile()
208 …spprintf(error, 4096, "phar error: split archives spanning multiple zips cannot be processed in zi… in phar_parse_zipfile()
214 if (error) { in phar_parse_zipfile()
215 …spprintf(error, 4096, "phar error: corrupt zip archive, conflicting file count in end of central d… in phar_parse_zipfile()
230 if (error) { in phar_parse_zipfile()
231 …spprintf(error, 4096, "phar error: corrupt zip archive, zip file comment truncated in zip-based ph… in phar_parse_zipfile()
264 if (error) { in phar_parse_zipfile()
265 …spprintf(error, 4096, "phar error: end of central directory not found in zip-based phar \"%s\"", f… in phar_parse_zipfile()
316 if (error) { \ in phar_parse_zipfile()
317 spprintf(error, 4096, "phar error: %s in zip-based phar \"%s\"", errmsg, mydata->fname); \ in phar_parse_zipfile()
340 if (error) { \ in phar_parse_zipfile()
341 spprintf(error, 4096, "phar error: %s in zip-based phar \"%s\"", errmsg, mydata->fname); \ in phar_parse_zipfile()
439 …, entry.uncompressed_filesize - 8, fname, &mydata->signature, &mydata->sig_len, error TSRMLS_CC)) { in phar_parse_zipfile()
441 if (error) { in phar_parse_zipfile()
444 spprintf(&save, 4096, "signature cannot be verified: %s", *error); in phar_parse_zipfile()
445 efree(*error); in phar_parse_zipfile()
658 if (error) { in phar_parse_zipfile()
659 …spprintf(error, 4096, "phar error: invalid alias \"%s\" in zip-based phar \"%s\"", actual_alias, f… in phar_parse_zipfile()
670 if (error) { in phar_parse_zipfile()
671 …spprintf(error, 4096, "phar error: Unable to add zip-based phar \"%s\" with implicit alias, alias … in phar_parse_zipfile()
692 if (error) { in phar_parse_zipfile()
693 …spprintf(error, 4096, "phar error: Unable to add zip-based phar \"%s\" with explicit alias, alias … in phar_parse_zipfile()
722 …nt alias_len, int is_data, int options, phar_archive_data** pphar, char **error TSRMLS_DC) /* {{{ … in phar_open_or_create_zip()
725 …te_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &phar, error TSRMLS_CC); in phar_open_or_create_zip()
749 if (error) { in phar_open_or_create_zip()
750 …spprintf(error, 4096, "phar zip error: phar \"%s\" already exists as a regular phar and must be de… in phar_open_or_create_zip()
763 char **error; member
845 if (FAILURE == phar_open_entry_fp(entry, p->error, 0 TSRMLS_CC)) { in phar_zip_changed_apply()
846 …spprintf(p->error, 0, "unable to open file contents of file \"%s\" in zip-based phar \"%s\"", entr… in phar_zip_changed_apply()
857 …spprintf(p->error, 0, "unable to seek to start of file \"%s\" to zip-based phar \"%s\"", entry->fi… in phar_zip_changed_apply()
884 …spprintf(p->error, 0, "unable to gzip compress file \"%s\" to zip-based phar \"%s\"", entry->filen… in phar_zip_changed_apply()
886 …spprintf(p->error, 0, "unable to bzip2 compress file \"%s\" to zip-based phar \"%s\"", entry->file… in phar_zip_changed_apply()
897 …spprintf(p->error, 0, "unable to create temporary file for file \"%s\" while creating zip-based ph… in phar_zip_changed_apply()
904 …spprintf(p->error, 0, "unable to seek to start of file \"%s\" to zip-based phar \"%s\"", entry->fi… in phar_zip_changed_apply()
911 …spprintf(p->error, 0, "unable to copy compressed file contents of file \"%s\" while creating new p… in phar_zip_changed_apply()
934 …spprintf(p->error, 0, "unable to seek to start of file \"%s\" while creating zip-based phar \"%s\"… in phar_zip_changed_apply()
962 …spprintf(p->error, 0, "unable to write local file header of file \"%s\" to zip-based phar \"%s\"",… in phar_zip_changed_apply()
967 …spprintf(p->error, 0, "unable to write central directory entry for file \"%s\" while creating zip-… in phar_zip_changed_apply()
973 …spprintf(p->error, 0, "unable to write filename to local directory entry for directory \"%s\" whil… in phar_zip_changed_apply()
978 …spprintf(p->error, 0, "unable to write filename to local directory entry for directory \"%s\" whil… in phar_zip_changed_apply()
983 …spprintf(p->error, 0, "unable to write filename to central directory entry for directory \"%s\" wh… in phar_zip_changed_apply()
988 …spprintf(p->error, 0, "unable to write filename to central directory entry for directory \"%s\" wh… in phar_zip_changed_apply()
993 …spprintf(p->error, 0, "unable to write filename to local directory entry for file \"%s\" while cre… in phar_zip_changed_apply()
998 …spprintf(p->error, 0, "unable to write filename to central directory entry for file \"%s\" while c… in phar_zip_changed_apply()
1004 …spprintf(p->error, 0, "unable to write local extra permissions file header of file \"%s\" to zip-b… in phar_zip_changed_apply()
1009 …spprintf(p->error, 0, "unable to write central extra permissions file header of file \"%s\" to zip… in phar_zip_changed_apply()
1016 …spprintf(p->error, 0, "unable to write compressed contents of file \"%s\" in zip-based phar \"%s\"… in phar_zip_changed_apply()
1023 if (FAILURE == phar_open_entry_fp(entry, p->error, 0 TSRMLS_CC)) { in phar_zip_changed_apply()
1030 …spprintf(p->error, 0, "unable to write contents of file \"%s\" in zip-based phar \"%s\"", entry->f… in phar_zip_changed_apply()
1056 …spprintf(p->error, 0, "unable to copy contents of file \"%s\" while creating zip-based phar \"%s\"… in phar_zip_changed_apply()
1067 …spprintf(p->error, 0, "unable to write metadata as file comment for file \"%s\" while creating zip… in phar_zip_changed_apply()
1092 spprintf(pass->error, 0, "phar error: unable to create temporary file for the signature file"); in phar_zip_applysignature()
1106 …if (FAILURE == phar_create_signature(phar, newfile, &signature, &signature_length, pass->error TSR… in phar_zip_applysignature()
1107 if (pass->error) { in phar_zip_applysignature()
1108 char *save = *(pass->error); in phar_zip_applysignature()
1109 spprintf(pass->error, 0, "phar error: unable to write signature to zip-based phar: %s", save); in phar_zip_applysignature()
1123 spprintf(pass->error, 0, "phar error: unable to create temporary file for signature"); in phar_zip_applysignature()
1132 if (pass->error) { in phar_zip_applysignature()
1133 …spprintf(pass->error, 0, "phar error: unable to write signature to zip-based phar %s", phar->fname… in phar_zip_applysignature()
1147 if (pass->error && *(pass->error)) { in phar_zip_applysignature()
1156 …ar_archive_data *phar, char *user_stub, long len, int defaultstub, char **error TSRMLS_DC) /* {{{ … in phar_zip_flush()
1173 pass.error = &temperr; in phar_zip_flush()
1182 if (error) { in phar_zip_flush()
1183 spprintf(error, 0, "internal error: attempt to flush cached zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1196 spprintf(error, 0, "phar error: unable to create temporary file"); in phar_zip_flush()
1200 if (error) { in phar_zip_flush()
1201 spprintf(error, 0, "unable to set alias in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1211 if (error) { in phar_zip_flush()
1212 spprintf(error, 0, "unable to set alias in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1222 …_get_archive(&phar, phar->fname, phar->fname_len, phar->alias, phar->alias_len, error TSRMLS_CC)) { in phar_zip_flush()
1232 if (error) { in phar_zip_flush()
1233 …spprintf(error, 0, "unable to access resource to copy stub to new zip-based phar \"%s\"", phar->fn… in phar_zip_flush()
1247 if (error) { in phar_zip_flush()
1248 …spprintf(error, 0, "unable to read resource to copy stub to new zip-based phar \"%s\"", phar->fnam… in phar_zip_flush()
1260 if (error) { in phar_zip_flush()
1261 spprintf(error, 0, "illegal stub for zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1274 spprintf(error, 0, "phar error: unable to create temporary file"); in phar_zip_flush()
1281 if (error) { in phar_zip_flush()
1282 … spprintf(error, 0, "unable to create stub from string in new zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1298 if (error) { in phar_zip_flush()
1299 spprintf(error, 0, "unable to set stub in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1311 spprintf(error, 0, "phar error: unable to create temporary file"); in phar_zip_flush()
1316 if (error) { in phar_zip_flush()
1317 …spprintf(error, 0, "unable to %s stub in%szip-based phar \"%s\", failed", user_stub ? "overwrite" … in phar_zip_flush()
1331 if (error) { in phar_zip_flush()
1332 spprintf(error, 0, "unable to create stub in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1344 if (error) { in phar_zip_flush()
1345 spprintf(error, 0, "unable to overwrite stub in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1370 if (error) { in phar_zip_flush()
1371 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to open temporary file", phar->fnam… in phar_zip_flush()
1405 if (error) { in phar_zip_flush()
1406 spprintf(error, 4096, "phar zip flush of \"%s\" failed: %s", phar->fname, temperr); in phar_zip_flush()
1437 if (error) { in phar_zip_flush()
1438 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write central-directory", phar->… in phar_zip_flush()
1451 if (error) { in phar_zip_flush()
1452 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write end of central-directory",… in phar_zip_flush()
1458 if (error) { in phar_zip_flush()
1459 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write metadata to zip comment", … in phar_zip_flush()
1468 if (error) { in phar_zip_flush()
1469 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write end of central-directory",… in phar_zip_flush()
1499 if (error) { in phar_zip_flush()
1500 spprintf(error, 4096, "unable to open new phar \"%s\" for writing", phar->fname); in phar_zip_flush()