/ast/src/lib/libast/misc/ |
H A D | errorx.c | 28 * this fills in NiL arg defaults and calls error_info.translate 36 if (!error_info.translate) 37 error_info.translate = translate; /* 2007-03-19 OLD_Error_info_t workaround */ 43 cmd = (const char*)error_info.id; 45 cat = (const char*)error_info.catalog; 46 if (s = (*error_info.translate)(loc, cmd, cat, msg))
|
H A D | error.c | 30 * level >= error_info.core!=0 dumps core 31 * level >= ERROR_FATAL calls error_info.exit 48 * 2007-03-19 move error_info from _error_info_ to (*_error_infop_) 81 * these should probably be in error_info 162 error_info.core = error_state.breakpoint; 166 error_info.set |= ERROR_CATALOG; 168 error_info.clear |= ERROR_CATALOG; 177 error_info.fd = n ? strtol(v, NiL, 0) : -1; 181 error_info.set |= ERROR_LIBRARY; 183 error_info [all...] |
/ast/src/lib/libast/astsa/ |
H A D | error.c | 30 Error_info_t error_info; variable 47 if (level && ((s = error_info.id) || (s = (char*)id))) 63 error_info.warnings++; 67 error_info.errors++; 71 if (error_info.line) 73 if (error_info.file && *error_info.file) 74 sfprintf(sfstderr, "\"%s\", ", error_info.file); 75 sfprintf(sfstderr, "line %d: ", error_info.line);
|
H A D | error.h | 54 #define error_info _err_info macro 58 extern Error_info_t error_info;
|
/ast/src/cmd/3d/ |
H A D | error.c | 31 * level >= error_info.core!=0 dumps core 32 * level >= ERROR_FATAL calls error_info.exit 48 #undef error_info macro 49 #define error_info _error_info_ macro 118 if ((fd = fsfd(&state.fs[FS_option])) <= 0 || level < error_info.trace || lib && (error_info.clear & ERROR_LIBRARY) || level < 0 && error_info.mask && !(error_info.mask & (1<<(-level - 1)))) 120 if (level >= ERROR_FATAL) (*error_info.exit)(level - 1); 124 if (error_info [all...] |
/ast/src/lib/libcmd/ |
H A D | cmdinit.c | 48 error_info.flags |= flags; 54 error_info.id = cp; 55 if (!error_info.catalog) 56 error_info.catalog = catalog;
|
H A D | tty.c | 86 if(error_info.errors) 91 error_info.errors++; 104 return(error_info.errors);
|
H A D | logname.c | 71 if (error_info.errors)
|
H A D | mktemp.c | 124 if (error_info.errors || (pfx = *argv++) && *argv) 149 error_info.errors++; 163 error_info.errors++; 168 return error_info.errors != 0;
|
H A D | sync.c | 71 if (error_info.errors || *argv)
|
H A D | rmdir.c | 90 if (error_info.errors || !*argv) 110 error_info.errors++; 124 return(error_info.errors != 0);
|
/ast/src/cmd/pax/ |
H A D | nocom.c | 60 error_info.id = "nocom"; 75 if (error_info.errors) 93 return error_info.errors != 0;
|
/ast/src/lib/libdss/ |
H A D | dss-null.h | 38 int errors = error_info.errors; 55 if (error_info.errors > errors)
|
H A D | dss-return.h | 44 int errors = error_info.errors; 61 if (error_info.errors > errors)
|
/ast/src/cmd/mam/ |
H A D | mamtst.c | 61 error_info.id = "mamtst"; 65 error_info.trace = -opt_info.num; 74 if (error_info.errors) error(ERROR_USAGE|4, "%s", optusage(NiL)); 80 exit(error_info.errors != 0);
|
/ast/src/cmd/cpp/ |
H A D | cpp.c | 44 return error_info.errors;
|
/ast/src/lib/libast/include/ |
H A D | error.h | 57 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES))) 101 #define ERROR_CONTEXT_BASE ((Error_context_t*)&error_info.context) 103 #define errorpush(p,f) (*(p)=*ERROR_CONTEXT_BASE,*ERROR_CONTEXT_BASE=error_info.empty,error_info.context=(Error_context_t*)(p),error_info.flags=(f)) 169 #define error_info (*_error_infop_) macro
|
/ast/src/lib/libast/path/ |
H A D | pathfind.c | 116 * on the assumption that error_info.file is properly stacked 119 if (error_info.file && (s = strrchr(error_info.file, '/'))) 121 sfsprintf(buf, size, "%-.*s%s", s - error_info.file + 1, error_info.file, name); 126 sfsprintf(buf, size, "%-.*s%s%.s", s - error_info.file + 1, error_info.file, name, type);
|
/ast/src/lib/libast/comp/ |
H A D | getopt.c | 63 if (!error_info.id) 64 error_info.id = argv[0];
|
/ast/src/cmd/pzip/ |
H A D | funzip.c | 55 error_info.id = "funzip"; 73 if (error_info.errors || *argv && *(argv + 1))
|
/ast/src/lib/libdll/ |
H A D | dllfind.c | 43 if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size)))
|
/ast/src/cmd/at/ |
H A D | atx.c | 84 error_info.id = "atx"; 85 error_info.write = stampwrite; 98 error(ERROR_SYSTEM|3, "%s %s group denied (gid=%u egid=%u => gid=%d)", argv[2], error_info.id, getgid(), getegid(), gid); 100 error(ERROR_SYSTEM|3, "%s %s user denied (uid=%u euid=%u => uid=%d)", argv[2], error_info.id, getuid(), geteuid(), uid);
|
/ast/src/cmd/msgcc/ |
H A D | msgget.c | 64 error_info.id = "msgget"; 79 if (error_info.errors || !(loc = *argv++) || !(cmd = *argv++) || !(s = *argv++)) 108 return error_info.errors != 0;
|
/ast/src/cmd/builtin/ |
H A D | asa.c | 128 if(error_info.errors) 139 error_info.errors = 1; 146 return(error_info.errors);
|
/ast/src/cmd/tw/ |
H A D | xargs.c | 129 error_info.id = "xargs"; 201 error_info.trace = -opt_info.num; 219 if (error_info.errors) 226 error_info.line = 1; 231 error_info.line++; 253 error_info.line++; 267 error_info.line++; 275 error_info.line++; 300 exit(error_info.errors != 0);
|