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()
437 …, entry.uncompressed_filesize - 8, fname, &mydata->signature, &mydata->sig_len, error TSRMLS_CC)) { in phar_parse_zipfile()
439 if (error) { in phar_parse_zipfile()
442 spprintf(&save, 4096, "signature cannot be verified: %s", *error); in phar_parse_zipfile()
443 efree(*error); in phar_parse_zipfile()
666 if (error) { in phar_parse_zipfile()
667 …spprintf(error, 4096, "phar error: invalid alias \"%s\" in zip-based phar \"%s\"", actual_alias, f… in phar_parse_zipfile()
678 if (error) { in phar_parse_zipfile()
679 …spprintf(error, 4096, "phar error: Unable to add zip-based phar \"%s\" with implicit alias, alias … in phar_parse_zipfile()
700 if (error) { in phar_parse_zipfile()
701 …spprintf(error, 4096, "phar error: Unable to add zip-based phar \"%s\" with explicit alias, alias … in phar_parse_zipfile()
730 …nt alias_len, int is_data, int options, phar_archive_data** pphar, char **error TSRMLS_DC) /* {{{ … in phar_open_or_create_zip()
733 …te_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &phar, error TSRMLS_CC); in phar_open_or_create_zip()
757 if (error) { in phar_open_or_create_zip()
758 …spprintf(error, 4096, "phar zip error: phar \"%s\" already exists as a regular phar and must be de… in phar_open_or_create_zip()
771 char **error; member
853 if (FAILURE == phar_open_entry_fp(entry, p->error, 0 TSRMLS_CC)) { in phar_zip_changed_apply()
854 …spprintf(p->error, 0, "unable to open file contents of file \"%s\" in zip-based phar \"%s\"", entr… in phar_zip_changed_apply()
865 …spprintf(p->error, 0, "unable to seek to start of file \"%s\" to zip-based phar \"%s\"", entry->fi… in phar_zip_changed_apply()
892 …spprintf(p->error, 0, "unable to gzip compress file \"%s\" to zip-based phar \"%s\"", entry->filen… in phar_zip_changed_apply()
894 …spprintf(p->error, 0, "unable to bzip2 compress file \"%s\" to zip-based phar \"%s\"", entry->file… in phar_zip_changed_apply()
905 …spprintf(p->error, 0, "unable to create temporary file for file \"%s\" while creating zip-based ph… in phar_zip_changed_apply()
912 …spprintf(p->error, 0, "unable to seek to start of file \"%s\" to zip-based phar \"%s\"", entry->fi… in phar_zip_changed_apply()
919 …spprintf(p->error, 0, "unable to copy compressed file contents of file \"%s\" while creating new p… in phar_zip_changed_apply()
942 …spprintf(p->error, 0, "unable to seek to start of file \"%s\" while creating zip-based phar \"%s\"… in phar_zip_changed_apply()
970 …spprintf(p->error, 0, "unable to write local file header of file \"%s\" to zip-based phar \"%s\"",… in phar_zip_changed_apply()
975 …spprintf(p->error, 0, "unable to write central directory entry for file \"%s\" while creating zip-… in phar_zip_changed_apply()
981 …spprintf(p->error, 0, "unable to write filename to local directory entry for directory \"%s\" whil… in phar_zip_changed_apply()
986 …spprintf(p->error, 0, "unable to write filename to local directory entry for directory \"%s\" whil… in phar_zip_changed_apply()
991 …spprintf(p->error, 0, "unable to write filename to central directory entry for directory \"%s\" wh… in phar_zip_changed_apply()
996 …spprintf(p->error, 0, "unable to write filename to central directory entry for directory \"%s\" wh… in phar_zip_changed_apply()
1001 …spprintf(p->error, 0, "unable to write filename to local directory entry for file \"%s\" while cre… in phar_zip_changed_apply()
1006 …spprintf(p->error, 0, "unable to write filename to central directory entry for file \"%s\" while c… in phar_zip_changed_apply()
1012 …spprintf(p->error, 0, "unable to write local extra permissions file header of file \"%s\" to zip-b… in phar_zip_changed_apply()
1017 …spprintf(p->error, 0, "unable to write central extra permissions file header of file \"%s\" to zip… in phar_zip_changed_apply()
1024 …spprintf(p->error, 0, "unable to write compressed contents of file \"%s\" in zip-based phar \"%s\"… in phar_zip_changed_apply()
1031 if (FAILURE == phar_open_entry_fp(entry, p->error, 0 TSRMLS_CC)) { in phar_zip_changed_apply()
1038 …spprintf(p->error, 0, "unable to write contents of file \"%s\" in zip-based phar \"%s\"", entry->f… in phar_zip_changed_apply()
1064 …spprintf(p->error, 0, "unable to copy contents of file \"%s\" while creating zip-based phar \"%s\"… in phar_zip_changed_apply()
1075 …spprintf(p->error, 0, "unable to write metadata as file comment for file \"%s\" while creating zip… in phar_zip_changed_apply()
1100 spprintf(pass->error, 0, "phar error: unable to create temporary file for the signature file"); in phar_zip_applysignature()
1114 …if (FAILURE == phar_create_signature(phar, newfile, &signature, &signature_length, pass->error TSR… in phar_zip_applysignature()
1115 if (pass->error) { in phar_zip_applysignature()
1116 char *save = *(pass->error); in phar_zip_applysignature()
1117 spprintf(pass->error, 0, "phar error: unable to write signature to zip-based phar: %s", save); in phar_zip_applysignature()
1131 spprintf(pass->error, 0, "phar error: unable to create temporary file for signature"); in phar_zip_applysignature()
1140 if (pass->error) { in phar_zip_applysignature()
1141 …spprintf(pass->error, 0, "phar error: unable to write signature to zip-based phar %s", phar->fname… in phar_zip_applysignature()
1155 if (pass->error && *(pass->error)) { in phar_zip_applysignature()
1165 …ar_archive_data *phar, char *user_stub, long len, int defaultstub, char **error TSRMLS_DC) /* {{{ … in phar_zip_flush()
1182 pass.error = &temperr; in phar_zip_flush()
1191 if (error) { in phar_zip_flush()
1192 spprintf(error, 0, "internal error: attempt to flush cached zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1205 spprintf(error, 0, "phar error: unable to create temporary file"); in phar_zip_flush()
1209 if (error) { in phar_zip_flush()
1210 spprintf(error, 0, "unable to set alias in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1220 if (error) { in phar_zip_flush()
1221 spprintf(error, 0, "unable to set alias in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1231 …_get_archive(&phar, phar->fname, phar->fname_len, phar->alias, phar->alias_len, error TSRMLS_CC)) { in phar_zip_flush()
1241 if (error) { in phar_zip_flush()
1242 …spprintf(error, 0, "unable to access resource to copy stub to new zip-based phar \"%s\"", phar->fn… in phar_zip_flush()
1256 if (error) { in phar_zip_flush()
1257 …spprintf(error, 0, "unable to read resource to copy stub to new zip-based phar \"%s\"", phar->fnam… in phar_zip_flush()
1269 if (error) { in phar_zip_flush()
1270 spprintf(error, 0, "illegal stub for zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1283 spprintf(error, 0, "phar error: unable to create temporary file"); in phar_zip_flush()
1290 if (error) { 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()
1307 if (error) { in phar_zip_flush()
1308 spprintf(error, 0, "unable to set stub in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1320 spprintf(error, 0, "phar error: unable to create temporary file"); in phar_zip_flush()
1325 if (error) { in phar_zip_flush()
1326 …spprintf(error, 0, "unable to %s stub in%szip-based phar \"%s\", failed", user_stub ? "overwrite" … in phar_zip_flush()
1340 if (error) { in phar_zip_flush()
1341 spprintf(error, 0, "unable to create stub in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1353 if (error) { in phar_zip_flush()
1354 spprintf(error, 0, "unable to overwrite stub in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1379 if (error) { in phar_zip_flush()
1380 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to open temporary file", phar->fnam… in phar_zip_flush()
1414 if (error) { in phar_zip_flush()
1415 spprintf(error, 4096, "phar zip flush of \"%s\" failed: %s", phar->fname, temperr); in phar_zip_flush()
1446 if (error) { in phar_zip_flush()
1447 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write central-directory", phar->… in phar_zip_flush()
1460 if (error) { in phar_zip_flush()
1461 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write end of central-directory",… in phar_zip_flush()
1467 if (error) { in phar_zip_flush()
1468 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write metadata to zip comment", … in phar_zip_flush()
1477 if (error) { in phar_zip_flush()
1478 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write end of central-directory",… in phar_zip_flush()
1508 if (error) { in phar_zip_flush()
1509 spprintf(error, 4096, "unable to open new phar \"%s\" for writing", phar->fname); in phar_zip_flush()