Lines Matching refs:error

196 …size_t fname_len, char *alias, size_t alias_len, phar_archive_data** pphar, char **error) /* {{{ */  in phar_parse_zipfile()  argument
214 if (error) { in phar_parse_zipfile()
215 …spprintf(error, 4096, "phar error: unable to search for end of central directory in zip-based phar… in phar_parse_zipfile()
225 if (error) { in phar_parse_zipfile()
226 …spprintf(error, 4096, "phar error: unable to read in data to search for end of central directory i… in phar_parse_zipfile()
236 if (error) { in phar_parse_zipfile()
237 …spprintf(error, 4096, "phar error: split archives spanning multiple zips cannot be processed in zi… in phar_parse_zipfile()
243 if (error) { in phar_parse_zipfile()
244 …spprintf(error, 4096, "phar error: corrupt zip archive, conflicting file count in end of central d… in phar_parse_zipfile()
259 if (error) { in phar_parse_zipfile()
260 …spprintf(error, 4096, "phar error: corrupt zip archive, zip file comment truncated in zip-based ph… in phar_parse_zipfile()
284 if (error) { in phar_parse_zipfile()
285 …spprintf(error, 4096, "phar error: end of central directory not found in zip-based phar \"%s\"", f… in phar_parse_zipfile()
334 if (error) { \ in phar_parse_zipfile()
335 spprintf(error, 4096, "phar error: %s in zip-based phar \"%s\"", errmsg, mydata->fname); \ in phar_parse_zipfile()
356 if (error) { \ in phar_parse_zipfile()
357 spprintf(error, 4096, "phar error: %s in zip-based phar \"%s\"", errmsg, mydata->fname); \ in phar_parse_zipfile()
460 …sig_flags, sig + 8, entry.uncompressed_filesize - 8, fname, &mydata->signature, &sig_len, error)) { in phar_parse_zipfile()
462 if (error) { in phar_parse_zipfile()
465 spprintf(&save, 4096, "signature cannot be verified: %s", *error); in phar_parse_zipfile()
466 efree(*error); in phar_parse_zipfile()
714 if (error) { in phar_parse_zipfile()
715 …spprintf(error, 4096, "phar error: invalid alias \"%s\" in zip-based phar \"%s\"", actual_alias, f… in phar_parse_zipfile()
726 if (error) { in phar_parse_zipfile()
727 …spprintf(error, 4096, "phar error: Unable to add zip-based phar \"%s\" with implicit alias, alias … in phar_parse_zipfile()
748 if (error) { in phar_parse_zipfile()
749 …spprintf(error, 4096, "phar error: Unable to add zip-based phar \"%s\" with explicit alias, alias … in phar_parse_zipfile()
778 …size_t alias_len, int is_data, uint32_t options, phar_archive_data** pphar, char **error) /* {{{ */ in phar_open_or_create_zip() argument
781 … phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &phar, error); in phar_open_or_create_zip()
805 if (error) { in phar_open_or_create_zip()
806 …spprintf(error, 4096, "phar zip error: phar \"%s\" already exists as a regular phar and must be de… in phar_open_or_create_zip()
819 char **error; member
905 if (FAILURE == phar_open_entry_fp(entry, p->error, 0)) { in phar_zip_changed_apply_int()
906 …spprintf(p->error, 0, "unable to open file contents of file \"%s\" in zip-based phar \"%s\"", entr… in phar_zip_changed_apply_int()
917 …spprintf(p->error, 0, "unable to seek to start of file \"%s\" to zip-based phar \"%s\"", entry->fi… in phar_zip_changed_apply_int()
944 …spprintf(p->error, 0, "unable to gzip compress file \"%s\" to zip-based phar \"%s\"", entry->filen… in phar_zip_changed_apply_int()
946 …spprintf(p->error, 0, "unable to bzip2 compress file \"%s\" to zip-based phar \"%s\"", entry->file… in phar_zip_changed_apply_int()
957 …spprintf(p->error, 0, "unable to create temporary file for file \"%s\" while creating zip-based ph… in phar_zip_changed_apply_int()
964 …spprintf(p->error, 0, "unable to seek to start of file \"%s\" to zip-based phar \"%s\"", entry->fi… in phar_zip_changed_apply_int()
971 …spprintf(p->error, 0, "unable to copy compressed file contents of file \"%s\" while creating new p… in phar_zip_changed_apply_int()
994 …spprintf(p->error, 0, "unable to seek to start of file \"%s\" while creating zip-based phar \"%s\"… in phar_zip_changed_apply_int()
1021 …spprintf(p->error, 0, "unable to write local file header of file \"%s\" to zip-based phar \"%s\"",… in phar_zip_changed_apply_int()
1026 …spprintf(p->error, 0, "unable to write central directory entry for file \"%s\" while creating zip-… in phar_zip_changed_apply_int()
1032 …spprintf(p->error, 0, "unable to write filename to local directory entry for directory \"%s\" whil… in phar_zip_changed_apply_int()
1037 …spprintf(p->error, 0, "unable to write filename to local directory entry for directory \"%s\" whil… in phar_zip_changed_apply_int()
1042 …spprintf(p->error, 0, "unable to write filename to central directory entry for directory \"%s\" wh… in phar_zip_changed_apply_int()
1047 …spprintf(p->error, 0, "unable to write filename to central directory entry for directory \"%s\" wh… in phar_zip_changed_apply_int()
1052 …spprintf(p->error, 0, "unable to write filename to local directory entry for file \"%s\" while cre… in phar_zip_changed_apply_int()
1057 …spprintf(p->error, 0, "unable to write filename to central directory entry for file \"%s\" while c… in phar_zip_changed_apply_int()
1063 …spprintf(p->error, 0, "unable to write local extra permissions file header of file \"%s\" to zip-b… in phar_zip_changed_apply_int()
1068 …spprintf(p->error, 0, "unable to write central extra permissions file header of file \"%s\" to zip… in phar_zip_changed_apply_int()
1075 …spprintf(p->error, 0, "unable to write compressed contents of file \"%s\" in zip-based phar \"%s\"… in phar_zip_changed_apply_int()
1082 if (FAILURE == phar_open_entry_fp(entry, p->error, 0)) { in phar_zip_changed_apply_int()
1089 …spprintf(p->error, 0, "unable to write contents of file \"%s\" in zip-based phar \"%s\"", entry->f… in phar_zip_changed_apply_int()
1115 …spprintf(p->error, 0, "unable to copy contents of file \"%s\" while creating zip-based phar \"%s\"… in phar_zip_changed_apply_int()
1126 …spprintf(p->error, 0, "unable to write metadata as file comment for file \"%s\" while creating zip… in phar_zip_changed_apply_int()
1157 spprintf(pass->error, 0, "phar error: unable to create temporary file for the signature file"); in phar_zip_applysignature()
1171 if (FAILURE == phar_create_signature(phar, newfile, &signature, &signature_length, pass->error)) { in phar_zip_applysignature()
1172 if (pass->error) { in phar_zip_applysignature()
1173 char *save = *(pass->error); in phar_zip_applysignature()
1174 spprintf(pass->error, 0, "phar error: unable to write signature to zip-based phar: %s", save); in phar_zip_applysignature()
1188 spprintf(pass->error, 0, "phar error: unable to create temporary file for signature"); in phar_zip_applysignature()
1197 if (pass->error) { in phar_zip_applysignature()
1198 …spprintf(pass->error, 0, "phar error: unable to write signature to zip-based phar %s", phar->fname… in phar_zip_applysignature()
1212 if (pass->error && *(pass->error)) { in phar_zip_applysignature()
1221 …h(phar_archive_data *phar, char *user_stub, zend_long len, int defaultstub, char **error) /* {{{ */ in phar_zip_flush() argument
1238 pass.error = &temperr; in phar_zip_flush()
1247 if (error) { in phar_zip_flush()
1248 spprintf(error, 0, "internal error: attempt to flush cached zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1261 spprintf(error, 0, "phar error: unable to create temporary file"); in phar_zip_flush()
1265 if (error) { in phar_zip_flush()
1266 spprintf(error, 0, "unable to set alias in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1282 …RE == phar_get_archive(&phar, phar->fname, phar->fname_len, phar->alias, phar->alias_len, error)) { in phar_zip_flush()
1292 if (error) { in phar_zip_flush()
1293 …spprintf(error, 0, "unable to access resource to copy stub to new zip-based phar \"%s\"", phar->fn… in phar_zip_flush()
1321 if (error) { in phar_zip_flush()
1322 …spprintf(error, 0, "unable to read resource to copy stub to new zip-based phar \"%s\"", phar->fnam… in phar_zip_flush()
1334 if (error) { in phar_zip_flush()
1335 spprintf(error, 0, "illegal stub for zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1348 spprintf(error, 0, "phar error: unable to create temporary file"); in phar_zip_flush()
1355 if (error) { in phar_zip_flush()
1356 … spprintf(error, 0, "unable to create stub from string in new zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1377 spprintf(error, 0, "phar error: unable to create temporary file"); in phar_zip_flush()
1382 if (error) { in phar_zip_flush()
1383 …spprintf(error, 0, "unable to %s stub in%szip-based phar \"%s\", failed", user_stub ? "overwrite" … in phar_zip_flush()
1397 if (error) { in phar_zip_flush()
1398 spprintf(error, 0, "unable to create stub in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1429 if (error) { in phar_zip_flush()
1430 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to open temporary file", phar->fnam… in phar_zip_flush()
1464 if (error) { in phar_zip_flush()
1465 spprintf(error, 4096, "phar zip flush of \"%s\" failed: %s", phar->fname, temperr); in phar_zip_flush()
1496 if (error) { in phar_zip_flush()
1497 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write central-directory", phar->… in phar_zip_flush()
1510 if (error) { in phar_zip_flush()
1511 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write end of central-directory",… in phar_zip_flush()
1517 if (error) { in phar_zip_flush()
1518 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write metadata to zip comment", … in phar_zip_flush()
1527 if (error) { in phar_zip_flush()
1528 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write end of central-directory",… in phar_zip_flush()
1558 if (error) { in phar_zip_flush()
1559 spprintf(error, 4096, "unable to open new phar \"%s\" for writing", phar->fname); in phar_zip_flush()