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

12345

/osnet-11/usr/src/lib/libast/common/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...]
/osnet-11/usr/src/lib/libcmd/common/
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.c82 if(error_info.errors)
87 error_info.errors++;
100 return(error_info.errors);
H A Dxargs.c127 error_info.id = "xargs";
199 error_info.trace = -opt_info.num;
217 if (error_info.errors)
224 error_info.line = 1;
229 error_info.line++;
251 error_info.line++;
265 error_info.line++;
273 error_info.line++;
298 return(error_info.errors != 0);
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 Dasa.c127 if(error_info.errors)
138 error_info.errors = 1;
145 return(error_info.errors);
H A Drmdir.c90 if (error_info.errors || !*argv)
110 error_info.errors++;
124 return(error_info.errors != 0);
H A Dcmd.h84 error_info.id = cp;
85 if (!error_info.catalog)
86 error_info.catalog = (char*)catalog;
89 error_info.flags |= flags & ~(ERROR_CALLBACK|ERROR_NOTIFY);
H A Dhead.c120 if (error_info.errors)
149 return error_info.errors != 0;
H A Dmkfifo.c81 if (error_info.errors || !*argv)
95 return error_info.errors != 0;
/osnet-11/usr/src/lib/libast/common/include/
H A Derror.h57 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES)))
95 #define ERROR_CONTEXT_BASE ((Error_context_t*)&error_info.context)
97 #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))
163 #define error_info (*_error_infop_) macro
/osnet-11/usr/src/lib/libast/common/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);
/osnet-11/usr/src/lib/libast/common/comp/
H A Dgetopt.c63 if (!error_info.id)
64 error_info.id = argv[0];
/osnet-11/usr/src/lib/libdll/common/
H A Ddllfind.c43 if ((id = error_info.id) && (dll = dllplug(id, lib, ver, flags, path, size)))
/osnet-11/usr/src/cmd/ast/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;
H A Dmsggen.c233 error_info.id = "msggen";
257 if (error_info.errors || !(catfile = *argv++))
267 return error_info.errors != 0;
348 return error_info.errors != 0;
374 error_info.file = msgfile;
377 error_info.line++;
430 error_info.line++;
481 error_info.file = 0;
482 error_info.line = 0;
511 if (!(s = pathtemp(NiL, 0, "", error_info
[all...]
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Derror.h66 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES)))
104 #define ERROR_CONTEXT_BASE ((Error_context_t*)&error_info.context)
106 #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))
174 #define error_info (*_error_infop_) macro
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Derror.h66 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES)))
104 #define ERROR_CONTEXT_BASE ((Error_context_t*)&error_info.context)
106 #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))
174 #define error_info (*_error_infop_) macro
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Derror.h66 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES)))
104 #define ERROR_CONTEXT_BASE ((Error_context_t*)&error_info.context)
106 #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))
174 #define error_info (*_error_infop_) macro
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Derror.h66 #define ERROR_translating() (error_info.translate&&(ast.locale.set&(1<<AST_LC_MESSAGES)))
104 #define ERROR_CONTEXT_BASE ((Error_context_t*)&error_info.context)
106 #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))
174 #define error_info (*_error_infop_) macro
/osnet-11/usr/src/lib/libpp/common/
H A Dppcall.c100 (*pp.macref)(sym, error_info.file, error_info.line, (pp.state & CONDITIONAL) ? REF_IF : REF_NORMAL, 0L);
118 error_info.line++;
200 error_info.line++;
224 error_info.line--;
250 last_line = error_info.line;
251 last_file = error_info.file;
252 mp->line = error_info.line;
371 error_info.line++;
379 if (error_info
[all...]
H A Dppmisc.c47 if (pp.macref) (*pp.macref)(sym, error_info.file, error_info.line, ref == REF_NORMAL && (pp.state & CONDITIONAL) ? REF_IF : ref, 0L);
222 if (error_info.line)
223 (*pp.linesync)(error_info.line, error_info.file);

Completed in 175 milliseconds

12345