Home | History | Annotate | Download | only in test

Lines Matching defs:error

10  * limiting names to 14 or 8+3 characters, etc... Error checking is
70 /* Map the Windows error number in ERROR to a locale-dependent error
72 for ERROR come from GetLastError.
80 static char *strwinerror (error)
81 DWORD error;
90 error,
112 sprintf(buf, "unknown win32 error (%ld)", error);
338 void error OF((const char *msg));
349 * Display error message and exit
351 void error(msg)
384 if (gzwrite(out, buf, (unsigned)len) != len) error(gzerror(out, &err));
387 if (gzclose(out) != Z_OK) error("failed gzclose");
418 if (len != (int)buf_len) error(gzerror(out, &err));
422 if (gzclose(out) != Z_OK) error("failed gzclose");
440 if (len < 0) error (gzerror(in, &err));
444 error("failed fwrite");
447 if (fclose(out)) error("failed fclose");
449 if (gzclose(in) != Z_OK) error("failed gzclose");
609 if (file == NULL) error("can't gzdopen stdin");
613 if (file == NULL) error("can't gzdopen stdout");
639 if (file == NULL) error("can't gzdopen stdout");