Lines Matching defs:error
22 /* Map the Windows error number in ERROR to a locale-dependent error message
31 char ZLIB_INTERNAL *gz_strwinerror(DWORD error) {
39 error,
61 sprintf(buf, "unknown win32 error (%ld)", error);
82 gz_error(state, Z_OK, NULL); /* clear error */
110 state->msg = NULL; /* no error message yet */
163 default: /* could consider as an error, but just ignore */
184 /* save the path name for error messages */
278 char *path; /* identifier for error messages */
334 /* check that we're reading and that there's no error */
360 /* check that there's no error */
511 /* return error information */
529 /* clear error and end-of-file */
537 /* Create an error message in allocated memory and set state->err and
538 state->msg accordingly. Free any previous error message already there. Do
539 not try to free or allocate space if the error is Z_MEM_ERROR (out of
540 memory). Simply save the error message as a static string. If there is an
541 allocation failure constructing the error message, then convert the error to
555 /* set error code, and if no message, then done */
560 /* for an out of memory error, return literal string when requested */
564 /* construct error message with path */