Searched refs:error_info (Results 1 - 25 of 260) sorted by relevance

1234567891011

/ast/src/lib/libast/misc/
H A Derrorx.c28 * 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 Derror.c30 * 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 Derror.c30 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 Derror.h54 #define error_info _err_info macro
58 extern Error_info_t error_info;
/ast/src/cmd/3d/
H A Derror.c31 * 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 Dcmdinit.c48 error_info.flags |= flags;
54 error_info.id = cp;
55 if (!error_info.catalog)
56 error_info.catalog = catalog;
H A Dtty.c86 if(error_info.errors)
91 error_info.errors++;
104 return(error_info.errors);
H A Dlogname.c71 if (error_info.errors)
H A Dmktemp.c124 if (error_info.errors || (pfx = *argv++) && *argv)
149 error_info.errors++;
163 error_info.errors++;
168 return error_info.errors != 0;
H A Dsync.c71 if (error_info.errors || *argv)
H A Drmdir.c90 if (error_info.errors || !*argv)
110 error_info.errors++;
124 return(error_info.errors != 0);
/ast/src/cmd/pax/
H A Dnocom.c60 error_info.id = "nocom";
75 if (error_info.errors)
93 return error_info.errors != 0;
/ast/src/lib/libdss/
H A Ddss-null.h38 int errors = error_info.errors;
55 if (error_info.errors > errors)
H A Ddss-return.h44 int errors = error_info.errors;
61 if (error_info.errors > errors)
/ast/src/cmd/mam/
H A Dmamtst.c61 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 Dcpp.c44 return error_info.errors;
/ast/src/lib/libast/include/
H A Derror.h57 #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 Dpathfind.c116 * 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 Dgetopt.c63 if (!error_info.id)
64 error_info.id = argv[0];
/ast/src/cmd/pzip/
H A Dfunzip.c55 error_info.id = "funzip";
73 if (error_info.errors || *argv && *(argv + 1))
/ast/src/lib/libdll/
H A Ddllfind.c43 if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size)))
/ast/src/cmd/at/
H A Datx.c84 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 Dmsgget.c64 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 Dasa.c128 if(error_info.errors)
139 error_info.errors = 1;
146 return(error_info.errors);
/ast/src/cmd/tw/
H A Dxargs.c129 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);

Completed in 34 milliseconds

1234567891011