Lines Matching refs:error

308 	char *internal_file, *error;  in phar_wrapper_open_dir()  local
342 if (FAILURE == phar_get_archive(&phar, ZSTR_VAL(resource->host), host_len, NULL, 0, &error)) { in phar_wrapper_open_dir()
343 if (error) { in phar_wrapper_open_dir()
344 php_stream_wrapper_log_error(wrapper, options, "%s", error); in phar_wrapper_open_dir()
345 efree(error); in phar_wrapper_open_dir()
353 if (error) { in phar_wrapper_open_dir()
354 efree(error); in phar_wrapper_open_dir()
416 char *error, *arch, *entry2; in phar_wrapper_mkdir() local
458 if (FAILURE == phar_get_archive(&phar, ZSTR_VAL(resource->host), host_len, NULL, 0, &error)) { in phar_wrapper_mkdir()
459 …r retrieving phar information: %s", ZSTR_VAL(resource->path) + 1, ZSTR_VAL(resource->host), error); in phar_wrapper_mkdir()
460 efree(error); in phar_wrapper_mkdir()
465 …_entry_info_dir(phar, ZSTR_VAL(resource->path) + 1, ZSTR_LEN(resource->path) - 1, 2, &error, 1))) { in phar_wrapper_mkdir()
476 if (error) { in phar_wrapper_mkdir()
477 …directory \"%s\" in phar \"%s\", %s", ZSTR_VAL(resource->path)+1, ZSTR_VAL(resource->host), error); in phar_wrapper_mkdir()
478 efree(error); in phar_wrapper_mkdir()
483 …t_entry_info_dir(phar, ZSTR_VAL(resource->path) + 1, ZSTR_LEN(resource->path) - 1, 0, &error, 1)) { in phar_wrapper_mkdir()
490 if (error) { in phar_wrapper_mkdir()
491 …directory \"%s\" in phar \"%s\", %s", ZSTR_VAL(resource->path)+1, ZSTR_VAL(resource->host), error); in phar_wrapper_mkdir()
492 efree(error); in phar_wrapper_mkdir()
522 efree(error); in phar_wrapper_mkdir()
527 phar_flush(phar, 0, 0, 0, &error); in phar_wrapper_mkdir()
529 if (error) { in phar_wrapper_mkdir()
530 …har error: cannot create directory \"%s\" in phar \"%s\", %s", entry.filename, phar->fname, error); in phar_wrapper_mkdir()
532 efree(error); in phar_wrapper_mkdir()
548 char *error, *arch, *entry2; in phar_wrapper_rmdir() local
593 if (FAILURE == phar_get_archive(&phar, ZSTR_VAL(resource->host), host_len, NULL, 0, &error)) { in phar_wrapper_rmdir()
594 …ror retrieving phar information: %s", ZSTR_VAL(resource->path)+1, ZSTR_VAL(resource->host), error); in phar_wrapper_rmdir()
595 efree(error); in phar_wrapper_rmdir()
602 …if (!(entry = phar_get_entry_info_dir(phar, ZSTR_VAL(resource->path) + 1, path_len, 2, &error, 1))… in phar_wrapper_rmdir()
603 if (error) { in phar_wrapper_rmdir()
604 …directory \"%s\" in phar \"%s\", %s", ZSTR_VAL(resource->path)+1, ZSTR_VAL(resource->host), error); in phar_wrapper_rmdir()
605 efree(error); in phar_wrapper_rmdir()
656 phar_flush(phar, 0, 0, 0, &error); in phar_wrapper_rmdir()
658 if (error) { in phar_wrapper_rmdir()
659 …ar error: cannot remove directory \"%s\" in phar \"%s\", %s", entry->filename, phar->fname, error); in phar_wrapper_rmdir()
661 efree(error); in phar_wrapper_rmdir()