Searched refs:error (Results 1 - 25 of 283) sorted by relevance

1234567891011>>

/PHP_TRUNK/ext/mcrypt/
H A DTODO5 - Unify error handling
/PHP_TRUNK/ext/phar/
H A Dphar_path_check.re23 phar_path_check_result phar_path_check(char **s, int *len, const char **error)
29 *error = "current directory reference";
32 *error = "upper directory reference";
61 *error = "double slash";
65 *error = "upper directory reference";
69 *error = "current directory reference";
73 *error = "back-slash";
77 *error = "star";
85 *error = NULL;
98 *error
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_delete.c42 zip_error_set(&za->error, ZIP_ER_INVAL, 0);
47 zip_error_set(&za->error, ZIP_ER_RDONLY, 0);
H A Dzip_error.c41 zip_error_code_system(const zip_error_t *error) { argument
42 return error->sys_err;
47 zip_error_code_zip(const zip_error_t *error) { argument
48 return error->zip_err;
69 zip_error_init_with_code(zip_error_t *error, int ze) argument
71 zip_error_init(error);
72 error->zip_err = ze;
73 switch (zip_error_system_type(error)) {
75 error->sys_err = errno;
79 error
86 zip_error_system_type(const zip_error_t *error) argument
145 zip_error_to_data(const zip_error_t *error, void *data, zip_uint64_t length) argument
[all...]
H A Dzip_error_clear.c2 zip_error_clear.c -- clear zip error
44 _zip_error_clear(&za->error);
H A Dzip_error_get.c2 zip_error_get.c -- get zip error
42 _zip_error_get(&za->error, zep, sep);
49 return &za->error;
56 return &f->error;
H A Dzip_fclose.c49 if (zf->error.zip_err)
50 ret = zf->error.zip_err;
52 zip_error_fini(&zf->error);
H A Dzip_fdopen.c45 struct zip_error error; local
53 We could not restore it to the original state in case of error. */
66 zip_error_init(&error);
67 if ((src = zip_source_filep_create(fp, 0, -1, &error)) == NULL) {
68 _zip_set_open_error(zep, &error, 0);
69 zip_error_fini(&error);
73 if ((za = zip_open_from_source(src, _flags, &error)) == NULL) {
74 _zip_set_open_error(zep, &error, 0);
75 zip_error_fini(&error);
79 zip_error_fini(&error);
[all...]
H A Dzip_file_error_clear.c2 zip_file_error_clear.c -- clear zip file error
44 _zip_error_clear(&zf->error);
H A Dzip_file_error_get.c2 zip_file_error_get.c -- get zip file error
41 _zip_error_get(&zf->error, zep, sep);
H A Dzip_file_strerror.c2 zip_file_sterror.c -- get string representation of zip file error
41 return zip_error_strerror(&zf->error);
H A Dzip_filerange_crc.c43 _zip_filerange_crc(zip_source_t *src, zip_uint64_t start, zip_uint64_t len, uLong *crcp, zip_error_t *error) argument
51 zip_error_set(error, ZIP_ER_SEEK, EFBIG);
56 _zip_error_set_from_source(error, src);
63 _zip_error_set_from_source(error, src);
67 zip_error_set(error, ZIP_ER_EOF, 0);
H A Dzip_fread.c46 if (zf->error.zip_err != 0)
50 zip_error_set(&zf->error, ZIP_ER_INVAL, 0);
58 _zip_error_set_from_source(&zf->error, zf->src);
H A Dzip_get_name.c43 return _zip_get_name(za, idx, flags, &za->error);
48 _zip_get_name(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_error_t *error) argument
53 if ((de=_zip_get_dirent(za, idx, flags, error)) == NULL)
56 if ((str=_zip_string_get(de->filename, NULL, flags, error)) == NULL)
H A Dzip_io_util.c41 _zip_read(zip_source_t *src, zip_uint8_t *b, zip_uint64_t length, zip_error_t *error) argument
46 zip_error_set(error, ZIP_ER_INTERNAL, 0);
51 _zip_error_set_from_source(error, src);
56 zip_error_set(error, ZIP_ER_EOF, 0);
65 _zip_read_data(zip_buffer_t *buffer, zip_source_t *src, size_t length, bool nulp, zip_error_t *error) argument
75 zip_error_set(error, ZIP_ER_MEMORY, 0);
83 zip_error_set(error, ZIP_ER_MEMORY, 0);
90 if (_zip_read(src, r, length, error) < 0) {
110 _zip_read_string(zip_buffer_t *buffer, zip_source_t *src, zip_uint16_t len, bool nulp, zip_error_t *error) argument
115 if ((raw=_zip_read_data(buffer, src, len, nulp, error))
[all...]
H A Dzip_memdup.c41 _zip_memdup(const void *mem, size_t len, zip_error_t *error) argument
50 zip_error_set(error, ZIP_ER_MEMORY, 0);
H A Dzip_name_locate.c46 return _zip_name_locate(za, fname, flags, &za->error);
51 _zip_name_locate(zip_t *za, const char *fname, zip_flags_t flags, zip_error_t *error) argument
61 zip_error_set(error, ZIP_ER_INVAL, 0);
68 fn = _zip_get_name(za, i, flags, error);
70 /* newly added (partially filled) entry or error */
81 _zip_error_clear(error);
86 zip_error_set(error, ZIP_ER_NOENT, 0);
H A Dzip_source_close.c42 zip_error_set(&src->error, ZIP_ER_INVAL, 0);
52 zip_error_set(&src->error, ZIP_ER_INTERNAL, 0);
H A Dzip_source_commit_write.c42 zip_error_set(&src->error, ZIP_ER_INVAL, 0);
47 zip_error_set(&src->error, ZIP_ER_INUSE, 0);
H A Dzip_source_error.c2 zip_source_error.c -- get last error from zip_source
41 return &src->error;
H A Dzip_source_file.c47 return zip_source_file_create(fname, start, len, &za->error);
52 zip_source_file_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *error) argument
55 zip_error_set(error, ZIP_ER_INVAL, 0);
59 return _zip_source_file_or_p(fname, NULL, start, length, NULL, error);
H A Dzip_source_stat.c45 zip_error_set(&src->error, ZIP_ER_INVAL, 0);
53 _zip_error_set_from_source(&src->error, src->src);
H A Dzip_source_win32utf8.c48 return zip_source_file_create(fname, start, len, &za->error);
53 zip_source_file_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *error) argument
60 zip_error_set(error, ZIP_ER_INVAL, 0);
67 zip_error_set(error, ZIP_ER_INVAL, 0);
71 zip_error_set(error, ZIP_ER_MEMORY, 0);
76 source = zip_source_win32w_create(wfname, start, length, error);
H A Dzip_strerror.c2 zip_sterror.c -- get string representation of zip error
41 return zip_error_strerror(&za->error);
/PHP_TRUNK/win32/
H A Dsockets.c47 goto error;
55 goto error;
59 goto error;
63 goto error;
68 goto error;
73 goto error;
78 goto error;
86 error:

Completed in 43 milliseconds

1234567891011>>