Searched refs:ERROR (Results 1 - 19 of 19) sorted by relevance

/ast/src/lib/libast/preroot/
H A Dgetpreroot.c43 #define ERROR(e) {errno=e;goto error;} macro
83 if (stat(PR_REAL, cur) || stat("/", par) || cur->st_dev == par->st_dev && cur->st_ino == par->st_ino) ERROR(ENOTDIR);
98 if ((d - dots) > (PATH_MAX - 4)) ERROR(ERANGE);
102 if (!(dirp = opendir(dots))) ERROR(errno);
104 if (fstat(dirp->dd_fd, par)) ERROR(errno);
106 if (stat(dots, par)) ERROR(errno);
141 if (!(entry = readdir(dirp))) ERROR(ENOENT);
143 if ((d - dots) > (PATH_MAX - 1 - namlen)) ERROR(ERANGE);
145 if (stat(dots, &tstst)) ERROR(errno);
149 if ((p -= namlen) <= (path + 1)) ERROR(ERANG
[all...]
/ast/src/lib/libast/misc/
H A Dgetcwd.c44 #define ERROR(e) { errno = e; return 0; }
60 ERROR(ENOMEM);
64 ERROR(ENOMEM);
88 #define ERROR(e) { errno = e; goto error; }
186 if (buf && !len) ERROR(EINVAL);
194 if (len < namlen) ERROR(ERANGE);
196 else if (!(buf = newof(0, char, namlen, len))) ERROR(ENOMEM);
201 if (stat(".", par)) ERROR(errno);
220 if (!(buf = newof(0, char, len, extra))) ERROR(ENOMEM);
233 if (!(dirstk = pushdir(dirstk, dots, p, buf + len - 1))) ERROR(ERANG
[all...]
/ast/src/lib/libast/comp/
H A Dregexp.h98 { ERROR(41); }
108 { ERROR(36); }
117 { ERROR(36); }
122 { ERROR(c); }
/ast/src/cmd/mailx/
H A Dimap.c450 return "[ERROR]";
728 note(ERROR, "imap: mesg %s", s);
748 note(ERROR, "imap: %d: internal error -- unknown operation", n);
782 note(ERROR, "imap: recv %d %s %d %s", op - imap->op, imapname(imapresponse, elementsof(imapresponse), op->code), op->count, s);
814 note(ERROR, "imap: mesg %s", s);
1061 note(ERROR, "imap: %s: unknown response", ap->value.name);
1093 note(ERROR, "imap: %s: unknown FETCH response", ap->value.name);
1155 note(ERROR, "imap: %d: operation never sent", wp - imap->op);
1166 note(ERROR, "imap: %d: operation not completed", wp - imap->op);
1173 note(ERROR, "ima
[all...]
H A Dproc.c249 note(FATAL|SYSTEM|ERROR|IDENTIFY, "\"%s\": temporary file error", b);
255 note(FATAL|SYSTEM|ERROR|IDENTIFY, "\"%s\": temporary file error", b);
H A Dlex.c199 note(ERROR, "No mail for %s", who);
201 note(ERROR, "No mail", who);
H A Dhead.c146 note(ERROR|SYSTEM, "Out of space");
446 note(ERROR|SYSTEM, "Out of space");
H A Dmisc.c96 if (flags & (ERROR|PANIC)) {
H A Dmailx.h307 #define ERROR (1<<1) /* stderr message */ macro
H A Dquit.c91 note(ERROR|FATAL, "Out of space");
H A Dvars.c594 note(ERROR, "sender match operand syntax error: '%s' not expected", value - 1);
/ast/src/cmd/INIT/
H A Dregress.sh86 [+EMPTY \bINPUT|OUTPUT|ERROR|SAME?The corresponding file is
88 [+ERROR \b[ \b-e\b \afilter\a ]] [ \b-n\b ]] \afile\a | - \adata\a ...?The
93 output that is applied to ERROR before comparison with the
110 [+FIFO \bINPUT|OUTPUT|ERROR\b [ \b-n\b ]] \afile\a | - \adata\a ...?The
138 [+IO \b[ \bFIFO\b | \bPIPE\b ]] \bINPUT|OUTPUT|ERROR\b [ \b-e\b \afilter\a ]] [ \b-n\b ]] \afile\a | - \adata\a ...?Internal
158 output that is applied to ERROR before comparison with the
160 [+PIPE \bINPUT|OUTPUT|ERROR\b [ \b-n\b ]] \afile\a | - \adata\a ...?The
243 : >INPUT >OUTPUT.ex >ERROR.ex
248 ERROR=""
733 function IO # [ PIPE ] INPUT|OUTPUT|ERROR [
925 function ERROR # file|- data ... function
[all...]
H A Dmktest.sh112 typeset IO INPUT INPUT_N OUTPUT OUTPUT_N ERROR ERROR_N KEEP
249 ERROR=
392 if [[ $IO != "$ERROR" || $n != "$ERROR_N" ]]
393 then ERROR=$IO
404 ERROR=
406 print -u$stdout -r -- $'\t\tIGNORE OUTPUT ERROR'
412 1:) ERROR=
414 print -u$stdout -r -- $'\t\tIGNORE ERROR'
H A Dpackage.sh3706 1) echo ERROR ;;
3710 ERROR) case $force in
/ast/src/lib/libcmd/
H A Dtail.c109 #define ERROR (1<<1) macro
356 *f &= ~(ERROR|NEGATIVE|POSITIVE);
376 *f |= ERROR;
381 *f |= ERROR;
472 flags &= ~(ERROR|NEGATIVE|POSITIVE);
480 if (flags & ERROR)
/ast/src/cmd/tw/
H A Dfind.c691 value->s = "ERROR";
/ast/src/lib/libpp/
H A Dppproto.c113 #undef ERROR macro
114 #define ERROR (1L<<4) macro
716 proto->flags |= ERROR;
2529 if (proto->flags & ERROR) return -1;
2587 if ((proto->flags & (ERROR|MORE)) == ERROR)
/ast/src/lib/libtk/library/
H A Dtkfbox.tcl1072 # = ERROR : Invalid entry
1086 return [list ERROR $path ""]
1224 ERROR {
/ast/src/cmd/coshell/
H A Dcommand.c348 if (fstat(fd, &st)) return(must ? (char*)0 : (char*)"**ERROR** ");

Completed in 78 milliseconds