Lines Matching refs:error

166 …size_t fname_len, char *alias, size_t alias_len, phar_archive_data** pphar, char **error) /* {{{ */  in phar_parse_zipfile()  argument
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()
256 if (error) { in phar_parse_zipfile()
257 …spprintf(error, 4096, "phar error: end of central directory not found in zip-based phar \"%s\"", f… in phar_parse_zipfile()
306 if (error) { \ in phar_parse_zipfile()
307 spprintf(error, 4096, "phar error: %s in zip-based phar \"%s\"", errmsg, mydata->fname); \ in phar_parse_zipfile()
328 if (error) { \ in phar_parse_zipfile()
329 spprintf(error, 4096, "phar error: %s in zip-based phar \"%s\"", errmsg, mydata->fname); \ in phar_parse_zipfile()
427 …sig_flags, sig + 8, entry.uncompressed_filesize - 8, fname, &mydata->signature, &sig_len, error)) { in phar_parse_zipfile()
429 if (error) { in phar_parse_zipfile()
432 spprintf(&save, 4096, "signature cannot be verified: %s", *error); in phar_parse_zipfile()
433 efree(*error); in phar_parse_zipfile()
681 if (error) { in phar_parse_zipfile()
682 …spprintf(error, 4096, "phar error: invalid alias \"%s\" in zip-based phar \"%s\"", actual_alias, f… in phar_parse_zipfile()
693 if (error) { in phar_parse_zipfile()
694 …spprintf(error, 4096, "phar error: Unable to add zip-based phar \"%s\" with implicit alias, alias … in phar_parse_zipfile()
715 if (error) { in phar_parse_zipfile()
716 …spprintf(error, 4096, "phar error: Unable to add zip-based phar \"%s\" with explicit alias, alias … in phar_parse_zipfile()
745 …size_t alias_len, int is_data, uint32_t options, phar_archive_data** pphar, char **error) /* {{{ */ in phar_open_or_create_zip() argument
748 … phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &phar, error); in phar_open_or_create_zip()
772 if (error) { in phar_open_or_create_zip()
773 …spprintf(error, 4096, "phar zip error: phar \"%s\" already exists as a regular phar and must be de… in phar_open_or_create_zip()
786 char **error; member
866 if (FAILURE == phar_open_entry_fp(entry, p->error, 0)) { in phar_zip_changed_apply_int()
867 …spprintf(p->error, 0, "unable to open file contents of file \"%s\" in zip-based phar \"%s\"", entr… in phar_zip_changed_apply_int()
878 …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()
905 …spprintf(p->error, 0, "unable to gzip compress file \"%s\" to zip-based phar \"%s\"", entry->filen… in phar_zip_changed_apply_int()
907 …spprintf(p->error, 0, "unable to bzip2 compress file \"%s\" to zip-based phar \"%s\"", entry->file… in phar_zip_changed_apply_int()
918 …spprintf(p->error, 0, "unable to create temporary file for file \"%s\" while creating zip-based ph… in phar_zip_changed_apply_int()
925 …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()
932 …spprintf(p->error, 0, "unable to copy compressed file contents of file \"%s\" while creating new p… in phar_zip_changed_apply_int()
955 …spprintf(p->error, 0, "unable to seek to start of file \"%s\" while creating zip-based phar \"%s\"… in phar_zip_changed_apply_int()
982 …spprintf(p->error, 0, "unable to write local file header of file \"%s\" to zip-based phar \"%s\"",… in phar_zip_changed_apply_int()
987 …spprintf(p->error, 0, "unable to write central directory entry for file \"%s\" while creating zip-… in phar_zip_changed_apply_int()
993 …spprintf(p->error, 0, "unable to write filename to local directory entry for directory \"%s\" whil… in phar_zip_changed_apply_int()
998 …spprintf(p->error, 0, "unable to write filename to local directory entry for directory \"%s\" whil… in phar_zip_changed_apply_int()
1003 …spprintf(p->error, 0, "unable to write filename to central directory entry for directory \"%s\" wh… in phar_zip_changed_apply_int()
1008 …spprintf(p->error, 0, "unable to write filename to central directory entry for directory \"%s\" wh… in phar_zip_changed_apply_int()
1013 …spprintf(p->error, 0, "unable to write filename to local directory entry for file \"%s\" while cre… in phar_zip_changed_apply_int()
1018 …spprintf(p->error, 0, "unable to write filename to central directory entry for file \"%s\" while c… in phar_zip_changed_apply_int()
1024 …spprintf(p->error, 0, "unable to write local extra permissions file header of file \"%s\" to zip-b… in phar_zip_changed_apply_int()
1029 …spprintf(p->error, 0, "unable to write central extra permissions file header of file \"%s\" to zip… in phar_zip_changed_apply_int()
1036 …spprintf(p->error, 0, "unable to write compressed contents of file \"%s\" in zip-based phar \"%s\"… in phar_zip_changed_apply_int()
1043 if (FAILURE == phar_open_entry_fp(entry, p->error, 0)) { in phar_zip_changed_apply_int()
1050 …spprintf(p->error, 0, "unable to write contents of file \"%s\" in zip-based phar \"%s\"", entry->f… in phar_zip_changed_apply_int()
1076 …spprintf(p->error, 0, "unable to copy contents of file \"%s\" while creating zip-based phar \"%s\"… in phar_zip_changed_apply_int()
1087 …spprintf(p->error, 0, "unable to write metadata as file comment for file \"%s\" while creating zip… in phar_zip_changed_apply_int()
1118 spprintf(pass->error, 0, "phar error: unable to create temporary file for the signature file"); in phar_zip_applysignature()
1132 if (FAILURE == phar_create_signature(phar, newfile, &signature, &signature_length, pass->error)) { in phar_zip_applysignature()
1133 if (pass->error) { in phar_zip_applysignature()
1134 char *save = *(pass->error); in phar_zip_applysignature()
1135 spprintf(pass->error, 0, "phar error: unable to write signature to zip-based phar: %s", save); in phar_zip_applysignature()
1149 spprintf(pass->error, 0, "phar error: unable to create temporary file for signature"); in phar_zip_applysignature()
1158 if (pass->error) { in phar_zip_applysignature()
1159 …spprintf(pass->error, 0, "phar error: unable to write signature to zip-based phar %s", phar->fname… in phar_zip_applysignature()
1173 if (pass->error && *(pass->error)) { in phar_zip_applysignature()
1182 …h(phar_archive_data *phar, char *user_stub, zend_long len, int defaultstub, char **error) /* {{{ */ in phar_zip_flush() argument
1199 pass.error = &temperr; in phar_zip_flush()
1208 if (error) { in phar_zip_flush()
1209 spprintf(error, 0, "internal error: attempt to flush cached zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1222 spprintf(error, 0, "phar error: unable to create temporary file"); in phar_zip_flush()
1226 if (error) { in phar_zip_flush()
1227 spprintf(error, 0, "unable to set alias in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1243 …RE == phar_get_archive(&phar, phar->fname, phar->fname_len, phar->alias, phar->alias_len, error)) { in phar_zip_flush()
1253 if (error) { in phar_zip_flush()
1254 …spprintf(error, 0, "unable to access resource to copy stub to new zip-based phar \"%s\"", phar->fn… in phar_zip_flush()
1282 if (error) { in phar_zip_flush()
1283 …spprintf(error, 0, "unable to read resource to copy stub to new zip-based phar \"%s\"", phar->fnam… in phar_zip_flush()
1295 if (error) { in phar_zip_flush()
1296 spprintf(error, 0, "illegal stub for zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1309 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 create stub from string in new zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1338 spprintf(error, 0, "phar error: unable to create temporary file"); in phar_zip_flush()
1343 if (error) { in phar_zip_flush()
1344 …spprintf(error, 0, "unable to %s stub in%szip-based phar \"%s\", failed", user_stub ? "overwrite" … in phar_zip_flush()
1358 if (error) { in phar_zip_flush()
1359 spprintf(error, 0, "unable to create stub in zip-based phar \"%s\"", phar->fname); in phar_zip_flush()
1390 if (error) { in phar_zip_flush()
1391 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to open temporary file", phar->fnam… in phar_zip_flush()
1425 if (error) { in phar_zip_flush()
1426 spprintf(error, 4096, "phar zip flush of \"%s\" failed: %s", phar->fname, temperr); in phar_zip_flush()
1457 if (error) { in phar_zip_flush()
1458 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write central-directory", phar->… in phar_zip_flush()
1471 if (error) { in phar_zip_flush()
1472 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write end of central-directory",… in phar_zip_flush()
1478 if (error) { in phar_zip_flush()
1479 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write metadata to zip comment", … in phar_zip_flush()
1488 if (error) { in phar_zip_flush()
1489 …spprintf(error, 4096, "phar zip flush of \"%s\" failed: unable to write end of central-directory",… in phar_zip_flush()
1519 if (error) { in phar_zip_flush()
1520 spprintf(error, 4096, "unable to open new phar \"%s\" for writing", phar->fname); in phar_zip_flush()